From info at wfbutik.dk Sun Jun 1 02:05:21 2003 From: info at wfbutik.dk (Stemme Data) Date: Sun, 1 Jun 2003 09:05:21 +0200 Subject: [AccessD] Scheduler/Calendar form In-Reply-To: Message-ID: Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael From gustav at cactus.dk Sun Jun 1 03:23:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 1 Jun 2003 10:23:16 +0200 Subject: [AccessD] Distribution - a bit OT In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CB7@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802226CB7@main2.marlow.com> Message-ID: <1871050590.20030601102316@cactus.dk> Hi Drew > The big clash with Access is solved with VB. Installing a runtime version > of Access 97 will definitely clash with a previous installation of Access 2k > or XP, or any future version. .. This is not my experience, on the contrary. /gustav From DWUTKA at marlow.com Sun Jun 1 07:32:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 1 Jun 2003 07:32:19 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CB9@main2.marlow.com> I didn't realize that. Is that the Wise Installer? I thought using the PDW would cause conflicts during the Access runtime install. Drew -----Original Message----- From: John Colby To: accessd at databaseadvisors.com Sent: 5/31/03 6:13 PM Subject: RE: [AccessD] Distribution - a bit OT But if you use the installers, the "different version" is only used by your app, and isn't even visible to other apps. It's just "files needed" for your app. No need for lawsuits. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Saturday, May 31, 2003 6:58 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT It is NOT a Visual Basic Application though. Installing a VB application will not affect other installed software (unless you write you're own .dll's that overwrite common .dll's.). If I had a user install something that was documented as a 'Visual Basic Application', but it went and installed a different version of Access, there would be a lawsuit involved. Drew -----Original Message----- From: John Bartow To: accessd at databaseadvisors.com Sent: 5/31/03 3:28 PM Subject: RE: [AccessD] Distribution - a bit OT You will run into this all the time with the know it all (arrogant) IT types. First off don't tell them its Access if they don't want to hear it. Its a "Visual Basic Application which uses a standard Microsoft data file for storage. Give the app an icon using the tools | startup options menu options and hide everything else. Secondly, everything they want as far as installation demands can be done if you use a Wise or Install shield installation with the help of Sage Key scripts. This has been discussed a lot in the archives so I won't go into it. If they make a point of that you are not to use Access for anything jack the price up about triple and do it in VB or 1000% and do it in C++ HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black > Sent: Saturday, May 31, 2003 3:00 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Distribution - a bit OT > > > Hi > > I submitted a proposal to a client this week for a custom > application. Their > nose is a bit bent out of shape because they feel they should be able to > slap a CD in the drive click the install button and the app will > install in > a nice self-contained thing-a-ma-bob (that is what they said). > > Why do we have to have MS Access installed? You don't, I said, I > can supply > a runtime version. > > Why do we have to worry about what version of MS Access is installed > already? We did not ask for MS Access, we asked for a custom computer > application. > > Why do we have to worry about installing a runtime version on a > machine with > Access already on it and causing all kinds of problems (paraphrased)? > > Plain and simple they want an app that is a DBS management system > but they > want something that is completely autonomous. What do I do? What > would you > do? I may have already lost this deal but need to prepare for the > next time > this happens. > > Do I offer a solution that is all VB or C++ or some such thing or am I > missing the boat here. Please help. > > > Thanks > > PB > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 1 07:34:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 1 Jun 2003 07:34:28 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CBA@main2.marlow.com> I don't have a real 'trick' per se. I just brute force it I guess. Drew -----Original Message----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: 5/31/03 7:50 AM Subject: RE: [AccessD] Distribution - a bit OT Hi Guys: The one big problem I have always had converting Access to VB is the Access automated SubForm interface that is just great with Invoicing systems. With VB I have found of no easy way to duplicate these feature other than with brute force programming or getting the client to buy a TB Grid component for their site. I have some great interfaces, created, using a combination of DBgrid/Flexgrids, arrays and lots of programming. Do you have a better way or is there something I have been over-looking all these years? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Saturday, May 31, 2003 3:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 1 12:49:26 2003 From: john at winhaven.net (John Bartow) Date: Sun, 1 Jun 2003 12:49:26 -0500 Subject: [AccessD] Distribution - a bit OT In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CB8@main2.marlow.com> Message-ID: Unless you're creating it with Access wizards and macros it's VBA. If it's said in context it's correct if it's said out of context it not. VB is a very broad term these days. If the issue of type of VB and version comes up then it would be clear that it is Visual Basic for Applications bla, bla, bla. The issue generally isn't that it uses an Access .mdb file as the database its that "they" think if its Access it's a bunch of wizards and macros, i.e. not "real" programming. "They don't usually know the difference. And in my experience "they don't approve of anything that "they" don't have complete control over. Remember the IT mantra: "If we cannot adequately support you, we will at least control you" :o) Simply put its snobbery at its finest. Geting IT on the "side" of a project is the most important thing you can do to sustain a client. Get that you're in for a good ride, don't and you have a PITA client for the rest of you're measely time with them. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, May 31, 2003 5:58 PM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Distribution - a bit OT > > > It is NOT a Visual Basic Application though. Installing a VB application > will not affect other installed software (unless you write you're > own .dll's > that overwrite common .dll's.). > > If I had a user install something that was documented as a 'Visual Basic > Application', but it went and installed a different version of > Access, there > would be a lawsuit involved. > > Drew > > -----Original Message----- > From: John Bartow > To: accessd at databaseadvisors.com > Sent: 5/31/03 3:28 PM > Subject: RE: [AccessD] Distribution - a bit OT > > You will run into this all the time with the know it all (arrogant) IT > types. > > First off don't tell them its Access if they don't want to hear it. Its > a > "Visual Basic Application which uses a standard Microsoft data file for > storage. Give the app an icon using the tools | startup options menu > options > and hide everything else. > > Secondly, everything they want as far as installation demands can be > done if > you use a Wise or Install shield installation with the help of Sage Key > scripts. This has been discussed a lot in the archives so I won't go > into > it. > > If they make a point of that you are not to use Access for anything jack > the > price up about triple and do it in VB or 1000% and do it in C++ > > HTH > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black > > Sent: Saturday, May 31, 2003 3:00 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Distribution - a bit OT > > > > > > Hi > > > > I submitted a proposal to a client this week for a custom > > application. Their > > nose is a bit bent out of shape because they feel they should be able > to > > slap a CD in the drive click the install button and the app will > > install in > > a nice self-contained thing-a-ma-bob (that is what they said). > > > > Why do we have to have MS Access installed? You don't, I said, I > > can supply > > a runtime version. > > > > Why do we have to worry about what version of MS Access is installed > > already? We did not ask for MS Access, we asked for a custom computer > > application. > > > > Why do we have to worry about installing a runtime version on a > > machine with > > Access already on it and causing all kinds of problems (paraphrased)? > > > > Plain and simple they want an app that is a DBS management system > > but they > > want something that is completely autonomous. What do I do? What > > would you > > do? I may have already lost this deal but need to prepare for the > > next time > > this happens. > > > > Do I offer a solution that is all VB or C++ or some such thing or am I > > missing the boat here. Please help. > > > > > > Thanks > > > > PB > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jamie at kriegelpcsolutions.com Sun Jun 1 13:33:28 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 13:33:28 -0500 Subject: [AccessD] Hard Code Page Setup Info in Report In-Reply-To: Message-ID: Hi there, I have a simple report (size 10 envelopes) and for some reason it will not save my page setup information. For example, when I open my database, and choose the envelope report, I have to choose file, page setup and reset my page type (Envelope #10) and margins. Is there a way to hard code this info, or am I doing something wrong that it won't save the page setup info? Thanks, Jamie From bobbedell15 at msn.com Sun Jun 1 14:25:07 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Sun, 01 Jun 2003 19:25:07 +0000 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: Take a peak at http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. Documented bug. >From: "Jamie Kriegel" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Hard Code Page Setup Info in Report >Date: Sun, 1 Jun 2003 13:33:28 -0500 > >Hi there, > >I have a simple report (size 10 envelopes) and for some reason it will not >save my page setup information. For example, when I open my database, and >choose the envelope report, I have to choose file, page setup and reset my >page type (Envelope #10) and margins. Is there a way to hard code this >info, or am I doing something wrong that it won't save the page setup info? > >Thanks, >Jamie > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From d.dick at uws.edu.au Sun Jun 1 17:55:12 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 2 Jun 2003 08:55:12 +1000 Subject: [AccessD] Basic Form Questions References: Message-ID: <004f01c32890$dc78ece0$3c619a89@DDICK> Hi Jamie Just after you do something that needs to show the refreshed data. Say...in the After Update of the LastName field in Sub1 or something like that. or say...as the last line of any relevant event procedure in sub1 Have funn Darrn ----- Original Message ----- From: "Jamie Kriegel" To: Sent: Saturday, May 31, 2003 1:59 AM Subject: RE: [AccessD] Basic Form Questions > >>>>after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > Where do I put this code on SubForm 1? > > Thanks, > Jamie > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK > Sent: Friday, May 30, 2003 9:40 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Basic Form Questions > > > Jamie > RE Q1...small example db sent offline > RE Q2...Just like Charles said start refreshing your second sub > Something like > Assume sub 2 is called MySubForm2 > sub 1 is called MySubForm1 > Parent Form is called MyHostForm > eg... > after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > > Darren > > > ----- Original Message ----- > From: "Jamie Kriegel" > To: > Sent: Friday, May 30, 2003 12:50 PM > Subject: [AccessD] Basic Form Questions > > > > Hi there, > > > > I have 2 questions and I was hoping one of you generous and intelligent > > people could help me. > > > > 1. In a form I have a combo box that I use to as a lookup. For example, > my > > form holds customer information and I use the combo box to choose a > > paticular customer. When I choose this customer, it is his/her > information > > that I see in the form. How do I get this combo to default to a blank? > > Right now it shows the name of my previous search in the on screen control > > which can be confusing. I want it to remain blank until I choose a > customer > > from the list. > > > > 2. I have a form with 2 subforms. The main form is customer > information, > > subform 1 is insurance policies that customer holds, and subform 2 is any > > dependents that customer may have on a particular policy. When I add a > new > > policy for a customer (subform 1), I have to go to a different record and > > back before Access will allow me to enter data on subform 2 (dependents on > > that policy). > > > > Any ideas would be wonderful! Thank you, > > > > Jamie > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Jun 1 18:07:40 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 2 Jun 2003 09:07:40 +1000 Subject: [AccessD] Hard Code Page Setup Info in Report References: Message-ID: <004d01c32892$9ab40090$be0e90cb@prosys.local> The link below makes reference to Office 2000 SR 1 / SR1a . What is the number of the most recent Service Release of Office2000? ----- Original Message ----- From: "Bob Bedell" To: Sent: Monday, June 02, 2003 5:25 AM Subject: Re: [AccessD] Hard Code Page Setup Info in Report > Take a peak at > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > Documented bug. > > > >From: "Jamie Kriegel" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Hard Code Page Setup Info in Report > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > >Hi there, > > > >I have a simple report (size 10 envelopes) and for some reason it will not > >save my page setup information. For example, when I open my database, and > >choose the envelope report, I have to choose file, page setup and reset my > >page type (Envelope #10) and margins. Is there a way to hard code this > >info, or am I doing something wrong that it won't save the page setup info? > > > >Thanks, > >Jamie > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Sun Jun 1 19:45:04 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Mon, 02 Jun 2003 00:45:04 +0000 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Version=95|97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Document|Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . >What is the number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it will >not > > >save my page setup information. For example, when I open my database, >and > > >choose the envelope report, I have to choose file, page setup and reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code this > > >info, or am I doing something wrong that it won't save the page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jamie at kriegelpcsolutions.com Sun Jun 1 21:23:27 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 21:23:27 -0500 Subject: [AccessD] Basic Form Questions In-Reply-To: <004f01c32890$dc78ece0$3c619a89@DDICK> Message-ID: Thanks Darrn, That's just what I was looking for! Jamie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Sunday, June 01, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Basic Form Questions Hi Jamie Just after you do something that needs to show the refreshed data. Say...in the After Update of the LastName field in Sub1 or something like that. or say...as the last line of any relevant event procedure in sub1 Have funn Darrn ----- Original Message ----- From: "Jamie Kriegel" To: Sent: Saturday, May 31, 2003 1:59 AM Subject: RE: [AccessD] Basic Form Questions > >>>>after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > Where do I put this code on SubForm 1? > > Thanks, > Jamie > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK > Sent: Friday, May 30, 2003 9:40 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Basic Form Questions > > > Jamie > RE Q1...small example db sent offline > RE Q2...Just like Charles said start refreshing your second sub > Something like > Assume sub 2 is called MySubForm2 > sub 1 is called MySubForm1 > Parent Form is called MyHostForm > eg... > after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > > Darren > > > ----- Original Message ----- > From: "Jamie Kriegel" > To: > Sent: Friday, May 30, 2003 12:50 PM > Subject: [AccessD] Basic Form Questions > > > > Hi there, > > > > I have 2 questions and I was hoping one of you generous and intelligent > > people could help me. > > > > 1. In a form I have a combo box that I use to as a lookup. For example, > my > > form holds customer information and I use the combo box to choose a > > paticular customer. When I choose this customer, it is his/her > information > > that I see in the form. How do I get this combo to default to a blank? > > Right now it shows the name of my previous search in the on screen control > > which can be confusing. I want it to remain blank until I choose a > customer > > from the list. > > > > 2. I have a form with 2 subforms. The main form is customer > information, > > subform 1 is insurance policies that customer holds, and subform 2 is any > > dependents that customer may have on a particular policy. When I add a > new > > policy for a customer (subform 1), I have to go to a different record and > > back before Access will allow me to enter data on subform 2 (dependents on > > that policy). > > > > Any ideas would be wonderful! Thank you, > > > > Jamie > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Sun Jun 1 21:23:57 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 21:23:57 -0500 Subject: [AccessD] Hard Code Page Setup Info in Report In-Reply-To: Message-ID: Thanks for the help on this . . . does anyone know if this will be an issue with Access Runtime as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Sunday, June 01, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hard Code Page Setup Info in Report SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Version=95 |97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Document| Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . >What is the number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it will >not > > >save my page setup information. For example, when I open my database, >and > > >choose the envelope report, I have to choose file, page setup and reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code this > > >info, or am I doing something wrong that it won't save the page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jun 1 22:48:40 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 01 Jun 2003 20:48:40 -0700 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only References: Message-ID: <3EDAC918.3090403@shaw.ca> Get your complimentary copy of "Introducing Microsoft Windows Server 2003" valued at $43.99 CDN. This book provides a detailed, official first look at the new features and improvements in Windows Server 2003. From the Windows Launch tour. Worthwhile just for the Windows dotNet mobilty section explanation of how to handle multiple devices. I know this offer is for Canadians only but it is not bilingual. But it is free S&H. http:\\www.microsoft.ca/freebook or http://www.microsoft.com/canada/freebook/WS03offer/default.mspx I guess others could look around their countries Windows 2003 site. From stuart at lexacorp.com.pg Mon Jun 2 01:39:48 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 02 Jun 2003 16:39:48 +1000 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only In-Reply-To: <3EDAC918.3090403@shaw.ca> Message-ID: <3EDB7DD4.14552.1F0CF59@localhost> On 1 Jun 2003 at 20:48, MartyConnelly wrote: > http:\\www.microsoft.ca/freebook > or > http://www.microsoft.com/canada/freebook/WS03offer/default.mspx > > I guess others could look around their countries Windows 2003 site. > Yeah right. There doesn't seem to be any page at http://www.microsoft.com.papuanewguinea. And http://www.microsoft.com.pg doesn't seem to be working at the moment either . Maybe I should register it -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 06:52:50 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 12:52:50 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Mon Jun 2 06:58:10 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 2 Jun 2003 07:58:10 -0400 Subject: [AccessD] Scheduler/Calendar form In-Reply-To: Message-ID: <000f01c328fe$404f02f0$cf320cd8@hargrove.internal> Take a look at Datasphere's calendar controls (www.datasphere.com) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stemme Data Sent: Sunday, June 01, 2003 3:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] Scheduler/Calendar form Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 2 07:17:10 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 08:17:10 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> Message-ID: Snapshot ViewerSnapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 08:13:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 09:13:43 -0400 Subject: [AccessD] Distribution - a bit OT In-Reply-To: Message-ID: Paul, <> Don't forget to take a look at Visual FoxPro. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Saturday, May 31, 2003 4:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 2 08:33:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 02 Jun 2003 23:33:03 +1000 Subject: [AccessD] Distribution - a bit OT In-Reply-To: References: Message-ID: <3EDBDEAF.28949.674397@localhost> On 2 Jun 2003 at 9:13, Jim Dettman wrote: > Paul, > > < missing the boat here. Please help.>> > > Don't forget to take a look at Visual FoxPro. > Or PowerBasic :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 08:40:06 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 14:40:06 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032F@LNN052> Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 08:46:34 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 09:46:34 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032F@LNN052> Message-ID: Snapshot ViewerSnapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Mon Jun 2 08:56:48 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 09:56:48 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: Can someone see what I am missing here? I keep getting the error: "Too few Parameters: Expected 1" Dim intCounter As Integer Dim rstFunded As DAO.Recordset Dim dbFunded As DAO.Database Dim strFunded As String strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" strFunded = strFunded & " HAVING (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID ]))" Set dbFunded = CurrentDb() Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) TIA, Nancy L From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 08:58:19 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 14:58:19 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 09:06:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 10:06:52 -0400 Subject: [AccessD] corrupted database Message-ID: As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com From Lembit.Soobik at t-online.de Mon Jun 2 09:10:31 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 2 Jun 2003 16:10:31 +0200 Subject: [AccessD] Opening Recordset Error References: Message-ID: <06fc01c32910$ba7e49c0$0300a8c0@S856> semicolon at the end? Lembit Soobik ----- Original Message ----- From: "Nancy Lytle" To: "Accessd" Sent: Monday, June 02, 2003 3:56 PM Subject: [AccessD] Opening Recordset Error > Can someone see what I am missing here? I keep getting the error: "Too few > Parameters: Expected 1" > > Dim intCounter As Integer > Dim rstFunded As DAO.Recordset > Dim dbFunded As DAO.Database > Dim strFunded As String > strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" > strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM > tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" > strFunded = strFunded & " HAVING > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID > ]))" > Set dbFunded = CurrentDb() > Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) > > TIA, > Nancy L > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Jun 2 09:08:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 10:08:35 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Message-ID: Snapshot ViewerAhhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Mon Jun 2 09:17:55 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 10:17:55 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <06fc01c32910$ba7e49c0$0300a8c0@S856> Message-ID: Nope, I still get the same message. I have tried everything I can think of, I'm in a brain freeze, I guess. Thanks, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Monday, June 02, 2003 10:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error semicolon at the end? Lembit Soobik From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 09:19:40 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 15:19:40 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40332@LNN052> I have Access 97 installed on another machine, and all works fine, including the code to create and email the snapshot, it appears to be the combination of Access 97/2000 and Windows 2000 that prevents Access 97 from creating snapshots, whether from a menu or code. Thank you for your help. Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 15:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Ahhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 2 09:22:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 2 Jun 2003 16:22:16 +0200 Subject: [AccessD] Opening Recordset Error In-Reply-To: <06fc01c32910$ba7e49c0$0300a8c0@S856> References: <06fc01c32910$ba7e49c0$0300a8c0@S856> Message-ID: <13830859443.20030602162216@cactus.dk> No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L From CWortz at tea.state.tx.us Mon Jun 2 09:22:14 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 2 Jun 2003 09:22:14 -0500 Subject: [AccessD] Snapshot Viewer Message-ID: Tony, I haven't worked in A97 for a while, but IIRC the Snapshot is an Add-In for A97 that you need to install. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday 2003 Jun 02 09:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Importance: Low Ahhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 10:00:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:00:41 -0700 Subject: [AccessD] Snapshot Viewer Message-ID: You don't do it that way in A97. Use a function and something like this: DoCmd.OutputTo acOutputReport, , "Snapshot Format", strFile, False Charlotte Foust -----Original Message----- From: Yeatman, Tony [mailto:Tony.Yeatman at creditlyonnais.co.uk] Sent: Monday, June 02, 2003 3:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 10:02:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 11:02:18 -0400 Subject: [AccessD] Back End Updater Message-ID: Well, I just set up the BEU in a client database. It took about 20 minutes to set up, a few minutes to figure out how to get started, then about 5 minutes to apply the one change I need right now. Good job guys, it works great. John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Mon Jun 2 10:03:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:03:05 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: All VB or All C++ doesn't give you a DBMS. If they want a database, then they have to have a database. Even VB uses Access as a backend, although it doesn't require the Access runtime. You might point out to them that VB *also* requires a runtime, they just don't see it because it is usually already on their machines. Charlotte Foust -----Original Message----- From: Paul Black [mailto:pblack at hotmail.com] Sent: Saturday, May 31, 2003 12:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Jun 2 10:10:25 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 2 Jun 2003 11:10:25 -0400 Subject: [AccessD] Snapshot Viewer References: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Message-ID: <00a401c32919$18d158c0$a2c50a44@hr.cox.net> Snapshot ViewerTony.... Does your version of A97 contain Service Release 1 or greater ? It will be listed as SR-1 under the Help ---> About Microsoft Access..................Barb ----- Original Message ----- From: Yeatman, Tony To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 9:58 AM Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 10:05:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:05:02 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: You would see a need if you ran into as many different versions of Windows and Office as we do, Arthur. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, May 31, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT I have only created two installations with the Developer stuff, and neither needed any fancy DLL installs or anything outside Access, but the rest was relatively simple, including installing MSDE and then restoring a database to said installation. The code to restore the db took the longest time of all the processes, but it ended up at about 50 lines of code. Sage and Wise doubtless have their place, but if you're not calling DLLs etc. I frankly don't see the need for them. The built-in stuff does everything I needed: create a directory, copy everything required into it, create a setup program that installs everything in the user-selected directory, then run a program (in my case a batch file) to do everything else that's necessary. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: May 31, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT Even a vb or C++ app has to store the data somewhere. Is that going to be an mdb? If so Jet has to be installed. As another lister said, a "slap a CD in and install" is possible, and it will NOT interfere with any other versions, if you use the sagekey etc stuff. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Saturday, May 31, 2003 4:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 10:06:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:06:35 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: That is NOT true, Drew. I'm sorry, but we have been doing this for years and an A97 runtime does not clash with a previous installation or a future version. Feel free to tout VB , but don't proclaim that A97 runtimes break existing installations. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Saturday, May 31, 2003 2:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Mon Jun 2 10:06:43 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 11:06:43 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <13830859443.20030602162216@cactus.dk> Message-ID: Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 2 10:12:05 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 2 Jun 2003 11:12:05 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: <0EAA9F4906BA554FA26E6F9F2C5403022BD615@elmo.co.montgomery.ny.us> This line is also problematic. (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOIC E_ID]))" It is putting the actual text "[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID]" as part of the sql string when you want the value (((tblInvoiceFunding.InvoiceID)=" & Forms!frmInvoiceDataEntry!txtINVOICE_ID & "))" Neal Kling Lotus, isn't that some kind of fancy flower? -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Monday, June 02, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Recordset Error Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOIC E_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Mon Jun 2 10:14:26 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Mon, 2 Jun 2003 11:14:26 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128611@mail2.wrsystems.com> Shouldn't the brackets be like this? "SELECT Sum([tblInvoiceFunding].[FundsFromCode]) AS Funded" -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Monday, June 02, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Recordset Error Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 10:17:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:17:14 -0700 Subject: [AccessD] corrupted database Message-ID: John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! 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 gustav at cactus.dk Mon Jun 2 10:25:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 2 Jun 2003 17:25:07 +0200 Subject: [AccessD] Opening Recordset Error In-Reply-To: References: Message-ID: <12134631176.20030602172507@cactus.dk> Hi Nancy When run from code the SQL doesn't know about forms. Try this: (tblInvoiceFunding.InvoiceID = " & [Forms]![frmInvoiceDataEntry]![txtINVOICE_ID] & ")" /gustav > Nope, that's not working either, same error message, and the recordset is > listed as "Expression not defined in context" or as "Out of Context". > Nancy L > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, June 02, 2003 10:22 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Opening Recordset Error > No Lembit and Nancy, it's the brackets: >>> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" > /gustav >> semicolon at the end? >> Lembit Soobik >> ----- Original Message ----- >> From: "Nancy Lytle" >> To: "Accessd" >> Sent: Monday, June 02, 2003 3:56 PM >> Subject: [AccessD] Opening Recordset Error >>> Can someone see what I am missing here? I keep getting the error: "Too > few >>> Parameters: Expected 1" >>> >>> Dim intCounter As Integer >>> Dim rstFunded As DAO.Recordset >>> Dim dbFunded As DAO.Database >>> Dim strFunded As String >>> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >>> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >>> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >>> strFunded = strFunded & " HAVING >>> > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >>> ]))" >>> Set dbFunded = CurrentDb() >>> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, > dbReadOnly) From jcolby at colbyconsulting.com Mon Jun 2 10:32:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 11:32:37 -0400 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Mon Jun 2 10:35:10 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 11:35:10 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <12134631176.20030602172507@cactus.dk> Message-ID: BINGO! that got me on the right track, I had to add single quotes on either side of your string because the "ID" field is really a text not number field. Thanks everybody! I don't know why I was having such a hard time of it today. Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 11:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error Hi Nancy When run from code the SQL doesn't know about forms. Try this: (tblInvoiceFunding.InvoiceID = " & [Forms]![frmInvoiceDataEntry]![txtINVOICE_ID] & ")" /gustav > Nope, that's not working either, same error message, and the recordset is > listed as "Expression not defined in context" or as "Out of Context". > Nancy L > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, June 02, 2003 10:22 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Opening Recordset Error > No Lembit and Nancy, it's the brackets: >>> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" > /gustav >> semicolon at the end? >> Lembit Soobik >> ----- Original Message ----- >> From: "Nancy Lytle" >> To: "Accessd" >> Sent: Monday, June 02, 2003 3:56 PM >> Subject: [AccessD] Opening Recordset Error >>> Can someone see what I am missing here? I keep getting the error: "Too > few >>> Parameters: Expected 1" >>> >>> Dim intCounter As Integer >>> Dim rstFunded As DAO.Recordset >>> Dim dbFunded As DAO.Database >>> Dim strFunded As String >>> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >>> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >>> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >>> strFunded = strFunded & " HAVING >>> > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >>> ]))" >>> Set dbFunded = CurrentDb() >>> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, > dbReadOnly) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 2 10:55:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 10:55:42 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CBE@main2.marlow.com> Yes, someone else posted that. I am sorry, I was assuming that it reacted the same as installing the full version. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT That is NOT true, Drew. I'm sorry, but we have been doing this for years and an A97 runtime does not clash with a previous installation or a future version. Feel free to tout VB , but don't proclaim that A97 runtimes break existing installations. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Saturday, May 31, 2003 2:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:01:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:01:51 -0700 Subject: [AccessD] corrupted database Message-ID: It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:04:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:04:14 -0700 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: Yes. Charlotte Foust -----Original Message----- From: Jamie Kriegel [mailto:jamie at kriegelpcsolutions.com] Sent: Sunday, June 01, 2003 6:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Hard Code Page Setup Info in Report Thanks for the help on this . . . does anyone know if this will be an issue with Access Runtime as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Sunday, June 01, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hard Code Page Setup Info in Report SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Versio n=95 |97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Docum |97|98|2000|ent| Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . What is the >number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it > > >will >not > > >save my page setup information. For example, when I open my > > >database, >and > > >choose the envelope report, I have to choose file, page setup and > > >reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code > > >this info, or am I doing something wrong that it won't save the > > >page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:06:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:06:25 -0700 Subject: [AccessD] DAO Version Message-ID: That problem is peculiar to O2k because the version of vbe6.dll installed by OXP is "updated" and causes problems with A2k and can cause problems with other O2k apps as well, from what I've seen reported. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, May 30, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DAO Version Charlotte, And that problem started with A2k, yes? So, to sum it up, if one installs the DAO and Jet version that is appropriate for the Access version, then the only problem is with ODBC drivers and vbe6.dll. Sound right? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Friday, May 30, 2003 12:05 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DAO Version > > > Yes and no. I have A97 and OXP on my work machine, and I have A97, > O2k and AXP on my laptop. No, I haven't had any problems with Jet and > DAO, only with the vbe6.dll. > > Charlotte Foust > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Friday, May 30, 2003 7:24 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DAO Version > > > Charlotte: > Do you have the situation of having multiple versions of Access on the > same machines? > > If so do you have any problems with having the different versions of > DAO and JET being on the same machines? > > JB > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Thursday, May 29, 2003 4:52 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] DAO Version > > > > > > Jet 3.51 > > > > Charlotte Foust > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Thursday, May 29, 2003 12:33 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] DAO Version > > > > > > Charlotte: > > Just out of curioustiy which version of JET are you using for A97? > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 2 11:17:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 12:17:55 -0400 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: Would you look please. I am using Office 2K and Office XP. Outlook is 2K, simply because the initial version of XP has all the security crap which prevents seeing some attachments. I am an adult and can decide for myself what attachments I wish to see, not to mention the fact that I run NAV which scans all attachments before it ever hits my mailbox. So I installed XP but not outlook XP, and I have A2K sitting at SR1a. So it appears that I have the problem still. I will not be upgrading O2K to SP3 so I pretty much need the patch. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 12:02 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Mon Jun 2 11:19:05 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 2 Jun 2003 09:19:05 -0700 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> Message-ID: <003a01c32922$b03cb020$8500a8c0@CX615377a> Hi Tony, I ran into this problem and posted a question a couple of years ago. The snapshot capability was not native to Access 97 but was added to in SR2 I believe. There is a problem with installing the service release and getting the snapshot functionality in some configurations of Office 97 and Windows and the patches that have been applied to them. Apparently when the update installer runs it looks a certain items on the computer and makes the decision on what to update. WindowsME was the one we were having trouble with. I found an acknowledgement of the problem on the MS Knowledge Base but no solution. Since we were distributing the app as a runtime it had to work in all situations so I updated it to AccessXP and built the runtime around that and now we have no problems. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 4:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Mon Jun 2 11:54:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 12:54:33 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
From bob at renaissancesiding.com Mon Jun 2 12:33:09 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 2 Jun 2003 13:33:09 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <01C3290B.82558E50.bob@renaissancesiding.com> Mark If all that you are looking for is the "onChange" code ...
Set the default printer: 
Regards, Bob Gajewski On Monday, June 02, 2003 12:55 PM, Mitsules, Mark [SMTP:Mark.Mitsules at ngc.com] wrote: > Group, > > This is my first real attempt at developing an HTML application (.HTA) using > VB Script. Given that the user makes a selection from this element: > >
> >
> > ....?how do I pass their selection to a button element, > > > > > ....that will utilize a routine like: > > Sub Button001_OnClick() > End Sub > > > I provided an example below that uses separate buttons (with an associated > separate function) for each printer (...which works), but this approach is > not very elegant > > > TIA, > > Mark > > > > Function InstallPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.AddWindowsPrinterConnection PrinterPath > End Function > > Function SetDefaultPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.SetDefaultPrinter PrinterPath > End Function > > Function Button001_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > End Function > > Function Button001A_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > SetDefaultPrinter(PrinterPath) > End Function > >
>
> >
> >
> _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Mon Jun 2 12:42:26 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 2 Jun 2003 10:42:26 -0700 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: <009201c3292e$551d8be0$6401a8c0@papparuff> John, You can download and install Ken Slovak's attachmentoptions Com Add-In for Outlook 2000, 2002, and now 2003. Check it out at: http://www.slovaktech.com/attachmentoptions.htm John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 02, 2003 9:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Would you look please. I am using Office 2K and Office XP. Outlook is 2K, simply because the initial version of XP has all the security crap which prevents seeing some attachments. I am an adult and can decide for myself what attachments I wish to see, not to mention the fact that I run NAV which scans all attachments before it ever hits my mailbox. So I installed XP but not outlook XP, and I have A2K sitting at SR1a. So it appears that I have the problem still. I will not be upgrading O2K to SP3 so I pretty much need the patch. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 12:02 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 2 12:55:13 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 13:55:13 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Thank you for your JavaScript response. I'm not familiar with either scripting language enough to be able to convert it though. Would you be able to help with the VBScript syntax as well? An alternative could be to point me towards an online reference that contains useful VBScript examples of passing variables between form elements. Thanks again, Mark -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Monday, June 02, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Mark If all that you are looking for is the "onChange" code ...
Set the default printer: 
Regards, Bob Gajewski On Monday, June 02, 2003 12:55 PM, Mitsules, Mark [SMTP:Mark.Mitsules at ngc.com] wrote: > Group, > > This is my first real attempt at developing an HTML application (.HTA) > using VB Script. Given that the user makes a selection from this > element: > >
> >
> > ....?how do I pass their selection to a button element, > > > > > ....that will utilize a routine like: > > Sub Button001_OnClick() > End Sub > > > I provided an example below that uses separate buttons (with an > associated separate function) for each printer (...which works), but > this approach is not very elegant > > > TIA, > > Mark > > > > Function InstallPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.AddWindowsPrinterConnection PrinterPath > End Function > > Function SetDefaultPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.SetDefaultPrinter PrinterPath > End Function > > Function Button001_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > End Function > > Function Button001A_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > SetDefaultPrinter(PrinterPath) > End Function > >
> >
> >
>
_______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Jun 2 13:04:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 02 Jun 2003 19:04:25 +0100 Subject: [AccessD] Distribution - a bit OT Message-ID: <200306021804.TAA04288@hosea.qub.ac.uk> Dont sell Access sell JET. Thats the common link whatever solution you use be it VBA, VB or C++ thats your data store will be the JET Engine the rest is good programming and design. Martin On Jun 2 2003, Drew Wutka wrote: > Yes, someone else posted that. I am sorry, I was assuming that it reacted > the same as installing the full version. > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Monday, June 02, 2003 10:07 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Distribution - a bit OT > > > That is NOT true, Drew. I'm sorry, but we have been doing this for > years and an A97 runtime does not clash with a previous installation or > a future version. Feel free to tout VB , but don't proclaim that A97 > runtimes break existing installations. > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Saturday, May 31, 2003 2:56 PM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Distribution - a bit OT > > > Paul, the problem you ran into was something that should occur at the > beginning of a job proposal. If they don't want Access, you have two > options. Sell it to them. That can be pretty difficult, but it's not > necessarily impossible. Explain the benefits, etc. Two, build it in > something else. Personally, I develop a lot of stuff in VB just as fast > as I would in Access, or at least close. > > The big clash with Access is solved with VB. Installing a runtime > version of Access 97 will definitely clash with a previous installation > of Access 2k or XP, or any future version. That gives your Access > applications a smudge, a special consideration smudge. Since bound > applications can be built extremely fast in Access, the development > expense should outway that issue. > > VB does not have the compatibility issue. Installing VB 5.0 > applications on a machine that VB 6 applications have no issue, same > with .Net. So you can install it and walk away. The only issue you may > have is if a future OS does not support VB applications...but that is a > long time away. VB can use .mdb's through ADO or DAO, which install on > their own. Newer ADO/DAO versions can use previous .mdb versions, so > that isn't an issue either. > > Drew > > -----Original Message----- > From: Paul Black > To: accessd at databaseadvisors.com > Sent: 5/31/03 2:59 PM > Subject: [AccessD] Distribution - a bit OT > > Hi > > I submitted a proposal to a client this week for a custom application. > Their > nose is a bit bent out of shape because they feel they should be able to > > slap a CD in the drive click the install button and the app will install > in > a nice self-contained thing-a-ma-bob (that is what they said). > > Why do we have to have MS Access installed? You don't, I said, I can > supply > a runtime version. > > Why do we have to worry about what version of MS Access is installed > already? We did not ask for MS Access, we asked for a custom computer > application. > > Why do we have to worry about installing a runtime version on a machine > with > Access already on it and causing all kinds of problems (paraphrased)? > > Plain and simple they want an app that is a DBS management system but > they > want something that is completely autonomous. What do I do? What would > you > do? I may have already lost this deal but need to prepare for the next > time > this happens. > > Do I offer a solution that is all VB or C++ or some such thing or am I > missing the boat here. Please help. > > > Thanks > > PB > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Martin WP Reid Analyst Information Services Queens University Belfast From jim.hale at fleetpride.com Mon Jun 2 13:24:25 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 2 Jun 2003 13:24:25 -0500 Subject: [AccessD] Scheduler/Calendar form Message-ID: <869379ABF177D4118D3100508B5EF87306177277@corp-es00> I believe the working link is http://www.dataspherellc.com/ (For some reason the other one is no longer working) FWIW I have used their calendar and have been very satisfied. Jim Hale -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday, June 02, 2003 6:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Scheduler/Calendar form Take a look at Datasphere's calendar controls (www.datasphere.com) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stemme Data Sent: Sunday, June 01, 2003 3:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] Scheduler/Calendar form Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Mon Jun 2 13:34:06 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 02 Jun 2003 14:34:06 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 2 14:08:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 14:08:52 -0500 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC3@main2.marlow.com> Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 2 14:23:27 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 15:23:27 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Thanks Drew, I had just found an example of the FormName.SelectName.Value syntax on pscode.com and implemented it (it worked), however the example did not include the "document" part. Would this part only be necessary if I was passing values between frames? ...and to address your FYI, yes, this is for a corporate intranet with ~98% using IE and ~93% using IE 6.0. Thanks again, Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 02, 2003 3:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 2 14:46:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 14:46:40 -0500 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC4@main2.marlow.com> Sticking with IE on an Intranet is going to use VBScript all over the place. Just remember that moving to an INTERNET system is going to require other tactics. You don't need to use Document, it's just a matter of referencing. As long as it's unique enough that the Scripting engine knows what you are talking about, you are in business. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Thanks Drew, I had just found an example of the FormName.SelectName.Value syntax on pscode.com and implemented it (it worked), however the example did not include the "document" part. Would this part only be necessary if I was passing values between frames? ...and to address your FYI, yes, this is for a corporate intranet with ~98% using IE and ~93% using IE 6.0. Thanks again, Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 02, 2003 3:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 2 15:47:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 13:47:27 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <006701c32948$2dd53f00$6501a8c0@HAL9002> Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 15:56:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 16:56:00 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Mon Jun 2 16:06:37 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 2 Jun 2003 23:06:37 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 2 16:08:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 2 Jun 2003 17:08:22 -0400 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: <003201c3294b$216837b0$b8e6ffcc@SusanOne> How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 16:14:12 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 17:14:12 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: BerichtThat might actually slow things down depending on the cardinality (measure of the uniqueness) of the index. If there are only a few values (like a yes/no field), it's faster to scan the table. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, June 02, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Jun 2 16:22:29 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 02 Jun 2003 14:22:29 -0700 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only References: <3EDB7DD4.14552.1F0CF59@localhost> Message-ID: <3EDBC015.9020904@shaw.ca> Guess you are stuck with http:\\www.microsoft.com\australia But here is a neat little gem from Win 2003 documents. Host: Brian (Microsoft) Q: when / will there be the next version of IE? A: As part of the OS, IE will continue to evolve, but there will be no future standalone installations. IE6 SP1 is the final standalone installation. Host: Brian (Microsoft) Q: Why is this? the anti-trust? (no further standalone) A: Although this is off topic, I will answer briefly: Legacy OSes have reached their zenith with the addition of IE 6 SP1. Further improvements to IE will require enhancements to the underlying OS. Changes in Internet Explorer for Windows Server 2003 http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itcommunity/chats/trans/ie/ie0507.asp Stuart McLachlan wrote: >On 1 Jun 2003 at 20:48, MartyConnelly wrote: > > > >>http:\\www.microsoft.ca/freebook >>or >>http://www.microsoft.com/canada/freebook/WS03offer/default.mspx >> >>I guess others could look around their countries Windows 2003 site. >> >> >> > >Yeah right. There doesn't seem to be any page at >http://www.microsoft.com.papuanewguinea. > >And http://www.microsoft.com.pg doesn't seem to be working at the >moment either . Maybe I should register it > > > > > > > > From cfoust at infostatsystems.com Mon Jun 2 16:23:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 14:23:06 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:32:53 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:32:53 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <008d01c3294e$8688dc50$6501a8c0@HAL9002> A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:34:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:34:20 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00af01c3294e$ba36b040$6501a8c0@HAL9002> MessageIt runs okay, just a little pokey. I've run bigger datasets with Jet. Rocky ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:23 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 16:42:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 14:42:43 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Better you than me, my friend. I had enough problems running against 500,000 records on a dual processor machine. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up It runs okay, just a little pokey. I've run bigger datasets with Jet. Rocky ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:23 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 2 16:45:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 16:45:46 -0500 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC5@main2.marlow.com> I don't think there is a limit on the number of records, just on the database size. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 16:50:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 17:50:32 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CC5@main2.marlow.com> Message-ID: MessageOf course there's a limit on the number of records. Everything is based around long integers (for counting things) so if nothing else the number of records would be 2^31 which can't be realized anyway since the file size limit would already be reached. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 02, 2003 5:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Update Query - Need to Speed It Up I don't think there is a limit on the number of records, just on the database size. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:58:43 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:58:43 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <003201c3294b$216837b0$b8e6ffcc@SusanOne> Message-ID: <00e201c32952$222c6de0$6501a8c0@HAL9002> 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:59:26 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: <00f501c32952$3c475230$6501a8c0@HAL9002> BerichtErwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:59:26 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: <00f501c32952$3c475230$6501a8c0@HAL9002> BerichtErwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 2 17:04:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 15:04:20 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <003201c3294b$216837b0$b8e6ffcc@SusanOne> Message-ID: <013f01c32952$eb11b850$6501a8c0@HAL9002> Zero length string is okay. I could live with null if it went faster. Otherwise it makes no difference. ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Subscriptions at servicexp.com Mon Jun 2 17:38:44 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 2 Jun 2003 18:38:44 -0400 Subject: [AccessD] Back End Updater In-Reply-To: Message-ID: It does Indeed!!! Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 02, 2003 11:02 AM To: AccessD Subject: [AccessD] Back End Updater Well, I just set up the BEU in a client database. It took about 20 minutes to set up, a few minutes to figure out how to get started, then about 5 minutes to apply the one change I need right now. Good job guys, it works great. 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 rfv at entelix.com Mon Jun 2 17:48:17 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Mon, 2 Jun 2003 17:48:17 -0500 Subject: [AccessD] Tool Bar Message-ID: <200306021548670.SM02360@LapRFV> Hi, Has anybody had success with a third party Active X Toolbar from MS Access 2k? I already purchased DBI ctToolbar Active X, but it gave me a lot of trouble with my application. Thanks in advance! Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 18:03:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 19:03:15 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <00e201c32952$222c6de0$6501a8c0@HAL9002> Message-ID: Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Mon Jun 2 18:24:37 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 03 Jun 2003 11:24:37 +1200 Subject: [AccessD] Query reference to screen control Message-ID: <70F3D727890C784291D8433E9C418F29038AEA@server.bondsoftware.co.nz> Arthur, can you please put up a quick overview of what's needed to replace form parameters with Static functions? TIA Stephen Bond -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, 30 May 2003 11:23 p.m. To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query reference to screen control That's an additional reason why I dislike going that route. The query then becomes useless in the absence of said form being open. Static functions are IMO a much better way to go. Just my $.02, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: May 29, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query reference to screen control Parameters referring to form controls work just fine. Only make sure you put in the square brackets around each part of the parameter yourself. Otherwise, when/if you convert to 2002, you can run into problems when the query engine kindly inserts its own brackets around the whole blasted parameter. Hello? This is the voice of experience speaking ... Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, May 29, 2003 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query reference to screen control Hmmmm, that's a twist. Does it then not pop up the parameter dialog because I would be referring to the screen control?...I will give it a go, and thanks Gustav. _d "Things are only free to the extent that you don't pay for them." >From: Gustav Brock >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Query reference to screen control >Date: Thu, 29 May 2003 12:53:47 +0200 > >Hi Don > >Try specifying in the query [forms]![frmtestcases]![cmbproject] as a >parameter. > >/gustav > > >I have this odd occurrance in A2K. I have a combo that has criteria > >referencing two screen controls, like this > >[forms]![frmtestcases]![cmbproject]. Many times (but not always) it > >returns nothing when I click it. Then if I go into the grid for the > >underlying query and make it > >=[forms]![frmtestcases]![cmbproject] it works, however it does not keep > >the equal sign, it discards it - works for a while then craps out. What > >gives?? Just another wierd Accessism? > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 2 18:31:33 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 02 Jun 2003 17:31:33 -0600 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Delete the fields and add them back. Default value "" and 0. Hen >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's >taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bchacc at san.rr.com Mon Jun 2 19:06:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 17:06:06 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <019301c32963$edd73130$6501a8c0@HAL9002> Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.powell at bbm.wapl.com.au Mon Jun 2 20:42:12 2003 From: david.powell at bbm.wapl.com.au (Powell, David (BBM)) Date: Tue, 3 Jun 2003 09:42:12 +0800 Subject: [AccessD] Opening Recordset Error Message-ID: <1C66E1A38F4E22499CE329884E3FA8B10207F1BD@WAPLMAIL.wapl.com.au> Great *simple* idea Don. I will take that one on board too. Regards David -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, 3 June 2003 2:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error I don't know if you solved this already, but I would do a debug.print to see the SQL thats getting created before it executes -then it will jump out at you. _d "Things are only free to the extent that you don't pay for them." >From: "Nancy Lytle" >Reply-To: accessd at databaseadvisors.com >To: "Accessd" >Subject: [AccessD] Opening Recordset Error >Date: Mon, 2 Jun 2003 09:56:48 -0400 > >Can someone see what I am missing here? I keep getting the error: "Too few >Parameters: Expected 1" > >Dim intCounter As Integer >Dim rstFunded As DAO.Recordset >Dim dbFunded As DAO.Database >Dim strFunded As String >strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >strFunded = strFunded & " HAVING >(((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOI CE_ID >]))" >Set dbFunded = CurrentDb() >Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) > >TIA, >Nancy L > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ Protect your PC - Click here for McAfee.com VirusScan Online NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message Worsley Alumina Pty Ltd ABN 58 008 905 155 is the manager of the Worsley Joint Venture - Bauxite/Alumina Operation. Liability and responsibility of the Joint Venturers is several in accordance with the following schedule of participating interests: Billiton Aluminium (RAA) Pty Ltd 56 percent, Billiton Aluminium (Worsley) Pty Ltd 30 percent, Kobe Alumina Associates (Australia) Pty Limited 10 percent, Nissho Iwai Alumina Pty Limited 4 percent. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 22:24:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 20:24:31 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <019301c32963$edd73130$6501a8c0@HAL9002> Message-ID: <022101c3297f$a5f81430$6501a8c0@HAL9002> John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 22:43:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 23:43:46 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <022101c3297f$a5f81430$6501a8c0@HAL9002> Message-ID: Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 23:04:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 21:04:31 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <025501c32985$3c658060$6501a8c0@HAL9002> Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 23:05:14 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 21:05:14 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <025d01c32985$55d72c60$6501a8c0@HAL9002> That might cut it down to 5 seconds. Have to get out the old ADH and look up that adding and dropping fields code. Thanks for the idea. Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and it's > >taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Jun 3 00:51:07 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 22:51:07 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <003201c32994$20fd36b0$6501a8c0@HAL9002> Henry: I'm trying to implement this method but don't see the way to set the default value using the CreateField method. Is there another way? I tried: Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" tdf.Fields.Append fld Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 tdf.Fields.Append fld which works without the .DefaultValue clause. WQIth the cluase I get an error 'Object Required'. Thanks and regards, Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and it's > >taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Tue Jun 3 00:54:45 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:54:45 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219846@AARDBEI> That sounds like a good improvement.... Have some experiance with large record tables too, using jet. I don't believe MSDE will be a solution when MSDE is installed on local machine... But maybe you should give it a try.. Don't forget you will need changing your code... Nothing beats Jet in speed when using 1 user on 1 computer... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: maandag 2 juni 2003 23:59 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 00:58:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:58:14 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219847@AARDBEI> Had same prob, less records (700.000) Keep the golden rule in mind. Update/change as less as you can. Updating means locking and writing. Writing is always slower than reading. And its less dangerous in a multi user environment... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: maandag 2 juni 2003 23:59 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up Erwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 00:59:57 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:59:57 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219848@AARDBEI> I had many occasions that NULL is faster when using as a filter in a querie. You must set field option empty string to disabled because otherwise you need to filter on both.... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 0:04 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up Zero length string is okay. I could live with null if it went faster. Otherwise it makes no difference. ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 01:04:51 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 08:04:51 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219849@AARDBEI> I believe John is right, but it will depend on how many records will need updating.... If you only have two records to update, deleting and creating the indexes will take more time... No indexes will slow down the filter.. -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 5:25 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 01:05:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 08:05:54 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A9821984A@AARDBEI> Only in a single user environment.... In multi user your app can crash... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 6:05 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up That might cut it down to 5 seconds. Have to get out the old ADH and look up that adding and dropping fields code. Thanks for the idea. Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and > >it's taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = > >"""", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 3 01:27:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 3 Jun 2003 08:27:45 +0200 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <006701c32948$2dd53f00$6501a8c0@HAL9002> References: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: <743027593.20030603082745@cactus.dk> Hi Rocky Why are you doing this regular clean-up thing (which I guess it is)? Wouldn't it be wiser to set these values when you append or manipulate those records? /gustav > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > The SQL is: > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > It's setting one field to blank the other to 0. > Is there a way to make it run any faster? From subs at solution-providers.ie Tue Jun 3 03:55:22 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Tue, 3 Jun 2003 09:55:22 +0100 Subject: [AccessD] Update Query - Need to Speed It Up References: <003201c32994$20fd36b0$6501a8c0@HAL9002> Message-ID: <00af01c329ad$e2aaa0e0$6a1118ac@D8TZHN0J> Hello Rocky, Here is a snipit of code I wrote a few years ago that appends default values amongst other things. All I can say is 'it works', it was A97 but as far as I know it also works in A2K. I know that you do not want to hear it, but I have terrible problems with databases over 1M records. You have to consider compacting and rebuilding regularly, and I often got databases that would just go corrupt. A backup from yesterday evening sometimes does not cut it. A one user, one machine system may work fine, but that same db now has put 18 M records through over three years on SQL 7 / MSDE 1.0 and it has never ever crashed and performance it still tip top. You can not agrue with that. The dropping and re-creating is quick but consider the compact and rebuild regularly. On the other hand, it is much more fun that a little db with only a few hundred records, even if you make more money on the small app. Enjoy, Mark ...snip Set fld = tdf.CreateField(strFieldName) fld.Type = intDataType If intDataType = dbText Or intDataType = dbNumeric Then fld.Size = intDataSize End If If Right(fld.Name, 3) = "_ID" Then fld.Attributes = dbAutoIncrField End If If Len(strDefaultValue & "") > 0 Then fld.DefaultValue = strDefaultValue End If If strReq = "y" Then fld.Required = True End If tdf.Fields.Append fld ...end snip ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Tuesday, June 03, 2003 6:51 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Henry: > > I'm trying to implement this method but don't see the way to set the default > value using the CreateField method. Is there another way? > > I tried: > > Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" > tdf.Fields.Append fld > Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 > tdf.Fields.Append fld > > which works without the .DefaultValue clause. WQIth the cluase I get an > error 'Object Required'. > > Thanks and regards, > > Rocky > > ----- Original Message ----- > From: "Henry Simpson" > To: > Sent: Monday, June 02, 2003 4:31 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > Delete the fields and add them back. Default value "" and 0. > > > > Hen > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Update Query - Need to Speed It Up > > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > > > >Dear List: > > > > > >I am running an update query on a table with 2,500,000 records and it's > > >taking just a bit too long for the my and the client's liking. > > >The SQL is: > > > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > > > >It's setting one field to blank the other to 0. > > > > > >Is there a way to make it run any faster? > > > > > > > > >MTIA, > > > > > >Rocky Smolin > > >Beach Access Software > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Tony.Yeatman at creditlyonnais.co.uk Tue Jun 3 05:27:26 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Tue, 3 Jun 2003 11:27:26 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40340@LNN052> Thank you Doug, Barbara, Charles and John. It appears that the new PC's are not being supplied with the Office 97 Service packs, as soon as I installed the Service Packs all was worked well. Regards Tony. -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: 02 June 2003 17:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Hi Tony, I ran into this problem and posted a question a couple of years ago. The snapshot capability was not native to Access 97 but was added to in SR2 I believe. There is a problem with installing the service release and getting the snapshot functionality in some configurations of Office 97 and Windows and the patches that have been applied to them. Apparently when the update installer runs it looks a certain items on the computer and makes the decision on what to update. WindowsME was the one we were having trouble with. I found an acknowledgement of the problem on the MS Knowledge Base but no solution. Since we were distributing the app as a runtime it had to work in all situations so I updated it to AccessXP and built the runtime around that and now we have no problems. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 4:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Tue Jun 3 03:18:49 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 03 Jun 2003 20:18:49 +1200 Subject: [AccessD] Microsoft Data Outline Control Message-ID: <70F3D727890C784291D8433E9C418F298ED5@server.bondsoftware.co.nz> I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 From jcolby at colbyconsulting.com Tue Jun 3 06:40:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 07:40:22 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <025501c32985$3c658060$6501a8c0@HAL9002> Message-ID: What I'm trying to say is that if you just needed to update ALL the records in the dataset (add 5% to a cost for example), then dropping the index, updating, then adding the index back would probably be faster. In your case, if you have a filter that says "only those not 0" (for example) and you drop the index, then it takes LONGER to find those records that are "not 0" and thus dropping the index SLOWS the thing down (as you observed). If in one case (with an index) you say "update all records <> 0" and in the other case you just drop the index on the column that might be 0 and then just update ALL the records to be zero... then which is faster? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 12:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Jun 3 07:34:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 3 Jun 2003 07:34:06 -0500 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Rocky, Since it doesn't make sense to me to try to change the PPV and Variance's of all InvoiceDetail records, why don't you have a Where clause to select only those that need changing? Presumably some Invoice record changed, so only its InvoiceDetail records now need updating. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday 2003 Jun 02 23:05 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software From jimdettman at earthlink.net Tue Jun 3 07:55:11 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 08:55:11 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <008d01c3294e$8688dc50$6501a8c0@HAL9002> Message-ID: Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Tue Jun 3 08:07:32 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 14:07:32 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <000001c329d1$1823aa00$cb0d6bd5@netboxxp> Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark From michael.broesdorf at web.de Tue Jun 3 08:15:59 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 3 Jun 2003 15:15:59 +0200 Subject: AW: [AccessD] Microsoft Data Outline Control In-Reply-To: <70F3D727890C784291D8433E9C418F298ED5@server.bondsoftware.co.nz> Message-ID: Hi Stephen, the data outline control was a databound control that was able to display data in a hierachical manner (similar to the treeview control).It was part of the Office Developer Tools. MS did not include it in later versions of the developer tools. You probably will have to replace it by either a treeview control (and do the databinding using VBA) or by 3rd party controls (Flexgrid?). Or you could try to get an old version of ODE and extract the neccessary files from there (which might be a good idea anyway, since you probably want to know, what was inside the control [SQL code]). HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stephen Bond Gesendet: Dienstag, 3. Juni 2003 10:19 An: accessd at databaseadvisors.com Betreff: [AccessD] Microsoft Data Outline Control I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 3 08:18:58 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 03 Jun 2003 09:18:58 -0400 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 08:33:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:33:51 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <743027593.20030603082745@cactus.dk> Message-ID: <005001c329d4$c5983cc0$6501a8c0@HAL9002> Gustav: It's not really a clean-up. It's zeroing out these two fields preparatory to doing a purchase price variance analysis for a report. The underlying data is very stable but not completely static and the user can specify the level of PPV to be noted on the report. So after the fields are reset, I retrieve the data set in product number/Invoice date sequence and look for variances in the purchase price over time for each product, noting where the price of a purchase varies more than the user defined limit from the previous purchase and that gets flagged in the record (also on the previous and following records) which makes it easy to run the report. I suppose I could put these two fields in a separate table with a one-to-one relationship. But then I have a join to deal with when running the report which might take a long time. Since the UPDATE query runs acceptably fast now the pacing item is the sequential search through the 2.5 mil records for purchase price variances. BTW, I found in very ling reports that its the Page Number that slows down the first page appearing in preview, if you use the 'page xxx of yyyy' approach. If you drop the 'of yyy' part the first page comes up right away. With an 800 page report it can take minutes for the first page to appear with the 'of yyy' in the page footer. Regards, Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, June 02, 2003 11:27 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hi Rocky > > Why are you doing this regular clean-up thing (which I guess it is)? > Wouldn't it be wiser to set these values when you append or manipulate > those records? > > /gustav > > > > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > > The SQL is: > > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > It's setting one field to blank the other to 0. > > > Is there a way to make it run any faster? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Jun 3 08:38:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:38:23 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <003201c32994$20fd36b0$6501a8c0@HAL9002> <00af01c329ad$e2aaa0e0$6a1118ac@D8TZHN0J> Message-ID: <005601c329d5$67a05700$6501a8c0@HAL9002> Mark: Thanks for the snippet. I know you're right about MSDE or SQL. If this business of my client takes off we'll have to move there eventually. Right now it's single user so the delete and re-create field approach will be okay. You're monitoring the list. Are you back in the Access business? Have you become a phenomenally wealthy and powerful software entrepreneur? Staying away from China these days? How's the little girl? (excuse the OT, please) Rocky ----- Original Message ----- From: "Mark L. Breen" To: Sent: Tuesday, June 03, 2003 1:55 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hello Rocky, > > Here is a snipit of code I wrote a few years ago that appends default values > amongst other things. All I can say is 'it works', it was A97 but as far as > I know it also works in A2K. > > I know that you do not want to hear it, but I have terrible problems with > databases over 1M records. You have to consider compacting and rebuilding > regularly, and I often got databases that would just go corrupt. A backup > from yesterday evening sometimes does not cut it. A one user, one machine > system may work fine, but that same db now has put 18 M records through over > three years on SQL 7 / MSDE 1.0 and it has never ever crashed and > performance it still tip top. You can not agrue with that. > > The dropping and re-creating is quick but consider the compact and rebuild > regularly. > > On the other hand, it is much more fun that a little db with only a few > hundred records, even if you make more money on the small app. > > Enjoy, > > Mark > > ...snip > > Set fld = tdf.CreateField(strFieldName) > > fld.Type = intDataType > > If intDataType = dbText Or intDataType = dbNumeric Then > fld.Size = intDataSize > End If > > If Right(fld.Name, 3) = "_ID" Then > fld.Attributes = dbAutoIncrField > End If > > If Len(strDefaultValue & "") > 0 Then > fld.DefaultValue = strDefaultValue > End If > > If strReq = "y" Then > fld.Required = True > End If > > tdf.Fields.Append fld > > ...end snip > > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, June 03, 2003 6:51 AM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > Henry: > > > > I'm trying to implement this method but don't see the way to set the > default > > value using the CreateField method. Is there another way? > > > > I tried: > > > > Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" > > tdf.Fields.Append fld > > Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 > > tdf.Fields.Append fld > > > > which works without the .DefaultValue clause. WQIth the cluase I get an > > error 'Object Required'. > > > > Thanks and regards, > > > > Rocky > > > > ----- Original Message ----- > > From: "Henry Simpson" > > To: > > Sent: Monday, June 02, 2003 4:31 PM > > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > > > > Delete the fields and add them back. Default value "" and 0. > > > > > > Hen > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > >Reply-To: accessd at databaseadvisors.com > > > >To: > > > >Subject: [AccessD] Update Query - Need to Speed It Up > > > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > > > > > >Dear List: > > > > > > > >I am running an update query on a table with 2,500,000 records and it's > > > >taking just a bit too long for the my and the client's liking. > > > >The SQL is: > > > > > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = > """", > > > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > > > > > >It's setting one field to blank the other to 0. > > > > > > > >Is there a way to make it run any faster? > > > > > > > > > > > >MTIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > > > > > >_______________________________________________ > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Jun 3 08:40:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:40:12 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <006901c329d5$a87e2cc0$6501a8c0@HAL9002> Updating all the records without the index would be slow. I was originally doing it that way, then added the indexes to see if the update would run faster. It didn't appreciably. But updating all records without the index would probably be faster. OTOH there seems to be a bit of time consumed by creating the indexes as well. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 4:40 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up What I'm trying to say is that if you just needed to update ALL the records in the dataset (add 5% to a cost for example), then dropping the index, updating, then adding the index back would probably be faster. In your case, if you have a filter that says "only those not 0" (for example) and you drop the index, then it takes LONGER to find those records that are "not 0" and thus dropping the index SLOWS the thing down (as you observed). If in one case (with an index) you say "update all records <> 0" and in the other case you just drop the index on the column that might be 0 and then just update ALL the records to be zero... then which is faster? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 12:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 08:41:13 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:41:13 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <007401c329d5$cd075ad0$6501a8c0@HAL9002> Charles: That's what I did and it reduced the time from 8+ minutes to less than 1 1/2 minutes. Rocky ----- Original Message ----- From: "Wortz, Charles" To: Sent: Tuesday, June 03, 2003 5:34 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up > Rocky, > > Since it doesn't make sense to me to try to change the PPV and > Variance's of all InvoiceDetail records, why don't you have a Where > clause to select only those that need changing? Presumably some Invoice > record changed, so only its InvoiceDetail records now need updating. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday 2003 Jun 02 23:05 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > Not sure I understand 'different data sets'. The test I ran was run on > the same data - same conditions, etc. of the 2.5 million records, there > were only a handful anyway in which the fields were not "" and 0. So > it's mostly the filtered retrieval not the update that's being measured. > But in both cases, I'm updating the same records. > > Rocky > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 8:43 PM > Subject: RE: [AccessD] Update Query - Need to Speed It Up > > > Yes, but are you updating different data sets? With indexes are you > only updating those needing updating, without indexes updating all? > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, June 02, 2003 11:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > John: > > 1:44 without indexes; 1:17 with indexes. Go figure > > Rocky > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 5:06 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > Well I'll try a benchmark with no indexes - see if it's faster. > > Rocky > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 4:03 PM > Subject: RE: [AccessD] Update Query - Need to Speed It Up > > > Rocky, > > Part of the problem is that the fields are indexed. Using the indexes > to select only the fields that need updating is appropriate of course if > it's not all the records that need updating. The other option is to > delete the index, update, then rebuild the index. Apparently after each > update (each record) Access foes in and adjusts the index. Removing the > index entirely, doing the updates, then rebuilding the index from > scratch is SUPPOSED to be faster. never actually tried it tho. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, June 02, 2003 5:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. > > Rocky > > ----- Original Message ----- > From: Susan Harkins > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 2:08 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > How long is too long? With 2 million records, and Jet, just how fast do > you want it to be??? :) > > And about that blank -- do you really mean a zero-length string or did > you really want Null? > > Susan H. > > > Dear List: > > I am running an update query on a table with 2,500,000 records and it's > taking just a bit too long for the my and the client's liking. > The SQL is: > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > It's setting one field to blank the other to 0. > > Is there a way to make it run any faster? > > > MTIA, > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 3 08:56:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 09:56:34 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <005001c329d4$c5983cc0$6501a8c0@HAL9002> Message-ID: Rocky, <> That's because when you add the 'yyy', you force Access to run the report twice. The first pass it does to determine the last page number. The output is sent to the Null device. When that's complete, it then starts over and prints the report. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 9:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Gustav: It's not really a clean-up. It's zeroing out these two fields preparatory to doing a purchase price variance analysis for a report. The underlying data is very stable but not completely static and the user can specify the level of PPV to be noted on the report. So after the fields are reset, I retrieve the data set in product number/Invoice date sequence and look for variances in the purchase price over time for each product, noting where the price of a purchase varies more than the user defined limit from the previous purchase and that gets flagged in the record (also on the previous and following records) which makes it easy to run the report. I suppose I could put these two fields in a separate table with a one-to-one relationship. But then I have a join to deal with when running the report which might take a long time. Since the UPDATE query runs acceptably fast now the pacing item is the sequential search through the 2.5 mil records for purchase price variances. BTW, I found in very ling reports that its the Page Number that slows down the first page appearing in preview, if you use the 'page xxx of yyyy' approach. If you drop the 'of yyy' part the first page comes up right away. With an 800 page report it can take minutes for the first page to appear with the 'of yyy' in the page footer. Regards, Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, June 02, 2003 11:27 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hi Rocky > > Why are you doing this regular clean-up thing (which I guess it is)? > Wouldn't it be wiser to set these values when you append or manipulate > those records? > > /gustav > > > > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > > The SQL is: > > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > It's setting one field to blank the other to 0. > > > Is there a way to make it run any faster? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Jun 3 09:12:53 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 10:12:53 -0400 Subject: [AccessD] VBAErrorHandler Message-ID: <000d01c329da$3b62dcd0$6401a8c0@default> I am unclear on the following and could use some instruction: Public gProcStack As New adhProcedureStack is inside the class that is added to my project, but not defined outside the class when I set Conditional Compilation arg boolElE = 1. WriteErrorLog is also not defined. How am I to use these variables? Michael R. Mattys www.mattysconsulting.com From bchacc at san.rr.com Tue Jun 3 09:11:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:11:40 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00a701c329da$0dd8d7b0$6501a8c0@HAL9002> Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 09:15:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:15:38 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00b901c329da$9ba420e0$6501a8c0@HAL9002> Don: I thought about doing it for the two fields I'm updating. But then the report would have to do a one-to-one join on the table with the two fields instead of just printing the two bound fields on the report. Not sure I'd save anything that way. Right now the UPDATE time is tolerable. There's another chunk of code after that which compares the detail records to find the variances which can take several minutes to run. That's where I'm going to look for a different technique. For the moment - client is happy!! Thanks to all who gave me input on this problem. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Don Elliker To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 6:18 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up whew...2.5million records- there's your problem! Have you tried a maketable (create a new one delete the old) setting those fields when you do it? WAG..I know. Other than that how about setting some temporary indices (indexes) on those fields...might help. _D "Things are only free to the extent that you don't pay for them." >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ MSN 8 with e-mail virus protection service: 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 09:21:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 10:21:54 -0400 Subject: [AccessD] VBAErrorHandler In-Reply-To: <000d01c329da$3b62dcd0$6401a8c0@default> Message-ID: Michael, The stack stuff is code that tracks calls to functions. If you turn on a property in the error handler setup then code to do te call trace will be inserted in the error handlers created. In that case, the procedure stack code will be used. I'm not sure what the conditional compilation variable is. Is it mentioned in the doc anywhere? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, June 03, 2003 10:13 AM To: AccessD Subject: [AccessD] VBAErrorHandler I am unclear on the following and could use some instruction: Public gProcStack As New adhProcedureStack is inside the class that is added to my project, but not defined outside the class when I set Conditional Compilation arg boolElE = 1. WriteErrorLog is also not defined. How am I to use these variables? Michael R. Mattys www.mattysconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Jun 3 09:31:04 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 10:31:04 -0400 Subject: [AccessD] VBAErrorHandler References: Message-ID: <003101c329dc$c4542a60$6401a8c0@default> No, that's just the thing... It's not mentioned and if I don't set the project properties Cond.Comp. to boolElE = 1, then it skips right over and I don't get an error log or debug.print. I think? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: Sent: Tuesday, June 03, 2003 10:21 AM Subject: RE: [AccessD] VBAErrorHandler > Michael, > > The stack stuff is code that tracks calls to functions. If you turn on a > property in the error handler setup then code to do te call trace will be > inserted in the error handlers created. In that case, the procedure stack > code will be used. I'm not sure what the conditional compilation variable > is. Is it mentioned in the doc anywhere? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Tuesday, June 03, 2003 10:13 AM > To: AccessD > Subject: [AccessD] VBAErrorHandler > > > I am unclear on the following and could > use some instruction: > > > Public gProcStack As New adhProcedureStack > is inside the class that is added to my project, but > not defined outside the class when I set Conditional > Compilation arg boolElE = 1. WriteErrorLog is also > not defined. > > How am I to use these variables? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Tue Jun 3 09:32:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 10:32:43 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <00a701c329da$0dd8d7b0$6501a8c0@HAL9002> Message-ID: Rocky, That's weird. When's the last time you compacted? The stats must be way off. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 10:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 09:48:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:48:55 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <020201c329df$41e88870$6501a8c0@HAL9002> Compact? :) Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 7:32 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, That's weird. When's the last time you compacted? The stats must be way off. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 10:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 3 09:51:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 07:51:58 -0700 Subject: [AccessD] Microsoft Data Outline Control Message-ID: Depending on which version of the ODE it came with, you may not be able to use it in later versions. Charlotte Foust -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 03, 2003 5:16 AM To: accessd at databaseadvisors.com Subject: AW: [AccessD] Microsoft Data Outline Control Hi Stephen, the data outline control was a databound control that was able to display data in a hierachical manner (similar to the treeview control).It was part of the Office Developer Tools. MS did not include it in later versions of the developer tools. You probably will have to replace it by either a treeview control (and do the databinding using VBA) or by 3rd party controls (Flexgrid?). Or you could try to get an old version of ODE and extract the neccessary files from there (which might be a good idea anyway, since you probably want to know, what was inside the control [SQL code]). HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stephen Bond Gesendet: Dienstag, 3. Juni 2003 10:19 An: accessd at databaseadvisors.com Betreff: [AccessD] Microsoft Data Outline Control I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 3 09:53:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 07:53:04 -0700 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: Which version of Access are you running it with. I had problems with the A97 version, but it works fine with A2k and later, including saving color preferences. Charlotte Foust -----Original Message----- From: Mark H [mailto:Lists at theopg.com] Sent: Tuesday, June 03, 2003 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] [OT] Anyone used VBA Code Print Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Tue Jun 3 09:57:11 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 15:57:11 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <001c01c329e0$697208c0$cb0d6bd5@netboxxp> I'm using XP. I have tried uninstalling etc. and even tried another machone with the same set up. Still got the same problem. Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 03 June 2003 15:53 To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Which version of Access are you running it with. I had problems with the A97 version, but it works fine with A2k and later, including saving color preferences. Charlotte Foust -----Original Message----- From: Mark H [mailto:Lists at theopg.com] Sent: Tuesday, June 03, 2003 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] [OT] Anyone used VBA Code Print Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Tue Jun 3 10:30:29 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 3 Jun 2003 11:30:29 -0400 Subject: [AccessD] Access Problems on Citrix Message-ID: <009d01c329e5$10376020$6701a8c0@tbig3> I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Tue Jun 3 10:34:42 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 03 Jun 2003 09:34:42 -0600 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Jun 3 10:40:26 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 3 Jun 2003 07:40:26 -0800 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: OK, I've got to see this. Any way that you can send me an example of Access manipluating a media file offline? Mark -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, June 03, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Tue Jun 3 10:43:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 08:43:11 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: You can drive nails with a rock too, but it still makes more sense to use a hammer. Charlotte Foust -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, June 03, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From bobbedell15 at msn.com Tue Jun 3 10:48:12 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Tue, 03 Jun 2003 15:48:12 +0000 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't save >any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From Lists at theopg.com Tue Jun 3 10:52:14 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 16:52:14 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <003601c329e8$1a728490$cb0d6bd5@netboxxp> Thanks Bob Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Bedell Sent: 03 June 2003 16:48 To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't >save any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 3 10:53:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 08:53:31 -0700 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: I have had no problems with it in either A2k or AXP. I like it for VB6 and SQL Server as well. The A97 version was the only one I had difficulties with because of bugs (it would NOT print a section of a module, only the whole thing), but I haven't tried the .Net version yet. Charlotte Foust -----Original Message----- From: Bob Bedell [mailto:bobbedell15 at msn.com] Sent: Tuesday, June 03, 2003 7:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't >save any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Tue Jun 3 10:58:56 2003 From: greggs at msn.com (Gregg Steinbrenner) Date: Tue, 3 Jun 2003 10:58:56 -0500 Subject: [AccessD] Access Problems on Citrix In-Reply-To: <009d01c329e5$10376020$6701a8c0@tbig3> Message-ID: MessageWe ran into problems early on especially with printing. We increased the PageFile (my computer, properties, performance tab) to 4096 and that helped a lot. Now we have some 300 MB apps running OK with 10 to 15 users. Also, we find Importing everything into a clean database on the Citrix server helps when nothing else seems to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Myke Myers Sent: Tuesday, June 03, 2003 10:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Problems on Citrix I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 11:08:41 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 09:08:41 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <028c01c329ea$66e278b0$6501a8c0@HAL9002> If it makes any difference to the thread it is currently single user. If the business takes off it could become multi-user. So I'm glad to know that the Delete/Add field approach has risks in a multi-user environment. Can the risk be eliminated by getting exclusive access to the table before doing the Delete/Add? Rocky ----- Original Message ----- From: Henry Simpson To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 8:34 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------------------------------ whew...2.5million records- there's your problem! Have you tried a maketable (create a new one delete the old) setting those fields when you do it? WAG..I know. Other than that how about setting some temporary indices (indexes) on those fields...might help. _D "Things are only free to the extent that you don't pay for them." >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ MSN 8 with e-mail virus protection service: 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Tue Jun 3 11:19:09 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 3 Jun 2003 10:19:09 -0600 Subject: [AccessD] Access Problems on Citrix Message-ID: <190690-2200362316199821@christopherhawkins.com> I had a similar problem a couple years ago, implementing an Access app at Unocal that was being accessed via Citrix. If memory serves, it's a known issue that can be found in Microsoft's KBase. I don't remember any more detail than that. Sorry. But perhaps you'll be able to find the KBase article. The fix was somewhat trivial. -C- ---- Original Message ---- From: mmmtbig at bellsouth.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access Problems on Citrix Date: Tue, 3 Jun 2003 11:30:29 -0400 >I have a client who has about 12 users (several remote) running an >Access application via Citrix that I developed. > >Last night I put a new front end application with significant >enhancements on their server. > >This morning the application is very flaky, locking up and closing. >On >my development system it is fine. > >My theory is that the new FE exceeds the allocated memory in Citrix. > >Does a Citrix session have a memory limitation that, when exceeded, >makes an Access application lock up or exit? > >Any other possibilities? > >TIA, > >Myke Myers > >The Better Information Group > From michael.mattys at adelphia.net Tue Jun 3 11:28:23 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 12:28:23 -0400 Subject: [AccessD] VBAErrorHandler References: <003101c329dc$c4542a60$6401a8c0@default> Message-ID: <00b501c329ed$2d2edde0$6401a8c0@default> I have gone through and replaced WriteErrorLog with gProcStack.WriteErrorLog and have the cond. comp. set to boolElE = 1. It compiles and it works. Now I just need to know what the path to the error log is. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: Sent: Tuesday, June 03, 2003 10:31 AM Subject: Re: [AccessD] VBAErrorHandler > No, that's just the thing... > > It's not mentioned and if I don't set the project > properties Cond.Comp. to boolElE = 1, then > it skips right over and I don't get an error log > or debug.print. > > I think? > > Michael R. Mattys > www.mattysconsulting.com > ----- Original Message ----- > From: "John Colby" > To: > Sent: Tuesday, June 03, 2003 10:21 AM > Subject: RE: [AccessD] VBAErrorHandler > > > > Michael, > > > > The stack stuff is code that tracks calls to functions. If you turn on a > > property in the error handler setup then code to do te call trace will be > > inserted in the error handlers created. In that case, the procedure stack > > code will be used. I'm not sure what the conditional compilation variable > > is. Is it mentioned in the doc anywhere? > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > > Mattys > > Sent: Tuesday, June 03, 2003 10:13 AM > > To: AccessD > > Subject: [AccessD] VBAErrorHandler > > > > > > I am unclear on the following and could > > use some instruction: > > > > > > Public gProcStack As New adhProcedureStack > > is inside the class that is added to my project, but > > not defined outside the class when I set Conditional > > Compilation arg boolElE = 1. WriteErrorLog is also > > not defined. > > > > How am I to use these variables? > > > > Michael R. Mattys > > www.mattysconsulting.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Tue Jun 3 11:29:51 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Tue, 3 Jun 2003 11:29:51 -0500 Subject: [AccessD] Access Problems on Citrix Message-ID: <00e201c329ed$72fa4c60$6601a8c0@joe.indy.rr.com> Myke, For the past 4 years my users have been running an Access application on Citrix with no major problems. We max out at 25 users. What is "flaky"? What does "locking up and closing" mean? Are your users accessing any resources on their local machines? Have you checked with the Citrix administrator to see if there are any locally imposed limitations? Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Myke Myers To: accessd at databaseadvisors.com Date: Tuesday, June 03, 2003 10:42 AM Subject: [AccessD] Access Problems on Citrix I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 20:51:47 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 21:51:47 -0400 Subject: [AccessD] OT: photo size on web site Message-ID: I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Tue Jun 3 21:05:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 3 Jun 2003 21:05:08 -0500 Subject: [AccessD] OT: photo size on web site Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CD0@main2.marlow.com> Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jun 3 21:09:53 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jun 2003 12:09:53 +1000 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: <3EDDE191.26542.F4193A@localhost> On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Tue Jun 3 21:21:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:21:12 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <3EDDE191.26542.F4193A@localhost> Message-ID: LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Jun 3 21:23:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:23:12 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CD0@main2.marlow.com> Message-ID: I clicked on a random picture and the same thing is happening. The picture (of your daughter?) is downloaded to my computer and displayed in IE at it's original resolution, which is so large that scroll bars appear and you have to scroll around to see the whole picture. It then resizes to fit in a portion of the screen (which mine doesn't do). John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 03, 2003 10:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: photo size on web site Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rbgajewski at adelphia.net Tue Jun 3 21:35:21 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 3 Jun 2003 22:35:21 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jun 3 21:38:42 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jun 2003 12:38:42 +1000 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: <3EDDE191.26542.F4193A@localhost> Message-ID: <3EDDE852.30238.10E7A56@localhost> On 3 Jun 2003 at 22:21, John Colby wrote: > LOL. I saved them as JPEG, compressed waaaay down from the original (about > 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 > mbyte. The pictures on the site are about 150 kbytes. Any more compression > and they look horrible. The compression and file size has nothing to do > with the pixels though. > The way it was explained in something I read is that since the image is 2048 > x 1536 pixels, if the user downloading the picture is displaying 800x600, > only a very small part is going to display on the screen, requiring > scrolling. Thus I need a method of constraining the display in a frame > inside my site, where the entire image will be automatically sized to fit > inside the frame. > As I said, you can set the width and height of the image and it will be scaled to fit. BUT you are still storing/downloading a 2048 x 1536 pixel image and squeezing it into a box. The methods used to scale an image in an HTML browser are designed to be quick, not good. They are only displaying about 1 pixel in 13 and not doing a very good job of selecting how to display that one. All they do is generally is resize by throwing away 12/13 pixels. If you resample using a good program which will apply an appropriate resampling filter, you end up with a much better result. As a rule of thumb. Resize/resample first to an appropriate size for your application, then compress. You will get far better results in much smaller files than by compressing first and then trying to resize. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Tue Jun 3 21:43:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:43:43 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: I don't think I understand. In fact I am sure I don't understand. All there is is an album of thumbnails. What happens when you click on a thumbnail is a mystery to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Gajewski Sent: Tuesday, June 03, 2003 10:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rbgajewski at adelphia.net Tue Jun 3 21:58:56 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 3 Jun 2003 22:58:56 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: John There are two ways to handle this. 1) Have only one image file for each picture. In your thumbnail image, set the height and width to a small size, such as 72 x 60 (or whatever presents a suitable thumbnail on your site. Enclose the tag within a link () tag set and have the link reference the full image file. (Watch for line wrap) Ex: Thumbnail: 2) Have two image files for each picture. In your thumbnail image, display the small version. Enclose the tag within a link tag set to reference the large image. (Watch for line wrap) Ex: Thumbnail: Even though the thumbnail version of the image is already small, it is good coding practice to always explicitly declare the image size. Many users set their preferences to display image placeholders, which assist readability during page loading. If you want, I can send you some JavaScript code that handles multiple images with similar name structure (i.e.: img001, img002, img003, etc) in a single line of code for the element and just a few lines in the element. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site I don't think I understand. In fact I am sure I don't understand. All there is is an album of thumbnails. What happens when you click on a thumbnail is a mystery to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Gajewski Sent: Tuesday, June 03, 2003 10:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Jun 3 22:02:26 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 23:02:26 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <3EDDE852.30238.10E7A56@localhost> Message-ID: OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did the last three images (791a, 792a and 793a). It seems to be what I was after. What a PITA though! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site On 3 Jun 2003 at 22:21, John Colby wrote: > LOL. I saved them as JPEG, compressed waaaay down from the original (about > 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 > mbyte. The pictures on the site are about 150 kbytes. Any more compression > and they look horrible. The compression and file size has nothing to do > with the pixels though. > The way it was explained in something I read is that since the image is 2048 > x 1536 pixels, if the user downloading the picture is displaying 800x600, > only a very small part is going to display on the screen, requiring > scrolling. Thus I need a method of constraining the display in a frame > inside my site, where the entire image will be automatically sized to fit > inside the frame. > As I said, you can set the width and height of the image and it will be scaled to fit. BUT you are still storing/downloading a 2048 x 1536 pixel image and squeezing it into a box. The methods used to scale an image in an HTML browser are designed to be quick, not good. They are only displaying about 1 pixel in 13 and not doing a very good job of selecting how to display that one. All they do is generally is resize by throwing away 12/13 pixels. If you resample using a good program which will apply an appropriate resampling filter, you end up with a much better result. As a rule of thumb. Resize/resample first to an appropriate size for your application, then compress. You will get far better results in much smaller files than by compressing first and then trying to resize. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Tue Jun 3 22:05:20 2003 From: chizotz at charter.net (Ron Allen) Date: Tue, 3 Jun 2003 22:05:20 -0500 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: Message-ID: <192435317734.20030603220520@charter.net> Hello John, Wow, maybe I can finally do a little something for you after all the help you've given me over the past few years. In the HTML, you can specify the height and width of the image in pixels, like po-up text here Now, oftentimes the width and height are just the actual width and height of the image, which is efficient because it lets the browser correctly format the page before it downloads the images. But if the image is larger, by specifying the width and height the image should be scaled down to the specified size for display. Thumbnails are just small versions of the image that are set up as links, usually to the full-size image. If the images are nearly as small as the thumbnails you want to use, you can use the re-sizing trick to make the thumbnails with little loss of efficiency. If the full-sized images are large, a better way is to use a graphics program to resample the images down to the size you want for thumbnails and save them as separate thumbnail files. You can see examples by taking a look at the source at http://webpages.charter.net/chizotz/zootrip/zootrip.html which is pictures from a trip to the zoo I took with my ladyfriend a few weeks ago. I put the images up on the web for her to dl, thumbnails with links to the full-sized images. Yeah, the one picture is of me :) Hope this helps in some small way, and thanks for all the help you've given me. Ron Tuesday, June 3, 2003, 9:43:43 PM, you wrote: JC> I don't think I understand. In fact I am sure I don't understand. All JC> there is is an album of thumbnails. What happens when you click on a JC> thumbnail is a mystery to me. From chizotz at charter.net Tue Jun 3 22:10:40 2003 From: chizotz at charter.net (Ron Allen) Date: Tue, 3 Jun 2003 22:10:40 -0500 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: Message-ID: <11435637890.20030603221040@charter.net> Hello John, I don't know Photoshop, but CompuPic Pro (http://www.photodex.com) and Paint Shop Pro (http://www.jasc.com) both have automation features that can be used to make the process less painful. Paint Shop Pro 8 has a full-blown macro recorder and scripting language built in to do any manipulation you need to do. I have and use both of these programs and can tell you that they are both good. Paint Shop Pro, I am told, is nearly on a par with Photoshop in all ways except the specialized functionality for interfacing with printing shops. HTH, Ron Tuesday, June 3, 2003, 10:02:26 PM, you wrote: JC> OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did JC> the last three images (791a, 792a and 793a). It seems to be what I was JC> after. What a PITA though! From SDSSoftware at optusnet.com.au Tue Jun 3 21:08:42 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 4 Jun 2003 12:08:42 +1000 Subject: [AccessD] OT: photo size on web site References: Message-ID: <001001c32a3e$38f90a50$54dd31d2@OfficePC> What a cutie.... ----- Original Message ----- From: John Colby To: AccessD Sent: Wednesday, June 04, 2003 11:51 AM Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 22:40:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 23:40:58 -0400 Subject: [AccessD] OT: Mission accomplished Message-ID: Thanks all, I took the course of resizing all the photos in Photoshop to 600x800. That makes the photo mostly visible, at least on my machine. On a machine setup for 800x600 you still have to scroll around but only a little. Thanks for all the input. John W. Colby www.colbyconsulting.com From hsimpson88 at hotmail.com Tue Jun 3 23:31:15 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 03 Jun 2003 22:31:15 -0600 Subject: [AccessD] OT: photo size on web site Message-ID: Using Photoshop after I complained about the price. You may try manipulating the image data yourself. The data rows are mod image width in pixels times 3 for 24 bit 3 byte color assuming bit map source data. Things get messy when you work with jpegs though. You can resize by a factor of 2 (4 in area) by averaging blocks of 4 adjacent pixels with source data. This may be an issue with your camera image data, but the Canon D60 gives me 3072 by 2048 pixels that can be acquired as raw data. Scaling by a factor such as 99% yeilds a visible degradation of print quality in edge sharpness. If you ever work with raw data you'll get a better understanding of what programs like Photoshop can do for you and how to work with the program rather than against it. A reasonable solution, though without batch capabilities, is to use the freebie that came with Office 97 - Microsoft Photo Editor. With an open file, from the image menu, choose resize and then choose a nice integral factor like 25% so as not to compromise image clarity unnecessarily and then, from the File Save As menu, hit the More button and select what they call an image quality factor which is more accurately a compression ratio. As you already have discovered, the image size is independent of the browser display size and you need to balance image pixel size and jpeg compression for a reasonable file size and clarity suitable for web usage. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Jun 3 12:38:24 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 03 Jun 2003 10:38:24 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: Hi John: It all depends on the speed and quality you are expecting. If the photo is larger than will fit on a computer screen it will load slowly because of the size. There are a few ways to work with this issue. 1. Have the large size file download for viewing...change to a zip file. 2. Force the picture size by setting the size you want the picture to appear within the image tag within the HTML code. This is not recommended because the whole picture is still required to downloaded and then an extensive amount of time is required to render the picture to forced height and width sizes. 3. Reduce the pictures to the appropriate size. This is the best way but it requires a bit of preparation of the image. The dpi should be reduced to 72 because this is the maximum quality of an image of the screen. The colours should be slightly pushed and pictures very slightly off-focused. Check out the source code on the DBA site for examples of how to use and make blowups or access large images from small thumbnails. There are about five different methods used and one will be best for you. Note: all the coding was completed with Dreamweaver, though most of it was manually done and not through the graphic interface. If you need any specifics drop me a note off-line and I can assist. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 6:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jun 3 12:48:26 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 03 Jun 2003 10:48:26 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: Hi John: Do you have any photo-editing programs. Adobe Photoshop, Corel, Photo Paint, Fireworks etc?? In these type of programs are the only place properly edit these pictures. First reduce the picture dpi to 72 anything larger is a waste. That will reduce most of the size. If the picture is still too large reduce it appropriately by using the 'canvas' option. There should be no loss in quality! If you have access to a program like Adobe ImageReady or again Fireworks you now have access to any excellent set of routines for expertly reducing the images for web display. No thumb-nail image should exceed 10K and no full-size image should exceed 50K. The recommended maximum for any one web page is 50 to 60K. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ray282828 at yahoo.com.hk Wed Jun 4 00:52:43 2003 From: ray282828 at yahoo.com.hk (Ray Li) Date: Wed, 4 Jun 2003 13:52:43 +0800 Subject: [AccessD] Failure to open database file In-Reply-To: Message-ID: <000b01c32a5d$85bb0fe0$0501a8c0@SonyRX660> Thanks for all responses that are useful to me resolving the problem. I did discover a missing reference of Microsoft DAO 3.51 Object Library in references. The dll file is in the folder. I unchecked the reference and re-registered it. Thus, it works now. I have inquired the user who said no program installed recently and any crash on the pc. However, I noticed that the Windows 98 could not shut down properly and there was below error message when I clicked Properties of printer or randomly clicked any menus. Internet Explorer Script Error An error has occurred in the script on this page. Line: 53 Char: 4 Error: Library not registered. Code: 0 URL: file://C:\WINDOWS\web\printers.htt Do you want to continue running scripts on this page? Yes No Although I fixed up the problem, I still do not know why it happened. Is there any member to have identified the causes of this problem? Thanks, Ray Li -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 30 May, 2003 11:31 p To: accessd at databaseadvisors.com Subject: RE: [AccessD] Failure to open database file Don, Funny, I've been more or less stating it that way for years and never thought anyone would check them all. NO you you only need to do it with ONE reference to force the reference cleanup. Your just trying to get the list to change. Just as easily, you could uncheck one reference and then recheck it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Friday, May 30, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Failure to open database file Is it really necessary to check them ALL to do this 'kick-in-the-pants" reference repair ? Won't adding a couple do the trick, supposing that the needed refs are there in the first place, of course. _D "Things are only free to the extent that you don't pay for them." >From: "Jim Dettman" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Failure to open database file >Date: Fri, 30 May 2003 08:29:28 -0400 > >Ray, > > As Charlotte said, it's a broken reference. However in some cases, they >may not be listed as "missing" or "broken". If that is the case, open up >tools/references, check any reference that is not checked, then close the >MDB and Access. Reopen Access and the MDB and uncheck the reference you >just checked. This forces Access to refresh the reference information. Do >a compile save all and everything should be OK. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ray Li > Sent: Thursday, May 29, 2003 7:17 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Failure to open database file > > > When I open a database on a pc running Access 97, the following errors >message came out and > failed in opening. > > Function isn't available in expressions in query expression '........ > > The report name 'rptScoreOfAllFactories' you entered is misspelled or >refers > to a report that isn't open or doesn't exist. > > The program opened correctly in the past but suddenly it happened today. >Same > program opens correctly on other pcs. Can someone encountered similar >problem before > share with your fixes to me. > > Thanks, > > Ray >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ Add photos to your e-mail with MSN 8. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 03:03:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 09:03:33 +0100 Subject: [AccessD] OT Courses References: <200305272043.VAA26213@hosea.qub.ac.uk> <3ED3F116.8070005@shaw.ca> Message-ID: <000901c32a6f$cafb5030$9111758f@aine> Folks Anyone out there running a web based course administration system, database driven using SQL Server or Access. Front end written in either PHP or any of the .NET languages. We will have approx 2000 registrations per academic year. We are designing a fully automated training course registration system which will be web based. Was wondering whats out there before I begin reinventing the wheel. System should be fully automatic capable of sending multiple emails on course registration, automatic placing and removal of individuals from waiting lists when courses are full etc Very little interaction with administration staff i.e look overheads in terms of upkeep. Martin From roz.clarke at donnslaw.co.uk Wed Jun 4 05:19:46 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 4 Jun 2003 11:19:46 +0100 Subject: [AccessD] Vacancy - Manchester (UK) Message-ID: <61F915314798D311A2F800A0C9C83188047C5DFF@dibble.observatory.donnslaw.co.uk> As many of you are aware, I am trying to recruit someone to join my team of software tweakers. We have been struggling to find anyone suitable so I thought I'd see if any of you might be interested, or know anyone else who would. The firm is a solicitor's practise based in central Manchester - www.donnslaw.co.uk The role is quite varied. My team maintains and augments the large 3rd party database applications which basically run the firm, particularly the Case Management system and a call centre system. These systems have their own development environments which we do not expect to find anyone experienced in. In addition to developing within these systems, the team manages a SQL Server 7 database which provides data to the firm's website (e-file-access) and data warehousing for reports. We provide all the company's MIS using Access and whatever else comes to hand. We develop Access databases to provide additional functionality, for example we have recently rolled out an HR database and are currently working on a call logging database for the IT Support desk. We also develop & maintain the company Intranet, currently in php but we're flexible on that. A lot of our ad-hoc work involves Office integration, working with Word, Excel and Outlook. We also use VB to write mini-apps to assist the network manager, e.g. macros for printing. We can offer in the region of ?22k p.a. to someone with relevant commercial experience + a degree, or equivalent comm. exp. If you would like the full details please contact me offline. Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 05:31:59 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 11:31:59 +0100 Subject: [AccessD] Vacancy - Manchester (UK) References: <61F915314798D311A2F800A0C9C83188047C5DFF@dibble.observatory.donnslaw.co.uk> Message-ID: <001601c32a84$87a1e690$9111758f@aine> Vacancy - Manchester (UK)Roz I have passed this to a guy in here. he will be in touch of line. Martin ----- Original Message ----- From: Roz Clarke To: AccessD (AccessD at databaseadvisors.com) Sent: Wednesday, June 04, 2003 11:19 AM Subject: [AccessD] Vacancy - Manchester (UK) As many of you are aware, I am trying to recruit someone to join my team of software tweakers. We have been struggling to find anyone suitable so I thought I'd see if any of you might be interested, or know anyone else who would. The firm is a solicitor's practise based in central Manchester - www.donnslaw.co.uk The role is quite varied. My team maintains and augments the large 3rd party database applications which basically run the firm, particularly the Case Management system and a call centre system. These systems have their own development environments which we do not expect to find anyone experienced in. In addition to developing within these systems, the team manages a SQL Server 7 database which provides data to the firm's website (e-file-access) and data warehousing for reports. We provide all the company's MIS using Access and whatever else comes to hand. We develop Access databases to provide additional functionality, for example we have recently rolled out an HR database and are currently working on a call logging database for the IT Support desk. We also develop & maintain the company Intranet, currently in php but we're flexible on that. A lot of our ad-hoc work involves Office integration, working with Word, Excel and Outlook. We also use VB to write mini-apps to assist the network manager, e.g. macros for printing. We can offer in the region of ?22k p.a. to someone with relevant commercial experience + a degree, or equivalent comm. exp. If you would like the full details please contact me offline. Roz ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Jun 4 06:08:48 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 4 Jun 2003 07:08:48 -0400 Subject: [AccessD] OT: Canon BJC 4200 printer problems Message-ID: <028701c32a89$ac0c28b0$8e01a8c0@Rock> Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. From marcel.vreuls at oop.nl Wed Jun 4 07:56:36 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 14:56:36 +0200 Subject: [AccessD] relations in which database In-Reply-To: <028701c32a89$ac0c28b0$8e01a8c0@Rock> Message-ID: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 4 08:05:27 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 08:05:27 -0500 Subject: [AccessD] relations in which database Message-ID: Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls From gustav at cactus.dk Wed Jun 4 08:12:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:12:45 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> References: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: <17027976187.20030604151245@cactus.dk> Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE and a > BE database. The relationships are currently stored in the BE database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can change, > add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? From mikedorism at ntelos.net Wed Jun 4 08:23:17 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 4 Jun 2003 09:23:17 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Wed Jun 4 08:25:14 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:25:14 +0200 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2872 bytes Desc: not available URL: From marcel.vreuls at oop.nl Wed Jun 4 08:26:35 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:26:35 +0200 Subject: [AccessD] relations in which database In-Reply-To: <17027976187.20030604151245@cactus.dk> Message-ID: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> Gustav, And what if I have four BE with different tables that have to be related to each other. The only solution is the releationships in the FE? or am i missing something. Why do you think it won't work? Gr Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: woensdag 4 juni 2003 15:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE and a > BE database. The relationships are currently stored in the BE database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can change, > add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Wed Jun 4 08:31:19 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:31:19 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> Message-ID: <000f01c32a9d$95d19bc0$c100a8c0@OOPMBO> Doris, Wow, for sure? In the current situation we do not have any releationships in the FE. Do you think it will improve performance if we import a copy in the FE. What if a relation between two tables differ in the BE from the FE? which one is leading? Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: woensdag 4 juni 2003 15:23 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 08:38:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 09:38:35 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000f01c32a9d$95d19bc0$c100a8c0@OOPMBO> Message-ID: Nope, relationships in the FE serve no purpose that I am aware of other than display for the programmer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Doris, Wow, for sure? In the current situation we do not have any releationships in the FE. Do you think it will improve performance if we import a copy in the FE. What if a relation between two tables differ in the BE from the FE? which one is leading? Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: woensdag 4 juni 2003 15:23 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 4 08:38:49 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 04 Jun 2003 23:38:49 +1000 Subject: [AccessD] OT Review if time permits Message-ID: <004001c32a9e$a4722810$0c05a8c0@earth.local> Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 4 08:39:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 09:39:32 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Message-ID: I have never heard of this. Keep us informed on whether this is true. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Wednesday, June 04, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1056 bytes Desc: not available URL: From gustav at cactus.dk Wed Jun 4 08:41:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:41:23 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> References: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> Message-ID: <8029693476.20030604154123@cactus.dk> Hi Marcel You didn't mention you have several BEs. These can not see each other, thus you'll have to maintain referential integrity via code in your frontend. Relations by themselves won't do anything other than show you how tables are supposed to relate ... It will be potentially disastrous to have Excel users to fiddle with several BEs. To service these, create a new database with queries linking to the related tables. /gustav > And what if I have four BE with different tables that have to be related to > each other. The only solution is the releationships in the FE? or am i > missing something. Why do you think it won't work? > Gr Marcel > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: woensdag 4 juni 2003 15:13 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] relations in which database > Hi Marcel > The main disadvantage is that it won't work. > As Charles wrote, relations have to reside in the backend. > Sometimes relations increase speed. > If Excel users should access the BE, relations can make this safe. If > not, create queries they can and must use. > If you need to adjust relations, open the BE exclusively and perform > the changes and close. > /gustav >> I am stugling with the following. In our current situation I have a FE and >> a >> BE database. The relationships are currently stored in the BE database. >> Now >> the question is why not put them in the FE database and just leave the >> plain tables in the be database. >> Advantages should be >> - performance in multiuser env. >> - more control over the database because with each update you can change, >> add a relationship >> - peoplo who want to access the database through excel, and so on have >> more trouble in comprending the database. >> - field updates, new tables are easily to create instead of using 3rd >> party backend updaters >> Are there disadvantages??? From gustav at cactus.dk Wed Jun 4 08:49:15 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:49:15 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> References: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Message-ID: <8130165736.20030604154915@cactus.dk> Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. > We have > noticed that the performance of our application is slowing down. In our > search to solutions we have found some usefull things. > One of the solutions is moving the relationships from the be to the fe. The > jet engine can do it joining, selecting and interpreting localy in it own > database instead of over the network in another (BE) database. So only > storage is in the BE all the intelligence is in the FE > In mine humble opinion this sounds logical and in situations when you have > more than one BE I think this is the only solution to relate tables to each > other. So why not do this, it seems to work and available in Access. Am I > not sure how JET acts when there are the same relationships in the FE and BE You'll have to read up on this. One hint: you can choose to access one BE only. Doing so doesn't leave neither Access nor Jet a chance to know what's going on in another BE, not to say "synchronize" these behind the scene. /gustav From gustav at cactus.dk Wed Jun 4 08:53:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:53:43 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> References: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> Message-ID: <17330433801.20030604155343@cactus.dk> Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a container of > tables. You can keep a copy of the relationships in the BE for reference > but in order for the FE to do its job properly you have to have a copy of > the relationships in there too. From actebs at actebs.com.au Wed Jun 4 09:04:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 5 Jun 2003 00:04:20 +1000 Subject: [AccessD] Record Locking Strategy or Error Trapping Message-ID: <005701c32aa2$34ce7500$0c05a8c0@earth.local> Guys, We have developed an app for a client that was to be used for only 3-4 people. Now it's up to 14 and growing. The client does not want to migrate to SQL so we need to come up with a viable solution using the tools we have available Access XP on a Citrix Network. The app is pretty simple, call centre operators at one end of the building take orders input the information through unbound forms...(Hmmm, lets not get into that discussion) and the Schedulers/Dispatchers at the other end, once again Unbound Forms. Our problem is that the BE keeps getting corrupted and I have a sneaking suspicion it's to do with concurrent writes to tblOrderHeader, but can't figure out how to trap this. The reason I say tblOrderHeader is because it's the only table both Call Centre and Schedulers would write to. Basically, the Call Centre staff create orders with the field "Sheduled" defaulted to N and when the schedulers despatch the order this field is updated to Y. Obviously, this can occur simultaneously. My question is how best to handle this situation or to trap the error when another user is writing to the table and prompt them to try again shortly. I have read extensive info on the MSDN site regarding record locking strategies and the database is currently set to "No Locks" which is basically Optimistic Locking (Tools|Options|Advanced). What impact does it have if I change this to Edited Record or All Records. Is there a performance hit or gain and what additional headaches does it create? Will it all solve my problem? Should I change the Update Retires to 10? Or is there another alternative? Sorry for the long winded post... Any assistance will be greatly appreciated... Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 4 09:04:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 4 Jun 2003 10:04:43 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: Marcel, It depends on what you mean by "relationship". If your not enforcing RI, then the relationships can be anywhere. Their basically a shortcut for creating joins when you use the query designer. If you are enforcing RI, then they *must* be in the backend to work. Putting them in the front end achieves nothing additional other then what I stated above. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 4 09:08:13 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 09:08:13 -0500 Subject: [AccessD] relations in which database Message-ID: Marcel, I have to agree with Gustav about his advise to sign off on some of those other forums. Of the various Access forums that I sampled, this is one of only two I stay with. Many of the others have a very low signal-to-noise ratio. And on some outright falsehoods go unchallenged. On this list there are many people able and willing to clarify any misconceptions anybody may have about Access, Jet, VBA, and various other related subjects. The only requirement for staying on this list is that you don't let your ego get hurt by criticism. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday 2003 Jun 04 08:49 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. From marcel.vreuls at oop.nl Wed Jun 4 09:21:27 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 16:21:27 +0200 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <002401c32aa4$964c45d0$c100a8c0@OOPMBO> Charles, That is the reason I ask the question in this list before implementing a solution.:-). I have learned to handle criticism :-) the hard way. I think i can handle anything unless I get falsy aquised (hope I wrote this right) of something I did not do...ha.ha..but that is probably for everybody the same. Gr marcel "I cannot know and remember everything" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 16:08 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, I have to agree with Gustav about his advise to sign off on some of those other forums. Of the various Access forums that I sampled, this is one of only two I stay with. Many of the others have a very low signal-to-noise ratio. And on some outright falsehoods go unchallenged. On this list there are many people able and willing to clarify any misconceptions anybody may have about Access, Jet, VBA, and various other related subjects. The only requirement for staying on this list is that you don't let your ego get hurt by criticism. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday 2003 Jun 04 08:49 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2588 bytes Desc: not available URL: From mikedorism at ntelos.net Wed Jun 4 09:41:24 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 4 Jun 2003 10:41:24 -0400 Subject: [AccessD] relations in which database In-Reply-To: <17330433801.20030604155343@cactus.dk> Message-ID: <001501c32aa7$63224080$c2360cd8@hargrove.internal> No, I've actually run into cases where I had to have the relationships in the FE because it didn't seem to "inherit" them through the BE link. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 04, 2003 9:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a > container of tables. You can keep a copy of the relationships in the > BE for reference but in order for the FE to do its job properly you > have to have a copy of the relationships in there too. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 4 09:33:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 10:33:20 -0400 Subject: [AccessD] relations in which database References: Message-ID: <00cc01c32aa7$28a84fd0$f3e6ffcc@SusanOne> Besides, you can't enforce referential integrity from another database. Well, I suppose you could if you're willing to write the right code, but you can't use the built-in ri feature. Susan H. > Marcel, > > Since relationships are between and among tables, and since the tables > reside in the BE, why do you think the relationships should be in the FE > and not the BE? Also, I do not understand your so-called advantages? > Please explain. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] > Sent: Wednesday 2003 Jun 04 07:57 > To: accessd at databaseadvisors.com > Subject: [AccessD] relations in which database > > Dear group, > > I am stugling with the following. In our current situation I have a FE > and a BE database. The relationships are currently stored in the BE > database. Now the question is why not put them in the FE database and > just leave the plain tables in the be database. > > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can > change, add a relationship > - peoplo who want to access the database through excel, and so on have > more trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd > party backend updaters > > Are there disadvantages??? > > Thanks, > > marcel vreuls > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Wed Jun 4 09:48:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:48:55 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com From JOHNWARDBELL at aol.com Wed Jun 4 09:49:40 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Wed, 4 Jun 2003 10:49:40 EDT Subject: [AccessD] OT Review if time permits Message-ID: <1ec.a253061.2c0f6104@aol.com> Good looking site. Loved the map. Could not find a delivery address for Lancashire UK! Or did I miss something? johnb -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 4 09:50:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:50:42 -0400 Subject: [AccessD] relations in which database In-Reply-To: <001501c32aa7$63224080$c2360cd8@hargrove.internal> Message-ID: I have also seen cases where the "auto join" function didn't work in queries without the relationships in the FE. Not often but I have seen it. And that seemed to be an A97 thing. I haven't seen it in A2K or later. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Wednesday, June 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database No, I've actually run into cases where I had to have the relationships in the FE because it didn't seem to "inherit" them through the BE link. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 04, 2003 9:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a > container of tables. You can keep a copy of the relationships in the > BE for reference but in order for the FE to do its job properly you > have to have a copy of the relationships in there too. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 09:59:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:59:54 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 gustav at cactus.dk Wed Jun 4 10:02:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 17:02:52 +0200 Subject: [AccessD] relations in which database In-Reply-To: <001501c32aa7$63224080$c2360cd8@hargrove.internal> References: <001501c32aa7$63224080$c2360cd8@hargrove.internal> Message-ID: <15434582837.20030604170252@cactus.dk> Hi Doris Oh, that's what you are talking about. Haven't had that experience though. /gustav > No, I've actually run into cases where I had to have the relationships in > the FE because it didn't seem to "inherit" them through the BE link. From roz.clarke at donnslaw.co.uk Wed Jun 4 10:04:05 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 4 Jun 2003 16:04:05 +0100 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: <61F915314798D311A2F800A0C9C83188047C5E0D@dibble.observatory.donnslaw.co.uk> Well I've never been to Connecticut but I'm certainly willing to believe you! He's adorable :) Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 04 June 2003 15:49 To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 PBudge at cbsol.com Wed Jun 4 10:07:39 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Wed, 4 Jun 2003 10:07:39 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John - He's cute enough to give my niecephews a run for their money, and as I have *the* most adorable set of niecephews going, that's saying something! ; -)))) Although I do like your website better than my brother in law's - loads faster! ;-) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John Colby" om> cc: Sent by: Subject: [AccessD] OT: The cutest little guy (no not me!) accessd-bounces at databasea dvisors.com 06/04/2003 09:48 AM Please respond to accessd Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 CWortz at tea.state.tx.us Wed Jun 4 10:15:35 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 10:15:35 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: Spellcheckers do not help when you use one word in place of another word. Armature and amateur are both valid words in the English language. A grammar checker probably would have caught this mistake, but how many e-mail editors include grammar checkers? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 04 10:00 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com From actebs at actebs.com.au Wed Jun 4 10:21:15 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 05 Jun 2003 01:21:15 +1000 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: <008501c32aac$f36c7a20$0c05a8c0@earth.local> Hmmm, Does this mean Mr Colby has a heart after all? John, you should be proud!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, 5 June 2003 1:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 10:25:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 11:25:37 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E0D@dibble.observatory.donnslaw.co.uk> Message-ID: Luckily there aren't too many list members in Connecticut so I can reasonably hope to avoid a "my kid's cuter than your kid" war. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Wednesday, June 04, 2003 11:04 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: The cutest little guy (no not me!) Well I've never been to Connecticut but I'm certainly willing to believe you! He's adorable :) Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 04 June 2003 15:49 To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 4 10:27:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 08:27:21 -0700 Subject: [AccessD] relations in which database Message-ID: Relationships do not have to reside in the BE. However, you can only enforce referential integrity between tables in the same database unless you want to do a lot of coding to create the Access/Jet equivalent of triggers. The best arguments for putting relationships in the back end is 1) You can create any kind of temporary relationship you want in the front end on the fly as you need it. They don't have to be stored there, and 2) If you front end becomes toast, you still have the relationships in the back end where they belong. Charlotte Foust -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday, June 04, 2003 5:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Gustav, And what if I have four BE with different tables that have to be related to each other. The only solution is the releationships in the FE? or am i missing something. Why do you think it won't work? Gr Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: woensdag 4 juni 2003 15:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE > and a > BE database. The relationships are currently stored in the BE > database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can > change, add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 4 10:28:38 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 11:28:38 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John, He is cute! But best of all he looks like a HAPPY kid. Doesn't that camera allow you to crop and zoom? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 cfoust at infostatsystems.com Wed Jun 4 10:29:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 08:29:17 -0700 Subject: [AccessD] relations in which database Message-ID: That sounds screwy to me, not logical. The front end has to deal with the backend tables anyhow, so I don't really see what difference the location of the relationship is going to make in performance. All the queries are processed in the front end regardless. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 5:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Jun 4 10:08:03 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 16:08:03 +0100 Subject: [AccessD] OT: The cutest little guy (no not me!) References: Message-ID: <003501c32aab$18848ca0$9111758f@aine> lovely kid john martin ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 04, 2003 3:48 PM Subject: [AccessD] OT: The cutest little guy (no not me!) > Just thought you folks might like to meet my son Robbie. As many of you > know I am a foster dad. I have put up pictures of him on my web site. > Click on the "Meet my son" button. The thumbnails are very small so they > should load quickly. The actual pics are 800x600 and average about 175k so > if you are on dialup, beware. It will probably take about 30 seconds to > load a pic over dialup, over cable or DSL probably just a couple of seconds. > > This may be the cutest kid in Connecticut so take a gander. > > Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution > (2048 x 1536), placed in JPEG format by the camera at a "very fine" > compression level. To drop the file size for the Web, as well as solve a > problem with the display image being huge, I then used Photoshop to drop the > pixel count to 800 x 600, keeping the auto resolution at "best". The > resulting image is pretty good considering the machinations it has gone > through. > > A digital camera is a great investment if you like to take photographs. I > also bought a cannon S820 photo printer and I must say the printed > photographs are stunning on Cannon high gloss paper. I can print 8x10s that > look like they came from a photo lab. > > Taken together, the printer, a 128 mbyte memory card to replace the pitiful > 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah > batteries to feed the beast, I must say it isn't cheap. However I can now > take ~76 photos at the highest resolution, and print them immediately if > they are good enough to put on paper. > > Someday I may get my investment back, but just the ability to get the photos > in my computer, email them to friends, share them with you guys via my web > page, and print them for the odd person with no computer (mom?) makes it all > worth while. I took a ton of photos of a friend's child's birthday and just > dropped them on a CD. Most photo labs can print from CDs now. > > Anyway, check the little boy out and tell me what you think - of him and of > the photos. And yes, I am just an armature photographer. > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Wed Jun 4 10:34:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 11:34:52 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: It does allow me to zoom. I don't know about crop. It has all this fancy stuff that you have to have the user's manual along to use (or take a class?). Photoshop certainly has all that stuff as well I'm sure. Again, take a class? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Wednesday, June 04, 2003 11:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) John, He is cute! But best of all he looks like a HAPPY kid. Doesn't that camera allow you to crop and zoom? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From todd_5036 at msn.com Wed Jun 4 10:45:21 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 04 Jun 2003 10:45:21 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: ar?ma?ture n. Electricity. The rotating part of a dynamo, consisting essentially of copper wire wound around an iron core. The moving part of an electromagnetic device such as a relay, buzzer, or loudspeaker. A piece of soft iron connecting the poles of a magnet. Biology. A protective covering, structure, or organ of an animal or a plant, such as teeth, claws, thorns, or the shell of a turtle. A framework serving as a supporting core for clay sculpture. ----Original Message Follows---- From: "John Colby" Reply-To: accessd at databaseadvisors.com To: Subject: RE: [AccessD] OT: The cutest little guy (no not me!) Date: Wed, 4 Jun 2003 10:59:54 -0400 >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From EdTesiny at oasas.state.ny.us Wed Jun 4 10:49:56 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 11:49:56 -0400 Subject: [AccessD] Field cannot be updated Message-ID: Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Jun 4 10:58:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 10:58:49 -0500 Subject: [AccessD] Field cannot be updated Message-ID: Ed, Need a lot more info. Did this 'minor' change to the form have anything to do with the datasource for the form? Is the datasource for the form based on a 1-M relationship? Is the field that cannot be updated on the one side of a 1-M relationship? What does your cbo do besides select a value from a table? What value is saved to what table by the cbo? What version of Access? Is the app monolithic or split into FE/BE? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Wednesday 2003 Jun 04 10:50 To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us From stuart at lexacorp.com.pg Wed Jun 4 11:03:26 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 02:03:26 +1000 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: References: Message-ID: <3EDEA4EE.11306.80A7E9@localhost> On 4 Jun 2003 at 11:34, John Colby wrote: > It does allow me to zoom. I don't know about crop. It has all this fancy > stuff that you have to have the user's manual along to use (or take a > class?). Photoshop certainly has all that stuff as well I'm sure. Again, > take a class? > Take a look at the freeware Irfanview at http://www.irfanview.com It is not a full blown graphics application like Photoshop etc. It is primarily a graphics viewer, but it is VERY simple to learn and use to crop and resize images and to do basic manipuation like adjust colour balance, rotate image, apply various special effects and compress jpgs. I use it all the time to clean up the photos from my digital camera. You can see a selection of the results from my trip to InterHash 2002 in Goa (The biennial world wide Hash House Harriers gathering) at http://www.lexacorp.com.pg/Goa/ . It only took me a few minutes to crop and compress them all from uploading. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Wed Jun 4 11:07:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 12:07:51 -0400 Subject: [AccessD] Field cannot be updated References: Message-ID: <009a01c32ab3$75fccc00$134afccc@SusanOne> MessageWhat kind of changes -- I'm guessing you changed the structure of the underlying query and affected the relationships -- not all queries are updateable. Is there a query involved? Susan H. Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From EdTesiny at oasas.state.ny.us Wed Jun 4 11:22:03 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 12:22:03 -0400 Subject: [AccessD] Field cannot be updated Message-ID: Charles, The datasource for the form is a query, the change involved adding two tables to the design and six fields to the query and the form: 2 names, 2 phone numbers and 2 extensions. Datasource based on a 1-M relationship, cbo is on the '1' side. You select a name (RecordedByName)in the cbo and it saves the code number (RecoredByCode) for the name to a table on the 'M' side. A2002, app is just on my PC. As I said you get the error msg but it displays and saves the correct data. Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 04, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Field cannot be updated Ed, Need a lot more info. Did this 'minor' change to the form have anything to do with the datasource for the form? Is the datasource for the form based on a 1-M relationship? Is the field that cannot be updated on the one side of a 1-M relationship? What does your cbo do besides select a value from a table? What value is saved to what table by the cbo? What version of Access? Is the app monolithic or split into FE/BE? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Wednesday 2003 Jun 04 10:50 To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjones at btl.net Wed Jun 4 11:29:47 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 10:29:47 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: <003601c329e8$1a728490$cb0d6bd5@netboxxp> References: Message-ID: <5.1.0.14.2.20030604100839.029e5d50@btlmail.btl.net> I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. From DWUTKA at marlow.com Wed Jun 4 11:44:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 4 Jun 2003 11:44:40 -0500 Subject: [AccessD] OT: photo size on web site Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CD4@main2.marlow.com> Oh, I don't have the img tags set to specific widths....I was just saying that was an example of FP's Photo Albums. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 9:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site I clicked on a random picture and the same thing is happening. The picture (of your daughter?) is downloaded to my computer and displayed in IE at it's original resolution, which is so large that scroll bars appear and you have to scroll around to see the whole picture. It then resizes to fit in a portion of the screen (which mine doesn't do). John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 03, 2003 10:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: photo size on web site Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Wed Jun 4 11:41:14 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 4 Jun 2003 11:41:14 -0500 Subject: [AccessD] A97 to A2K conversion issues Message-ID: Since you converted to A2K why not use the power of SQL Server and create stored procedure for your application to use? "Paul M. Jones" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:29 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] A97 to A2K conversion issues I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 11:46:44 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 12:46:44 -0400 Subject: [AccessD] OT Review if time permits Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DE5@TTNEXCHSRV1.hshhp.com> Vlad, Nice clean look and easy to navigate. Can I ask how much time it took to develop and go live? We're still evaluating .NET and I'm having a love/hate relationship with it. Had you had any previous experience with ASP before you built this? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, June 04, 2003 9:39 AM To: access group Subject: [AccessD] OT Review if time permits Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 11:49:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 09:49:52 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: <008f01c32ab9$52104460$6501a8c0@HAL9002> Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Wed Jun 4 12:09:10 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 4 Jun 2003 12:09:10 -0500 Subject: [AccessD] Dang Bound Forms Again Message-ID: Why not check the number of records in the record source first and if there are none then set the recordsource to nothing otherwise have the recordsource set to your recordsource. If you want some sample code I can give it to you. "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:49 AM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 12:18:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 10:18:30 -0700 Subject: [AccessD] OT: The cutest little guy (no not me!) References: Message-ID: <00b901c32abd$522c8220$6501a8c0@HAL9002> John: I think you just got your investment back. :) I (like most parents) have hundred of pics of my boys going back literally to the moment of their birth. You will be surprised at how precious those pics will become in ten years. Rocky ----- Original Message ----- From: "John Colby" To: Sent: Wednesday, June 04, 2003 7:59 AM Subject: RE: [AccessD] OT: The cutest little guy (no not me!) > >And yes, I am just an armature photographer. > > What, you haven't heard of armature photographers? > > Spellcheckers! 8-( > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Wednesday, June 04, 2003 10:49 AM > To: AccessD > Subject: [AccessD] OT: The cutest little guy (no not me!) > > > Just thought you folks might like to meet my son Robbie. As many of you > know I am a foster dad. I have put up pictures of him on my web site. > Click on the "Meet my son" button. The thumbnails are very small so they > should load quickly. The actual pics are 800x600 and average about 175k so > if you are on dialup, beware. It will probably take about 30 seconds to > load a pic over dialup, over cable or DSL probably just a couple of seconds. > > This may be the cutest kid in Connecticut so take a gander. > > Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution > (2048 x 1536), placed in JPEG format by the camera at a "very fine" > compression level. To drop the file size for the Web, as well as solve a > problem with the display image being huge, I then used Photoshop to drop the > pixel count to 800 x 600, keeping the auto resolution at "best". The > resulting image is pretty good considering the machinations it has gone > through. > > A digital camera is a great investment if you like to take photographs. I > also bought a cannon S820 photo printer and I must say the printed > photographs are stunning on Cannon high gloss paper. I can print 8x10s that > look like they came from a photo lab. > > Taken together, the printer, a 128 mbyte memory card to replace the pitiful > 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah > batteries to feed the beast, I must say it isn't cheap. However I can now > take ~76 photos at the highest resolution, and print them immediately if > they are good enough to put on paper. > > Someday I may get my investment back, but just the ability to get the photos > in my computer, email them to friends, share them with you guys via my web > page, and print them for the odd person with no computer (mom?) makes it all > worth while. I took a ton of photos of a friend's child's birthday and just > dropped them on a CD. Most photo labs can print from CDs now. > > Anyway, check the little boy out and tell me what you think - of him and of > the photos. And yes, I am just an armature photographer. > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ryansmethurst at tiscali.co.uk Wed Jun 4 12:20:59 2003 From: ryansmethurst at tiscali.co.uk (ryansmethurst at tiscali.co.uk) Date: Wed, 4 Jun 2003 18:20:59 +0100 Subject: [AccessD] SQL OLAP In-Reply-To: Message-ID: <3ED766560000839E@mk-cpfrontend-3.mail.uk.tiscali.com> Hi All, I'm messing around with SQL OLAP and was wondering if there was any way I could connect to the core data held within the cubes using ADO? Any ideas? TIA RyanS From cfoust at infostatsystems.com Wed Jun 4 12:28:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 10:28:04 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Why would you get #Name? Stuff with an empty table? If the form is bound, it's bound to the fields, whether there is anything in them or not. If you are binding the form when you open it, use a default empty recordset (i.e., WHERE 1=2), which will eliminate the #Name error but still give you empty bound fields. You would have to change the recordsource in code, but I generally use an empty recordset as the default recordsource to make my forms load faster. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, June 04, 2003 8:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software From martyconnelly at shaw.ca Wed Jun 4 12:36:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Jun 2003 10:36:57 -0700 Subject: [AccessD] OT Review if time permits References: <1ec.a253061.2c0f6104@aol.com> Message-ID: <3EDE2E39.5050600@shaw.ca> Gave it a shot with Netscape 7 As guest clicked on Menu Reviews and got an unknown certificate authority message refused the certificate and got a 8179 error about an encrypted connection. johnwardbell at aol.com wrote: > Good looking site. Loved the map. > > Could not find a delivery address for Lancashire UK! > > Or did I miss something? > > johnb > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From artful at rogers.com Wed Jun 4 12:46:41 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 4 Jun 2003 13:46:41 -0400 Subject: [AccessD] Weird problem suddenly on TS Message-ID: <031d01c32ac1$41b74390$8e01a8c0@Rock> For a couple of years we have been running an Access ADE file on Terminal Services with no problems. Recently I modified the ADP, strictly some cosmetic stuff, changed a couple of logos and company addresses. When one person runs the ADE, it works as expected. However, the 2nd through nth person all experience the same thing -- the startup code fails to run. The switchboard doesn't open. Access opens ok, and the ADE is actually open, but the database window is hidden so all the user sees is the grey background. To work around it, I made a copy of the ADE file for each user, each file having a slightly different name. They're back up and running, so the workaround was successful, but it strikes me as very bizarre. Nothing on the TS machine has changed. I can't think of any reason that this should occur. Can you? Arthur From Mark.Mitsules at ngc.com Wed Jun 4 12:49:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 4 Jun 2003 13:49:33 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John, There are other armature photographers out there;) (Immensely huge line wrap) http://images.google.com/imgres?imgurl=www.greeleynet.com/~cmorrison/finishe d-armature.jpg&imgrefurl=http://www.greeleynet.com/~cmorrison/final-generato r.html&h=480&w=640&prev=/images%3Fq%3Darmature%26svnum%3D100%26hl%3Den%26lr% 3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26safe%3Doff Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 12:55:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 13:55:33 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: Yea, they'll let anybody in this business! ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 04, 2003 1:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: The cutest little guy (no not me!) John, There are other armature photographers out there;) (Immensely huge line wrap) http://images.google.com/imgres?imgurl=www.greeleynet.com/~cmorrison/finishe d-armature.jpg&imgrefurl=http://www.greeleynet.com/~cmorrison/final-generato r.html&h=480&w=640&prev=/images%3Fq%3Darmature%26svnum%3D100%26hl%3Den%26lr% 3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26safe%3Doff Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com From pjones at btl.net Wed Jun 4 13:02:04 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 12:02:04 -0600 Subject: [AccessD] Weird problem suddenly on TS In-Reply-To: <031d01c32ac1$41b74390$8e01a8c0@Rock> Message-ID: <5.1.0.14.2.20030604115739.029ecd08@btlmail.btl.net> I recently saw something like this. It was TS somehow gave the first user ownership of the lock file and no one else was able to work after that. Paul At 01:46 PM 6/4/2003 -0400, you wrote: >For a couple of years we have been running an Access ADE file on Terminal >Services with no problems. Recently I modified the ADP, strictly some >cosmetic stuff, changed a couple of logos and company addresses. When one >person runs the ADE, it works as expected. However, the 2nd through nth >person all experience the same thing -- the startup code fails to run. The >switchboard doesn't open. Access opens ok, and the ADE is actually open, but >the database window is hidden so all the user sees is the grey background. >To work around it, I made a copy of the ADE file for each user, each file >having a slightly different name. They're back up and running, so the >workaround was successful, but it strikes me as very bizarre. Nothing on the >TS machine has changed. > >I can't think of any reason that this should occur. Can you? > >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pjones at btl.net Wed Jun 4 13:09:00 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 12:09:00 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: Message-ID: <5.1.0.14.2.20030604120317.029a94d0@btlmail.btl.net> At 11:41 AM 6/4/2003 -0500, you wrote: >Since you converted to A2K why not use the power of SQL Server and create >stored procedure for your application to use? I am currently using stored procedures for a lot of the heavy processing but I have used queries for reporting. I plan to eventually convert the entire application to an ADP but that will be a fairly heavy undertaking. The hope was to do a quick upgrade to A2K. Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 13:17:58 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:17:58 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <00e701c32ac5$a085e800$6501a8c0@HAL9002> Jeffery: I tried that. The problem is that if I set the recordsource to nothing the form comes up with all those #Name thingies. And then if I do a NewRec I get and error that says I can't assign a value to a bound text box. :( Rocky . ----- Original Message ----- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com Sent: Wednesday, June 04, 2003 10:09 AM Subject: Re: [AccessD] Dang Bound Forms Again Why not check the number of records in the record source first and if there are none then set the recordsource to nothing otherwise have the recordsource set to your recordsource. If you want some sample code I can give it to you. "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:49 AM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 13:28:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:28:00 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <00f701c32ac7$0776cab0$6501a8c0@HAL9002> Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default empty > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > still give you empty bound fields. You would have to change the > recordsource in code, but I generally use an empty recordset as the > default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Jun 4 13:33:14 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:33:14 -0700 Subject: [AccessD] Field cannot be updated References: Message-ID: <011901c32ac7$c24276a0$6501a8c0@HAL9002> Ed: If you open the query and run it can you add a record to it? IOW is it updateable? This has tripped me up more than once. Rocky ----- Original Message ----- From: "Tesiny, Ed" To: Sent: Wednesday, June 04, 2003 9:22 AM Subject: RE: [AccessD] Field cannot be updated > Charles, > The datasource for the form is a query, the change involved adding two > tables to the design and six fields to the query and the form: 2 names, > 2 phone numbers and 2 extensions. Datasource based on a 1-M > relationship, cbo is on the '1' side. You select a name > (RecordedByName)in the cbo and it saves the code number (RecoredByCode) > for the name to a table on the 'M' side. A2002, app is just on my PC. > As I said you get the error msg but it displays and saves the correct > data. > > Ed Tesiny > EdTesiny at oasas.state.ny.us > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 04, 2003 11:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Field cannot be updated > > > Ed, > > Need a lot more info. Did this 'minor' change to the form have anything > to do with the datasource for the form? Is the datasource for the form > based on a 1-M relationship? Is the field that cannot be updated on the > one side of a 1-M relationship? What does your cbo do besides select a > value from a table? What value is saved to what table by the cbo? What > version of Access? Is the app monolithic or split into FE/BE? > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > -----Original Message----- > From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] > Sent: Wednesday 2003 Jun 04 10:50 > To: accessd at databaseadvisors.com > Subject: [AccessD] Field cannot be updated > > Hi All, > I have a form that I made minor changes to (no changes to the cbo) and > now when I go to make a selection in a combo box, I get the message > "Field cannot be Updated" I click on OK and the correct selection shows > up in the cbo and the correct value is saved to a table. Tried deleting > and recreating the cbo and I get the same msg. Nothing fancy, the cbo > is based on a table with autonumber PK and a text field contains a name. > Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed > > Edward P. Tesiny > New York State OASAS > Evaluation and Program Monitoring > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > EdTesiny at oasas.state.ny.us > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 4 13:37:36 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 04 Jun 2003 14:37:36 -0400 Subject: [AccessD] Field cannot be updated Message-ID: An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Wed Jun 4 13:41:38 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 4 Jun 2003 13:41:38 -0500 Subject: [AccessD] A97 to A2K conversion issues Message-ID: <869379ABF177D4118D3100508B5EF873063AACCF@corp-es00> Some thoughts: 1) You might try deleting the linked table and relinking. This has often solved mystery ODBC problems for me. 2) The ODBC driver may be timing out. Increase the timeout value in the query. 3) In many instances setting up multiple key indexes to linked tables dramatically slows downs queries to where they timeout. HTH Jim Hale -----Original Message----- From: Paul M. Jones [mailto:pjones at btl.net] Sent: Wednesday, June 04, 2003 11:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] A97 to A2K conversion issues I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 4 14:07:32 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 4 Jun 2003 15:07:32 -0400 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <00f701c32ac7$0776cab0$6501a8c0@HAL9002> Message-ID: Rocky, <> Well don't do that. If you want the form blank, either put a filter condition on it that returns no records or set the DataEntry property to True. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 04, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default empty > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > still give you empty bound fields. You would have to change the > recordsource in code, but I generally use an empty recordset as the > default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 4 14:13:36 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 15:13:36 -0400 Subject: [AccessD] Field cannot be updated (Solved) Message-ID: Thanks for all your responses, the problem was ME, I set the DefaultValue property of a field which in this case is a no no. If anyone wants the full explanation, Don was right, M$KB: 289659. Weird though, throws you an error but saves correct data?? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Tesiny, Ed Sent: Wednesday, June 04, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaupca at chevrontexaco.com Wed Jun 4 14:19:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 4 Jun 2003 14:19:12 -0500 Subject: [AccessD] Month name in list box to number Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 14:32:15 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 15:32:15 -0400 Subject: [AccessD] Month name in list box to number Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DF5@TTNEXCHSRV1.hshhp.com> Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 14:38:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 15:38:45 -0400 Subject: [AccessD] Month name in list box to number Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DF9@TTNEXCHSRV1.hshhp.com> >> sDummy = lstMonth.Value & " 1, 20003"<< Whoa, I went way into the future here. Sorry meant 2003 for the year! Jim DeMarco -----Original Message----- From: Jim DeMarco Sent: Wednesday, June 04, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Month name in list box to number Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 15:16:28 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 04 Jun 2003 21:16:28 +0100 Subject: [AccessD] OT FrontPage 2003 Message-ID: <200306042016.VAA06905@hosea.qub.ac.uk> Anyone out there beta testing FrontPage 2003? Interested in any comments you may have especially those using the XML Data Driven Web stuff? Martin From kaupca at chevrontexaco.com Wed Jun 4 15:36:32 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 4 Jun 2003 15:36:32 -0500 Subject: [AccessD] Month name in list box to number Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D64@bocnte2k4.boc.chevrontexaco.net> Worked great and by making first column width to 0 I only see the month name and not the number. Thanks -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, June 04, 2003 2:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Month name in list box to number Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Wed Jun 4 16:21:13 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Wed, 4 Jun 2003 16:21:13 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: <00ea01c32adf$3c8923c0$6600a8c0@tim> Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen From stuart at lexacorp.com.pg Wed Jun 4 16:41:44 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 07:41:44 +1000 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <00ea01c32adf$3c8923c0$6600a8c0@tim> Message-ID: <3EDEF438.30753.1F58E6@localhost> On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter for a > query. I'm using the IN operator but it doesn't seem to be working. I'm > using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when I run > the query, 0 records are returned. If I run the query with the items from > the text box, I get the correct number of records. Is it not possible to > use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pjones at btl.net Wed Jun 4 17:06:03 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 16:06:03 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: <869379ABF177D4118D3100508B5EF873063AACCF@corp-es00> Message-ID: <5.1.0.14.2.20030604160427.029efb98@btlmail.btl.net> Thanks Jim, The linking and unlinking worked. This is really a mystery to me since all other queries and operations on the table in question worked fine. Paul M. Jones At 01:41 PM 6/4/2003 -0500, you wrote: >Some thoughts: >1) You might try deleting the linked table and relinking. This has often >solved mystery ODBC problems for me. >2) The ODBC driver may be timing out. Increase the timeout value in the >query. >3) In many instances setting up multiple key indexes to linked tables >dramatically slows downs queries to where they timeout. > >HTH >Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 17:33:10 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 15:33:10 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <01d601c32ae9$478f0e10$6501a8c0@HAL9002> Jim: When the data entry property is set to Yes and the recordsource is returning zero records because there are no records yet in the table, the screen comes up blank. This has to be a common problem with a simple workaround. I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled? Regards, Rocky Rocky ----- Original Message ----- From: "Jim Dettman" To: Sent: Wednesday, June 04, 2003 12:07 PM Subject: RE: [AccessD] Dang Bound Forms Again > Rocky, > > < #Name > in them because they're bound to unknown fields.>> > > Well don't do that. If you want the form blank, either put a filter > condition on it that returns no records or set the DataEntry property to > True. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 04, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > > > Charlotte: > > When there are no records in the recourd source the form comes up blank. > > If I remove the recordsource I get the form but the bound fields have #Name > in them because they're bound to unknown fields. > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Wednesday, June 04, 2003 10:28 AM > Subject: RE: [AccessD] Dang Bound Forms Again > > > > Why would you get #Name? Stuff with an empty table? If the form is > > bound, it's bound to the fields, whether there is anything in them or > > not. If you are binding the form when you open it, use a default empty > > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > > still give you empty bound fields. You would have to change the > > recordsource in code, but I generally use an empty recordset as the > > default recordsource to make my forms load faster. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Wednesday, June 04, 2003 8:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Dang Bound Forms Again > > > > > > Dear List: > > > > I have a bound form which displays product structures. If the product > > structure table is empty (as it would be when the user is just starting > > up) the screen comes up blank. I would like the form to display empty > > without the #Name stuff, of course. > > > > How do you all solve this problem of a bound form bound to an empty > > record source? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tim at irwin-greenhouses.com Wed Jun 4 17:33:40 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Wed, 4 Jun 2003 17:33:40 -0500 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <3EDEF438.30753.1F58E6@localhost> Message-ID: <00f401c32ae9$5af8b0a0$6600a8c0@tim> This is the code I am using to populate the textbox The listbox name is RDCSelection Dim ctlList As Control, Itm As Variant, rstRDC As Recordset, Criteria As String Set ctlList = Me!RDCSelection For Each Itm In ctlList.ItemsSelected If Len(Criteria) = 0 Then Criteria = Chr(39) & ctlList.ItemData(Itm) & Chr(39) Else Criteria = Criteria & "," & Chr(39) & ctlList.ItemData(Itm) & Chr(39) End If Next Itm Me!RDCCriteria = Criteria -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 04, 2003 4:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query based on multiselect listbox On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter for a > query. I'm using the IN operator but it doesn't seem to be working. I'm > using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when I run > the query, 0 records are returned. If I run the query with the items from > the text box, I get the correct number of records. Is it not possible to > use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 4 18:30:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 16:30:30 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Oh, you mean nothing in the recordsource, not no records returned by it. So don't remove the recordsource, replace it with one that returns an empty recordset. The way I do it is to use a standard recordsource that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That allows your form to be bound to the fields in MyTable but since the where condition is always false, it returns an empty recordset. Then I use code to set the recordsource to the appropriate one when something triggers it such as a choice in a dropdown. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, June 04, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default > empty recordset (i.e., WHERE 1=2), which will eliminate the #Name > error but still give you empty bound fields. You would have to change > the recordsource in code, but I generally use an empty recordset as > the default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just > starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 4 19:30:44 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 4 Jun 2003 17:30:44 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: <11435637890.20030603221040@charter.net> Message-ID: There is also a *great* tutorial place for Paint Shop Pro. I just finished a six week "class", where you have one very simple, step-by-step tutorial a day. I fully plan to take the intermediate class when it starts in September. For more info: http://pspimaginarium.com -- 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 Ron Allen > Sent: 03 Jun 2003 8:11:PM > To: John Colby > Subject: Re[2]: [AccessD] OT: photo size on web site > > > Hello John, > > I don't know Photoshop, but CompuPic Pro (http://www.photodex.com) and > Paint Shop Pro (http://www.jasc.com) both have automation features > that can be used to make the process less painful. > > Paint Shop Pro 8 has a full-blown macro recorder and scripting > language built in to do any manipulation you need to do. > > I have and use both of these programs and can tell you that they are > both good. Paint Shop Pro, I am told, is nearly on a par with > Photoshop in all ways except the specialized functionality for > interfacing with printing shops. > > HTH, > > Ron > > > Tuesday, June 3, 2003, 10:02:26 PM, you wrote: > JC> OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did > JC> the last three images (791a, 792a and 793a). It seems to be what I was > JC> after. What a PITA though! > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Jun 4 18:31:05 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 09:31:05 +1000 Subject: [AccessD] OT Review if time permits References: <004001c32a9e$a4722810$0c05a8c0@earth.local> Message-ID: <00be01c32af1$5e7d70f0$54dd31d2@OfficePC> MessageIt looks good and loads fast Vlad. Very simple to use. What were all the tools you used to do it? Does it use Access at all or is it vb.net or?? Cheers Kath ----- Original Message ----- From: ACTEBS To: access group Sent: Wednesday, June 04, 2003 11:38 PM Subject: [AccessD] OT Review if time permits Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Wed Jun 4 20:42:56 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 5 Jun 2003 11:42:56 +1000 Subject: [AccessD] OT Review if time permits In-Reply-To: <3EDE2E39.5050600@shaw.ca> Message-ID: <006a01c32b03$cce26070$0c05a8c0@earth.local> Thanks, will check that out... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, 5 June 2003 3:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Review if time permits Gave it a shot with Netscape 7 As guest clicked on Menu Reviews and got an unknown certificate authority message refused the certificate and got a 8179 error about an encrypted connection. johnwardbell at aol.com wrote: > Good looking site. Loved the map. > > Could not find a delivery address for Lancashire UK! > > Or did I miss something? > > johnb > > >----------------------------------------------------------------------- >- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 4 21:33:18 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 05 Jun 2003 12:33:18 +1000 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <000001c32b0a$e08e5f00$6100a8c0@bbb888> "The best arguments for putting relationships in the back end is 1) You can create any kind of temporary relationship you want in the front end on the fly as you need it. They don't have to be stored there, and 2) If you front end becomes toast, you still have the relationships in the back end where they belong." AMEN! From harkins at iglou.com Wed Jun 4 22:06:36 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 23:06:36 -0400 Subject: [AccessD] OT Message-ID: <004301c32b0f$929ccfc0$c0e6ffcc@SusanOne> For IT Pros and Developers Microsoft Office System Contest for Developers A year's lease on a car is just one of the prizes offered to developers who create the best applications using Microsoft Office System Beta 2. Categories include XML at the desktop, Microsoft Visual Studio? and .NET Framework, cross-application integration, tools, and Microsoft SharePoint Products and Technologies. -------------- next part -------------- A non-text attachment was scrubbed... Name: ts.gif Type: image/gif Size: 42 bytes Desc: not available URL: From harkins at iglou.com Wed Jun 4 22:19:11 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 23:19:11 -0400 Subject: [AccessD] OT References: <004301c32b0f$929ccfc0$c0e6ffcc@SusanOne> Message-ID: <009401c32b11$3ce36600$c0e6ffcc@SusanOne> I'm sorry. http://www.ftponline.com/portals/microsoft/office/ For IT Pros and Developers Microsoft Office System Contest for Developers A year's lease on a car is just one of the prizes offered to developers who create the best applications using Microsoft Office System Beta 2. Categories include XML at the desktop, Microsoft Visual Studio? and .NET Framework, cross-application integration, tools, and Microsoft SharePoint Products and Technologies. ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Wed Jun 4 23:41:02 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 05 Jun 2003 14:41:02 +1000 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <00f401c32ae9$5af8b0a0$6600a8c0@tim> Message-ID: <000601c32b1c$ae445ba0$0c05a8c0@earth.local> Tim, I have sent you an example off-line... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tim Thiessen Sent: Thursday, 5 June 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query based on multiselect listbox This is the code I am using to populate the textbox The listbox name is RDCSelection Dim ctlList As Control, Itm As Variant, rstRDC As Recordset, Criteria As String Set ctlList = Me!RDCSelection For Each Itm In ctlList.ItemsSelected If Len(Criteria) = 0 Then Criteria = Chr(39) & ctlList.ItemData(Itm) & Chr(39) Else Criteria = Criteria & "," & Chr(39) & ctlList.ItemData(Itm) & Chr(39) End If Next Itm Me!RDCCriteria = Criteria -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 04, 2003 4:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query based on multiselect listbox On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter > for a query. I'm using the IN operator but it doesn't seem to be > working. I'm using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when > I run > the query, 0 records are returned. If I run the query with the items > from the text box, I get the correct number of records. Is it not > possible to use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Jun 4 20:01:08 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 11:01:08 +1000 Subject: [AccessD] Amend combo to have 'Add new record' option in list Message-ID: <007801c32afd$f2db59e0$54dd31d2@OfficePC> I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Wed Jun 4 23:58:45 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 5 Jun 2003 14:58:45 +1000 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren From michael.mattys at adelphia.net Thu Jun 5 00:03:15 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 01:03:15 -0400 Subject: [AccessD] Amend combo to have 'Add new record' option in list References: <007801c32afd$f2db59e0$54dd31d2@OfficePC> Message-ID: <027c01c32b1f$c7ea0890$6401a8c0@default> Kath, I think this may work (or something close to it): For each of your fields you would select NULL as that field name like so ... ... UNION SELECT NULL AS BorrGuarID, ... NULL AS [ACN], '!Add New Record!' AS [NewRec] FROM tblClients Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Wednesday, June 04, 2003 9:01 PM Subject: [AccessD] Amend combo to have 'Add new record' option in list I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Jun 4 14:37:14 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 04 Jun 2003 12:37:14 -0700 Subject: [AccessD] Website In-Reply-To: <000901c32a6f$cafb5030$9111758f@aine> Message-ID: Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim From gustav at cactus.dk Thu Jun 5 02:21:25 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:21:25 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <1714620614.20030605092125@cactus.dk> Hi Charlotte Instead of inventing a false condition you can just state it: SELECT * FROM MyTable WHERE False /gustav > Oh, you mean nothing in the recordsource, not no records returned by it. > So don't remove the recordsource, replace it with one that returns an > empty recordset. The way I do it is to use a standard recordsource that > returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That > allows your form to be bound to the fields in MyTable but since the > where condition is always false, it returns an empty recordset. Then I > use code to set the recordsource to the appropriate one when something > triggers it such as a choice in a dropdown. From gustav at cactus.dk Thu Jun 5 02:47:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:47:37 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <008f01c32ab9$52104460$6501a8c0@HAL9002> References: <008f01c32ab9$52104460$6501a8c0@HAL9002> Message-ID: <176193295.20030605094737@cactus.dk> Hi Rocky > I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form > to display empty without the #Name stuff, of course. > How do you all solve this problem of a bound form bound to an empty record source? If the form is for display only, I check initially if any records are available; if not, I either grey out the control which opens the form, or pop a message telling the user that nothing is to display. If you insist to open the form, change the recordsource to one that returns one empty record simulating the fieldnames and their datatype of the normal recordset, like: SELECT TOP 1 Null AS YourQueryField1, Null AS YourQuryField2, 0 AS YourQueryField3, ... "" AS YourQueryFieldN FROM AnyNotEmptyTable; If the form is for data entry as well, either your recordset or the form doesn't allow addition of new records. Correct this. /gustav From gustav at cactus.dk Thu Jun 5 02:50:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:50:26 +0200 Subject: [AccessD] Weird problem suddenly on TS In-Reply-To: <031d01c32ac1$41b74390$8e01a8c0@Rock> References: <031d01c32ac1$41b74390$8e01a8c0@Rock> Message-ID: <426362368.20030605095026@cactus.dk> Hi Arthur Would it be possible to write protect the ADE file? /gustav > For a couple of years we have been running an Access ADE file on Terminal > Services with no problems. Recently I modified the ADP, strictly some > cosmetic stuff, changed a couple of logos and company addresses. When one > person runs the ADE, it works as expected. However, the 2nd through nth > person all experience the same thing -- the startup code fails to run. The > switchboard doesn't open. Access opens ok, and the ADE is actually open, but > the database window is hidden so all the user sees is the grey background. > To work around it, I made a copy of the ADE file for each user, each file > having a slightly different name. They're back up and running, so the > workaround was successful, but it strikes me as very bizarre. Nothing on the > TS machine has changed. > I can't think of any reason that this should occur. Can you? From gustav at cactus.dk Thu Jun 5 03:23:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 10:23:01 +0200 Subject: [AccessD] Month name in list box to number In-Reply-To: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> References: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> Message-ID: <608316738.20030605102301@cactus.dk> Hi Chester If you didn't have the option to modify the combo, the month value could be found with this simple formula: intMonth = Month(strFullMonthName & "/1") Please note the names of the months must be localized. /gustav > I have a form with a list box filled with month names. Ex January. I > have a table that has data stored by month number. How can a convert the > month name to a number to find the appropriate record in the table. I > can do it with a select in code but thought there might be an easier way > to query the table based on the selection from the form. Thanks > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. From subs at solution-providers.ie Thu Jun 5 03:37:09 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 5 Jun 2003 09:37:09 +0100 Subject: [AccessD] Dang Bound Forms Again References: <008f01c32ab9$52104460$6501a8c0@HAL9002> Message-ID: <006301c32b3d$acbeca10$6a1118ac@D8TZHN0J> Hello Rocky, Firstly, I could not imagine what you form was looking like, so, I just created a new db, created one table and entered no data at all. I then allowed the form wizard to create a new form. It opens perfectly and displays the three fields that I created. I can now add a new record if I wish. So, if this your scenario, if so, why are you getting #name. I think that I have experienced #name when the record source is not opening perhaps due to an SQL error in the record source, is this possible? The other alternative is, you are hinting that there is a product structure. I am wondering whether you have a one to many relationship and the many side is empty. If this is the case, could you consider making it a left outer join? I.E., ( show me all the product codes, and any of their properties if a property exists, if not, do please show me the product code anyway, thank you. ) If I am completely on the wrong track, please delete my email quickly and never think about it again, Mark ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Wednesday, June 04, 2003 5:49 PM Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 03:51:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 10:51:50 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000001c32b0a$e08e5f00$6100a8c0@bbb888> References: <000001c32b0a$e08e5f00$6100a8c0@bbb888> Message-ID: <12310046005.20030605105150@cactus.dk> Hi Bruce and Charlotte > "The best arguments for putting relationships in the back end is 1) You > can create any kind of temporary relationship you want in the front end > on the fly as you need it. They don't have to be stored there, and 2) > If you front end becomes toast, you still have the relationships in the > back end where they belong." > AMEN! I don't get this. Relationships are primarily for defining referential integrity - a key part of database design - and as such they don't just "belong to the BE", they simply must exist there. As such you can retrieve or mirror them into any FE linking to that BE but that is just display of the relations and for use by the GUI query designer; it has no further use. By the way, what is a "temporary relationship"? If a new relationship is needed you are redesigning the database scheme and that must be implemented in the BE ... /gustav From roz.clarke at donnslaw.co.uk Thu Jun 5 05:13:58 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 5 Jun 2003 11:13:58 +0100 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) Message-ID: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Dear all Due to difficulties with locking and corruption running Access databases on Terminal Server, and problems with co-ordinating maintenance, we have decided to upsize all tables from our Access databases that are used to share data between different applications onto SQL Server. Loss of support for hyperlinks is causing users a good deal of distress - we store a lot of links to useful resources and also track pages on our intranet using a database. I can't find anything on MSDN offering any workarounds for this. Can anybody help? Should I just go back to storing everything in Access & SQL Server be d at mned?? TIA Roz PS we are using SQL 7, I gather that SQL 2000 doesn't support hyperlinks either but we would go over to it if it did. :( From SDSSoftware at optusnet.com.au Thu Jun 5 03:30:08 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 18:30:08 +1000 Subject: [AccessD] Amend combo to have 'Add new record' option in list References: <007801c32afd$f2db59e0$54dd31d2@OfficePC> <027c01c32b1f$c7ea0890$6401a8c0@default> Message-ID: <006001c32b3c$aef17e00$54dd31d2@OfficePC> Thanks Michael - I'm playing with that now. So I have to have the same no. of columns on both sides and use null for the unwanted ones. THanks Kath ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 3:03 PM Subject: Re: [AccessD] Amend combo to have 'Add new record' option in list Kath, I think this may work (or something close to it): For each of your fields you would select NULL as that field name like so ... ... UNION SELECT NULL AS BorrGuarID, ... NULL AS [ACN], '!Add New Record!' AS [NewRec] FROM tblClients Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Wednesday, June 04, 2003 9:01 PM Subject: [AccessD] Amend combo to have 'Add new record' option in list I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Thu Jun 5 07:12:48 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Thu, 05 Jun 2003 07:12:48 -0500 Subject: [AccessD] Table Names in ComboBox Message-ID: Here's my sob story - someone accidentally overwrote a database that I didn't specifically backup to another location. Our network people say that databases don't restore correctly from their backup - my bad! Can't believe I didn't save my own backup - I usually do. Anyway, I have done this before but can't remember how I did it. I need to populate a combobox (listbox?) with the table names from another database. The user then selects a table name from the list to import into the current database. I apologize for asking for help with this, but I need to recreate the database structure ASAP and don't have time to play around. I appreciate any input - thanks so much for your help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From stuart at lexacorp.com.pg Thu Jun 5 07:18:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 22:18:50 +1000 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Message-ID: <3EDFC1CA.32079.997E00@localhost> On 5 Jun 2003 at 11:13, Roz Clarke wrote: > Dear all > > Due to difficulties with locking and corruption running Access databases on > Terminal Server, and problems with co-ordinating maintenance, we have > decided to upsize all tables from our Access databases that are used to > share data between different applications onto SQL Server. > > Loss of support for hyperlinks is causing users a good deal of distress - we > store a lot of links to useful resources and also track pages on our > intranet using a database. I can't find anything on MSDN offering any > workarounds for this. Can anybody help? Should I just go back to storing > everything in Access & SQL Server be d at mned?? > What's your front end? An Access hyperlink is just a text field with the various part separates by "#"s (ie "Display text#http://myurl.com/index.htm#/Screen Tip". The only thing that makes it an active link in an Access Form or Report is the property setting of the display control. You can use any SQL text field type field to store the same info. (I've got several hyperlinks stored in SQl nvarchars and they work fine through an Access front end) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 5 07:27:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 14:27:34 +0200 Subject: [AccessD] Table Names in ComboBox In-Reply-To: References: Message-ID: <11722990208.20030605142734@cactus.dk> Hi Terri > .. Our network people say that databases don't restore correctly > from their backup - my bad! There must me more to this statement. Restoring a database file should not be a problem. /gustav From michael.mattys at adelphia.net Thu Jun 5 07:42:50 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 08:42:50 -0400 Subject: [AccessD] Table Names in ComboBox References: Message-ID: <02ca01c32b5f$fc458d90$6401a8c0@default> Terri, A query: "Select * From MSysObjects In 'db-Path' Where Type = 1" Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Terri Jarus" To: Sent: Thursday, June 05, 2003 8:12 AM Subject: [AccessD] Table Names in ComboBox > Here's my sob story - someone accidentally overwrote a database that I didn't specifically backup to another location. Our network people say that databases don't restore correctly from their backup - my bad! Can't believe I didn't save my own backup - I usually do. > > Anyway, I have done this before but can't remember how I did it. I need to populate a combobox (listbox?) with the table names from another database. The user then selects a table name from the list to import into the current database. > > I apologize for asking for help with this, but I need to recreate the database structure ASAP and don't have time to play around. > > I appreciate any input - thanks so much for your help. > > -------------------------------------------------------------------------- - > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 Amerinet 1nc. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 5 07:39:51 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 5 Jun 2003 08:39:51 -0400 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <01d601c32ae9$478f0e10$6501a8c0@HAL9002> Message-ID: Rocky, The property "Data Entry" is really mis-named a bit. By setting it yes, it prevents any loading of existing records. One would think however that it deals with adding records and it does not. When you set it to yes, you should see a blank form regardless of records existing or not. << I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled?>> If the above didn't clear things up, then I think we all are missing your point in some way. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 04, 2003 6:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Jim: When the data entry property is set to Yes and the recordsource is returning zero records because there are no records yet in the table, the screen comes up blank. This has to be a common problem with a simple workaround. I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled? Regards, Rocky Rocky ----- Original Message ----- From: "Jim Dettman" To: Sent: Wednesday, June 04, 2003 12:07 PM Subject: RE: [AccessD] Dang Bound Forms Again > Rocky, > > < #Name > in them because they're bound to unknown fields.>> > > Well don't do that. If you want the form blank, either put a filter > condition on it that returns no records or set the DataEntry property to > True. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 04, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > > > Charlotte: > > When there are no records in the recourd source the form comes up blank. > > If I remove the recordsource I get the form but the bound fields have #Name > in them because they're bound to unknown fields. > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Wednesday, June 04, 2003 10:28 AM > Subject: RE: [AccessD] Dang Bound Forms Again > > > > Why would you get #Name? Stuff with an empty table? If the form is > > bound, it's bound to the fields, whether there is anything in them or > > not. If you are binding the form when you open it, use a default empty > > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > > still give you empty bound fields. You would have to change the > > recordsource in code, but I generally use an empty recordset as the > > default recordsource to make my forms load faster. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Wednesday, June 04, 2003 8:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Dang Bound Forms Again > > > > > > Dear List: > > > > I have a bound form which displays product structures. If the product > > structure table is empty (as it would be when the user is just starting > > up) the screen comes up blank. I would like the form to display empty > > without the #Name stuff, of course. > > > > How do you all solve this problem of a bound form bound to an empty > > record source? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Thu Jun 5 07:43:34 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Thu, 05 Jun 2003 07:43:34 -0500 Subject: [AccessD] Table Names in ComboBox Message-ID: They pulled a backup from the network and Access won't even recognize it. Now they told me yesterday they have installed something that should fix this problem on a go forward basis - a day late and a few dollars short. So as of yesterday, the dbs they pulled off were fine - go figure. This is a relatively small db and only holds data temporarily - it pulls data from another database and sets it up to be pulled into an Excel spreadsheet - only use it quarterly. Guess that's why I forgot to save my own backup. The department that uses it hired someone new who called me to say it wasn't working correctly. When I opened it, it was an exact copy of the database that it pulls data from - I think the new guy overwrote it by accident. Anyway, I'm having difficulty remembering what it did. Luckily, I had typed up instructions for the users - what buttons to click, etc. So I have that to go by. At this point, only option seems to be to start over - at least we have all the data so that's no problem. >>> gustav at cactus.dk 06/05/03 07:27AM >>> Hi Terri > .. Our network people say that databases don't restore correctly > from their backup - my bad! There must me more to this statement. Restoring a database file should not be a problem. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jbhuffman at mdh.org Thu Jun 5 08:08:38 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Thu, 5 Jun 2003 08:08:38 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: <0FFC98AA5943D211A2E90000F87A5B4801935787@NEWMAN_EXC> I actually use a temp table to store the selected values and the textbox to display the selected values. Then I use the temp table in the query. If the record isn't in the temp table, the related records aren't selected. I believe I got this from the Developer's Handbook (both 97 and 2002). HTH, Jarad Huffman -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Wednesday, June 04, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Query based on multiselect listbox Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Jun 5 08:12:51 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 09:12:51 -0400 Subject: [AccessD] ScreenUpdating Message-ID: <02db01c32b64$2c9c7180$6401a8c0@default> Hi, Anyone know what the equivalent of Application.ScreenUpdating is in Access 2000? Michael R. Mattys www.mattysconsulting.com From CWortz at tea.state.tx.us Thu Jun 5 08:18:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 5 Jun 2003 08:18:49 -0500 Subject: [AccessD] ScreenUpdating Message-ID: No, because you haven't explained what environment uses "Application.ScreenUpdating"! So I can only give you a WAG that the Access equivalent is Repaint. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday 2003 Jun 05 08:13 To: AccessD Subject: [AccessD] ScreenUpdating Hi, Anyone know what the equivalent of Application.ScreenUpdating is in Access 2000? Michael R. Mattys www.mattysconsulting.com From jcolby at colbyconsulting.com Thu Jun 5 08:34:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 5 Jun 2003 09:34:00 -0400 Subject: [AccessD] Website In-Reply-To: Message-ID: For some reason it took a long time to load - 20 seconds or so. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Jun 5 08:38:43 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 09:38:43 -0400 Subject: [AccessD] ScreenUpdating References: Message-ID: <02ed01c32b67$c8eb1020$6401a8c0@default> Apparently it is for use in Excel. I am programming with the MapPoint ocx on a form and wanted to stop the screen updates until the code had finished running. I see, though, that I am barking up the wrong object model to accomplish what I want. Thanks anyway, the repaint might come in useful, too Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, June 05, 2003 9:18 AM Subject: RE: [AccessD] ScreenUpdating > No, because you haven't explained what environment uses > "Application.ScreenUpdating"! So I can only give you a WAG that the > Access equivalent is Repaint. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday 2003 Jun 05 08:13 > To: AccessD > Subject: [AccessD] ScreenUpdating > > Hi, > > Anyone know what the equivalent of > Application.ScreenUpdating is in Access 2000? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Thu Jun 5 08:50:16 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 08:50:16 -0500 Subject: [AccessD] Opening form to display record or add new record Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F0@bocnte2k4.boc.chevrontexaco.net> I have a form with 2 list boxes to select a month and a year. Once selected another form opens and displays a record from a table based on the month and year selected. This form gets its data from the table by means of a query. This works fine if a record exists for the selected month and year. If the month and year selected does not exist in the table I just get a blank form. Tried this as a macro condition but does not work [Forms]![frm Select Date]![selected_date]>[tbl Last Date in tbl_monthly_inputs]![Last Date] How do I get the form to open to allow a new record to be added to the underlying table. Thanks for the assistance. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Thu Jun 5 08:53:46 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 5 Jun 2003 09:53:46 -0400 Subject: [AccessD] Website Message-ID: The Gazette is looks outstanding and very professional, yet, like AccessD, maintains a strong feeling of community. Very well done! Mark P.S. If you are tracking anomalies, the page obviously did load, but with errors. I am running IE 6.0 SP1, on Win2K Pro SP 2. Line: 2 Char: 1 Error: Syntax error Code: 0 URL: http://www.databaseadvisors.com Line: 205 Char: 9 Error: Object expected Code: 0 URL: http://www.databaseadvisors.com -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Tony.Yeatman at creditlyonnais.co.uk Thu Jun 5 09:03:17 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Thu, 5 Jun 2003 15:03:17 +0100 Subject: [AccessD] Automation - Late Binding Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E403B0@LNN052> I have an Access 97 Application distributed as mde's, it is split into a series of Modules, including a code Module. There are references to both Excel and Outlook. As we will shortly be rolling out Office 2000, I will be unable to determine which version of Excel/Outlook will be installed, and are therefore going to change to late binding. In the code module i pass an excel object as a ByRef Parameter to a function (listed below) that populates the spreadsheet. As the code module will also need to be late binding i will need to change this to an object. How can I reference the Object and manipulate as an Excel Object within the function ? Any ideas or thoughts would be very much appreciated. Tony. Function fnExcel_WriteSheet(ByRef xlWorkbook As Excel.Workbook, strSQL As String, strSheetName As String) As Boolean Dim intCount As Integer Dim rstDAO As DAO.Recordset Dim fld As Field On Error GoTo Err_fnExcel_WriteSheet Set rstDAO = gDbDAO.OpenRecordset(strSQL, dbOpenSnapshot) xlWorkbook.Worksheets.Add xlWorkbook.ActiveSheet.Name = left(strSheetName, 30) xlWorkbook.ActiveSheet.Range("A2").CopyFromRecordset rstDAO intCount = 0 'For each field in the query (Client Grouping) add Grouping Number to the Column For Each fld In rstDAO.Fields xlWorkbook.ActiveSheet.Range("a1").Offset(0, intCount).Value = fld.Name xlWorkbook.ActiveSheet.Range("a1").Offset(0, intCount).EntireColumn.AutoFit intCount = intCount + 1 Next fld rstDAO.Close Set rstDAO = Nothing 'Format the Sheet fnExcel_Format xlWorkbook, intCount, 1 Exit_fnExcel_WriteSheet: Exit Function Err_fnExcel_WriteSheet: fnLogErr Resume Exit_fnExcel_WriteSheet End Function ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 5 09:17:44 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 09:17:44 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: What you could do is use code like the one below to step through your selected items and put them into the in clause. (I just took parts of it out of one of my apps). Dim makesql As String Dim wheresql As String Dim sWhere As String Dim rsTmp As DAO.Recordset Dim dbTmp As DAO.Database Dim myFieldName As String Dim ctlDest As Control Dim intCurrentRow As Integer Dim myselectedname As String Dim mynames As String Set ctlDest = Forms![frmReportsAgingTR]![cmbFinalSort] For intCurrentRow = 0 To ctlDest.ListCount - 1 'First set the variables myselectedname = ctlDest.Column(0, intCurrentRow) mynames = mynames & "'" & myselectedname & "', " Next intCurrentRow 'Strip out last comma in list mynames = Left(mynames, (Len(mynames) - 2)) If Me.cmbSelect = "Office" Then wheresql = " WHERE (((qryAgingTRDetail.Office) In (" & mynames & "))" Else wheresql = " WHERE (((qryAgingTRDetail.TR) In (" & mynames & "))" End If wheresql = wheresql & " AND ((qryAgingTRDetail.[TR Initial Review])='Past Due' Or (qryAgingTRDetail.[TR Initial Review])='Open'))" wheresql = wheresql & " ORDER BY qryAgingTRDetail.Office, qryAgingTRDetail.[Product Type], qryAgingTRDetail.[Deal Status]" "Huffman, Jarad B." Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 08:08 AM Please respond to accessd To: "'accessd at databaseadvisors.com'" cc: Subject: RE: [AccessD] Query based on multiselect listbox I actually use a temp table to store the selected values and the textbox to display the selected values. Then I use the temp table in the query. If the record isn't in the temp table, the related records aren't selected. I believe I got this from the Developer's Handbook (both 97 and 2002). HTH, Jarad Huffman -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Wednesday, June 04, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Query based on multiselect listbox Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Thu Jun 5 09:55:44 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 00:55:44 +1000 Subject: [AccessD] Like Operator SQL Syntax Message-ID: <001f01c32b72$8d7d4890$0c05a8c0@earth.local> Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:13:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:13:33 -0700 Subject: [AccessD] Like Operator SQL Syntax Message-ID: -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:16:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:16:31 -0700 Subject: [AccessD] Like Operator SQL Syntax Message-ID: ADO or not, if the value is a string, you need string delimiters around it. Try this: & "WHERE (((tblCustomers.CustomerName) Like " & chr(34) & "%" _ & strInput & "%" & chr(34) & ")) " Of course, that assumes that you don't actually have customers with names beginning and ending in "+". I assumed you were trying to use + to concatenate the wild cards, which isn't necessary. If you were doing something else, post back. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad From bchacc at san.rr.com Thu Jun 5 10:17:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 5 Jun 2003 08:17:27 -0700 Subject: [AccessD] Dang Bound Forms Again References: <1714620614.20030605092125@cactus.dk> Message-ID: <02d501c32b75$93237b90$6501a8c0@HAL9002> Gustav, Mark, Jim and Charlotte: Hoo boy! Have I got egg on my face. AllowAdditions property was set to False. Which is okay unless the recordset is empty. Then you get the blank screen. The User has to click the add button to set the property to true. Sorry for the wild goose chase. Sign me, Red-Faced in Del Mar ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, June 05, 2003 12:21 AM Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > > Instead of inventing a false condition you can just state it: > > SELECT * FROM MyTable WHERE False > > /gustav > > > > Oh, you mean nothing in the recordsource, not no records returned by it. > > So don't remove the recordsource, replace it with one that returns an > > empty recordset. The way I do it is to use a standard recordsource that > > returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That > > allows your form to be bound to the fields in MyTable but since the > > where condition is always false, it returns an empty recordset. Then I > > use code to set the recordsource to the appropriate one when something > > triggers it such as a choice in a dropdown. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeffrey.demulling at usbank.com Thu Jun 5 10:18:19 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 10:18:19 -0500 Subject: [AccessD] Like Operator SQL Syntax Message-ID: Try this: strSQL = "SELECT tblCustomers.CustomerID, " strSQL = strSQL & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " strSQL = strSQL & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " strSQL = strSQL & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " strSQL = strSQL & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " strSQL = strSQL & "WHERE (((tblCustomers.CustomerName) Like % + " strSQL = strSQL & strInput & " + %)) " strSQL = strSQL & "ORDER BY tblCustomers.CustomerName;" ACTEBS Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 09:55 AM Please respond to accessd To: "access group" cc: Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:20:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:20:07 -0700 Subject: [AccessD] ScreenUpdating Message-ID: Try Application.Echo, which stops screen updating entirely or Me.Painting = False to stop updating for a current form. I don't thing the Painting method will work with an OCX involved though. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, June 05, 2003 5:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ScreenUpdating Apparently it is for use in Excel. I am programming with the MapPoint ocx on a form and wanted to stop the screen updates until the code had finished running. I see, though, that I am barking up the wrong object model to accomplish what I want. Thanks anyway, the repaint might come in useful, too Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, June 05, 2003 9:18 AM Subject: RE: [AccessD] ScreenUpdating > No, because you haven't explained what environment uses > "Application.ScreenUpdating"! So I can only give you a WAG that the > Access equivalent is Repaint. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday 2003 Jun 05 08:13 > To: AccessD > Subject: [AccessD] ScreenUpdating > > Hi, > > Anyone know what the equivalent of > Application.ScreenUpdating is in Access 2000? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 10:23:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:23:02 -0700 Subject: [AccessD] relations in which database Message-ID: By a "temporary relationship", I meant the joins you create in queries, not saved relationships. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 12:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Bruce and Charlotte > "The best arguments for putting relationships in the back end is 1) > You can create any kind of temporary relationship you want in the > front end on the fly as you need it. They don't have to be stored > there, and 2) If you front end becomes toast, you still have the > relationships in the back end where they belong." > AMEN! I don't get this. Relationships are primarily for defining referential integrity - a key part of database design - and as such they don't just "belong to the BE", they simply must exist there. As such you can retrieve or mirror them into any FE linking to that BE but that is just display of the relations and for use by the GUI query designer; it has no further use. By the way, what is a "temporary relationship"? If a new relationship is needed you are redesigning the database scheme and that must be implemented in the BE ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Philippe.Pons19 at wanadoo.fr Thu Jun 5 10:19:29 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 17:19:29 +0200 Subject: [AccessD] How to control subforms loading order? Message-ID: <004301c32b75$dc551f80$fb683151@linceo2nddisk> Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:24:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:24:00 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: That is true but doesn't seem as obvious to me if someone else were to examine the design. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, June 04, 2003 11:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Instead of inventing a false condition you can just state it: SELECT * FROM MyTable WHERE False /gustav > Oh, you mean nothing in the recordsource, not no records returned by > it. So don't remove the recordsource, replace it with one that returns > an empty recordset. The way I do it is to use a standard recordsource > that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). > That allows your form to be bound to the fields in MyTable but since > the where condition is always false, it returns an empty recordset. > Then I use code to set the recordsource to the appropriate one when > something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 10:24:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:24:48 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: Where are you going with this? What purpose is being served by the drag and drop? Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 04, 2003 8:59 PM To: AccessD List Subject: [AccessD] A2K: Drag and Drop with Access Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 10:33:25 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 01:33:25 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <003801c32b77$d10febd0$0c05a8c0@earth.local> Charlotte, Many thanks. Worked like a charm...And yes I was using "+" for concatenation purposes... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 6 June 2003 1:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax ADO or not, if the value is a string, you need string delimiters around it. Try this: & "WHERE (((tblCustomers.CustomerName) Like " & chr(34) & "%" _ & strInput & "%" & chr(34) & ")) " Of course, that assumes that you don't actually have customers with names beginning and ending in "+". I assumed you were trying to use + to concatenate the wild cards, which isn't necessary. If you were doing something else, post back. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 5 10:36:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 5 Jun 2003 11:36:46 -0400 Subject: [AccessD] How to control subforms loading order? In-Reply-To: <004301c32b75$dc551f80$fb683151@linceo2nddisk> Message-ID: Yep, JIT loading. The control on the form has a "source object" property. Simply set this property for the second subform to nothing, then after the first subform loads, set the property of the second subform. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Thursday, June 05, 2003 11:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Thu Jun 5 10:38:46 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 09:38:46 -0600 Subject: [AccessD] How to control subforms loading order? Message-ID: <73100-22003645153846355@christopherhawkins.com> Sure. Given main form frmMain, first subform sfrmFirst, and second subform sfrmSecond: 1) Place an empty subform control on frmMain and sfrmFirst. When I say empty I mean, the SourceObject property of the control should be blank. 2) frmMain_OnLoad should set the .SourceObject property of it's blank subform control to 'sfrmFirst'. 3) sfrmFirst_OnLoad should set the .SourceObject property of it's blank subform control to 'sfrmSecond'. 4) Filter as needed. Curious; why are you synchronizing the two subforms via the Filter property instead of the Child/Parent properties provided for that purpose? -C- ---- Original Message ---- From: Philippe.Pons19 at wanadoo.fr To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] How to control subforms loading order? Date: Thu, 5 Jun 2003 17:19:29 +0200 >Hi, > >I have a form with two embedded subforms. > >On the OnCurrent event of the first subform, I synchronise the >second one using the Filter and OnFilter properties of it. >This works fine, but generates an error the first time the Form is >loaded. >This is because I reference the second subform, but at this time it >is not yet loaded. > >I found a workaround by removing the first subform from the main >form and reinserting it, as it seems Access loads the subforms in >the same order at which they have been inserted. > >However, I would like to have a more robust way of controling the >loading order. > >Do you have a better solution? > >Thanks in advance, > >Philippe. > From clh at christopherhawkins.com Thu Jun 5 10:42:24 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 09:42:24 -0600 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <133980-22003645154224311@christopherhawkins.com> Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From michael.broesdorf at email.de Thu Jun 5 10:42:01 2003 From: michael.broesdorf at email.de (michael.broesdorf at email.de) Date: Thu, 5 Jun 2003 17:42:01 +0200 Subject: [AccessD] How to control subforms loading order? Message-ID: <200306051542.h55Fg1Q02858@mailgate5.cinetic.de> An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Thu Jun 5 10:45:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 5 Jun 2003 17:45:23 +0200 Subject: [AccessD] A2K: Drag and Drop with Access References: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Message-ID: <016001c32b79$816c4720$0300a8c0@S856> Darren, you can use the mouse events to get the x and y values at mousedown and then on mouseup set the controls top and left to the new calculated values at mouseup I have once done that to allow size adjustment of a text box according to amount of text entered. dont remember the details, but I think it was something like adding some kind of help text. Lembit Lembit Soobik ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 05, 2003 6:58 AM Subject: [AccessD] A2K: Drag and Drop with Access > Hi All > Anyone have any success with dragging and dropping of controls onto Access forms? > Eg I have an Image control displaying an image and say it's in the top left corner of the form. > I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. > > I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. > > Any suggestions?? > > Many thanks in advance > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Thu Jun 5 10:51:38 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 5 Jun 2003 08:51:38 -0700 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Message-ID: <007401c32b7a$59eb6770$6401a8c0@papparuff> Dick, Go to Peter DeBaets website and check out his Drag-N-Dropper program. It works very well http://www.peterssoftware.com John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Darren DICK Sent: Wednesday, June 04, 2003 9:59 PM To: AccessD List Subject: [AccessD] A2K: Drag and Drop with Access Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjones at btl.net Thu Jun 5 10:36:37 2003 From: pjones at btl.net (Paul M. Jones) Date: Thu, 05 Jun 2003 09:36:37 -0600 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <5.1.0.14.2.20030605093010.0266cf70@btlmail.btl.net> I believe the wildcards have to be included in single quotes: Try strSQL = "SELECT tblCustomers.CustomerID, " & _ " [tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] AS CustCode, " & _ " tblCustomers.CustomerName, " & _ " tblCustomers.Address1 & ' ' & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & tblCustomers.Postcode AS Address, " & _ " tblCustomers.DepotID" & _ " FROM tblCustomers " & _ " WHERE tblCustomers.CustomerName) Like '%" & strInput & "%' " & _ " ORDER BY tblCustomers.CustomerName" At 08:13 AM 6/5/2003 -0700, you wrote: >strSQL = "SELECT tblCustomers.CustomerID, " _ > & "[tblCustomers]![CustomerNumber] & '-' & > [tblCustomers]![CustomerSite] " _ > & "AS CustCode, tblCustomers.CustomerName, > tblCustomers.Address1 & ' ' & " _ > & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' > & " _ > & "tblCustomers.Postcode AS Address, tblCustomers.DepotID > FROM tblCustomers " _ > & "WHERE (((tblCustomers.CustomerName) Like % + " _ > & strInput & " + %)) " _ > & "ORDER BY tblCustomers.CustomerName;" -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 11:08:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 09:08:21 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: I wasn't saying it couldn't be useful, but if you don't know the purpose of the action, the suggestions are likely to be off target. If you need a hammer, it doesn't help if some hands you a nail! Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Jun 5 11:12:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 18:12:22 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <13436478413.20030605181222@cactus.dk> Hi Charlotte Well, it should - be obvious. Another use of this construction is: .. WHERE True This is useful where you in code build a criteria string: .. WHERE " & strCriteria If no criteria is to be applied, let strCriteria = "True". /gustav > That is true but doesn't seem as obvious to me if someone else were to > examine the design. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 04, 2003 11:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Instead of inventing a false condition you can just state it: > SELECT * FROM MyTable WHERE False > /gustav >> Oh, you mean nothing in the recordsource, not no records returned by >> it. So don't remove the recordsource, replace it with one that returns >> an empty recordset. The way I do it is to use a standard recordsource >> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >> That allows your form to be bound to the fields in MyTable but since >> the where condition is always false, it returns an empty recordset. >> Then I use code to set the recordsource to the appropriate one when >> something triggers it such as a choice in a dropdown. From kaupca at chevrontexaco.com Thu Jun 5 11:21:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 11:21:12 -0500 Subject: [AccessD] Cannot open table in code Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D68@bocnte2k4.boc.chevrontexaco.net> The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Jun 5 11:35:09 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 5 Jun 2003 11:35:09 -0500 Subject: [AccessD] Cannot open table in code Message-ID: Chester, If this is A97 code, then it should be okay if that really is the name of your table. However, if this is running in A2K or higher, then you should specify whether the objects are DAO or ADODB and use the appropriate constants. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Thursday 2003 Jun 05 11:21 To: accessd at databaseadvisors.com Subject: [AccessD] Cannot open table in code The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From askolits at ot.com Thu Jun 5 12:13:24 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 13:13:24 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? In-Reply-To: <13436478413.20030605181222@cactus.dk> Message-ID: I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. From gustav at cactus.dk Thu Jun 5 12:15:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 19:15:58 +0200 Subject: [AccessD] Record Locking Strategy or Error Trapping In-Reply-To: <005701c32aa2$34ce7500$0c05a8c0@earth.local> References: <005701c32aa2$34ce7500$0c05a8c0@earth.local> Message-ID: <940294029.20030605191558@cactus.dk> Hi Vlad You could create a new confirmation table with a one-to-one relation to tblOrderHeader and with one field only: the foreign key to the ID of tblOrderHeader. When the schedulers despatch the order add a record with the order key to the confirmation table. To select confirmed orders, use a query with an inner join to the confirmation table. To select non-confirmed orders, use a query with an outer join to the confirmation table where the ID of this is Null. The field Scheduled may be removed from tblOrderHeader. /gustav > We have developed an app for a client that was to be used for only 3-4 > people. Now it's up to 14 and growing. The client does not want to > migrate to SQL so we need to come up with a viable solution using the > tools we have available Access XP on a Citrix Network. > The app is pretty simple, call centre operators at one end of the > building take orders input the information through unbound > forms...(Hmmm, lets not get into that discussion) and the > Schedulers/Dispatchers at the other end, once again Unbound Forms. > Our problem is that the BE keeps getting corrupted and I have a sneaking > suspicion it's to do with concurrent writes to tblOrderHeader, but can't > figure out how to trap this. The reason I say tblOrderHeader is because > it's the only table both Call Centre and Schedulers would write to. > Basically, the Call Centre staff create orders with the field "Sheduled" > defaulted to N and when the schedulers despatch the order this field is > updated to Y. Obviously, this can occur simultaneously. > My question is how best to handle this situation or to trap the error > when another user is writing to the table and prompt them to try again > shortly. I have read extensive info on the MSDN site regarding record > locking strategies and the database is currently set to "No Locks" which > is basically Optimistic Locking (Tools|Options|Advanced). What impact > does it have if I change this to Edited Record or All Records. Is there > a performance hit or gain and what additional headaches does it create? > Will it all solve my problem? Should I change the Update Retires to 10? > Or is there another alternative? From harkins at iglou.com Thu Jun 5 12:13:17 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 5 Jun 2003 13:13:17 -0400 Subject: [AccessD] relations in which database References: <000001c32b0a$e08e5f00$6100a8c0@bbb888> <12310046005.20030605105150@cactus.dk> Message-ID: <00d501c32b86$92a11c70$c7e6ffcc@SusanOne> > By the way, what is a "temporary relationship"? If a new relationship > is needed you are redesigning the database scheme and that must be > implemented in the BE ... ==========A temporary relationship is one not defined in the Relationships window. They usually are specific to the query and only apply to that query. Susan H. From cfoust at infostatsystems.com Thu Jun 5 12:25:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 10:25:11 -0700 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? Message-ID: Someone reported the same problem in Woody's Lounge (www.wopr.com) and I don't recall that we ever found the reason for it. I couldn't recreate it on my machines. Do you have all the Jet service packs as well as O2k service releases installed? Charlotte Foust -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, June 05, 2003 9:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 12:27:45 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 10:27:45 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Way back in the dim reaches of Access (like maybe Access 2.0), someone like Ken Getz or one of the other gurus had a reason he gave for not using that construction, so I never got in the habit of it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Well, it should - be obvious. Another use of this construction is: .. WHERE True This is useful where you in code build a criteria string: .. WHERE " & strCriteria If no criteria is to be applied, let strCriteria = "True". /gustav > That is true but doesn't seem as obvious to me if someone else were to > examine the design. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 04, 2003 11:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Instead of inventing a false condition you can just state it: > SELECT * FROM MyTable WHERE False > /gustav >> Oh, you mean nothing in the recordsource, not no records returned by >> it. So don't remove the recordsource, replace it with one that returns >> an empty recordset. The way I do it is to use a standard recordsource >> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >> That allows your form to be bound to the fields in MyTable but since >> the where condition is always false, it returns an empty recordset. >> Then I use code to set the recordsource to the appropriate one when >> something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 12:32:06 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 11:32:06 -0600 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <68120-2200364517326333@christopherhawkins.com> Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping >the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag >>and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Thu Jun 5 12:39:23 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 05 Jun 2003 18:39:23 +0100 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? Message-ID: <200306051739.SAA19504@hosea.qub.ac.uk> seen on the web somewhare to check that all machines reference the same libraries??? Martin On Jun 5 2003, Charlotte Foust wrote: > Someone reported the same problem in Woody's Lounge (www.wopr.com) and I > don't recall that we ever found the reason for it. I couldn't recreate > it on my machines. Do you have all the Jet service packs as well as > O2k service releases installed? > > Charlotte Foust > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, June 05, 2003 9:13 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] ADO function problem. Set > Cnn=CurrentProject.connection Fails? > > > I am having a strange problem on one PC. > > Application is (A2k) running in Access XP. The following line of code > gives me a strange error, indicating a problem with the DLL. > > Set cnn = CurrentProject.connection > > It says Run-Time error -2147220999 (800401f9) Automation Error Error in > the DLL > > I replaced the DLL from a PC that the application is working but same > issue. > > Application compiles without a problem. > > Anyone know what this is. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Martin WP Reid Analyst Information Services Queens University Belfast From kaupca at chevrontexaco.com Thu Jun 5 12:45:16 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 12:45:16 -0500 Subject: [AccessD] Cannot open table in code Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D69@bocnte2k4.boc.chevrontexaco.net> Found solution in knowledge base article 181542. DAO library must have higher priority than ADO library. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 05, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cannot open table in code Chester, If this is A97 code, then it should be okay if that really is the name of your table. However, if this is running in A2K or higher, then you should specify whether the objects are DAO or ADODB and use the appropriate constants. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Thursday 2003 Jun 05 11:21 To: accessd at databaseadvisors.com Subject: [AccessD] Cannot open table in code The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 12:47:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 19:47:45 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <8442200871.20030605194745@cactus.dk> Hi Charlotte Jet 3.5 was optimized for this construction - meaning that Access 2.0 was not - perhaps that is what you are thinking of: http://www.microsoft.com/accessdev/articles/perfover.htm /gustav > Way back in the dim reaches of Access (like maybe Access 2.0), someone > like Ken Getz or one of the other gurus had a reason he gave for not > using that construction, so I never got in the habit of it. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, June 05, 2003 8:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Well, it should - be obvious. > Another use of this construction is: > .. WHERE True > This is useful where you in code build a criteria string: > .. WHERE " & strCriteria > If no criteria is to be applied, let strCriteria = "True". > /gustav >> That is true but doesn't seem as obvious to me if someone else were to >> examine the design. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 04, 2003 11:21 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Dang Bound Forms Again >> Hi Charlotte >> Instead of inventing a false condition you can just state it: >> SELECT * FROM MyTable WHERE False >> /gustav >>> Oh, you mean nothing in the recordsource, not no records returned by >>> it. So don't remove the recordsource, replace it with one that >>> returns >>> an empty recordset. The way I do it is to use a standard >>> recordsource >>> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >>> That allows your form to be bound to the fields in MyTable but since >>> the where condition is always false, it returns an empty recordset. >>> Then I use code to set the recordsource to the appropriate one when >>> something triggers it such as a choice in a dropdown. From clh at christopherhawkins.com Thu Jun 5 12:49:11 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 11:49:11 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <96220-22003645174911424@christopherhawkins.com> This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- From askolits at ot.com Thu Jun 5 12:52:11 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 13:52:11 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? In-Reply-To: Message-ID: Think I fixed it. Ran MDAC update. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Thursday, June 05, 2003 1:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Jun 5 12:54:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 5 Jun 2003 13:54:17 -0400 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E13@TTNEXCHSRV1.hshhp.com> It's been a while but I used to add a text box and size it as small as it will go. Then set the colors to match the form and give it the focus. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 1:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- _______________________________________________ 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 hsimpson88 at hotmail.com Thu Jun 5 13:01:56 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:01:56 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: Transparent do nothing command button first in the tab order works for me. Hen >From: "Christopher Hawkins" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: [AccessD] A2K: HT Set Focus...nowhere? >Date: Thu, 5 Jun 2003 11:49:11 -0600 > >This is driving me nuts. > >For various reasons, I need a form to open with the focus set to no >control. The controls must all have a Tab Order, but none can have >the focus when the form opens. > >Heeeeeeeeeeeeeeeeeeeelp. > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:00:06 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:00:06 +0200 Subject: [AccessD] How to control subforms loading order? References: Message-ID: <003201c32b8c$4cb60940$661f3551@linceo2nddisk> But I can't set the "source object" property of the second subform at this time since it is not yet loaded. Attempting to reference this 2nd subform will generate an error. I'm using this piece of code. The main form is frmHistoMaint The second subform is: sfrHistoMaintComment Private Sub Form_Current() 'synchronisation de la zone de commentaire Dim lHistoMaintId As Long If Not IsNull(Me.HistoMaintId) Then lHistoMaintId = Me.HistoMaintId 'an error occurs when sfrHistoMaintComment is not yet loaded 'On Error Resume Next Form_frmHistoMaint.sfrHistoMaintComment.Form.SourceObject = "sfrHistoMaintComment" Form_frmHistoMaint.sfrHistoMaintComment.Form.Filter = "[HistoMaintId]=" & lHistoMaintId Form_frmHistoMaint.sfrHistoMaintComment.Form.FilterOn = True ElseIf IsNull(Me.HistoMaintId) Then 'This is to have a blank form when no record are selected in the 1st subform Form_frmHistoMaint.sfrHistoMaintComment.Form.Filter = "[HistoMaintId]=" & 0 Form_frmHistoMaint.sfrHistoMaintComment.Form.FilterOn = True End If End Sub Thank's for your answer, Philippe ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 5:36 PM Subject: RE: [AccessD] How to control subforms loading order? Yep, JIT loading. The control on the form has a "source object" property. Simply set this property for the second subform to nothing, then after the first subform loads, set the property of the second subform. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Thursday, June 05, 2003 11:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Thu Jun 5 13:10:23 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 5 Jun 2003 13:10:23 -0500 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7D8@TAPPEEXCH01> Best way to do it: Create a command button and set it's transparent property to True, and make it the first control in tab order. -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 1:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From papparuff at attbi.com Thu Jun 5 13:10:30 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 5 Jun 2003 11:10:30 -0700 Subject: [AccessD] A2K: HT Set Focus...nowhere? In-Reply-To: <96220-22003645174911424@christopherhawkins.com> Message-ID: <00bb01c32b8d$c00f5800$6401a8c0@papparuff> Two ways I know of to handle this situation. 1. Make all controls not enabled when you load the form and then have a mechanism where they are enabled when you need them to be. 2. Add a textbox and make it's forecolor and backcolor transparent (effectively hiding it). On the form's load event set the focus to this textbox. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Christopher Hawkins Sent: Thursday, June 05, 2003 10:49 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 13:17:14 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 12:17:14 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <165040-22003645181714743@christopherhawkins.com> We have a winner! Thanks. -Christopher- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? Date: Thu, 5 Jun 2003 13:10:23 -0500 >Best way to do it: >Create a command button and set it's transparent property to True, >and make >it the first control in tab order. > > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 1:49 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] A2K: HT Set Focus...nowhere? > > >This is driving me nuts. > >For various reasons, I need a form to open with the focus set to no >control. The controls must all have a Tab Order, but none can have >the focus when the form opens. > >Heeeeeeeeeeeeeeeeeeeelp. > >-Christopher- > > >--------------------------------------------------------------------- >----------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed >by SurfControl E-mail Filter software in conjunction with >virus detection software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:15:24 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:15:24 +0200 Subject: [AccessD] How to control subforms loading order? References: <73100-22003645153846355@christopherhawkins.com> Message-ID: <005201c32b8e$6f9b8780$661f3551@linceo2nddisk> Yes, it's ok now, than you. In some situation, I have had difficulties to use Child/Parent properties. Using Filter works always, gives a better control, and is sometimes faster when you switch from one record to the other. Philippe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 05, 2003 5:38 PM Subject: RE: [AccessD] How to control subforms loading order? > Sure. Given main form frmMain, first subform sfrmFirst, and second > subform sfrmSecond: > > > 1) Place an empty subform control on frmMain and sfrmFirst. When I > say empty I mean, the SourceObject property of the control should be > blank. > > 2) frmMain_OnLoad should set the .SourceObject property of it's blank > subform control to 'sfrmFirst'. > > 3) sfrmFirst_OnLoad should set the .SourceObject property of it's > blank subform control to 'sfrmSecond'. > > 4) Filter as needed. > > Curious; why are you synchronizing the two subforms via the Filter > property instead of the Child/Parent properties provided for that > purpose? > > -C- > > ---- Original Message ---- > From: Philippe.Pons19 at wanadoo.fr > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] How to control subforms loading order? > Date: Thu, 5 Jun 2003 17:19:29 +0200 > > >Hi, > > > >I have a form with two embedded subforms. > > > >On the OnCurrent event of the first subform, I synchronise the > >second one using the Filter and OnFilter properties of it. > >This works fine, but generates an error the first time the Form is > >loaded. > >This is because I reference the second subform, but at this time it > >is not yet loaded. > > > >I found a workaround by removing the first subform from the main > >form and reinserting it, as it seems Access loads the subforms in > >the same order at which they have been inserted. > > > >However, I would like to have a more robust way of controling the > >loading order. > > > >Do you have a better solution? > > > >Thanks in advance, > > > >Philippe. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:18:46 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:18:46 +0200 Subject: [AccessD] How to control subforms loading order? References: <200306051542.h55Fg1Q02858@mailgate5.cinetic.de> Message-ID: <006301c32b8e$e7e3c400$661f3551@linceo2nddisk> Yes, you can change the loading order by changing the order in which each subform is inserted within the form. If you insert sub1 and then sub2, sub1 will load first. Remove sub1 and reinsert it, sub2 will load first. I guess this is something that is not written in any training book!! Philippe. ----- Original Message ----- From: michael.broesdorf at email.de To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 5:42 PM Subject: Re: [AccessD] How to control subforms loading order? I had the same problem some time ago. I believe the loading order changes if you change the layer of the subform (bring to front/send to back). But my memory is not too clear about this, so please don't hit me if it does not work ;-) HTH, Michael accessd at databaseadvisors.com schrieb am 05.06.03 17:33:19: Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. ------------------------------------------------------------------ _______________________________________________AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Jun 5 13:30:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:30:01 -0600 Subject: [AccessD] Query Designer can't represent Join Message-ID: I ran into a new one today. Someone built an application where a foreign key is a different datatype than the primary key it refers to. The task at hand was to generate a report that required connecting the tables on the disparate key types. The Primary Key is an autonumber long and the Foreign Key is text type. An attempt to use CStr in the join clause worked though the query designer complained that it couldn't show the join and refused to display that view though it was not greyed out on the toolbar like it is with a union query. A simplified version of the Sql used for testing using CStr in the Join returns correct results in Access 97: SELECT JobCode, JobName FROM tblJob INNER JOIN tblLineItems ON CStr(tblJob.JobID) = tblLineItems.Job; Never having run across this before, I thought it might be useful when merging data from various sources. Ordinarily I would just use an update query to a new numeric field and join on just the numeric fields but there appears to be a fair bit of existing structure that relies on the datatype that was already in place so the disparate join proved convenient. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From clh at christopherhawkins.com Thu Jun 5 13:45:01 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 12:45:01 -0600 Subject: [AccessD] How to control subforms loading order? Message-ID: <116600-2200364518451389@christopherhawkins.com> Hm. I'll have to experiment with that method, then. Glad you've got it working. -Christopher- ---- Original Message ---- From: Philippe.Pons19 at wanadoo.fr To: accessd at databaseadvisors.com, Subject: Re: [AccessD] How to control subforms loading order? Date: Thu, 5 Jun 2003 20:15:24 +0200 >Yes, it's ok now, than you. > >In some situation, I have had difficulties to use Child/Parent >properties. >Using Filter works always, gives a better control, and is sometimes >faster >when you switch from one record to the other. > >Philippe > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Thursday, June 05, 2003 5:38 PM >Subject: RE: [AccessD] How to control subforms loading order? > > >> Sure. Given main form frmMain, first subform sfrmFirst, and second >> subform sfrmSecond: >> >> >> 1) Place an empty subform control on frmMain and sfrmFirst. When I >> say empty I mean, the SourceObject property of the control should >be >> blank. >> >> 2) frmMain_OnLoad should set the .SourceObject property of it's >blank >> subform control to 'sfrmFirst'. >> >> 3) sfrmFirst_OnLoad should set the .SourceObject property of it's >> blank subform control to 'sfrmSecond'. >> >> 4) Filter as needed. >> >> Curious; why are you synchronizing the two subforms via the Filter >> property instead of the Child/Parent properties provided for that >> purpose? >> >> -C- >> >> ---- Original Message ---- >> From: Philippe.Pons19 at wanadoo.fr >> To: AccessD at databaseadvisors.com, >> Subject: RE: [AccessD] How to control subforms loading order? >> Date: Thu, 5 Jun 2003 17:19:29 +0200 >> >> >Hi, >> > >> >I have a form with two embedded subforms. >> > >> >On the OnCurrent event of the first subform, I synchronise the >> >second one using the Filter and OnFilter properties of it. >> >This works fine, but generates an error the first time the Form is >> >loaded. >> >This is because I reference the second subform, but at this time >it >> >is not yet loaded. >> > >> >I found a workaround by removing the first subform from the main >> >form and reinserting it, as it seems Access loads the subforms in >> >the same order at which they have been inserted. >> > >> >However, I would like to have a more robust way of controling the >> >loading order. >> > >> >Do you have a better solution? >> > >> >Thanks in advance, >> > >> >Philippe. >> > >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Thu Jun 5 13:30:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:30:01 -0600 Subject: [AccessD] Query Designer can't represent Join Message-ID: I ran into a new one today. Someone built an application where a foreign key is a different datatype than the primary key it refers to. The task at hand was to generate a report that required connecting the tables on the disparate key types. The Primary Key is an autonumber long and the Foreign Key is text type. An attempt to use CStr in the join clause worked though the query designer complained that it couldn't show the join and refused to display that view though it was not greyed out on the toolbar like it is with a union query. A simplified version of the Sql used for testing using CStr in the Join returns correct results in Access 97: SELECT JobCode, JobName FROM tblJob INNER JOIN tblLineItems ON CStr(tblJob.JobID) = tblLineItems.Job; Never having run across this before, I thought it might be useful when merging data from various sources. Ordinarily I would just use an update query to a new numeric field and join on just the numeric fields but there appears to be a fair bit of existing structure that relies on the datatype that was already in place so the disparate join proved convenient. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 14:06:58 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:06:58 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <62100-2200364519658984@christopherhawkins.com> First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- From jeffrey.demulling at usbank.com Thu Jun 5 14:22:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 14:22:00 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: Call fRefreshLinks Option Compare Database Option Explicit Function fRefreshLinks() As Boolean Dim strMsg As String, collTbls As Collection Dim i As Integer, strDBPath As String, strTbl As String Dim dbCurr As Database, dbLink As Database Dim tdfLocal As TableDef Dim varRet As Variant Dim strNewPath As String Const cERR_USERCANCEL = vbObjectError + 1000 Const cERR_NOREMOTETABLE = vbObjectError + 2000 On Local Error GoTo fRefreshLinks_Err 'First get all linked tables in a collection Set collTbls = fGetLinkedTables 'now link all of them Set dbCurr = CurrentDb 'strMsg = "Do you wish to specify a different path for the Access Tables?" 'If MsgBox(strMsg, vbQuestion + vbYesNo, "Alternate data source...") = vbYes 'Then strNewPath = fGetMDBName("Please select a new datasource") Else 'strNewPath = vbNullString End If strNewPath = GetDataLoc & GetDataName For i = collTbls.Count To 1 Step -1 strDBPath = fParsePath(collTbls(i)) strTbl = fParseTable(collTbls(i)) varRet = SysCmd(acSysCmdSetStatus, "Now linking '" & strTbl & "'....") If left$(strDBPath, 4) = "ODBC" Then 'ODBC Tables 'ODBC Tables handled separately ' Set tdfLocal = dbCurr.TableDefs(strTbl) ' With tdfLocal ' .Connect = pcCONNECT ' .RefreshLink ' collTbls.Remove (strTbl) ' End With Else If strNewPath <> vbNullString Then 'Try this first strDBPath = strNewPath Else If Len(Dir(strDBPath)) = 0 Then 'File Doesn't Exist, call GetOpenFileName strDBPath = fGetMDBName("'" & strDBPath & "' not found.") If strDBPath = vbNullString Then 'user pressed cancel Err.Raise cERR_USERCANCEL End If End If End If 'backend database exists 'putting it here since we could have 'tables from multiple sources Set dbLink = DBEngine(0).OpenDatabase(strDBPath) 'check to see if the table is present in dbLink strTbl = fParseTable(collTbls(i)) If fIsRemoteTable(dbLink, strTbl) Then 'everything's ok, reconnect Set tdfLocal = dbCurr.TableDefs(strTbl) With tdfLocal .Connect = ";Database=" & strDBPath .RefreshLink collTbls.Remove (.name) End With Else Err.Raise cERR_NOREMOTETABLE End If End If Next fRefreshLinks = True varRet = SysCmd(acSysCmdClearStatus) MsgBox "All Access tables were successfully reconnected.", vbInformation + vbOKOnly, "Success" fRefreshLinks_End: Set collTbls = Nothing Set tdfLocal = Nothing Set dbLink = Nothing Set dbCurr = Nothing Exit Function fRefreshLinks_Err: fRefreshLinks = False Select Case Err Case 3059: Case cERR_USERCANCEL: MsgBox "No Database was specified, couldn't link tables.", _ vbCritical + vbOKOnly, _ "Error in refreshing links." Resume fRefreshLinks_End Case cERR_NOREMOTETABLE: MsgBox "Table '" & strTbl & "' was not found in the database" & _ vbCrLf & dbLink.name & ". Couldn't refresh links", _ vbCritical + vbOKOnly, _ "Error in refreshing links." Resume fRefreshLinks_End Case Else: strMsg = "Error Information..." & vbCrLf & vbCrLf strMsg = strMsg & "Function: fRefreshLinks" & vbCrLf strMsg = strMsg & "Description: " & Err.Description & vbCrLf strMsg = strMsg & "Error #: " & Format$(Err.Number) & vbCrLf MsgBox strMsg, vbOKOnly + vbCritical, "Error" Resume fRefreshLinks_End End Select End Function Function fIsRemoteTable(dbRemote As Database, strTbl As String) As Boolean Dim tdf As TableDef On Error Resume Next Set tdf = dbRemote.TableDefs(strTbl) fIsRemoteTable = (Err = 0) Set tdf = Nothing End Function Function fGetMDBName(strIn As String) As String 'Calls GetOpenFileName dialog Dim strFilter As String 'strFilter = ahtAddFilterItem(strFilter, "Access Database(*.mdb;*.mda;*.mde;*.mdw) ", "*.mdb; *.mda; *.mde; *.mdw") 'strFilter = ahtAddFilterItem(strFilter, "All Files (*.*)", "*.*") 'fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, OpenFile:=True, DialogTitle:=strIn, Flags:=ahtOFN_HIDEREADONLY) End Function Function fGetLinkedTables() As Collection 'Returns all linked tables Dim collTables As New Collection Dim tdf As TableDef, db As Database Set db = CurrentDb db.TableDefs.Refresh For Each tdf In db.TableDefs With tdf If Len(.Connect) > 0 Then If left$(.Connect, 4) = "ODBC" Then ' collTables.Add Item:=.Name & ";" & .Connect, KEY:=.Name 'ODBC Reconnect handled separately Else collTables.Add Item:=.name & .Connect, KEY:=.name End If End If End With Next Set fGetLinkedTables = collTables Set collTables = Nothing Set tdf = Nothing Set db = Nothing End Function Function fParsePath(strIn As String) As String If left$(strIn, 4) <> "ODBC" Then fParsePath = right(strIn, Len(strIn) _ - (InStr(1, strIn, "DATABASE=") + 8)) Else fParsePath = strIn End If End Function Function fParseTable(strIn As String) As String fParseTable = left$(strIn, InStr(1, strIn, ";") - 1) End Function "Christopher Hawkins" Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 02:06 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 5 14:23:48 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 14:23:48 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: or you can you can use your code and do the following: Do Until rsData.EOF = True DoCmd.TransferDatabase acLink, "Microsoft Access", mylocation & myfile, acTable, mytable, mytable rsData.MoveNext Loop "Christopher Hawkins" Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 02:06 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 14:24:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 21:24:26 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <62100-2200364519658984@christopherhawkins.com> References: <62100-2200364519658984@christopherhawkins.com> Message-ID: <12448001863.20030605212426@cactus.dk> Hi Christopher Use RefreshLink: Set tbl = db.TableDefs(rsData("TableName")) tbl.Connect = ";DATABASE=" & rsData("Path") tbl.RefreshLink rsData.MoveNext Also, for increased speed, open the backend before the loop and close it when finished the loop. /gustav > First off: I have seen (and used) Tribble's Back-End relinker > before. That's not what I need in this case. > I have inherited an app with some back-end relinking code that is > very slow. I've seen programmatic implementations of a table link > that linked up very quickly, as quickly as using File > Get External > Data > Link Tables. The one I'm dealing with takes many times as > long. > There is a table in my db called tblTable. It contains the name and > path of every table in the database. The table is used in the > following code: > ***START*** > Dim db As DAO.Database > Dim tbl As DAO.TableDef > Set db = CurrentDb > Dim rsData As DAO.Recordset > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > rsData.MoveFirst > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > db.Close > ***END*** > All the lag takes place when running the 'db.TableDefs.append tbl' > line. > Is there any way to speed this process up? I've seen it done more > quickly before, I just didn't get to see the actual code. :( > -Christopher- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 5 14:28:29 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 5 Jun 2003 15:28:29 -0400 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <62100-2200364519658984@christopherhawkins.com> Message-ID: Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 14:36:08 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:36:08 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <93220-2200364519368366@christopherhawkins.com> Holy cow. I'll give that a try! -C- ---- Original Message ---- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Thu, 5 Jun 2003 14:22:00 -0500 >Call fRefreshLinks > >Option Compare Database >Option Explicit > >Function fRefreshLinks() As Boolean >Dim strMsg As String, collTbls As Collection >Dim i As Integer, strDBPath As String, strTbl As String >Dim dbCurr As Database, dbLink As Database >Dim tdfLocal As TableDef >Dim varRet As Variant >Dim strNewPath As String > >Const cERR_USERCANCEL = vbObjectError + 1000 >Const cERR_NOREMOTETABLE = vbObjectError + 2000 > > On Local Error GoTo fRefreshLinks_Err > > > 'First get all linked tables in a collection > Set collTbls = fGetLinkedTables > > 'now link all of them > Set dbCurr = CurrentDb > > 'strMsg = "Do you wish to specify a different path for the Access >Tables?" >'If MsgBox(strMsg, vbQuestion + vbYesNo, "Alternate data source...") >= >vbYes >'Then strNewPath = fGetMDBName("Please select a new datasource") >Else >'strNewPath = vbNullString End If >strNewPath = GetDataLoc & GetDataName > > For i = collTbls.Count To 1 Step -1 > strDBPath = fParsePath(collTbls(i)) > strTbl = fParseTable(collTbls(i)) > varRet = SysCmd(acSysCmdSetStatus, "Now linking '" & strTbl >& >"'....") > If left$(strDBPath, 4) = "ODBC" Then > 'ODBC Tables > 'ODBC Tables handled separately > ' Set tdfLocal = dbCurr.TableDefs(strTbl) > ' With tdfLocal > ' .Connect = pcCONNECT > ' .RefreshLink > ' collTbls.Remove (strTbl) > ' End With > Else > If strNewPath <> vbNullString Then > 'Try this first > strDBPath = strNewPath > Else > If Len(Dir(strDBPath)) = 0 Then > 'File Doesn't Exist, call GetOpenFileName > strDBPath = fGetMDBName("'" & strDBPath & "' not >found.") > If strDBPath = vbNullString Then > 'user pressed cancel > Err.Raise cERR_USERCANCEL > End If > End If > End If > > 'backend database exists > 'putting it here since we could have > 'tables from multiple sources > Set dbLink = DBEngine(0).OpenDatabase(strDBPath) > > 'check to see if the table is present in dbLink > strTbl = fParseTable(collTbls(i)) > If fIsRemoteTable(dbLink, strTbl) Then > 'everything's ok, reconnect > Set tdfLocal = dbCurr.TableDefs(strTbl) > With tdfLocal > .Connect = ";Database=" & strDBPath > .RefreshLink > collTbls.Remove (.name) > End With > Else > Err.Raise cERR_NOREMOTETABLE > End If > End If > Next > fRefreshLinks = True > varRet = SysCmd(acSysCmdClearStatus) > MsgBox "All Access tables were successfully reconnected.", >vbInformation + vbOKOnly, "Success" >fRefreshLinks_End: > Set collTbls = Nothing > Set tdfLocal = Nothing > Set dbLink = Nothing > Set dbCurr = Nothing > Exit Function >fRefreshLinks_Err: > fRefreshLinks = False > Select Case Err > Case 3059: > > Case cERR_USERCANCEL: > MsgBox "No Database was specified, couldn't link >tables.", _ > vbCritical + vbOKOnly, _ > "Error in refreshing links." > Resume fRefreshLinks_End > Case cERR_NOREMOTETABLE: > MsgBox "Table '" & strTbl & "' was not found in the >database" >& _ > vbCrLf & dbLink.name & ". Couldn't refresh >links", _ > vbCritical + vbOKOnly, _ > "Error in refreshing links." > Resume fRefreshLinks_End > Case Else: > strMsg = "Error Information..." & vbCrLf & vbCrLf > strMsg = strMsg & "Function: fRefreshLinks" & vbCrLf > strMsg = strMsg & "Description: " & Err.Description & >vbCrLf > strMsg = strMsg & "Error #: " & Format$(Err.Number) & >vbCrLf > MsgBox strMsg, vbOKOnly + vbCritical, "Error" > Resume fRefreshLinks_End > End Select >End Function > >Function fIsRemoteTable(dbRemote As Database, strTbl As String) As >Boolean >Dim tdf As TableDef > On Error Resume Next > Set tdf = dbRemote.TableDefs(strTbl) > fIsRemoteTable = (Err = 0) > Set tdf = Nothing >End Function > >Function fGetMDBName(strIn As String) As String >'Calls GetOpenFileName dialog >Dim strFilter As String > > 'strFilter = ahtAddFilterItem(strFilter, "Access >Database(*.mdb;*.mda;*.mde;*.mdw) ", "*.mdb; *.mda; *.mde; *.mdw") > 'strFilter = ahtAddFilterItem(strFilter, "All Files (*.*)", >"*.*") > 'fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, >OpenFile:=True, DialogTitle:=strIn, Flags:=ahtOFN_HIDEREADONLY) >End Function > >Function fGetLinkedTables() As Collection >'Returns all linked tables > Dim collTables As New Collection > Dim tdf As TableDef, db As Database > Set db = CurrentDb > db.TableDefs.Refresh > For Each tdf In db.TableDefs > With tdf > If Len(.Connect) > 0 Then > If left$(.Connect, 4) = "ODBC" Then > ' collTables.Add Item:=.Name & ";" & .Connect, >KEY:=.Name > 'ODBC Reconnect handled separately > Else > collTables.Add Item:=.name & .Connect, KEY:=.name > End If > End If > End With > Next > Set fGetLinkedTables = collTables > Set collTables = Nothing > Set tdf = Nothing > Set db = Nothing >End Function > >Function fParsePath(strIn As String) As String > If left$(strIn, 4) <> "ODBC" Then > fParsePath = right(strIn, Len(strIn) _ > - (InStr(1, strIn, "DATABASE=") + 8)) > Else > fParsePath = strIn > End If >End Function > >Function fParseTable(strIn As String) As String > fParseTable = left$(strIn, InStr(1, strIn, ";") - 1) >End Function > > > > > >"Christopher Hawkins" >Sent by: accessd-bounces at databaseadvisors.com >06/05/2003 02:06 PM >Please respond to accessd > > > To: accessd at databaseadvisors.com > cc: > Subject: [AccessD] Fast back-end relinking? > > >First off: I have seen (and used) Tribble's Back-End relinker >before. That's not what I need in this case. > >I have inherited an app with some back-end relinking code that is >very slow. I've seen programmatic implementations of a table link >that linked up very quickly, as quickly as using File > Get External >Data > Link Tables. The one I'm dealing with takes many times as >long. > >There is a table in my db called tblTable. It contains the name and >path of every table in the database. The table is used in the >following code: > >***START*** > >Dim db As DAO.Database >Dim tbl As DAO.TableDef >Set db = CurrentDb >Dim rsData As DAO.Recordset > > > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > > rsData.MoveFirst > > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > >db.Close > >***END*** > >All the lag takes place when running the 'db.TableDefs.append tbl' >line. > >Is there any way to speed this process up? I've seen it done more >quickly before, I just didn't get to see the actual code. :( > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > From clh at christopherhawkins.com Thu Jun 5 14:37:26 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:37:26 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <139130-22003645193726179@christopherhawkins.com> Gustav, I can't use RefreshLink because the table links have been dropped before the re-link is being made. So, there are not tables to refresh. -C- ---- Original Message ---- From: gustav at cactus.dk To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Thu, 5 Jun 2003 21:24:26 +0200 >Hi Christopher > >Use RefreshLink: > > Set tbl = db.TableDefs(rsData("TableName")) > tbl.Connect = ";DATABASE=" & rsData("Path") > tbl.RefreshLink > rsData.MoveNext > >Also, for increased speed, open the backend before the loop and close >it when finished the loop. > >/gustav > > >> First off: I have seen (and used) Tribble's Back-End relinker >> before. That's not what I need in this case. > >> I have inherited an app with some back-end relinking code that is >> very slow. I've seen programmatic implementations of a table link >> that linked up very quickly, as quickly as using File > Get >External >> Data > Link Tables. The one I'm dealing with takes many times as >> long. > >> There is a table in my db called tblTable. It contains the name >and >> path of every table in the database. The table is used in the >> following code: > >> ***START*** > >> Dim db As DAO.Database >> Dim tbl As DAO.TableDef >> Set db = CurrentDb >> Dim rsData As DAO.Recordset > > >> Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > >> rsData.MoveFirst > >> Do Until rsData.EOF = True >> Set tbl = db.CreateTableDef(rsData("TableName")) >> Debug.Print "Now attaching " & tbl.Name & "..." >> tbl.Connect = (";DATABASE=" & rsData("Path")) >> tbl.SourceTableName = rsData("TableName") >> db.TableDefs.Append tbl >> rsData.MoveNext >> Loop > >> db.Close > >> ***END*** > >> All the lag takes place when running the 'db.TableDefs.append tbl' >> line. > >> Is there any way to speed this process up? I've seen it done more >> quickly before, I just didn't get to see the actual code. :( > >> -Christopher- > >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Jun 5 15:42:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 13:42:17 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: That may indeed be it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Jet 3.5 was optimized for this construction - meaning that Access 2.0 was not - perhaps that is what you are thinking of: http://www.microsoft.com/accessdev/articles/perfover.htm /gustav > Way back in the dim reaches of Access (like maybe Access 2.0), someone > like Ken Getz or one of the other gurus had a reason he gave for not > using that construction, so I never got in the habit of it. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, June 05, 2003 8:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Well, it should - be obvious. > Another use of this construction is: > .. WHERE True > This is useful where you in code build a criteria string: > .. WHERE " & strCriteria > If no criteria is to be applied, let strCriteria = "True". > /gustav >> That is true but doesn't seem as obvious to me if someone else were to >> examine the design. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 04, 2003 11:21 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Dang Bound Forms Again >> Hi Charlotte >> Instead of inventing a false condition you can just state it: >> SELECT * FROM MyTable WHERE False >> /gustav >>> Oh, you mean nothing in the recordsource, not no records returned by >>> it. So don't remove the recordsource, replace it with one that >>> returns >>> an empty recordset. The way I do it is to use a standard >>> recordsource >>> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >>> That allows your form to be bound to the fields in MyTable but since >>> the where condition is always false, it returns an empty recordset. >>> Then I use code to set the recordsource to the appropriate one when >>> something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 15:44:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 13:44:42 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: Yes, emoticons make things much easier. We use them extensively in Woody's Lounge. It prevents quite a few flame wars from getting starting when everyone can see the [evilgrin] or [confused] smilie in the message. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 9:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 18:35:42 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 09:35:42 +1000 Subject: [AccessD] A2K: HT Set Focus...nowhere? References: Message-ID: <03e701c32bbb$2e798360$3c619a89@DDICK> Hi Guys As a matter of course I put in an unbound text control and call it 'TabBlank' in all my forms Just as Henry pointed out, it does nothing and when it suits me, from time to time I set the focus back to that control. Also it stops the first control, usually First Name or something similar, having its contents removed. I had an app once where the PC had a screen saver. To bring the machine out of the screen saver the users would usually press the space bar. If (behind the screen saver and thus not seen) an important control like someone's first name or last name had the focus then pushing the space bar simply deleted the data in that control. Of course my app was being blamed for the lost first and last names. So every form - especially continuous forms - I put in a TabBlank control. Always set its tab position to 0 and answer yes to TabStop HTH Darren ----- Original Message ----- From: "Henry Simpson" To: Sent: Friday, June 06, 2003 4:01 AM Subject: Re: [AccessD] A2K: HT Set Focus...nowhere? > Transparent do nothing command button first in the tab order works for me. > > Hen > > > >From: "Christopher Hawkins" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: [AccessD] A2K: HT Set Focus...nowhere? > >Date: Thu, 5 Jun 2003 11:49:11 -0600 > > > >This is driving me nuts. > > > >For various reasons, I need a form to open with the focus set to no > >control. The controls must all have a Tab Order, but none can have > >the focus when the form opens. > > > >Heeeeeeeeeeeeeeeeeeeelp. > > > >-Christopher- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 18:40:00 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 09:40:00 +1000 Subject: [AccessD] A2K: Drag and Drop with Access References: Message-ID: <03ed01c32bbb$c7e41c40$3c619a89@DDICK> Hi Charlotte and others I have an ID Card design program I am creating. Currently I move the X Y co-ord of any control (say the ID Photo control) with sliders. It works and is OK but I want something easier. It would be much easier to simply click and drag the control where it needs to go for the ID Card Design. Like I said I have found heaps of VB versions of drag and drop but VB has events especially designed for this but Access does not. I have found some code I can apply to Access that lets me click on a control and I can move the 'whole form' as if I grabbed the caption bar, but alas dragging only the control is being elusive. I will share it with the list once I get it to work though :-) Many thanks in advance Darren ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, June 06, 2003 1:24 AM Subject: RE: [AccessD] A2K: Drag and Drop with Access > Where are you going with this? What purpose is being served by the drag > and drop? > > Charlotte Foust > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 04, 2003 8:59 PM > To: AccessD List > Subject: [AccessD] A2K: Drag and Drop with Access > > > Hi All > Anyone have any success with dragging and dropping of controls onto > Access forms? Eg I have an Image control displaying an image and say > it's in the top left corner of the form. I want to 'click' onto the > image control and 'drag' it to say... the bottom left corner of the > form. > > I have found heaps of samples for VB but they use VB only events etc, > that I can't replicate or fudge in Access. > > Any suggestions?? > > Many thanks in advance > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 19:09:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 10:09:29 +1000 Subject: [AccessD] Opening form to display record or add new record References: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F0@bocnte2k4.boc.chevrontexaco.net> Message-ID: <045a01c32bbf$e5fd3370$3c619a89@DDICK> small dB sent offline Darren ----- Original Message ----- From: "Kaup, Chester A" To: Sent: Thursday, June 05, 2003 11:50 PM Subject: [AccessD] Opening form to display record or add new record I have a form with 2 list boxes to select a month and a year. Once selected another form opens and displays a record from a table based on the month and year selected. This form gets its data from the table by means of a query. This works fine if a record exists for the selected month and year. If the month and year selected does not exist in the table I just get a blank form. Tried this as a macro condition but does not work [Forms]![frm Select Date]![selected_date]>[tbl Last Date in tbl_monthly_inputs]![Last Date] How do I get the form to open to allow a new record to be added to the underlying table. Thanks for the assistance. 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 DWUTKA at marlow.com Thu Jun 5 19:34:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 5 Jun 2003 19:34:13 -0500 Subject: [AccessD] How to control subforms loading order? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE2@main2.marlow.com> Ya, just set the subforms on the forms OnLoad or OnOpen events. Leave the subform control in place, but remove what form it's loads. Then you can have it load in whatever order you want through code. Drew -----Original Message----- From: Philippe PONS [mailto:Philippe.Pons19 at wanadoo.fr] Sent: Thursday, June 05, 2003 10:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 5 19:38:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 5 Jun 2003 19:38:14 -0500 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE3@main2.marlow.com> I was able to create a drag and drop process with TreeViews....in VB. Worked great....no clue what tricks I used, I do remember that when you dragged a file from windows explorer, into the user's file treeview (It was a treeview that showed folders and files of a 'remote' machine (no shares)), that the dropped object was just a filename, not actually the file (of course now I would say 'duh!' to that, but back then I was baffled! Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 20:09:30 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 11:09:30 +1000 Subject: [AccessD] Record Locking Strategy or Error Trapping In-Reply-To: <940294029.20030605191558@cactus.dk> Message-ID: <004601c32bc8$4b523c40$0c05a8c0@earth.local> Gustav, Good idea I'll give that a go... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 6 June 2003 3:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Record Locking Strategy or Error Trapping Hi Vlad You could create a new confirmation table with a one-to-one relation to tblOrderHeader and with one field only: the foreign key to the ID of tblOrderHeader. When the schedulers despatch the order add a record with the order key to the confirmation table. To select confirmed orders, use a query with an inner join to the confirmation table. To select non-confirmed orders, use a query with an outer join to the confirmation table where the ID of this is Null. The field Scheduled may be removed from tblOrderHeader. /gustav > We have developed an app for a client that was to be used for only 3-4 > people. Now it's up to 14 and growing. The client does not want to > migrate to SQL so we need to come up with a viable solution using the > tools we have available Access XP on a Citrix Network. > The app is pretty simple, call centre operators at one end of the > building take orders input the information through unbound > forms...(Hmmm, lets not get into that discussion) and the > Schedulers/Dispatchers at the other end, once again Unbound Forms. > Our problem is that the BE keeps getting corrupted and I have a > sneaking suspicion it's to do with concurrent writes to > tblOrderHeader, but can't figure out how to trap this. The reason I > say tblOrderHeader is because it's the only table both Call Centre and > Schedulers would write to. Basically, the Call Centre staff create > orders with the field "Sheduled" defaulted to N and when the > schedulers despatch the order this field is updated to Y. Obviously, > this can occur simultaneously. > My question is how best to handle this situation or to trap the error > when another user is writing to the table and prompt them to try again > shortly. I have read extensive info on the MSDN site regarding record > locking strategies and the database is currently set to "No Locks" > which is basically Optimistic Locking (Tools|Options|Advanced). What > impact does it have if I change this to Edited Record or All Records. > Is there a performance hit or gain and what additional headaches does > it create? Will it all solve my problem? Should I change the Update > Retires to 10? Or is there another alternative? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 5 09:03:25 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:03:25 -0700 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: You may have to try a full web type service. A local intranet solution will be plenty fast and reliable. ColdFusion, from macromedia is a great product for this type of environment as it uses a number of data storage methods to improve performance.... the more RAM the better, on the server. A couple of GBs and you can easily service 50 active connection. The product fully integrates with the rest of the Macromedia suite; Dreamweaver MX. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, June 05, 2003 3:14 AM To: 'accessd at databaseadvisors.com'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) Dear all Due to difficulties with locking and corruption running Access databases on Terminal Server, and problems with co-ordinating maintenance, we have decided to upsize all tables from our Access databases that are used to share data between different applications onto SQL Server. Loss of support for hyperlinks is causing users a good deal of distress - we store a lot of links to useful resources and also track pages on our intranet using a database. I can't find anything on MSDN offering any workarounds for this. Can anybody help? Should I just go back to storing everything in Access & SQL Server be d at mned?? TIA Roz PS we are using SQL 7, I gather that SQL 2000 doesn't support hyperlinks either but we would go over to it if it did. :( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 5 09:13:27 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:13:27 -0700 Subject: [AccessD] Website In-Reply-To: Message-ID: Hi John: There is 'stats' url attached to the openning page and it has had a problem, once. I hoped it had gone away but the hosts of this connection are again having some issues; it would appear. It is working fine now. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 05, 2003 6:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Website For some reason it took a long time to load - 20 seconds or so. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 accessd at shaw.ca Thu Jun 5 09:23:30 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:23:30 -0700 Subject: [AccessD] Website In-Reply-To: Message-ID: Hi Mark: As previously mentioned, I have been have some hosting issues with a remote stats provider. They are having problems on their site. Clean up your browser by forcing a refresh and delete your 'off-line' files. Some of the new components (CSS and java-script) are not compatible with the older DBA site versions. Jim PS If it is still coming up with errors, expand and record the error and please sent it to me. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Thursday, June 05, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Website The Gazette is looks outstanding and very professional, yet, like AccessD, maintains a strong feeling of community. Very well done! Mark P.S. If you are tracking anomalies, the page obviously did load, but with errors. I am running IE 6.0 SP1, on Win2K Pro SP 2. Line: 2 Char: 1 Error: Syntax error Code: 0 URL: http://www.databaseadvisors.com Line: 205 Char: 9 Error: Object expected Code: 0 URL: http://www.databaseadvisors.com -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 accessd at shaw.ca Thu Jun 5 09:33:32 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:33:32 -0700 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: <001f01c32b72$8d7d4890$0c05a8c0@earth.local> Message-ID: MessageHi Vlad: I have a little piece of code that is stored with all my applications. When set it writes a specific result string into memory. If there are some issue the code can be pasted into a Access query or SQL SP and tested there. It makes it a lot easier to resolve tricky string problems. I could send it all offline. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From pcs at azizaz.com Thu Jun 5 21:11:09 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Fri, 6 Jun 2003 12:11:09 +1000 Subject: [AccessD] A2K: HT Set Focus...nowhere? References: <165040-22003645181714743@christopherhawkins.com> Message-ID: <048201c32bd0$e628a080$be0e90cb@prosys.local> I'm in the habit of creating a text control called txtFocus, set TabStop to No, Locked to Yes, size it 0,0,0,0, and on the Form's open event set focus on txtFocus. In this way you will prevent the User from being able to tab on to this control again, wondering 'where did the cursor go?' Regards Borge ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, June 06, 2003 4:17 AM Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? > We have a winner! Thanks. > > -Christopher- > > ---- Original Message ---- > From: BBarabash at tappeconstruction.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? > Date: Thu, 5 Jun 2003 13:10:23 -0500 > > >Best way to do it: > >Create a command button and set it's transparent property to True, > >and make > >it the first control in tab order. > > > > > >-----Original Message----- > >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > >Sent: Thursday, June 05, 2003 1:49 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] A2K: HT Set Focus...nowhere? > > > > > >This is driving me nuts. > > > >For various reasons, I need a form to open with the focus set to no > >control. The controls must all have a Tab Order, but none can have > >the focus when the form opens. > > > >Heeeeeeeeeeeeeeeeeeeelp. > > > >-Christopher- > > > > > >--------------------------------------------------------------------- > >----------------------------------------------- > >This email and any files transmitted with it are confidential and > >intended solely for the use of the individual or entity to whom > >they are addressed. > >If you have received this email in error please notify the > >originator of the message. This footer also confirms that this > >email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual > >sender, except where the sender specifies and with authority, > >states them to be the views of Tappe Construction Co. > > > >Scanning of this message and addition of this footer is performed > >by SurfControl E-mail Filter software in conjunction with > >virus detection software. > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From askolits at ot.com Thu Jun 5 22:20:01 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 23:20:01 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connectionFails? In-Reply-To: Message-ID: Thanks Charlotte. I figured it out. It was the MDAC that fixed it. Thanks, John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 05, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO function problem. Set Cnn=CurrentProject.connectionFails? Someone reported the same problem in Woody's Lounge (www.wopr.com) and I don't recall that we ever found the reason for it. I couldn't recreate it on my machines. Do you have all the Jet service packs as well as O2k service releases installed? Charlotte Foust -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, June 05, 2003 9:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 22:28:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 13:28:20 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <000201c32bdb$b0326230$0c05a8c0@earth.local> Jim, That would be great, I would really appreciate that... If you could send it to actebs at actebs.com.au Thanks again Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, 6 June 2003 12:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax Hi Vlad: I have a little piece of code that is stored with all my applications. When set it writes a specific result string into memory. If there are some issue the code can be pasted into a Access query or SQL SP and tested there. It makes it a lot easier to resolve tricky string problems. I could send it all offline. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff at OUTBAKTech.com Thu Jun 5 23:21:08 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Thu, 5 Jun 2003 23:21:08 -0500 Subject: [AccessD] Custom Menus in Access 97 Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091EE@outbaksrv1.outbaktech.com> Does anyone know how to add a 'send to Email' (Outlook 97) to a custom menu? I know I have done something similar before, but I just cannot seem to remember how I did it. Any help is greatly appreciated. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 00:22:05 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 15:22:05 +1000 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Jun 6 00:32:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 6 Jun 2003 00:32:56 -0500 Subject: [AccessD] Custom Menus in Access 97 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE6@main2.marlow.com> If you go into Customize, you can add it from the list of known commands (it should be under the File Menu). Drew -----Original Message----- From: Jeff Barrows [mailto:Jeff at outbaktech.com] Sent: Thursday, June 05, 2003 11:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Custom Menus in Access 97 Does anyone know how to add a 'send to Email' (Outlook 97) to a custom menu? I know I have done something similar before, but I just cannot seem to remember how I did it. Any help is greatly appreciated. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Jun 6 00:32:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 05 Jun 2003 22:32:32 -0700 Subject: [AccessD] A2K: Drag and Drop with Access References: <133980-22003645154224311@christopherhawkins.com> Message-ID: <3EE02770.3000800@shaw.ca> One other method to consider. The latest version of Sharepoint has user controls that you can drag and drop. They are called Web Parts. Web Parts are ASP.NET Web server controls that run within a specialized SharePoint Web Form. These can be dragged onto the form by the user. Second, if you have Office XP, then you can use Word and Excel to save documents as web parts. This is another non-developer way to "build web parts". Go into Word 2002 (XP version), make your document, import the graphics and make it how you want. Then go to File->Save As Web Page, navigate to the dashboard and publish to the page. It makes a web part for you and even asks you where you want to put it. some integration web parts available at http://www.microsoft.com/sharepoint/server/downloads/webparts Christopher Hawkins wrote: >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping >the person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop in an Access 2000 app, but I never got to look at the >code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > > > >>Where are you going with this? What purpose is being served by the >>drag >>and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bbruen at bigpond.com Fri Jun 6 00:54:37 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 6 Jun 2003 15:54:37 +1000 Subject: [AccessD] Website In-Reply-To: Message-ID: <002001c32bf0$1e0b0550$a400a8c0@bbb888> NO ARCHIVE WOOWEE! I'm famous - well at least for asking dumb question number 2. Thanks Jim for the anonymity! Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, June 05, 2003 5:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Website . Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Fri Jun 6 01:21:40 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 6 Jun 2003 02:21:40 -0400 Subject: [AccessD] Where does WithEvents go? Message-ID: <000001c32bf3$e4af5910$6256fea9@ELIOT> I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 6 02:13:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 09:13:26 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <139130-22003645193726179@christopherhawkins.com> References: <139130-22003645193726179@christopherhawkins.com> Message-ID: <66031562.20030606091326@cactus.dk> Hi Christopher Okay, then drop that part of the code - no reason to drop the tables, that's just waste of time. /gustav > I can't use RefreshLink because the table links have been dropped > before the re-link is being made. So, there are not tables to > refresh. From accessd at shaw.ca Fri Jun 6 02:54:37 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 06 Jun 2003 00:54:37 -0700 Subject: [AccessD] Website In-Reply-To: <002001c32bf0$1e0b0550$a400a8c0@bbb888> Message-ID: NO ARCHIVE: Hi Bruce: The question you asked is not a dumb question. I am sure everyone has made the same mistake once or so; not remembering whether they are working with strings or objects when they are just enjoying their first exposure to a property or class. A few hours of pound the head against the wall has a tradition of leaving an impact that few will soon forget. Nothing like trial by fire. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Thursday, June 05, 2003 10:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Website NO ARCHIVE WOOWEE! I'm famous - well at least for asking dumb question number 2. Thanks Jim for the anonymity! Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, June 05, 2003 5:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Website . Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 shamil at smsconsulting.spb.ru Fri Jun 6 03:55:25 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 12:55:25 +0400 Subject: [AccessD] Where does WithEvents go? References: <000001c32bf3$e4af5910$6256fea9@ELIOT> Message-ID: <001801c32c09$638da1a0$b501010a@DAISY.local> Bob, You can set your class module's Instancing property to '2-PublicNotCreatable' then you can continue to use it the way you used it without library - you will just need to get its instance by your wrapped/helper function GetclsInventory... HTH, Shamil ----- Original Message ----- From: Bob Bedell To: accessD at databaseadvisors.com Sent: Friday, June 06, 2003 10:21 AM Subject: [AccessD] Where does WithEvents go? I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinanfields at torchlake.com Fri Jun 6 06:21:21 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 06 Jun 2003 07:21:21 -0400 Subject: [AccessD] No Exclusive Access to Make Changes References: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Message-ID: <3EE07931.6020509@torchlake.com> Hi Vlad, We saw something like this at our college, using A2K on our network. If a student created a database and stored it in his network folder, the next time he opened that database he would not have exclusive rights to it - he might be completely unable to make changes, or he might get the message you got that his changes might not get saved. If the student used the Open button in the Open Database dialog box, and selected Open Exclusive, the problem went away. The students got very frustrated with this because they were accustomed to just double-clicking open their databases. This problem has not continued since we switched to AXP. FWIW, Tina ACTEBS wrote: > Hi People, > > I am mucking around with a totally unbound FE (AXP) app and have > started to get this error when I try to go into the design of any form: > > "You do not have exclusive access to the database at this time. If you > proceed to make changes, you may not be able to save them later" > > If I close the database and re-open it hold the Shift Key to display > the DB window - No Problems all is OK. As soon as I run the app and > then go to make some design changes the above dialogue box appears. > > Have I not closed a recordset or what is going on here. Anybody had > this happen and figured out the problem... > > Thanks in advance > > Vlad > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From selina at easydatabases.com.au Fri Jun 6 05:07:36 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 6 Jun 2003 20:07:36 +1000 Subject: [AccessD] No Exclusive Access to Make Changes References: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Message-ID: <00e801c32c13$7558a3d0$6465000a@venus> MessageWhen you run the app, are you then opening the db again to look at the design. As soon as it is open once, any further instances of the same file being opened will give this message. HTH Selina ----- Original Message ----- From: ACTEBS To: access group Sent: Friday, June 06, 2003 3:22 PM Subject: [AccessD] No Exclusive Access to Make Changes Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 6 06:41:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 13:41:29 +0200 Subject: [AccessD] relations in which database In-Reply-To: References: Message-ID: <18122114589.20030606134129@cactus.dk> Hi Charlotte > By a "temporary relationship", I meant the joins you create in queries, > not saved relationships. I see. But temporary? They are still there when I open a saved query in the GUI designer ... /gustav From subs at solution-providers.ie Fri Jun 6 05:19:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 6 Jun 2003 11:19:00 +0100 Subject: [AccessD] Fast back-end relinking? References: <62100-2200364519658984@christopherhawkins.com> Message-ID: <000601c32c22$81b467e0$6a1118ac@D8TZHN0J> Hello Christopher, Are you using Win2K or Xp at all in the loop. I have an issue recently with Access, on an NT box it performed perfectly with a BE, but when I moved it onto W2K, it slowed right down. I found the issue on the knowledge base and it is acknowledged by MS, however they do not offer a patch. This only solution they hint at is to programaticaly open the remote db and access the tables directly rather than using linked tables at all. I though that was not a very satisfactory solution and I had no idea how long it would take to change the entire app. What I did was to import the BE tables back into the FE and once I no longer had to talk to a BE, I was OK, If this is not your case, sorry, Mark ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 05, 2003 8:06 PM Subject: [AccessD] Fast back-end relinking? > First off: I have seen (and used) Tribble's Back-End relinker > before. That's not what I need in this case. > > I have inherited an app with some back-end relinking code that is > very slow. I've seen programmatic implementations of a table link > that linked up very quickly, as quickly as using File > Get External > Data > Link Tables. The one I'm dealing with takes many times as > long. > > There is a table in my db called tblTable. It contains the name and > path of every table in the database. The table is used in the > following code: > > ***START*** > > Dim db As DAO.Database > Dim tbl As DAO.TableDef > Set db = CurrentDb > Dim rsData As DAO.Recordset > > > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > > rsData.MoveFirst > > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > > db.Close > > ***END*** > > All the lag takes place when running the 'db.TableDefs.append tbl' > line. > > Is there any way to speed this process up? I've seen it done more > quickly before, I just didn't get to see the actual code. :( > > -Christopher- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Fri Jun 6 05:21:16 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 6 Jun 2003 11:21:16 +0100 Subject: [AccessD] Where is Charles gone? - OT References: Message-ID: <000701c32c22$82117c00$6a1118ac@D8TZHN0J> Hello All, I have not seen any emails from Charles A. Wolfe in the last year or so, does anyone have any contact details for him? I sent him an email about two weeks ago but got no response, it may be retired by now. Thanks Mark From BarbaraRyan at cox.net Fri Jun 6 07:30:27 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 6 Jun 2003 08:30:27 -0400 Subject: [AccessD] Hyperlink and click event Message-ID: <001401c32c27$697aad60$a2c50a44@hr.cox.net> I am trying to intercept an error ("...specified file not found...") when clicking on a hyperlink control in an Access 97 form. My error handling code is in the control's CLICK event, but the error is apparently occuring sometime after the CLICK event. Where should I put my error handling routine? The hyperlink control is bound to a hyperlink field in a table. I deleted the file that the hyperlink points to force this error so I could use a more descriptive error message. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 07:30:04 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 22:30:04 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: <00e801c32c13$7558a3d0$6465000a@venus> Message-ID: <005301c32c27$5e2efbf0$0c05a8c0@earth.local> Selina, No there's only one instance of the app... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Selina Iddon Sent: Friday, 6 June 2003 8:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No Exclusive Access to Make Changes When you run the app, are you then opening the db again to look at the design. As soon as it is open once, any further instances of the same file being opened will give this message. HTH Selina ----- Original Message ----- From: ACTEBS To: access group Sent: Friday, June 06, 2003 3:22 PM Subject: [AccessD] No Exclusive Access to Make Changes Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 07:34:38 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 22:34:38 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: <3EE07931.6020509@torchlake.com> Message-ID: <005d01c32c28$01831e30$0c05a8c0@earth.local> Tina, I am running AXP and it just started to happen. I have developing on my machine for months with no issues and this just started. Do you think it may have something to do with Network Permissions or Machine User Permissions? I haven't made any changes there but it's something to look at I suppose... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, 6 June 2003 9:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No Exclusive Access to Make Changes Hi Vlad, We saw something like this at our college, using A2K on our network. If a student created a database and stored it in his network folder, the next time he opened that database he would not have exclusive rights to it - he might be completely unable to make changes, or he might get the message you got that his changes might not get saved. If the student used the Open button in the Open Database dialog box, and selected Open Exclusive, the problem went away. The students got very frustrated with this because they were accustomed to just double-clicking open their databases. This problem has not continued since we switched to AXP. FWIW, Tina ACTEBS wrote: Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Jun 6 07:37:58 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 07:37:58 -0500 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Jun 6 07:43:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 6 Jun 2003 08:43:46 -0400 Subject: [AccessD] Hyperlink and click event Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E2A@TTNEXCHSRV1.hshhp.com> Can you add code to check for the file in the click event before any other code runs and leave the event if it's not there (or show a message)? HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, June 06, 2003 8:30 AM To: Access List Subject: [AccessD] Hyperlink and click event I am trying to intercept an error ("...specified file not found...") when clicking on a hyperlink control in an Access 97 form. My error handling code is in the control's CLICK event, but the error is apparently occuring sometime after the CLICK event. Where should I put my error handling routine? The hyperlink control is bound to a hyperlink field in a table. I deleted the file that the hyperlink points to force this error so I could use a more descriptive error message. Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From PBudge at cbsol.com Fri Jun 6 07:51:57 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Fri, 6 Jun 2003 07:51:57 -0500 Subject: [AccessD] OT Friday humour Message-ID: http://www.solucepc.com/cats.wmv Pamela G. Budge PBudge at cbsol.com Creative Business Solutions From jcolby at colbyconsulting.com Fri Jun 6 07:56:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 08:56:25 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <000001c32bf3$e4af5910$6256fea9@ELIOT> Message-ID: Bob, Classes built directly in a library database are not visible outside of the library in VBA. No Se Por Que. I guess that since Microsoft considers VBA developers to be children, giving us such powers is considered dangerous - kinda like playing with knives or matches I suppose. At any rate, it absolutely is possible to get your classes exposed such that they can be seen and used outside of the library. The easiest way to do this is to: 1) Export the class to a text file. 2) Open the class module with a text editor 3) Look for two attributes at the top of the module. Change Creatable and Exposed to True. 4) Save the class and close the text file. 5) In your library, click Insert / Class module 6) In the editor window that opens, click Insert / File. Navigate to and select the txt file that you saved the class in. This will cause Access to pull in the contents of whatever file you selected and insert it in your class. In this case it is the contents of the modified class. 7) At the top of the class you will see something like: Option Compare Database Option Explicit VERSION 1.0 CLASS BEGIN MultiUse = -1 'True End Option Compare Database Option Explicit Select and delete everything from the first Option down through the End. 8) Compile and save the class The class will now be visible from any database that references your library. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Friday, June 06, 2003 2:22 AM To: accessD at databaseadvisors.com Subject: [AccessD] Where does WithEvents go? I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Jun 6 07:59:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 08:59:53 -0400 Subject: [AccessD] OT Friday humour In-Reply-To: Message-ID: ROTFLMAOBTC!!! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of PBudge at cbsol.com Sent: Friday, June 06, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday humour http://www.solucepc.com/cats.wmv Pamela G. Budge PBudge at cbsol.com Creative Business Solutions _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Fri Jun 6 08:13:31 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 13:13:31 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Hi Shamil, Thanks for the thought. My Instancing property is, unfortunately, already set to PublicNotCreatable. My calling database can see and call an instance of GetclsInventory fine. The wrapper function returns an object with ten fingers and toes. All properties and methods, except the custom event, work fine. Here's the wrapper again (just for the sake of pointing out one thing): Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function It seems that in order for GetclsInventory to be able to raise a custom event, the Dim line here would have to read: Dim WithEvents objInventory As clsInventory That, I assume, is where WithEvents would need to go: with the object declaration. But I can't do that here because I have the wrapper in a standard code module, and with events can only be used in form and class modules. So my options seem to be (none of which I have been able to make work) to declare objInventory in either my calling form class somehow (can't come up with a visible global variable), or in another class module in the library or calling database, or in the clsInventory class itself. I was just hoping someone would say, "Oh sure, wrapper function, goes in class w in component x. Call it with y in component z.", or "Sorry, can't raise custom events from an Access library database.", etc. >From what little I've been able to read on the subject (I found a whole paragraph in one of Wrox's Access books), the wrapper should go in a standard module in the library database. That, however, rules out the use of custom events with WithEvents). I think the Access Developer's Handbook has a sentence or several on this too. Compiling an ActiveX dll is always another option. But I wanted to give the Access library a test drive. Thanks again for the reply. Bob >From: "Shamil Salakhetdinov" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 12:55:25 +0400 > >Bob, > >You can set your class module's Instancing property to >'2-PublicNotCreatable' then you can continue to use it the way you used it >without library - you will just need to get its instance by your >wrapped/helper function GetclsInventory... > >HTH, >Shamil > >----- Original Message ----- > From: Bob Bedell > To: accessD at databaseadvisors.com > Sent: Friday, June 06, 2003 10:21 AM > Subject: [AccessD] Where does WithEvents go? > > > I hope I can make this intelligible. Info on this issue seems a bit >sparse. I have a custom class and a form that work fine together. The class >declares a custom event using Public Event syntax in the general >declaration and Raise syntax in a method. The calling class (the form) >declares a private instance of the class using WithEvents and instantiates >it. No problems. > > > > Now I'm trying to import the class into a library (mda.) and set a >reference to it in the database that contains the calling form. It's my >understanding that my calling application can't instantiate the class >directly, and needs to use a wrapper function. So I added a standard module >to the calling application that calls a function in the library database >which returns a copy of the object. The calling database then has a public, >shared copy of the object to work with. The standard module in the calling >database is: > > > > Public g_oInventory As clsInventory > > > > Public Sub Startup() > > ' Get handles to shared objects > > Set g_objInventory = GetclsInventory > > > > DoCmd.OpenForm "frmInventory" > > End Sub > > > > The standard module in the library database (where the class is located) >is: > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > Here's my problem. Using the library scenario, I can't find any place to >put my WithEvents statement. The old declaration (before seperating the >class and the form) was in the forms general declaration: > > > > Private WithEvents m_objProduct As clsInventory > > > > But now (library scenario) the declaration needs to be global, needs to >include WithEvents, and needs to be in a class or form module (WithEvents >won't work in a standard module). > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >Real limited experience with classes/libraries stuff. Thanks to anyone who >can make heads or tails of that. > > > > Bob > > > > > >------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From bobbedell15 at msn.com Fri Jun 6 09:01:56 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 14:01:56 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Outstanding! Phenonmenal! This is great! Think of the endless possibilities! Oh, it worked... That's great John. clsInventory is now "creatably" exposed to my event sink app, with custom events firing and all. Thanks for adding several productive years to my life. Bob >From: "John Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 08:56:25 -0400 > >Bob, > >Classes built directly in a library database are not visible outside of the >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA >developers to be children, giving us such powers is considered dangerous - >kinda like playing with knives or matches I suppose. At any rate, it >absolutely is possible to get your classes exposed such that they can be >seen and used outside of the library. > >The easiest way to do this is to: > >1) Export the class to a text file. >2) Open the class module with a text editor >3) Look for two attributes at the top of the module. Change Creatable and >Exposed to True. >4) Save the class and close the text file. >5) In your library, click Insert / Class module >6) In the editor window that opens, click Insert / File. Navigate to and >select the txt file that you saved the class in. This will cause Access to >pull in the contents of whatever file you selected and insert it in your >class. In this case it is the contents of the modified class. >7) At the top of the class you will see something like: > >Option Compare Database >Option Explicit > >VERSION 1.0 CLASS >BEGIN > MultiUse = -1 'True >End >Option Compare Database >Option Explicit > >Select and delete everything from the first Option down through the End. > >8) Compile and save the class > >The class will now be visible from any database that references your >library. >John W. Colby >www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 2:22 AM > To: accessD at databaseadvisors.com > Subject: [AccessD] Where does WithEvents go? > > > I hope I can make this intelligible. Info on this issue seems a bit >sparse. I have a custom class and a form that work fine together. The class >declares a custom event using Public Event syntax in the general >declaration >and Raise syntax in a method. The calling class (the form) declares a >private instance of the class using WithEvents and instantiates it. No >problems. > > > > Now I'm trying to import the class into a library (mda.) and set a >reference to it in the database that contains the calling form. It's my >understanding that my calling application can't instantiate the class >directly, and needs to use a wrapper function. So I added a standard module >to the calling application that calls a function in the library database >which returns a copy of the object. The calling database then has a public, >shared copy of the object to work with. The standard module in the calling >database is: > > > > Public g_oInventory As clsInventory > > > > Public Sub Startup() > > ' Get handles to shared objects > > Set g_objInventory = GetclsInventory > > > > DoCmd.OpenForm "frmInventory" > > End Sub > > > > The standard module in the library database (where the class is located) >is: > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > Here's my problem. Using the library scenario, I can't find any place to >put my WithEvents statement. The old declaration (before seperating the >class and the form) was in the forms general declaration: > > > > Private WithEvents m_objProduct As clsInventory > > > > But now (library scenario) the declaration needs to be global, needs to >include WithEvents, and needs to be in a class or form module (WithEvents >won't work in a standard module). > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >Real limited experience with classes/libraries stuff. Thanks to anyone who >can make heads or tails of that. > > > > Bob > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jim.hale at fleetpride.com Fri Jun 6 09:08:17 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 09:08:17 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: <869379ABF177D4118D3100508B5EF873063AAF9B@corp-es00> How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Jun 6 09:13:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 10:13:08 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: Message-ID: LOL. I think the man is happy! You're welcome! Just as an aside, I now routinely go through this process so that each and every class is exposed. BTW, I learned about this from using an FTP class from Dev Ashish and Terry Kreft. It came in a lib, and worked just fine. I tried to move it into my framework lib and it no longer worked. Of course I had simply imported it. The process of importing a class apparently resets those two attributes back to False (Thanks Microsoft for protecting us children). It took several days of research and asking (this list I believe, Shamil provided the answer IIRC) to get the solution I passed on to you. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Friday, June 06, 2003 10:02 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where does WithEvents go? Outstanding! Phenonmenal! This is great! Think of the endless possibilities! Oh, it worked... That's great John. clsInventory is now "creatably" exposed to my event sink app, with custom events firing and all. Thanks for adding several productive years to my life. Bob >From: "John Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 08:56:25 -0400 > >Bob, > >Classes built directly in a library database are not visible outside of the >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA >developers to be children, giving us such powers is considered dangerous - >kinda like playing with knives or matches I suppose. At any rate, it >absolutely is possible to get your classes exposed such that they can be >seen and used outside of the library. > >The easiest way to do this is to: > >1) Export the class to a text file. >2) Open the class module with a text editor >3) Look for two attributes at the top of the module. Change Creatable and >Exposed to True. >4) Save the class and close the text file. >5) In your library, click Insert / Class module >6) In the editor window that opens, click Insert / File. Navigate to and >select the txt file that you saved the class in. This will cause Access to >pull in the contents of whatever file you selected and insert it in your >class. In this case it is the contents of the modified class. >7) At the top of the class you will see something like: > >Option Compare Database >Option Explicit > >VERSION 1.0 CLASS >BEGIN > MultiUse = -1 'True >End >Option Compare Database >Option Explicit > >Select and delete everything from the first Option down through the End. > >8) Compile and save the class > >The class will now be visible from any database that references your >library. >John W. Colby >www.colbyconsulting.com > From actebs at actebs.com.au Fri Jun 6 09:13:44 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 00:13:44 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: Message-ID: <001f01c32c35$d9c3ea10$0c05a8c0@earth.local> Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Jun 6 09:43:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 09:43:38 -0500 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: Vlad, Check to see if the .ldb file still exists. You probably did an abnormal exit for the app at that time and left the .ldb open. Whenever you use the Task Manager to kill the app, it leaves the .ldb open. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 09:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad From cfoust at infostatsystems.com Fri Jun 6 09:49:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 07:49:27 -0700 Subject: [AccessD] Fast back-end relinking? Message-ID: For each table, open it in design view, select its properties and set the Subdatasheet Name property to [None]. There is code in on-line help to loop through the database and turn off all subdatasheets and code has been posted here before and is in the archives. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 6:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Fast back-end relinking? How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 6 09:55:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 07:55:26 -0700 Subject: [AccessD] relations in which database Message-ID: Picky! They are in the query but the relationship is not saved as a relationship, only as a join in the SQL of the query. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, June 06, 2003 3:41 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Charlotte > By a "temporary relationship", I meant the joins you create in > queries, not saved relationships. I see. But temporary? They are still there when I open a saved query in the GUI designer ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Fri Jun 6 07:26:30 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri, 06 Jun 2003 07:26:30 -0500 Subject: [AccessD] AXP Question Message-ID: I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From clh at christopherhawkins.com Fri Jun 6 10:02:11 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 09:02:11 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <265000-2200365615211597@christopherhawkins.com> The table links are being dropped as part of a regular maintenance routine - drop the tables, compact and repair the database, reattach the tables. -C- ---- Original Message ---- From: gustav at cactus.dk To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Fri, 6 Jun 2003 09:13:26 +0200 >Hi Christopher > >Okay, then drop that part of the code - no reason to drop the tables, >that's just waste of time. > >/gustav > >> I can't use RefreshLink because the table links have been dropped >> before the re-link is being made. So, there are not tables to >> refresh. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Jun 6 10:04:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 08:04:27 -0700 Subject: [AccessD] AXP Question Message-ID: Nothing is going to do it. This was a change that occurred in A2000 and it is a good one. When you can make design changes while a database is in use, anyone else who has the app open can overwrite your changes if they save last. This way, that doesn't happen. You may not have run into problems (or you may not have noticed them), but I definitely did in A97 when someone had a copy open without my knowledge. I did a bunch of work and saved the changes and the next day they were gone! Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday, June 06, 2003 4:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 10:06:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 11:06:36 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: Terri, Sharing an FE is a BAD idea to begin with. Just break down and do the "Local FE" thing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 8:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jun 6 10:11:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 17:11:50 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <265000-2200365615211597@christopherhawkins.com> References: <265000-2200365615211597@christopherhawkins.com> Message-ID: <8134735547.20030606171150@cactus.dk> Hi Christopher > The table links are being dropped as part of a regular maintenance > routine - drop the tables, compact and repair the database, reattach > the tables. You don't need to drop the tables to compact the BE but no connections are allowed ... However, you told it is an inherited app so I guess there are limits for how much reprogramming you are prepared to offer. /gustav > ---- Original Message ---- > From: gustav at cactus.dk > To: accessd at databaseadvisors.com, > Subject: Re: [AccessD] Fast back-end relinking? > Date: Fri, 6 Jun 2003 09:13:26 +0200 >>Hi Christopher >> >>Okay, then drop that part of the code - no reason to drop the tables, >>that's just waste of time. >> >>/gustav >> >>> I can't use RefreshLink because the table links have been dropped >>> before the re-link is being made. So, there are not tables to >>> refresh. From JRojas at tnco-inc.com Fri Jun 6 10:13:12 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 6 Jun 2003 11:13:12 -0400 Subject: [AccessD] Calendar control with events Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B14@mercury.tnco-inc.com> Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From bobbedell15 at msn.com Fri Jun 6 10:17:59 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 15:17:59 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: >I guess that since Microsoft considers VBA developers to be children, >giving us such powers is >considered dangerous - This really is kinda' bizarre when you think about it. All Microsoft would need to do is add one more item to the Instancing Enum: 3- PublicCreatable. Then - 1 - Private: Attribute VB_Exposed = False, Attribute VB_Creatable = False 2 - PublicNotCreatable: Attribute VB_Exposed = True, Attribute VB_Creatable = False 3 - PublicCreateable: Attribute VB_Exposed = True, Attribute VB_Creatable = True What we need is 3, and that's the one setting they don't provide. I wonder what the point of 2 is anyway: why expose a class and then prevent anyone from instantiating objects from it? Go figure. Access 11? >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 06 Jun 2003 14:01:56 +0000 > >Outstanding! Phenonmenal! This is great! Think of the endless >possibilities! > >Oh, it worked... > >That's great John. clsInventory is now "creatably" exposed to my event sink >app, with custom events firing and all. Thanks for adding several >productive years to my life. > >Bob > > >>From: "John Colby" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Where does WithEvents go? >>Date: Fri, 6 Jun 2003 08:56:25 -0400 >> >>Bob, >> >>Classes built directly in a library database are not visible outside of >>the >>library in VBA. No Se Por Que. I guess that since Microsoft considers >>VBA >>developers to be children, giving us such powers is considered dangerous - >>kinda like playing with knives or matches I suppose. At any rate, it >>absolutely is possible to get your classes exposed such that they can be >>seen and used outside of the library. >> >>The easiest way to do this is to: >> >>1) Export the class to a text file. >>2) Open the class module with a text editor >>3) Look for two attributes at the top of the module. Change Creatable and >>Exposed to True. >>4) Save the class and close the text file. >>5) In your library, click Insert / Class module >>6) In the editor window that opens, click Insert / File. Navigate to and >>select the txt file that you saved the class in. This will cause Access >>to >>pull in the contents of whatever file you selected and insert it in your >>class. In this case it is the contents of the modified class. >>7) At the top of the class you will see something like: >> >>Option Compare Database >>Option Explicit >> >>VERSION 1.0 CLASS >>BEGIN >> MultiUse = -1 'True >>End >>Option Compare Database >>Option Explicit >> >>Select and delete everything from the first Option down through the End. >> >>8) Compile and save the class >> >>The class will now be visible from any database that references your >>library. >>John W. Colby >>www.colbyconsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell >> Sent: Friday, June 06, 2003 2:22 AM >> To: accessD at databaseadvisors.com >> Subject: [AccessD] Where does WithEvents go? >> >> >> I hope I can make this intelligible. Info on this issue seems a bit >>sparse. I have a custom class and a form that work fine together. The >>class >>declares a custom event using Public Event syntax in the general >>declaration >>and Raise syntax in a method. The calling class (the form) declares a >>private instance of the class using WithEvents and instantiates it. No >>problems. >> >> >> >> Now I'm trying to import the class into a library (mda.) and set a >>reference to it in the database that contains the calling form. It's my >>understanding that my calling application can't instantiate the class >>directly, and needs to use a wrapper function. So I added a standard >>module >>to the calling application that calls a function in the library database >>which returns a copy of the object. The calling database then has a >>public, >>shared copy of the object to work with. The standard module in the calling >>database is: >> >> >> >> Public g_oInventory As clsInventory >> >> >> >> Public Sub Startup() >> >> ' Get handles to shared objects >> >> Set g_objInventory = GetclsInventory >> >> >> >> DoCmd.OpenForm "frmInventory" >> >> End Sub >> >> >> >> The standard module in the library database (where the class is >>located) >>is: >> >> >> >> Public Function GetclsInventory() >> >> Dim objInventory As clsInventory >> >> Set GetclsInventory = New clsInventory >> >> End Function >> >> >> >> Here's my problem. Using the library scenario, I can't find any place >>to >>put my WithEvents statement. The old declaration (before seperating the >>class and the form) was in the forms general declaration: >> >> >> >> Private WithEvents m_objProduct As clsInventory >> >> >> >> But now (library scenario) the declaration needs to be global, needs >>to >>include WithEvents, and needs to be in a class or form module (WithEvents >>won't work in a standard module). >> >> >> >> Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >>Real limited experience with classes/libraries stuff. Thanks to anyone who >>can make heads or tails of that. >> >> >> >> Bob >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From actebs at actebs.com.au Fri Jun 6 10:20:49 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 01:20:49 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: Message-ID: <003301c32c3f$38be8e40$0c05a8c0@earth.local> Charles, Yep, already checked for that and it's not the case. That was one of the first things I tried. Funnily enough, it seems to be just starting to behave itself again. I haven't had the problem for about half an hour, yet it was doing it all day today - it's now about 1am here. Must be a time driven thing I suppose - be a pain in the A** during 6/6/03 - become a well behaved descent law abiding citizen on the 7/6/03...Hmmm, what do you think??? ; ) Thanks for all your help. If I come up with any further findings or discover the reason I'll be sure to post the solution... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Saturday, 7 June 2003 12:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Check to see if the .ldb file still exists. You probably did an abnormal exit for the app at that time and left the .ldb open. Whenever you use the Task Manager to kill the app, it leaves the .ldb open. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 09:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 6 10:24:23 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 01:24:23 +1000 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <003401c32c3f$b8b29920$0c05a8c0@earth.local> Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 6 10:27:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 6 Jun 2003 11:27:46 -0400 Subject: [AccessD] Where does WithEvents go? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E4C@TTNEXCHSRV1.hshhp.com> Public Not Creatable is a VB thing. I use it when I create a class that I'm going to implement via a custom collection class. I set the object class to PublicNotCreateable and the collection to PublicCreatable. This allows me to loop through a custom collection using this syntax: Dim CustomObject As cCustomObject 'can declare and return them but can't instantiate them Dim MyCustomObjectCollection As cCustomObjectCollection For each CustomObject In MyCustomObjectCollection 'do something here Next This as opposed to using a Variant to store CustomObject. This provides something similar to the strong typing you get in .NET. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Bedell [mailto:bobbedell15 at msn.com] Sent: Friday, June 06, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where does WithEvents go? >I guess that since Microsoft considers VBA developers to be children, >giving us such powers is >considered dangerous - This really is kinda' bizarre when you think about it. All Microsoft would need to do is add one more item to the Instancing Enum: 3- PublicCreatable. Then - 1 - Private: Attribute VB_Exposed = False, Attribute VB_Creatable = False 2 - PublicNotCreatable: Attribute VB_Exposed = True, Attribute VB_Creatable = False 3 - PublicCreateable: Attribute VB_Exposed = True, Attribute VB_Creatable = True What we need is 3, and that's the one setting they don't provide. I wonder what the point of 2 is anyway: why expose a class and then prevent anyone from instantiating objects from it? Go figure. Access 11? >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 06 Jun 2003 14:01:56 +0000 > >Outstanding! Phenonmenal! This is great! Think of the endless >possibilities! > >Oh, it worked... > >That's great John. clsInventory is now "creatably" exposed to my event sink >app, with custom events firing and all. Thanks for adding several >productive years to my life. > >Bob > > >>From: "John Colby" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Where does WithEvents go? >>Date: Fri, 6 Jun 2003 08:56:25 -0400 >> >>Bob, >> >>Classes built directly in a library database are not visible outside of >>the >>library in VBA. No Se Por Que. I guess that since Microsoft considers >>VBA >>developers to be children, giving us such powers is considered dangerous - >>kinda like playing with knives or matches I suppose. At any rate, it >>absolutely is possible to get your classes exposed such that they can be >>seen and used outside of the library. >> >>The easiest way to do this is to: >> >>1) Export the class to a text file. >>2) Open the class module with a text editor >>3) Look for two attributes at the top of the module. Change Creatable and >>Exposed to True. >>4) Save the class and close the text file. >>5) In your library, click Insert / Class module >>6) In the editor window that opens, click Insert / File. Navigate to and >>select the txt file that you saved the class in. This will cause Access >>to >>pull in the contents of whatever file you selected and insert it in your >>class. In this case it is the contents of the modified class. >>7) At the top of the class you will see something like: >> >>Option Compare Database >>Option Explicit >> >>VERSION 1.0 CLASS >>BEGIN >> MultiUse = -1 'True >>End >>Option Compare Database >>Option Explicit >> >>Select and delete everything from the first Option down through the End. >> >>8) Compile and save the class >> >>The class will now be visible from any database that references your >>library. >>John W. Colby >>www.colbyconsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell >> Sent: Friday, June 06, 2003 2:22 AM >> To: accessD at databaseadvisors.com >> Subject: [AccessD] Where does WithEvents go? >> >> >> I hope I can make this intelligible. Info on this issue seems a bit >>sparse. I have a custom class and a form that work fine together. The >>class >>declares a custom event using Public Event syntax in the general >>declaration >>and Raise syntax in a method. The calling class (the form) declares a >>private instance of the class using WithEvents and instantiates it. No >>problems. >> >> >> >> Now I'm trying to import the class into a library (mda.) and set a >>reference to it in the database that contains the calling form. It's my >>understanding that my calling application can't instantiate the class >>directly, and needs to use a wrapper function. So I added a standard >>module >>to the calling application that calls a function in the library database >>which returns a copy of the object. The calling database then has a >>public, >>shared copy of the object to work with. The standard module in the calling >>database is: >> >> >> >> Public g_oInventory As clsInventory >> >> >> >> Public Sub Startup() >> >> ' Get handles to shared objects >> >> Set g_objInventory = GetclsInventory >> >> >> >> DoCmd.OpenForm "frmInventory" >> >> End Sub >> >> >> >> The standard module in the library database (where the class is >>located) >>is: >> >> >> >> Public Function GetclsInventory() >> >> Dim objInventory As clsInventory >> >> Set GetclsInventory = New clsInventory >> >> End Function >> >> >> >> Here's my problem. Using the library scenario, I can't find any place >>to >>put my WithEvents statement. The old declaration (before seperating the >>class and the form) was in the forms general declaration: >> >> >> >> Private WithEvents m_objProduct As clsInventory >> >> >> >> But now (library scenario) the declaration needs to be global, needs >>to >>include WithEvents, and needs to be in a class or form module (WithEvents >>won't work in a standard module). >> >> >> >> Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >>Real limited experience with classes/libraries stuff. Thanks to anyone who >>can make heads or tails of that. >> >> >> >> Bob >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Fri Jun 6 10:31:52 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 10:31:52 -0500 Subject: [AccessD] AXP Question Message-ID: Terri, One of the good features of A2K and higher is that you no longer can make design changes while others are in the app. Some may disagree with this, but it has been a sound development practice since the dark ages of computing that M$ finally implemented. I always keep a copy of the current production FE on my PC and develop my changes on it. When I am ready I then replace the production copy with the new version. If the users go home at 5PM, then I do the replace after 5PM. If the users work 24/7, then I have to get them to sign off for the few minutes it takes to do the replace and then they can sign on again. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday 2003 Jun 06 07:27 To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jcolby at colbyconsulting.com Fri Jun 6 10:40:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 11:40:06 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: And I do the same thing except I have the users click a shortcut that pulls the FE down to their local machine. No FE sharing for me thank you! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, June 06, 2003 11:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, One of the good features of A2K and higher is that you no longer can make design changes while others are in the app. Some may disagree with this, but it has been a sound development practice since the dark ages of computing that M$ finally implemented. I always keep a copy of the current production FE on my PC and develop my changes on it. When I am ready I then replace the production copy with the new version. If the users go home at 5PM, then I do the replace after 5PM. If the users work 24/7, then I have to get them to sign off for the few minutes it takes to do the replace and then they can sign on again. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday 2003 Jun 06 07:27 To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Fri Jun 6 10:41:02 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri, 6 Jun 2003 10:41:02 -0500 Subject: [AccessD] Fast back-end relinking? In-Reply-To: Message-ID: <200306060841851.SM05964@LapRFV> Here is the code: Function TurnOffSubDataSheets() Dim MyDB As DAO.Database Dim MyProperty As DAO.Property Dim propName As String Dim propType As Integer Dim propVal As String Dim strS As String Set MyDB = CurrentDb propName = "SubDataSheetName" propType = 10 propVal = "[NONE]" On Error Resume Next For i = 0 To MyDB.TableDefs.Count - 1 If (MyDB.TableDefs(i).Attributes And dbSystemObject) = 0 Then If MyDB.TableDefs(i).Properties(propName).Value <> propVal Then MyDB.TableDefs(i).Properties(propName).Value = propVal intChangedTables = intChangedTables + 1 End If If Err.Number = 3270 Then Set MyProperty = MyDB.TableDefs(i).CreateProperty(propName) MyProperty.Type = propType MyProperty.Value = propVal MyDB.TableDefs(i).Properties.Append MyProperty Else If Err.Number <> 0 Then MsgBox "Error: " & Err.Number & " on Table " _ & MyDB.TableDefs(i).Name & "." MyDB.Close Exit Function End If End If End If Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 6 10:45:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 08:45:28 -0700 Subject: [AccessD] AXP Question Message-ID: Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Jun 6 10:49:51 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 6 Jun 2003 11:49:51 -0400 Subject: [AccessD] AXP Question Message-ID: <01C32C21.BDCFC900.bob@renaissancesiding.com> I have a local copy of the FE on my PC that I always use for development. Every time that I make changes that are ready to go to production, I copy my version to the server. Each remote PC does not call Access directly, but rather a batch file that copies the server version to the user's PC. This way, they always have the latest production version, and any changes they make are for themselves only. Of course, the sole BE resides on the server. Bob Gajewski On Friday, June 06, 2003 11:32 AM, Wortz, Charles [SMTP:CWortz at tea.state.tx.us] wrote: > Terri, > > One of the good features of A2K and higher is that you no longer can > make design changes while others are in the app. Some may disagree with > this, but it has been a sound development practice since the dark ages > of computing that M$ finally implemented > > I always keep a copy of the current production FE on my PC and develop > my changes on it. When I am ready I then replace the production copy > with the new version. If the users go home at 5PM, then I do the > replace after 5PM. If the users work 24/7, then I have to get them to > sign off for the few minutes it takes to do the replace and then they > can sign on again > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] > Sent: Friday 2003 Jun 06 07:27 > To: accessd at databaseadvisors.com > Subject: [AccessD] AXP Question > > I have upgraded a FE database from A97 to AXP successfully, however, a > major difference that is annoying me is the fact that in a multiuser > environment, I am unable to make changes to the design unless I open > exclusively > > I never had this problem in A97 and now that my users are all getting > upgraded to the AXP FE, I am running across a few areas that need to be > tweaked and can't do it until everyone is out of the db. This is a > shared network FE > > I should probably give everyone their own copy on their desktop, > however, this database has evolved greatly over the past 3 years and has > required many changes. I have always been able to make these changes > while the db was being used by others with no problem. There are about > 20 users - so upgrading everyone's FE would be very tedious > > I know there are some automated programs to do the updating, but one I > had tried took too long and was cumbersome to the user > > Any suggestions or ideas - is there a setting I'm missing that would > allow design changes while in use??? > > Thanks for any help > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From CWortz at tea.state.tx.us Fri Jun 6 10:59:41 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 10:59:41 -0500 Subject: [AccessD] AXP Question Message-ID: As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jim.hale at fleetpride.com Fri Jun 6 10:59:48 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 10:59:48 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: <869379ABF177D4118D3100508B5EF873063AAFE5@corp-es00> Thank you Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, June 06, 2003 9:49 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? For each table, open it in design view, select its properties and set the Subdatasheet Name property to [None]. There is code in on-line help to loop through the database and turn off all subdatasheets and code has been posted here before and is in the archives. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 6:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Fast back-end relinking? How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [ mailto:jimdettman at earthlink.net ] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 10:59:31 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 10:59:31 -0500 Subject: [AccessD] Query Problem Message-ID: <01cc01c32c44$9eaf6940$6600a8c0@tim> Dear Group, Can anyone tell me what I am doing wrong here? When I run this as a stand alone query, it runs fine but when its in the form as code, I get the error message "Run-time error 3061 Too few parameters. Expected 1" sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ & "qryInvItemWrkSht.worksheet_desc " _ & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set rstWSName = CurDb.OpenRecordset(sqlWSName) TIA, Tim Thiessen From BBarabash at TappeConstruction.com Fri Jun 6 11:10:14 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 6 Jun 2003 11:10:14 -0500 Subject: [AccessD] AXP Question Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DA@TAPPEEXCH01> What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Fri Jun 6 11:22:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 09:22:03 -0700 Subject: [AccessD] AXP Question Message-ID: I work in an environment where there are multiple developers. We use Visual Source Safe, and it is set up to only allow exclusive check out of objects. Each of us creates a database project from source safe on our local machines, checks out the objects we need to change in our vss version and checks them back in when the changes are done. Until we check that form, report or module back in, no one else can change it. Our production versions get pulled out of source safe and distributed. We NEVER work on the production version. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 06, 2003 8:10 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 6 11:51:58 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 11:51:58 -0500 Subject: [AccessD] AXP Question Message-ID: Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From RGeldart at detma.org Fri Jun 6 12:33:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Fri, 6 Jun 2003 13:33:00 -0400 Subject: [AccessD] Query Problem Message-ID: Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen From clh at christopherhawkins.com Fri Jun 6 12:53:59 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 11:53:59 -0600 Subject: [AccessD] Tool needed: Create SQL scripts from Access db? Message-ID: <188000-22003656175359644@christopherhawkins.com> Once upon a time, I had a tool that would generate SQL scripts from any Access database. It was home-grown by a colleague three jobs ago. Now that I need it, I no longer have the tool. Anyone have anything similar? I don't need to do the full upsizing wizard, I just need to create scripts for selected tables in an Access2K db. -Christopher- From gustav at cactus.dk Fri Jun 6 13:02:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 20:02:04 +0200 Subject: [AccessD] Tool needed: Create SQL scripts from Access db? In-Reply-To: <188000-22003656175359644@christopherhawkins.com> References: <188000-22003656175359644@christopherhawkins.com> Message-ID: <8044949213.20030606200204@cactus.dk> Hi Christopher Not quite sure what you're after but it could be Dezign: http://www.datanamic.com/products.html /gustav > Once upon a time, I had a tool that would generate SQL scripts from > any Access database. It was home-grown by a colleague three jobs ago. > Now that I need it, I no longer have the tool. > Anyone have anything similar? I don't need to do the full upsizing > wizard, I just need to create scripts for selected tables in an > Access2K db. From jeffrey.demulling at usbank.com Fri Jun 6 13:21:55 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 6 Jun 2003 13:21:55 -0500 Subject: [AccessD] Connecting A2K to SQLBase Message-ID: Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Fri Jun 6 13:01:38 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 22:01:38 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <008801c32c59$6fa54740$b501010a@DAISY.local> > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >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 shamil at smsconsulting.spb.ru Fri Jun 6 13:27:40 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 22:27:40 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <008901c32c59$6fc24520$b501010a@DAISY.local> > I think the Access Developer's Handbook > has a sentence or several on this too. Bob, I've never read ADH for Acc97 and up so I can only guess what it states but I can publicly bet (:)) a box of famous here now after Gustav Brock's promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) that you can do what you need using Public Not Creatable classes - I mean EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one thing you'll have to create AT LEAST one (class factory) class instance using wrapper/helper function/sub from standard module - ALL THE REST can be in your custom classes including public events, which can be raised from them and captured(/sunk) in the the form from your frontend... e.g. you can create in your lib database a custom class Class1 with PublicNotCreatable instancing: Public Event abc() Public Function FireAbc() RaiseEvent abc End Function and a standard module with a wrapper function: Public Function getABC() As Class1 Set getABC = New Class1 End Function and then in your front-end form you can write: Private WithEvents a As Class1 Private Sub Form_Load() Set a = getAbc End Sub Private Sub a_abc() MsgBox "ABC fired" End Sub Private Sub Command0_Click() a.FireAbc End Sub If this isn't what you're looking for then the please clarify in more details what is the task, which you'd like to solve and why PublicNonCreatble instancing isn't enough to solve it. Shamil ----- Original Message ----- From: "Bob Bedell" To: Sent: Friday, June 06, 2003 5:13 PM Subject: Re: [AccessD] Where does WithEvents go? > Hi Shamil, > > Thanks for the thought. My Instancing property is, unfortunately, already > set to PublicNotCreatable. My > calling database can see and call an instance of GetclsInventory fine. The > wrapper function returns an > object with ten fingers and toes. All properties and methods, except the > custom event, work fine. > Here's the wrapper again (just for the sake of pointing out one thing): > > Public Function GetclsInventory() > Dim objInventory As clsInventory > Set GetclsInventory = New clsInventory > End Function > > It seems that in order for GetclsInventory to be able to raise a custom > event, the Dim line here would > have to read: > > Dim WithEvents objInventory As clsInventory > > That, I assume, is where WithEvents would need to go: with the object > declaration. But I can't do that > here because I have the wrapper in a standard code module, and with events > can only be used in form > and class modules. So my options seem to be (none of which I have been able > to make work) to > declare objInventory in either my calling form class somehow (can't come up > with a visible global > variable), or in another class module in the library or calling database, or > in the clsInventory class itself. I > was just hoping someone would say, "Oh sure, wrapper function, goes in class > w in component x. Call it > with y in component z.", or "Sorry, can't raise custom events from an Access > library database.", etc. > >From what little I've been able to read on the subject (I found a whole > paragraph in one of Wrox's > Access books), the wrapper should go in a standard module in the library > database. That, however, rules > out the use of custom events with WithEvents). I think the Access > Developer's Handbook has a > sentence or several on this too. Compiling an ActiveX dll is always another > option. But I wanted to give > the Access library a test drive. > > Thanks again for the reply. > > Bob > > > >From: "Shamil Salakhetdinov" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > >Bob, > > > >You can set your class module's Instancing property to > >'2-PublicNotCreatable' then you can continue to use it the way you used it > >without library - you will just need to get its instance by your > >wrapped/helper function GetclsInventory... > > > >HTH, > >Shamil > > > >----- Original Message ----- > > From: Bob Bedell > > To: accessD at databaseadvisors.com > > Sent: Friday, June 06, 2003 10:21 AM > > Subject: [AccessD] Where does WithEvents go? > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > >sparse. I have a custom class and a form that work fine together. The class > >declares a custom event using Public Event syntax in the general > >declaration and Raise syntax in a method. The calling class (the form) > >declares a private instance of the class using WithEvents and instantiates > >it. No problems. > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > >reference to it in the database that contains the calling form. It's my > >understanding that my calling application can't instantiate the class > >directly, and needs to use a wrapper function. So I added a standard module > >to the calling application that calls a function in the library database > >which returns a copy of the object. The calling database then has a public, > >shared copy of the object to work with. The standard module in the calling > >database is: > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > Public Sub Startup() > > > > ' Get handles to shared objects > > > > Set g_objInventory = GetclsInventory > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > End Sub > > > > > > > > The standard module in the library database (where the class is located) > >is: > > > > > > > > Public Function GetclsInventory() > > > > Dim objInventory As clsInventory > > > > Set GetclsInventory = New clsInventory > > > > End Function > > > > > > > > Here's my problem. Using the library scenario, I can't find any place to > >put my WithEvents statement. The old declaration (before seperating the > >class and the form) was in the forms general declaration: > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > But now (library scenario) the declaration needs to be global, needs to > >include WithEvents, and needs to be in a class or form module (WithEvents > >won't work in a standard module). > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > >Real limited experience with classes/libraries stuff. Thanks to anyone who > >can make heads or tails of that. > > > > > > > > Bob > > > > > > > > > > > >--------------------------------------------------------------------------- --- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Fri Jun 6 13:30:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 6 Jun 2003 11:30:22 -0700 Subject: [AccessD] Where is Charles gone? - OT In-Reply-To: <000701c32c22$82117c00$6a1118ac@D8TZHN0J> Message-ID: Mark asked: > I have not seen any emails from Charles A. Wolfe in the last year or so, > does anyone have any contact details for him? > I sent him an email about two weeks ago but got no response, it may be > retired by now. I have cawolfe at thorin.instanet.com as his address, is that where you wrote? I tried calling but he doesn't have an answering machine. I also tried Mt Sierra but he no longer works there. I'll try to remember to keep calling until I get him. He's no subbed to AccessD anymore, at least not with that address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From papparuff at attbi.com Fri Jun 6 13:35:02 2003 From: papparuff at attbi.com (John Ruff) Date: Fri, 6 Jun 2003 11:35:02 -0700 Subject: [AccessD] Connecting A2K to SQLBase In-Reply-To: Message-ID: <01e001c32c5a$57f68b80$6401a8c0@papparuff> Try http://www.guptaworldwide.com/tech/product_downloads.asp http://www.guptaworldwide.com/tech/product_downloads.asp (careful about word wrap) and check out the SQLBase Driver Pack. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 jeffrey.demulling at usbank.com Sent: Friday, June 06, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting A2K to SQLBase Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Fri Jun 6 13:37:51 2003 From: papparuff at attbi.com (John Ruff) Date: Fri, 6 Jun 2003 11:37:51 -0700 Subject: [AccessD] Connecting A2K to SQLBase In-Reply-To: Message-ID: <01e501c32c5a$bcadc750$6401a8c0@papparuff> Oops, let's try this again. Go to http://www.guptaworldwide.com/tech/product_downloads.asp and check out the SQLBase Driver Pack. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 jeffrey.demulling at usbank.com Sent: Friday, June 06, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting A2K to SQLBase Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Fri Jun 6 13:36:47 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 13:36:47 -0500 Subject: [AccessD] Calendar control with events Message-ID: <869379ABF177D4118D3100508B5EF873063AB025@corp-es00> try http://www.dataspherellc.com/ It has worked well for me. HTH Jim Hale -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, June 06, 2003 10:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Calendar control with events Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 14:37:18 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:37:18 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01eb01c32c63$0bd070a0$6600a8c0@tim> Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Fri Jun 6 14:42:22 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Fri, 6 Jun 2003 14:42:22 -0500 Subject: [AccessD] Query Problem In-Reply-To: <01eb01c32c63$0bd070a0$6600a8c0@tim> Message-ID: This is how I write my inline SQL - maybe it will work for you. sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " & _ " qryInvItemWrkSht.worksheet_desc " & _ " FROM qryWrkSht INNER JOIN qryInvItemWrkSht " & _ " ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item" Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tim Thiessen Sent: Friday, June 06, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 6 14:49:05 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 14:49:05 -0500 Subject: [AccessD] Query Problem Message-ID: Tim, I am coming into this late, so I may have missed something. But from the below I do not see any reason why a saved query and a QueryDef would not meet your needs. Did you specify something earlier that did not get copied where you gave a valid reason for not going this way? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Friday 2003 Jun 06 14:37 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run this as a > stand alone query, it runs fine but when its in the form as code, I > get the error message "Run-time error 3061 Too few parameters. > Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set > rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen From JRojas at tnco-inc.com Fri Jun 6 14:55:01 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 6 Jun 2003 15:55:01 -0400 Subject: [AccessD] Calendar control with events Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B16@mercury.tnco-inc.com> Hey Jim, This is exactly what I need! Already bought it! Thanks for the very helpful link! Joe R. -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 2:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Calendar control with events try http://www.dataspherellc.com/ It has worked well for me. HTH Jim Hale -----Original Message----- From: Joe Rojas [ mailto:JRojas at tnco-inc.com ] Sent: Friday, June 06, 2003 10:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Calendar control with events Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 14:54:16 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:54:16 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01ec01c32c65$6a630860$6600a8c0@tim> No, there really isn't any reason I can't go with a saved query. I am pretty much a novice in Access and since I have run into this problem before, I was just wondering why this doesn't work. Thanks. Tim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, June 06, 2003 2:49 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Tim, I am coming into this late, so I may have missed something. But from the below I do not see any reason why a saved query and a QueryDef would not meet your needs. Did you specify something earlier that did not get copied where you gave a valid reason for not going this way? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Friday 2003 Jun 06 14:37 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run this as a > stand alone query, it runs fine but when its in the form as code, I > get the error message "Run-time error 3061 Too few parameters. > Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set > rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3080 bytes Desc: not available URL: From tim at irwin-greenhouses.com Fri Jun 6 14:55:22 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:55:22 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01f001c32c65$9125d2c0$6600a8c0@tim> Jeanine, The line continuation is not a problem. I tried putting on a single line and still get the same error message. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Friday, June 06, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem This is how I write my inline SQL - maybe it will work for you. sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " & _ " qryInvItemWrkSht.worksheet_desc " & _ " FROM qryWrkSht INNER JOIN qryInvItemWrkSht " & _ " ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item" Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tim Thiessen Sent: Friday, June 06, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 15:10:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 16:10:56 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <008901c32c59$6fc24520$b501010a@DAISY.local> Message-ID: Shamil, I don't understand how to sink an sourced from a class in a library without being able to dimension the class specifically as that class type dim withevents SomeCls as MyClass If MyClass is in a lib, then this dim statement doesn't work since MyClass isn't exposed. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, June 06, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where does WithEvents go? > I think the Access Developer's Handbook > has a sentence or several on this too. Bob, I've never read ADH for Acc97 and up so I can only guess what it states but I can publicly bet (:)) a box of famous here now after Gustav Brock's promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) that you can do what you need using Public Not Creatable classes - I mean EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one thing you'll have to create AT LEAST one (class factory) class instance using wrapper/helper function/sub from standard module - ALL THE REST can be in your custom classes including public events, which can be raised from them and captured(/sunk) in the the form from your frontend... e.g. you can create in your lib database a custom class Class1 with PublicNotCreatable instancing: Public Event abc() Public Function FireAbc() RaiseEvent abc End Function and a standard module with a wrapper function: Public Function getABC() As Class1 Set getABC = New Class1 End Function and then in your front-end form you can write: Private WithEvents a As Class1 Private Sub Form_Load() Set a = getAbc End Sub Private Sub a_abc() MsgBox "ABC fired" End Sub Private Sub Command0_Click() a.FireAbc End Sub If this isn't what you're looking for then the please clarify in more details what is the task, which you'd like to solve and why PublicNonCreatble instancing isn't enough to solve it. Shamil ----- Original Message ----- From: "Bob Bedell" To: Sent: Friday, June 06, 2003 5:13 PM Subject: Re: [AccessD] Where does WithEvents go? > Hi Shamil, > > Thanks for the thought. My Instancing property is, unfortunately, already > set to PublicNotCreatable. My > calling database can see and call an instance of GetclsInventory fine. The > wrapper function returns an > object with ten fingers and toes. All properties and methods, except the > custom event, work fine. > Here's the wrapper again (just for the sake of pointing out one thing): > > Public Function GetclsInventory() > Dim objInventory As clsInventory > Set GetclsInventory = New clsInventory > End Function > > It seems that in order for GetclsInventory to be able to raise a custom > event, the Dim line here would > have to read: > > Dim WithEvents objInventory As clsInventory > > That, I assume, is where WithEvents would need to go: with the object > declaration. But I can't do that > here because I have the wrapper in a standard code module, and with events > can only be used in form > and class modules. So my options seem to be (none of which I have been able > to make work) to > declare objInventory in either my calling form class somehow (can't come up > with a visible global > variable), or in another class module in the library or calling database, or > in the clsInventory class itself. I > was just hoping someone would say, "Oh sure, wrapper function, goes in class > w in component x. Call it > with y in component z.", or "Sorry, can't raise custom events from an Access > library database.", etc. > >From what little I've been able to read on the subject (I found a whole > paragraph in one of Wrox's > Access books), the wrapper should go in a standard module in the library > database. That, however, rules > out the use of custom events with WithEvents). I think the Access > Developer's Handbook has a > sentence or several on this too. Compiling an ActiveX dll is always another > option. But I wanted to give > the Access library a test drive. > > Thanks again for the reply. > > Bob > > > >From: "Shamil Salakhetdinov" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > >Bob, > > > >You can set your class module's Instancing property to > >'2-PublicNotCreatable' then you can continue to use it the way you used it > >without library - you will just need to get its instance by your > >wrapped/helper function GetclsInventory... > > > >HTH, > >Shamil > > > >----- Original Message ----- > > From: Bob Bedell > > To: accessD at databaseadvisors.com > > Sent: Friday, June 06, 2003 10:21 AM > > Subject: [AccessD] Where does WithEvents go? > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > >sparse. I have a custom class and a form that work fine together. The class > >declares a custom event using Public Event syntax in the general > >declaration and Raise syntax in a method. The calling class (the form) > >declares a private instance of the class using WithEvents and instantiates > >it. No problems. > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > >reference to it in the database that contains the calling form. It's my > >understanding that my calling application can't instantiate the class > >directly, and needs to use a wrapper function. So I added a standard module > >to the calling application that calls a function in the library database > >which returns a copy of the object. The calling database then has a public, > >shared copy of the object to work with. The standard module in the calling > >database is: > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > Public Sub Startup() > > > > ' Get handles to shared objects > > > > Set g_objInventory = GetclsInventory > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > End Sub > > > > > > > > The standard module in the library database (where the class is located) > >is: > > > > > > > > Public Function GetclsInventory() > > > > Dim objInventory As clsInventory > > > > Set GetclsInventory = New clsInventory > > > > End Function > > > > > > > > Here's my problem. Using the library scenario, I can't find any place to > >put my WithEvents statement. The old declaration (before seperating the > >class and the form) was in the forms general declaration: > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > But now (library scenario) the declaration needs to be global, needs to > >include WithEvents, and needs to be in a class or form module (WithEvents > >won't work in a standard module). > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > >Real limited experience with classes/libraries stuff. Thanks to anyone who > >can make heads or tails of that. > > > > > > > > Bob > > > > > > > > > > > >--------------------------------------------------------------------------- --- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Fri Jun 6 15:28:41 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 6 Jun 2003 15:28:41 -0500 Subject: [AccessD] Default value for control doesn't work Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F2@bocnte2k4.boc.chevrontexaco.net> I have a form that is based on a table. For one of the text boxes I have the default value set to =Forms![frm Select Date]!selected_month. When form opens text box display #Error. I tried a text box on the same form with no data source and this default value and it works fine. Is something I cannot do or am I doing it wrong. Thanks. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Fri Jun 6 16:38:21 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 15:38:21 -0600 Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Message-ID: <118140-2200365621382119@christopherhawkins.com> Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- From DElam at jenkens.com Fri Jun 6 16:43:19 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 6 Jun 2003 16:43:19 -0500 Subject: [AccessD] Isn't there SOME way to change an mdb back-end whi le users are in it? Message-ID: <4AAC675EBAF3D411BCA200508BCFAA8E02F219BE@NATEXCH1> I have not tried it, but it sounds like your solution may be to get the back end updater. Make your changes to a copy and schedule the update to happen after hours. I wouldn't try to work in it while people are using it. Debbie -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ 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 cfoust at infostatsystems.com Fri Jun 6 16:51:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 14:51:28 -0700 Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are init? Message-ID: You can change data. Design requires an exclusive lock ... Period. SQL Server won't change the Access UI behavior. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are init? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ 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 Jun 6 16:56:53 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 6 Jun 2003 16:56:53 -0500 Subject: [AccessD] Isn't there SOME way to change an mdb back-end whi le users are in it? Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAA@cpixchng-1.cpiqpc.net> You might want to take a look at the Back End Updater at the Database Advisors web site. Developed by some of the fine folks on this list and often praised by the people who have used it. Rusty -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Jun 6 17:49:35 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 02:49:35 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <003d01c32c7d$eb0519a0$b501010a@DAISY.local> <<< > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. >>> John, But you can dimension the class specifically as that class type if this custom class's Instancing property is set to PublicNotCreatable. Then you create instance of this class using wrapper/helper function. And you can sink an event of this class declared as public. Instancng is a standard property for custom class modules in MS Access 2000 and XP. Are we talking about different things? Shamil P.S. Unfortunately I don't see Instancing property for Forms' and Reports' modules (am I missing it?) - so maybe ClassExposer Add-In for MS Access2000/XP to expose forms' and reports' modules isn't a totally crazy idea.... ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 12:10 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > I don't understand how to sink an sourced from a class in a library without > being able to dimension the class specifically as that class type > > dim withevents SomeCls as MyClass > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where does WithEvents go? > > > > I think the Access Developer's Handbook > > has a sentence or several on this too. > Bob, > > I've never read ADH for Acc97 and up so I can only guess what it states but > I can publicly bet (:)) a box of famous here now after Gustav Brock's > promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) > that you can do what you need using Public Not Creatable classes - I mean > EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one > thing you'll have to create AT LEAST one (class factory) class instance > using wrapper/helper function/sub from standard module - ALL THE REST can be > in your custom classes including public events, which can be raised from > them and captured(/sunk) in the the form from your frontend... > > e.g. you can create in your lib database a custom class Class1 with > PublicNotCreatable instancing: > > Public Event abc() > > Public Function FireAbc() > RaiseEvent abc > End Function > > and a standard module with a wrapper function: > > Public Function getABC() As Class1 > Set getABC = New Class1 > End Function > > and then in your front-end form you can write: > > Private WithEvents a As Class1 > > Private Sub Form_Load() > Set a = getAbc > End Sub > > > Private Sub a_abc() > MsgBox "ABC fired" > End Sub > > Private Sub Command0_Click() > a.FireAbc > End Sub > > If this isn't what you're looking for then the please clarify in more > details what is the task, which you'd like to solve and why > PublicNonCreatble instancing isn't enough to solve it. > > Shamil > > ----- Original Message ----- > From: "Bob Bedell" > To: > Sent: Friday, June 06, 2003 5:13 PM > Subject: Re: [AccessD] Where does WithEvents go? > > > > Hi Shamil, > > > > Thanks for the thought. My Instancing property is, unfortunately, already > > set to PublicNotCreatable. My > > calling database can see and call an instance of GetclsInventory fine. The > > wrapper function returns an > > object with ten fingers and toes. All properties and methods, except the > > custom event, work fine. > > Here's the wrapper again (just for the sake of pointing out one thing): > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > It seems that in order for GetclsInventory to be able to raise a custom > > event, the Dim line here would > > have to read: > > > > Dim WithEvents objInventory As clsInventory > > > > That, I assume, is where WithEvents would need to go: with the object > > declaration. But I can't do that > > here because I have the wrapper in a standard code module, and with events > > can only be used in form > > and class modules. So my options seem to be (none of which I have been > able > > to make work) to > > declare objInventory in either my calling form class somehow (can't come > up > > with a visible global > > variable), or in another class module in the library or calling database, > or > > in the clsInventory class itself. I > > was just hoping someone would say, "Oh sure, wrapper function, goes in > class > > w in component x. Call it > > with y in component z.", or "Sorry, can't raise custom events from an > Access > > library database.", etc. > > >From what little I've been able to read on the subject (I found a whole > > paragraph in one of Wrox's > > Access books), the wrapper should go in a standard module in the library > > database. That, however, rules > > out the use of custom events with WithEvents). I think the Access > > Developer's Handbook has a > > sentence or several on this too. Compiling an ActiveX dll is always > another > > option. But I wanted to give > > the Access library a test drive. > > > > Thanks again for the reply. > > > > Bob > > > > > > >From: "Shamil Salakhetdinov" > > >Reply-To: accessd at databaseadvisors.com > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Where does WithEvents go? > > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > > > >Bob, > > > > > >You can set your class module's Instancing property to > > >'2-PublicNotCreatable' then you can continue to use it the way you used > it > > >without library - you will just need to get its instance by your > > >wrapped/helper function GetclsInventory... > > > > > >HTH, > > >Shamil > > > > > >----- Original Message ----- > > > From: Bob Bedell > > > To: accessD at databaseadvisors.com > > > Sent: Friday, June 06, 2003 10:21 AM > > > Subject: [AccessD] Where does WithEvents go? > > > > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > > >sparse. I have a custom class and a form that work fine together. The > class > > >declares a custom event using Public Event syntax in the general > > >declaration and Raise syntax in a method. The calling class (the form) > > >declares a private instance of the class using WithEvents and > instantiates > > >it. No problems. > > > > > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > > >reference to it in the database that contains the calling form. It's my > > >understanding that my calling application can't instantiate the class > > >directly, and needs to use a wrapper function. So I added a standard > module > > >to the calling application that calls a function in the library database > > >which returns a copy of the object. The calling database then has a > public, > > >shared copy of the object to work with. The standard module in the > calling > > >database is: > > > > > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > > > > > Public Sub Startup() > > > > > > ' Get handles to shared objects > > > > > > Set g_objInventory = GetclsInventory > > > > > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > > > End Sub > > > > > > > > > > > > The standard module in the library database (where the class is > located) > > >is: > > > > > > > > > > > > Public Function GetclsInventory() > > > > > > Dim objInventory As clsInventory > > > > > > Set GetclsInventory = New clsInventory > > > > > > End Function > > > > > > > > > > > > Here's my problem. Using the library scenario, I can't find any place > to > > >put my WithEvents statement. The old declaration (before seperating the > > >class and the form) was in the forms general declaration: > > > > > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > > > > > But now (library scenario) the declaration needs to be global, needs > to > > >include WithEvents, and needs to be in a class or form module (WithEvents > > >won't work in a standard module). > > > > > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > > >Real limited experience with classes/libraries stuff. Thanks to anyone > who > > >can make heads or tails of that. > > > > > > > > > > > > Bob > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------------- > --- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 18:14:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 19:14:42 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <003d01c32c7d$eb0519a0$b501010a@DAISY.local> Message-ID: Shamil, None of the properties that are exposed when the class is exported to a text file is visible from within Access. What I don't quite understand is why you wouldn't simply set both of the properties I discussed to true and directly see the classes from any database referencing the library. Doing this allows seeing all of the class properties, functions etc, as well as directly dimensioning a class variable. What does the wrapper buy you? It seems like extra work, an extra layer that things have to go through, as well as an extra layer that I have to write (the helper function). We don't do that with the libs that MS publishes do we? And yes, the ClassExposer add-in would be nice. It appears that the object on your site is compiled - I can't open or convert it in A2K. I could certainly write my own if I need to. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, June 06, 2003 6:50 PM To: AccessD Subject: Re: [AccessD] Where does WithEvents go? <<< > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. >>> John, But you can dimension the class specifically as that class type if this custom class's Instancing property is set to PublicNotCreatable. Then you create instance of this class using wrapper/helper function. And you can sink an event of this class declared as public. Instancng is a standard property for custom class modules in MS Access 2000 and XP. Are we talking about different things? Shamil P.S. Unfortunately I don't see Instancing property for Forms' and Reports' modules (am I missing it?) - so maybe ClassExposer Add-In for MS Access2000/XP to expose forms' and reports' modules isn't a totally crazy idea.... ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 12:10 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > I don't understand how to sink an sourced from a class in a library without > being able to dimension the class specifically as that class type > > dim withevents SomeCls as MyClass > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. > > John W. Colby > www.colbyconsulting.com From artful at rogers.com Fri Jun 6 19:54:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 6 Jun 2003 20:54:07 -0400 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <68120-2200364517326333@christopherhawkins.com> Message-ID: <061d01c32c8f$4cda0d50$8e01a8c0@Rock> You can do D&D in Access, although it's difficult. I've got some code that lets me D&D in a treeview (i.e. move an employee from Dept X to Dept Y). It was a nightmare to figure out and then a night to write. I don't have anything truly portable yet; each new instance I have to rethink from the ground up. It's the conceptual stuff that's hard, and denying the illegal moves (can't drop a department on an employee, nor an employee on an employee, nor an employee on her current department). Once you get the code to allow D&D you find yourself writing against all the exceptions. Nine out of ten possible moves are illegal; the other is permitted. Makes you wish for a Java / .NET style Try / Catch construct in Access, but I suspect it isn't in the cards. On Error just isn't the same :-) D&D can be very useful, in Access as in other languages. But at the Explorer level, for example, the exceptions are few (can't drop a folder on itself, can't drop a file on a file unless it's an archive file, &c). But in the higher level apps, order entry say, the rules are much more complex. I did a D&D a while back that lets the user select compoenents and from them create new assemblies. Any given component might be an assembly, except of course itself. The D&D code IMO is trivial compared to the conceptual (you can do this, but not that or the other thing) part. If you want an example of the raw D&D code I can supply same, but I stress that this is only the raw arithmetic. The logic you must define and then write yourself, and there is no (IMO) general solution for this. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: June 5, 2003 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Jun 6 19:58:04 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 6 Jun 2003 19:58:04 -0500 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <000001c32c8f$dab471b0$de1811d8@DanWaters> Terri, Based on experience I can recommend a free utility (Auto FE Updater) which can be downloaded from this web site. http://www.granite.ab.ca/access/autofe.htm You can use this to both initially distribute a FE to user's PCs, and to update each FE after you have made changes to the FE. The updating operation is mostly transparent to the user, and they don't need to take any action. For the initial loading of the FE at user's PCs, send all the users an email with the shortcut (described in the documentation) as an attachment. Instruct the user in the email to copy the attachment to their PC, then double-click the shortcut. From that point on, the users double-click the same shortcut to open the current FE or to download an updated FE. Good Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 6:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Jun 6 20:33:02 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 6 Jun 2003 21:33:02 -0400 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <062001c32c94$bcd0d350$8e01a8c0@Rock> At first blush, the first thing I see wrong is this: & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ Should be & "WHERE (((tblCustomers.CustomerName) Like "%" + " _ & strInput & " + %)) " _ But there are problems with this too. The % wildcard assumes a SQL back end. You might want to push this out into a Const and even a compiler directive, for maximum portability. More importantly, when I see code like this I wonder why. My take on Access is as follows: 1. Write code only when necessary. Take advantage of built-in tech whenever possible. 2. Write SQL rather than VBA whenever possible. >From this I conclude that dynamic SQL constructions are almost always the wrong approach. You could instead create a static function that returns your LIKE contents and save a query that references said static function. (If you are unacquainted with static functions, search the message base for same.) Rather than construct the SQL as you show in your code, save that to a named query that invokes the static function you need (let's say for example that it is CurrentEmployee()). The query calls the function and shows you the three rows belonging to the current employee. Given that, all you need to do in code is reset the current employee. IMO a much more elegant solution than rebuilding the SQL statement every time. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From ad_tp at hotmail.com Sat Jun 7 00:02:23 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sat, 7 Jun 2003 10:32:23 +0530 Subject: [AccessD] Where does WithEvents go? References: <008801c32c59$6fa54740$b501010a@DAISY.local> Message-ID: Shamil, Could you kindly send me a copy of the version suitable for Access 2002 (as & when ready). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, June 06, 2003 23:31 Subject: Re: [AccessD] Where does WithEvents go? > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >John W. Colby > >www.colbyconsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sat Jun 7 02:53:24 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 17:53:24 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: <062001c32c94$bcd0d350$8e01a8c0@Rock> Message-ID: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Arthur, Nice take on why you would go about coding issue utilising Access. The thing is that as most people you get comfortable in how you do certain things that have worked for you over time. I would really like to see some of these static functions you talk about. Where is the message base you discuss? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, 7 June 2003 11:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax At first blush, the first thing I see wrong is this: & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ Should be & "WHERE (((tblCustomers.CustomerName) Like "%" + " _ & strInput & " + %)) " _ But there are problems with this too. The % wildcard assumes a SQL back end. You might want to push this out into a Const and even a compiler directive, for maximum portability. More importantly, when I see code like this I wonder why. My take on Access is as follows: 1. Write code only when necessary. Take advantage of built-in tech whenever possible. 2. Write SQL rather than VBA whenever possible. >From this I conclude that dynamic SQL constructions are almost always the wrong approach. You could instead create a static function that returns your LIKE contents and save a query that references said static function. (If you are unacquainted with static functions, search the message base for same.) Rather than construct the SQL as you show in your code, save that to a named query that invokes the static function you need (let's say for example that it is CurrentEmployee()). The query calls the function and shows you the three rows belonging to the current employee. Given that, all you need to do in code is reset the current employee. IMO a much more elegant solution than rebuilding the SQL statement every time. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sat Jun 7 05:06:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 14:06:00 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <002301c32cdc$684b04c0$b501010a@DAISY.local> <<< > None of the properties that are exposed when > the class is exported to a text > file is visible from within Access. >>> John, Please have a look here/dowload: http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I follow the principle that "one good picture is better that thousand words" - and this good IMO picture referenced above shows that VB_Exposed property of MS Access 2000/XP/... VBA modules can be set from within MS Access... > why you wouldn't simply set both of > the properties I discussed to true This is not standard functionality and I can't recommend that because MS can well close this "backdoor" in the future - then all your coding will have to be changed. VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with wrapper class factory functions, subs, custom classes... In general I don't like to use New keyword with custom classes here and there because as I said this makes the coding unorganized - when you've a special class factory code then you can control custom classes' instances creation in the sense that you can concentrate all this code in one-two modules etc. There is also a technical reason of avoiding to use Dim obj as New MyClass This code above AFAIK uses 'just in time custom class instance creation (JITCCIC)' technique - and therefore it may generate a lot of additional support code on compilation... Dim obj as MyClass set obj=new MyClass shouldn't use JITCCIC but to avoid temptation of using shorter code Dim obj as New MyClass I don't use it too :) - speaking seriously: Dim obj as MyClass set obj = MyClassFactoryCreateObject("MyClass") IMO gives a developer much more freedom for future extensions and safety... E.g. using this approach you can well make your class MyClass an Interface Definition Class in the future WITHOUT breaking any of your functionality - etc... Well, all that are my preferences and of course they can be argued... - this message isn't an invitation to such a discussion - I made my choice several years ago :) > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? Yes, some more work but without breaking "MS fences" - they didn't give us an opportunity to set VB_Creatable = True from within VBA editor - in the future they may well introduce this functionality as standard or drop it completely by closing "backdoor" of exporting/manually setting VB_Creatable=True/importing back custom class module. And I don't think they can drop standard (MS Access 2000, 2002,...) functionality of VB_Exposed=true - then they will break versions compatibility... Yes, MS allows to use New with their libraries but they use C++ or VB to write these libraries , where this is a STANDARD (COM-)functionality when these libraries expose their CREATABLE public objects... > > And yes, the ClassExposer add-in would be nice. I will try to make conversion in the near future - it wasn't straightforward "convert to Acc2000" when I tried to make it first time in the past.. And then I also found that MS Acces 2000 has setting VB_Exposed as standard functionality... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 3:14 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > None of the properties that are exposed when the class is exported to a text > file is visible from within Access. What I don't quite understand is why > you wouldn't simply set both of the properties I discussed to true and > directly see the classes from any database referencing the library. Doing > this allows seeing all of the class properties, functions etc, as well as > directly dimensioning a class variable. > > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? > > And yes, the ClassExposer add-in would be nice. It appears that the object > on your site is compiled - I can't open or convert it in A2K. I could > certainly write my own if I need to. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 6:50 PM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > >>> > John, > > But you can dimension the class specifically as that class type if this > custom class's Instancing property is set to PublicNotCreatable. Then you > create instance of this class using wrapper/helper function. And you can > sink an event of this class declared as public. > > Instancng is a standard property for custom class modules in MS Access 2000 > and XP. > > Are we talking about different things? > > Shamil > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > idea.... > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 12:10 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > I don't understand how to sink an sourced from a class in a library > without > > being able to dimension the class specifically as that class type > > > > dim withevents SomeCls as MyClass > > > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > > > > 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 shamil at smsconsulting.spb.ru Sat Jun 7 05:10:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 14:10:00 +0400 Subject: [AccessD] Where does WithEvents go? References: <008801c32c59$6fa54740$b501010a@DAISY.local> Message-ID: <005501c32cdd$05847ff0$b501010a@DAISY.local> OK, I will make it published for download from my Web-site - just give me one week to finish an urgent project here... Shamil ----- Original Message ----- From: A.D.Tejpal To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 9:02 AM Subject: Re: [AccessD] Where does WithEvents go? Shamil, Could you kindly send me a copy of the version suitable for Access 2002 (as & when ready). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, June 06, 2003 23:31 Subject: Re: [AccessD] Where does WithEvents go? > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >John W. Colby > >www.colbyconsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sat Jun 7 06:04:52 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 15:04:52 +0400 Subject: [AccessD] Where does WithEvents go? References: <002301c32cdc$684b04c0$b501010a@DAISY.local> Message-ID: <000c01c32ce4$a123f600$b501010a@DAISY.local> > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I uploaded another picture with the same URL: http://smsconsulting.spb.ru/samples/exposed.jpg and it has more details on subj and it's now 202 984 bytes in size. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Saturday, June 07, 2003 2:06 PM Subject: Re: [AccessD] Where does WithEvents go? > <<< > > None of the properties that are exposed when > > the class is exported to a text > > file is visible from within Access. > >>> > John, > > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) > I follow the principle that "one good picture is better that thousand > words" - and this good IMO picture referenced above shows that VB_Exposed > property of MS Access 2000/XP/... VBA modules can be set from within MS > Access... > > > why you wouldn't simply set both of > > the properties I discussed to true > This is not standard functionality and I can't recommend that because MS can > well close this "backdoor" in the future - then all your coding will have to > be changed. > VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with > wrapper class factory functions, subs, custom classes... > > In general I don't like to use New keyword with custom classes here and > there because as I said this makes the coding unorganized - when you've a > special class factory code then you can control custom classes' instances > creation in the sense that you can concentrate all this code in one-two > modules etc. > > There is also a technical reason of avoiding to use > > Dim obj as New MyClass > > This code above AFAIK uses 'just in time custom class instance creation > (JITCCIC)' technique - and therefore it may generate a lot of additional > support code on compilation... > > Dim obj as MyClass > set obj=new MyClass > > shouldn't use JITCCIC but to avoid temptation of using shorter code > > Dim obj as New MyClass > > I don't use it too :) - speaking seriously: > > Dim obj as MyClass > set obj = MyClassFactoryCreateObject("MyClass") > > IMO gives a developer much more freedom for future extensions and safety... > E.g. using this approach you can well make your class MyClass an Interface > Definition Class in the future WITHOUT breaking any of your functionality - > etc... > > Well, all that are my preferences and of course they can be argued... - this > message isn't an invitation to such a discussion - I made my choice several > years ago :) > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > Yes, some more work but without breaking "MS fences" - they didn't give us > an opportunity to set VB_Creatable = True from within VBA editor - in the > future they may well introduce this functionality as standard or drop it > completely by closing "backdoor" of exporting/manually setting > VB_Creatable=True/importing back custom class module. And I don't think > they can drop standard (MS Access 2000, 2002,...) functionality of > VB_Exposed=true - then they will break versions compatibility... > Yes, MS allows to use New with their libraries but they use C++ or VB to > write these libraries , where this is a STANDARD (COM-)functionality > when these libraries expose their CREATABLE public objects... > > > > And yes, the ClassExposer add-in would be nice. > I will try to make conversion in the near future - it wasn't straightforward > "convert to Acc2000" when I tried to make it first time in the past.. > And then I also found that MS Acces 2000 has setting VB_Exposed as > standard functionality... > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 3:14 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > None of the properties that are exposed when the class is exported to a > text > > file is visible from within Access. What I don't quite understand is why > > you wouldn't simply set both of the properties I discussed to true and > > directly see the classes from any database referencing the library. Doing > > this allows seeing all of the class properties, functions etc, as well as > > directly dimensioning a class variable. > > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > > > > And yes, the ClassExposer add-in would be nice. It appears that the > object > > on your site is compiled - I can't open or convert it in A2K. I could > > certainly write my own if I need to. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, June 06, 2003 6:50 PM > > To: AccessD > > Subject: Re: [AccessD] Where does WithEvents go? > > > > > > <<< > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > >>> > > John, > > > > But you can dimension the class specifically as that class type if this > > custom class's Instancing property is set to PublicNotCreatable. Then you > > create instance of this class using wrapper/helper function. And you can > > sink an event of this class declared as public. > > > > Instancng is a standard property for custom class modules in MS Access > 2000 > > and XP. > > > > Are we talking about different things? > > > > Shamil > > > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > > idea.... > > > > ----- Original Message ----- > > From: "John Colby" > > To: > > Sent: Saturday, June 07, 2003 12:10 AM > > Subject: RE: [AccessD] Where does WithEvents go? > > > > > > > Shamil, > > > > > > I don't understand how to sink an sourced from a class in a library > > without > > > being able to dimension the class specifically as that class type > > > > > > dim withevents SomeCls as MyClass > > > > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Jun 7 09:28:03 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Jun 2003 07:28:03 -0700 Subject: [AccessD] Office XP MOD/Access 2002 runtime can't install on Windows 2003 Server References: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <3EE1F673.9080005@shaw.ca> Just something I came across, in case anyone has stumbled across this in the Win 2003 Server Beta. There is supposed to be a MS fix real soon now. http://www.granite.ab.ca/access/officespruntimewindows2003server.htm From jcolby at colbyconsulting.com Sat Jun 7 09:28:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 7 Jun 2003 10:28:11 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <002301c32cdc$684b04c0$b501010a@DAISY.local> Message-ID: OK, I understand what you are up to. I suppose it is in fact easier to use a class factory than to go through the agony of the export / import, since with the one property exposed inside Access, the process of instantiating the class is all that is left. The exposed property allows the use of the Intellisense functionality. I doubt seriously that I will go to the trouble of re-coding all of my programs, but I may very well use this method in the future. I must say the argument of "breaking fences" and so forth don't mean much to me. This has been possible since A97 and continues through XP so it seems like MS is content to leave things the way they are. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Saturday, June 07, 2003 6:06 AM To: AccessD Subject: Re: [AccessD] Where does WithEvents go? <<< > None of the properties that are exposed when > the class is exported to a text > file is visible from within Access. >>> John, Please have a look here/dowload: http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I follow the principle that "one good picture is better that thousand words" - and this good IMO picture referenced above shows that VB_Exposed property of MS Access 2000/XP/... VBA modules can be set from within MS Access... > why you wouldn't simply set both of > the properties I discussed to true This is not standard functionality and I can't recommend that because MS can well close this "backdoor" in the future - then all your coding will have to be changed. VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with wrapper class factory functions, subs, custom classes... In general I don't like to use New keyword with custom classes here and there because as I said this makes the coding unorganized - when you've a special class factory code then you can control custom classes' instances creation in the sense that you can concentrate all this code in one-two modules etc. There is also a technical reason of avoiding to use Dim obj as New MyClass This code above AFAIK uses 'just in time custom class instance creation (JITCCIC)' technique - and therefore it may generate a lot of additional support code on compilation... Dim obj as MyClass set obj=new MyClass shouldn't use JITCCIC but to avoid temptation of using shorter code Dim obj as New MyClass I don't use it too :) - speaking seriously: Dim obj as MyClass set obj = MyClassFactoryCreateObject("MyClass") IMO gives a developer much more freedom for future extensions and safety... E.g. using this approach you can well make your class MyClass an Interface Definition Class in the future WITHOUT breaking any of your functionality - etc... Well, all that are my preferences and of course they can be argued... - this message isn't an invitation to such a discussion - I made my choice several years ago :) > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? Yes, some more work but without breaking "MS fences" - they didn't give us an opportunity to set VB_Creatable = True from within VBA editor - in the future they may well introduce this functionality as standard or drop it completely by closing "backdoor" of exporting/manually setting VB_Creatable=True/importing back custom class module. And I don't think they can drop standard (MS Access 2000, 2002,...) functionality of VB_Exposed=true - then they will break versions compatibility... Yes, MS allows to use New with their libraries but they use C++ or VB to write these libraries , where this is a STANDARD (COM-)functionality when these libraries expose their CREATABLE public objects... > > And yes, the ClassExposer add-in would be nice. I will try to make conversion in the near future - it wasn't straightforward "convert to Acc2000" when I tried to make it first time in the past.. And then I also found that MS Acces 2000 has setting VB_Exposed as standard functionality... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 3:14 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > None of the properties that are exposed when the class is exported to a text > file is visible from within Access. What I don't quite understand is why > you wouldn't simply set both of the properties I discussed to true and > directly see the classes from any database referencing the library. Doing > this allows seeing all of the class properties, functions etc, as well as > directly dimensioning a class variable. > > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? > > And yes, the ClassExposer add-in would be nice. It appears that the object > on your site is compiled - I can't open or convert it in A2K. I could > certainly write my own if I need to. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 6:50 PM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > >>> > John, > > But you can dimension the class specifically as that class type if this > custom class's Instancing property is set to PublicNotCreatable. Then you > create instance of this class using wrapper/helper function. And you can > sink an event of this class declared as public. > > Instancng is a standard property for custom class modules in MS Access 2000 > and XP. > > Are we talking about different things? > > Shamil > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > idea.... > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 12:10 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > I don't understand how to sink an sourced from a class in a library > without > > being able to dimension the class specifically as that class type > > > > dim withevents SomeCls as MyClass > > > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > > > > John W. Colby > > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Jun 7 09:53:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 7 Jun 2003 16:53:12 +0200 Subject: [AccessD] Query Problem In-Reply-To: <01eb01c32c63$0bd070a0$6600a8c0@tim> References: <01eb01c32c63$0bd070a0$6600a8c0@tim> Message-ID: <1468402211.20030607165312@cactus.dk> Hi Tim >> Can anyone tell me what I am doing wrong here? When I run >> this as a stand alone query, it runs fine but when its in >> the form as code, I get the error message >> "Run-time error 3061 Too few parameters. Expected 1" >> >> sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ >> & "qryInvItemWrkSht.worksheet_desc " _ >> & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ >> & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" >> Set rstWSName = CurDb.OpenRecordset(sqlWSName) Probably, in one of the queries you select from, there is a reference to a form, like [Forms].[frmForm].[txtControl]. Avoid this or - if that's not possible - use Eval to set the value of the parameter: Set qry = CurDb.QueryDefs() qry.SQL = sqlWSName qry.Parameters(0).Value = Eval(qry.Parameters(0).Name) Set rstWSName = qry.OpenRecordset(sqlWSName) ... You may need to spell out the parameter explicitly. Like this example: sqlWSName = "PARAMETERS [Forms].[frmForm].[txtControl] Short; " _ & "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ ... /gustav From shamil at smsconsulting.spb.ru Sat Jun 7 13:28:30 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 22:28:30 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <000901c32d22$9afb6310$b501010a@DAISY.local> > I doubt seriously that I will go to the trouble > of re-coding all of my programs... I doubt you will not, John :) - well, I'm a kind of kidding, sorry - of course this is your right and your choice to keep unchanged what you've done already if it works well and if you follow the principle "don't fix it to not break it"... ...but knowing you I'd bet you'll change some of your code when you'll get familiar with a new(?) programming paradigm, which is very popular now and which uses a Service(read: Object Interface) not Object concept as a key concept of the modern programming methods/technologies/industry... ...all that Web Services etc. - have you heard already this buzz around you?... ...Service-Oriented Programming Paradigm (lets call it SOPP) is a kind of OOP but it is far from being a classical OOP and it (SOPP) promises a lot in scaling, reusability, easier installation(zero administration) etc.etc. - and these are justified promises AFAIK... ...with SOPP you don't care(/you're just forbidden to care by this paradigm) about creating external objects(/services) in YOUR program - so there is no need in the New keyword to create/get services/objects from outside(even from currently local code library if this library may well be endlessly upscaled in the future)... ...armed with SOPP you just call for, get and use Object Services - and this isn't your task to create them in your program.... ...and SOPP is a modern extension/development of well-known (e.g. COM) "Programming Against Interfaces Paradigm" (PAIP) - when one is programming against interfaces they don't need public creatable classes - and programming against interfaces is a very powerful paradigm with a lot of consequences and applications... ...so IMO MS takes care about us MS Access VBA developers by not allowing to have creatable custom classes in library databases by thus pushing/forcing us to follow the best of the modern programming paradigms/methodologies and to not waste our time on obsolete ones... ...of course one can just write class factory wrapper functions and don't learn and don't follow SOPP and PAIP - they risk to rewrite some(/a lot?) of their existing code in the future... I hope this above doesn't look like an empty soap-boxing and hoaxing, I just wanted to provoke you, John, to investigate in more details very promising SOPP and PAIP, Yours, Shamil :) ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 6:28 PM Subject: RE: [AccessD] Where does WithEvents go? > OK, I understand what you are up to. I suppose it is in fact easier to use > a class factory than to go through the agony of the export / import, since > with the one property exposed inside Access, the process of instantiating > the class is all that is left. The exposed property allows the use of the > Intellisense functionality. > > I doubt seriously that I will go to the trouble of re-coding all of my > programs, but I may very well use this method in the future. I must say the > argument of "breaking fences" and so forth don't mean much to me. This has > been possible since A97 and continues through XP so it seems like MS is > content to leave things the way they are. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, June 07, 2003 6:06 AM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > None of the properties that are exposed when > > the class is exported to a text > > file is visible from within Access. > >>> > John, > > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) > I follow the principle that "one good picture is better that thousand > words" - and this good IMO picture referenced above shows that VB_Exposed > property of MS Access 2000/XP/... VBA modules can be set from within MS > Access... > > > why you wouldn't simply set both of > > the properties I discussed to true > This is not standard functionality and I can't recommend that because MS can > well close this "backdoor" in the future - then all your coding will have to > be changed. > VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with > wrapper class factory functions, subs, custom classes... > > In general I don't like to use New keyword with custom classes here and > there because as I said this makes the coding unorganized - when you've a > special class factory code then you can control custom classes' instances > creation in the sense that you can concentrate all this code in one-two > modules etc. > > There is also a technical reason of avoiding to use > > Dim obj as New MyClass > > This code above AFAIK uses 'just in time custom class instance creation > (JITCCIC)' technique - and therefore it may generate a lot of additional > support code on compilation... > > Dim obj as MyClass > set obj=new MyClass > > shouldn't use JITCCIC but to avoid temptation of using shorter code > > Dim obj as New MyClass > > I don't use it too :) - speaking seriously: > > Dim obj as MyClass > set obj = MyClassFactoryCreateObject("MyClass") > > IMO gives a developer much more freedom for future extensions and safety... > E.g. using this approach you can well make your class MyClass an Interface > Definition Class in the future WITHOUT breaking any of your functionality - > etc... > > Well, all that are my preferences and of course they can be argued... - this > message isn't an invitation to such a discussion - I made my choice several > years ago :) > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > Yes, some more work but without breaking "MS fences" - they didn't give us > an opportunity to set VB_Creatable = True from within VBA editor - in the > future they may well introduce this functionality as standard or drop it > completely by closing "backdoor" of exporting/manually setting > VB_Creatable=True/importing back custom class module. And I don't think > they can drop standard (MS Access 2000, 2002,...) functionality of > VB_Exposed=true - then they will break versions compatibility... > Yes, MS allows to use New with their libraries but they use C++ or VB to > write these libraries , where this is a STANDARD (COM-)functionality > when these libraries expose their CREATABLE public objects... > > > > And yes, the ClassExposer add-in would be nice. > I will try to make conversion in the near future - it wasn't straightforward > "convert to Acc2000" when I tried to make it first time in the past.. > And then I also found that MS Acces 2000 has setting VB_Exposed as > standard functionality... > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 3:14 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > None of the properties that are exposed when the class is exported to a > text > > file is visible from within Access. What I don't quite understand is why > > you wouldn't simply set both of the properties I discussed to true and > > directly see the classes from any database referencing the library. Doing > > this allows seeing all of the class properties, functions etc, as well as > > directly dimensioning a class variable. > > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > > > > And yes, the ClassExposer add-in would be nice. It appears that the > object > > on your site is compiled - I can't open or convert it in A2K. I could > > certainly write my own if I need to. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, June 06, 2003 6:50 PM > > To: AccessD > > Subject: Re: [AccessD] Where does WithEvents go? > > > > > > <<< > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > >>> > > John, > > > > But you can dimension the class specifically as that class type if this > > custom class's Instancing property is set to PublicNotCreatable. Then you > > create instance of this class using wrapper/helper function. And you can > > sink an event of this class declared as public. > > > > Instancng is a standard property for custom class modules in MS Access > 2000 > > and XP. > > > > Are we talking about different things? > > > > Shamil > > > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > > idea.... > > > > ----- Original Message ----- > > From: "John Colby" > > To: > > Sent: Saturday, June 07, 2003 12:10 AM > > Subject: RE: [AccessD] Where does WithEvents go? > > > > > > > Shamil, > > > > > > I don't understand how to sink an sourced from a class in a library > > without > > > being able to dimension the class specifically as that class type > > > > > > dim withevents SomeCls as MyClass > > > > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Sat Jun 7 15:22:37 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 7 Jun 2003 16:22:37 -0400 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <067e01c32d32$895c5410$8e01a8c0@Rock> Static functions contain variables whose value is preserved between calls. More precisely, static variables retain their values. By default all variables in a static function are static variables. You could declare a static variable in a non-static function, but I don't know why you would. Here is my template for static functions. This code lives in every app I write and I follow the directions: Static Function CurrentX(Optional lngNew As Long) As Long '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. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function In the old days, these were called get/set functions, because you can use them to get or set their variable(s). To set the variable, you do this: CurrentEmployee(123) To get the variable, you do this: CurrentEmployee() So, given this setup, suppose you have a report that depends on a form being open with a combo box item selected. You could pass in a WhereCondition when you invoke the report, or you could write the report data source as follows: SELECT * FROM myTables WHERE EmployeeID = CurrentEmployee() Imagine, if you will, a listbox that shows the employees, and whose hidden first column is the PK EmployeeID. When the user clicks "Preview Report" or whatever, you write one line of code: CurrentEmployee(Me.cboEmployeeList) And then call your report: DoCmd.OpenReport ReportName:=rptMyReport, View:=acPreview 'or whatever you prefer My preference for this path is based on these criteria: 1. Transparent code -- intuitively obvious even to the casual viewer 2. Everything SQL can do VBA code should not bother doing There's a third reason, but first I must explain another variation on the static func declared above. If you read it carefully, you will realize that when the app opens CurrentEmployee() = 0. Each time you call it in set mode, you assign a value > 0. As presented above, the function renders it impossible to reset the value to zero. Why would you want to do this? I'll answer that in a moment, but first let's add a reset method, as it were. We could just drop the IF, but that would render the GET mode useless, so instead we need another method. I use -1 as the reset value, so the function evolves to: Static Function CurrentX(Optional lngNew As Long) As Long '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. Dim lngCurrent As Long Select Case lngNew Case Is < 0 lngCurrent = 0 Case Is > 0 lngCurrent = lngNew Case Else 'just return the current value End Select CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function Now we have a way to pass in a "reset to zero" message. Why would we want to do this? Because we can rewrite the query above using a slick trick that deals with the zero value, and that lets us multiply the utility of the query. I.e. we can now use it in 3 ways: 1. Suppose the combo-box employee selector allows extended select. we can print one report for each selected employee. Walk the selected items and reset CurrentEmployee() in the loop and print the report, nothing to it. 2. Suppose a form walks the employee table. In the OnCurrent call CurrentEmployee(Me.EmployeeID) and every report that uses this approach is ready to print. Nothing to it. 3. Reset the value to zero and this means print the whole bloddy thing, for all employees. But to do this we need to modify the query, just a tad, adding a cool OR test: SELECT * FROM myTables WHERE EmployeeID = CurrentEmployee() OR CurrentEmployee() = 0 Save this to a named query. Base your forms and/or reports on said query. Refresh CurrentEmployee() as needed. Nothing to it. Bryan Carbonell graciously showed me how to talk to Pegasus. The client needs to send email reports to about 300 people, each email is unique, the result of a report with a specified PK. Thanks to Bryan and static functions, the solution is about 10 lines of code, maybe 20, I didn't actually count them, but it's trivial. The code resets the static function, outputs the report to a file, attaches the file to a new email message and sends it. With all the benefits if CopyToSelf, select-all, just one, every odd numbered item, &c. Bryan's nice sample code aside (but not without many thanks), the point is that if you create a query whose parms are derived from static functions you can forget all about what form is open &c. You can be in debug window and type: CurrentX(123) :123 'Assuming the recordsource is a query referencing CurrentEmployee() DoCmd.OpenForm FornName:="frmEmployeeEdit" DoCmd.OpenReport ReportName:="rptEmployeeSickDays" In both cases, to see one Employee you call CurrentEmtployee(####). If you want the whole list, reset the value of CurrentEmployee() to zero. CurrentEmployee(-1) Sorry for the length of the message. But this approach has proven invaluable to me. Everything I can blame on SQL I tend to shift in that direction. Then when something goes amiss, I change some SQL and not some code scattered all throughout my app. I guess it's a question of where you prefer to perform your fixes. I like minimal code and maximal SQL. That's just my take on it, and I know that many listers disagree. (They are entitled to their worthless opinions :-) Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sat Jun 7 15:43:23 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 7 Jun 2003 16:43:23 -0400 Subject: [AccessD] OT: mpq files Message-ID: <068b01c32d35$704df660$8e01a8c0@Rock> Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur From jpack at sdc.org Sat Jun 7 17:43:00 2003 From: jpack at sdc.org (Johnny Pack) Date: Sat, 07 Jun 2003 16:43:00 -0600 Subject: [AccessD] OT: mpq files In-Reply-To: <068b01c32d35$704df660$8e01a8c0@Rock> Message-ID: <4.2.2.20030607164047.01970b50@sdc.org> I believe mpq files are associated with BrightStor Data Availability Solutions backup files. later jwp At 04:43 PM 06/07/2003 -0400, you wrote: >Anyone know what program creates these? There are several, comprising the >backup of a friend of a friend's computer. What program do I need to be able >to restore them? > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Sat Jun 7 18:17:43 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Sat, 07 Jun 2003 23:17:43 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Hi Shamil, Didn't mean to delay letting you know how this worked for me, but I was out of town yesterday and most of today. Just pulled in. I'm looking forward to catching up. (Seems like you and John have been batting this around a bit). Interestingly, ADH demonstrates (while neither endorsing nor disapproving) the work-around you argue against (relying on features available in VB6 that aren't supported by VBA) for a purpose other than exposing classes. It shows how to edit a class's source file on disk in a way that emulates setting procedure attributes with the Procedure Attributes dialog available in the VB IDE. Same work-around, different use (though thery're both concerned with setting attributes of one sort or another that the VBA IDE can't access). I'll let you know how I make out with your class factory suggestion. Thanks for the help. Bob >From: "Shamil Salakhetdinov" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 22:27:40 +0400 > > > I think the Access Developer's Handbook > > has a sentence or several on this too. >Bob, > >I've never read ADH for Acc97 and up so I can only guess what it states but >I can publicly bet (:)) a box of famous here now after Gustav Brock's >promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) >that you can do what you need using Public Not Creatable classes - I mean >EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one >thing you'll have to create AT LEAST one (class factory) class instance >using wrapper/helper function/sub from standard module - ALL THE REST can >be >in your custom classes including public events, which can be raised from >them and captured(/sunk) in the the form from your frontend... > >e.g. you can create in your lib database a custom class Class1 with >PublicNotCreatable instancing: > >Public Event abc() > >Public Function FireAbc() > RaiseEvent abc >End Function > >and a standard module with a wrapper function: > >Public Function getABC() As Class1 > Set getABC = New Class1 >End Function > >and then in your front-end form you can write: > >Private WithEvents a As Class1 > >Private Sub Form_Load() > Set a = getAbc >End Sub > > >Private Sub a_abc() > MsgBox "ABC fired" >End Sub > >Private Sub Command0_Click() > a.FireAbc >End Sub > >If this isn't what you're looking for then the please clarify in more >details what is the task, which you'd like to solve and why >PublicNonCreatble instancing isn't enough to solve it. > >Shamil > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Friday, June 06, 2003 5:13 PM >Subject: Re: [AccessD] Where does WithEvents go? > > > > Hi Shamil, > > > > Thanks for the thought. My Instancing property is, unfortunately, >already > > set to PublicNotCreatable. My > > calling database can see and call an instance of GetclsInventory fine. >The > > wrapper function returns an > > object with ten fingers and toes. All properties and methods, except the > > custom event, work fine. > > Here's the wrapper again (just for the sake of pointing out one thing): > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > It seems that in order for GetclsInventory to be able to raise a custom > > event, the Dim line here would > > have to read: > > > > Dim WithEvents objInventory As clsInventory > > > > That, I assume, is where WithEvents would need to go: with the object > > declaration. But I can't do that > > here because I have the wrapper in a standard code module, and with >events > > can only be used in form > > and class modules. So my options seem to be (none of which I have been >able > > to make work) to > > declare objInventory in either my calling form class somehow (can't come >up > > with a visible global > > variable), or in another class module in the library or calling >database, >or > > in the clsInventory class itself. I > > was just hoping someone would say, "Oh sure, wrapper function, goes in >class > > w in component x. Call it > > with y in component z.", or "Sorry, can't raise custom events from an >Access > > library database.", etc. > > >From what little I've been able to read on the subject (I found a whole > > paragraph in one of Wrox's > > Access books), the wrapper should go in a standard module in the library > > database. That, however, rules > > out the use of custom events with WithEvents). I think the Access > > Developer's Handbook has a > > sentence or several on this too. Compiling an ActiveX dll is always >another > > option. But I wanted to give > > the Access library a test drive. > > > > Thanks again for the reply. > > > > Bob > > > > > > >From: "Shamil Salakhetdinov" > > >Reply-To: accessd at databaseadvisors.com > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Where does WithEvents go? > > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > > > >Bob, > > > > > >You can set your class module's Instancing property to > > >'2-PublicNotCreatable' then you can continue to use it the way you used >it > > >without library - you will just need to get its instance by your > > >wrapped/helper function GetclsInventory... > > > > > >HTH, > > >Shamil > > > > > >----- Original Message ----- > > > From: Bob Bedell > > > To: accessD at databaseadvisors.com > > > Sent: Friday, June 06, 2003 10:21 AM > > > Subject: [AccessD] Where does WithEvents go? > > > > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > > >sparse. I have a custom class and a form that work fine together. The >class > > >declares a custom event using Public Event syntax in the general > > >declaration and Raise syntax in a method. The calling class (the form) > > >declares a private instance of the class using WithEvents and >instantiates > > >it. No problems. > > > > > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > > >reference to it in the database that contains the calling form. It's my > > >understanding that my calling application can't instantiate the class > > >directly, and needs to use a wrapper function. So I added a standard >module > > >to the calling application that calls a function in the library >database > > >which returns a copy of the object. The calling database then has a >public, > > >shared copy of the object to work with. The standard module in the >calling > > >database is: > > > > > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > > > > > Public Sub Startup() > > > > > > ' Get handles to shared objects > > > > > > Set g_objInventory = GetclsInventory > > > > > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > > > End Sub > > > > > > > > > > > > The standard module in the library database (where the class is >located) > > >is: > > > > > > > > > > > > Public Function GetclsInventory() > > > > > > Dim objInventory As clsInventory > > > > > > Set GetclsInventory = New clsInventory > > > > > > End Function > > > > > > > > > > > > Here's my problem. Using the library scenario, I can't find any >place >to > > >put my WithEvents statement. The old declaration (before seperating the > > >class and the form) was in the forms general declaration: > > > > > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > > > > > But now (library scenario) the declaration needs to be global, >needs >to > > >include WithEvents, and needs to be in a class or form module >(WithEvents > > >won't work in a standard module). > > > > > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss >here. > > >Real limited experience with classes/libraries stuff. Thanks to anyone >who > > >can make heads or tails of that. > > > > > > > > > > > > Bob > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------------- >--- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From Jdemarco at hshhp.org Sat Jun 7 18:19:32 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sat, 7 Jun 2003 19:19:32 -0400 Subject: [AccessD] OT: mpq files Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E77@TTNEXCHSRV1.hshhp.com> Have you tried opening one in Notepad to see what's inside? Jim DeMarco -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, June 07, 2003 4:43 PM To: AccessD Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ 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 stuart at lexacorp.com.pg Sat Jun 7 18:32:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 08 Jun 2003 09:32:35 +1000 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <3EE302B3.9588.221F2D@localhost> On 7 Jun 2003 at 16:22, Arthur Fuller wrote: > Static functions contain variables whose value is preserved between calls. > More precisely, static variables retain their values. By default all > variables in a static function are static variables. You could declare a > static variable in a non-static function, but I don't know why you would. > As an accumulator to tell you how many times the function is called? For a variable that is very slow to calculate in a function that you are going to call many times in a row (say something that uses lots of DLookups or DSums etc) but won't change during the sequence of calls? Hre's one that uses both Function MyFunction() as long Static timescalled as long Static myhardtocalcuatevariable If timescalled = 0 then myhardtocalculatevariable = ...... End If timescalled = timescalled + 1 ......... End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From davesharpe2 at cox.net Sat Jun 7 18:38:41 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 7 Jun 2003 19:38:41 -0400 Subject: [AccessD] OT: mpq files References: <068b01c32d35$704df660$8e01a8c0@Rock> Message-ID: <004101c32d4d$edd1b0a0$1d270a44@bcs006137> Arthur I found What is MPQ? File format used by Blizzard Entertainment (http://www.blizzard.com/) in their games. MPQ file holds compressed graphics, sounds, sprites, etc. Think of it as ZIP-like archive (or SIT-like if you are on the Macintosh) of the all game-related things. MPQ archives were first introduced with the game "Diablo". On http://www.angelfire.com/sc/mpq/ Dave ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Saturday, June 07, 2003 4:43 PM Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davesharpe2 at cox.net Sat Jun 7 18:47:26 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 7 Jun 2003 19:47:26 -0400 Subject: [AccessD] OT: mpq files References: <068b01c32d35$704df660$8e01a8c0@Rock> <004101c32d4d$edd1b0a0$1d270a44@bcs006137> Message-ID: <007b01c32d4f$2678c0a0$1d270a44@bcs006137> More On http://lightning.prohosting.com/~coolass/utilities.htm There is an MPQ viewer to verify that they are or aren't the game files. "MPQ viewer - A neat application that allows you to extract Starcraft Sounds, Levels etc from you Starcraft data file. " "Starcraft GRP - Viewer A application that views Graphics files extracted by the MPQ viewer" Dave ----- Original Message ----- From: dave sharpe To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 7:38 PM Subject: Re: [AccessD] OT: mpq files Arthur I found What is MPQ? File format used by Blizzard Entertainment (http://www.blizzard.com/) in their games. MPQ file holds compressed graphics, sounds, sprites, etc. Think of it as ZIP-like archive (or SIT-like if you are on the Macintosh) of the all game-related things. MPQ archives were first introduced with the game "Diablo". On http://www.angelfire.com/sc/mpq/ Dave ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Saturday, June 07, 2003 4:43 PM Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbusergroups at optushome.com.au Sat Jun 7 17:11:15 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Sun, 8 Jun 2003 8:11:15 +1000 Subject: [AccessD] OT: mpq files Message-ID: <200306072210.h57MAMG18014@mail020.syd.optusnet.com.au> Hello Arthur Fuller, Apparently it's a file format Blizzard Entertainment uses in its games (Diablo, Starcraft, etc). You can grab the extractor here. http://safiles1.netmag.easyspace.com/misc.html ======= At 2003-06-07, 16:43:00 you wrote: ======= >Anyone know what program creates these? There are several, comprising the >backup of a friend of a friend's computer. What program do I need to be able >to restore them? = = = = = = = = = = = = = = = = = = = = HTH Best regards. Joshua B jbusergroups at optushome.com.au www.jbsolutions.com.au 2003-06-08 From bchacc at san.rr.com Sat Jun 7 23:30:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 7 Jun 2003 21:30:01 -0700 Subject: [AccessD] OT: Recycle Bin Message-ID: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbgajewski at adelphia.net Sun Jun 8 00:59:53 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Sun, 8 Jun 2003 01:59:53 -0400 Subject: [AccessD] OT: Recycle Bin In-Reply-To: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: Rocky Do you have a program such as Norton SystemWorks that intercepts those files and puts them in the Norton Protected Recycle Bin? There are many programs that take such control of the Bin for 'protection' purposes. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, June 08, 2003 00:30 To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Sun Jun 8 01:35:27 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sun, 8 Jun 2003 16:35:27 +1000 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! Message-ID: <000001c32d88$2865d3b0$c000a8c0@bbb888> Hi List, Does anyone know of a library that will help me parse an email, which is in BADLY formed html. I need to find a table in the message, pull the text from each cell and add the information to a table. I have tried using linked outlook (and exchange) tables, the message field only contains the plain text. One of the info pieces we are looking for is a hyperlink which M$ conveniently removes. I have tried using MAPI and CDO libraries. And if I ever meet in a dark alley the M$ decision maker who put that security misconception together...... I have tried using Redemption, which lets me get at either the plaintext or the HTML body of the message fine, but... Now I've got that far, I am having extreme dificulty with the parsing. The "ideal" solution would be to have a template per sender identity that would store the layout of the table in the message (and its position) and a set of routines that would parse the message, find the table beast, dig it out and populate the recordset row based on the template. Sounds simple eh? Here's the complexity: 1. The tables are in different positions in the message, depending on how much useless advertising the vendor is sprouting today. 2. At least the tables are in constant formats! 3. Depending on the vendor, the HTML of the mail is either fair, poor or atrocious. The most common occurrence is unmatched closing tags, for example "blah blahblah1 blah1blah3" - fine for web browser companies with 2.3Gigadevelopers to hack it around but I'm only one underpaid ..... 4. The cells contain more than one attribute. This bit, I'm OK with, I can dig out, validate the part# v. description etc with a bit of work. 5. In some cases we need to dig out the tag attributes e.g. a hyperlink. So, I'm looking for something that I could call that could either "correct" the html, so I can parse it, or something I could call that would parse the html bad as it is and return the info for processing somewhat like the XML parser. Any ideas? Bruce From ad_tp at hotmail.com Sun Jun 8 03:31:58 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sun, 8 Jun 2003 14:01:58 +0530 Subject: [AccessD] OT: Recycle Bin References: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: Rocky, Similar phenomenon was experienced by me recently.You could try the following - In the properties dialog box for Recycle Bin, in the global tab make sure that the option button 'Configure drives independently' is selected. In the tab for drive in question, reselect the check box 'Do not move files ---- ', click Apply/OK. Close the Windows Explorer. Open the property dialog box once again, deselect the said check box and click Apply/OK. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Sunday, June 08, 2003 10:00 Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sun Jun 8 07:16:13 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 8 Jun 2003 16:16:13 +0400 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! References: <000001c32d88$2865d3b0$c000a8c0@bbb888> Message-ID: <001201c32db7$c2f66aa0$b501010a@DAISY.local> Bruce, If you can extract HTML doc from e-mail by your code then I think you can use Microsoft Internet Controls to parse it even if this HTML doc is partially broken - here is the sample code for starters: http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm HTH, Shamil ----- Original Message ----- From: "Bruce Bruen" To: Sent: Sunday, June 08, 2003 10:35 AM Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! > Hi List, > > Does anyone know of a library that will help me parse an email, which is > in BADLY formed html. I need to find a table in the message, pull the > text from each cell and add the information to a table. > > I have tried using linked outlook (and exchange) tables, the message > field only contains the plain text. One of the info pieces we are > looking for is a hyperlink which M$ conveniently removes. > > I have tried using MAPI and CDO libraries. And if I ever meet in a dark > alley the M$ decision maker who put that security misconception > together...... > > I have tried using Redemption, which lets me get at either the plaintext > or the HTML body of the message fine, but... > > Now I've got that far, I am having extreme dificulty with the parsing. > > The "ideal" solution would be to have a template per sender identity > that would store the layout of the table in the message (and its > position) and a set of routines that would parse the message, find the > table beast, dig it out and populate the recordset row based on the > template. > > Sounds simple eh? Here's the complexity: > 1. The tables are in different positions in the message, depending on > how much useless advertising the vendor is sprouting today. > 2. At least the tables are in constant formats! > 3. Depending on the vendor, the HTML of the mail is either fair, poor > or atrocious. The most common occurrence is unmatched closing tags, for > example "blah blahblah1 blah1blah3" - fine for > web browser companies with 2.3Gigadevelopers to hack it around but I'm > only one underpaid ..... > 4. The cells contain more than one attribute. This bit, I'm OK with, I > can dig out, validate the part# v. description etc with a bit of work. > 5. In some cases we need to dig out the tag attributes e.g. a hyperlink. > > So, I'm looking for something that I could call that could either > "correct" the html, so I can parse it, or something I could call that > would parse the html bad as it is and return the info for processing > somewhat like the XML parser. > > Any ideas? > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Sun Jun 8 08:11:07 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sun, 8 Jun 2003 23:11:07 +1000 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! In-Reply-To: <001201c32db7$c2f66aa0$b501010a@DAISY.local> Message-ID: <000501c32dbf$6cfe1460$c000a8c0@bbb888> Shamil, Many, many thanks. This looks like what I have been biting my nails over, and yes it doesn't seem to mind the rotten bits of html I have given it so far. Now if I can come up with a good way to encode the templates for parsing the cell contents I'll be there! Thanks again Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, June 08, 2003 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! Bruce, If you can extract HTML doc from e-mail by your code then I think you can use Microsoft Internet Controls to parse it even if this HTML doc is partially broken - here is the sample code for starters: http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm HTH, Shamil ----- Original Message ----- From: "Bruce Bruen" To: Sent: Sunday, June 08, 2003 10:35 AM Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! > Hi List, > > Does anyone know of a library that will help me parse an email, which > is in BADLY formed html. I need to find a table in the message, pull > the text from each cell and add the information to a table. > > I have tried using linked outlook (and exchange) tables, the message > field only contains the plain text. One of the info pieces we are > looking for is a hyperlink which M$ conveniently removes. > > I have tried using MAPI and CDO libraries. And if I ever meet in a > dark alley the M$ decision maker who put that security misconception > together...... > > I have tried using Redemption, which lets me get at either the > plaintext or the HTML body of the message fine, but... > > Now I've got that far, I am having extreme dificulty with the parsing. > > The "ideal" solution would be to have a template per sender identity > that would store the layout of the table in the message (and its > position) and a set of routines that would parse the message, find the > table beast, dig it out and populate the recordset row based on the > template. > > Sounds simple eh? Here's the complexity: > 1. The tables are in different positions in the message, depending on > how much useless advertising the vendor is sprouting today. 2. At > least the tables are in constant formats! 3. Depending on the vendor, > the HTML of the mail is either fair, poor or atrocious. The most > common occurrence is unmatched closing tags, for example "blah > blahblah1 blah1blah3" - fine for web browser companies > with 2.3Gigadevelopers to hack it around but I'm only one underpaid > ..... 4. The cells contain more than one attribute. This bit, I'm OK > with, I can dig out, validate the part# v. description etc with a bit > of work. 5. In some cases we need to dig out the tag attributes e.g. a > hyperlink. > > So, I'm looking for something that I could call that could either > "correct" the html, so I can parse it, or something I could call that > would parse the html bad as it is and return the info for processing > somewhat like the XML parser. > > Any ideas? > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Fri Jun 6 15:52:48 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 6 Jun 2003 15:52:48 -0500 Subject: [AccessD] Default value for control doesn't work Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D73@bocnte2k4.boc.chevrontexaco.net> Problem fixed by recreating form. Figure that. -----Original Message----- From: Kaup, Chester A Sent: Friday, June 06, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Default value for control doesn't work I have a form that is based on a table. For one of the text boxes I have the default value set to =Forms![frm Select Date]!selected_month. When form opens text box display #Error. I tried a text box on the same form with no data source and this default value and it works fine. Is something I cannot do or am I doing it wrong. Thanks. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Jun 8 09:30:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 07:30:55 -0700 Subject: [AccessD] OT: Recycle Bin References: Message-ID: <001f01c32dca$92a02b80$6501a8c0@HAL9002> No. Not on this box. Rocky ----- Original Message ----- From: Bob Gajewski To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 10:59 PM Subject: RE: [AccessD] OT: Recycle Bin Rocky Do you have a program such as Norton SystemWorks that intercepts those files and puts them in the Norton Protected Recycle Bin? There are many programs that take such control of the Bin for 'protection' purposes. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, June 08, 2003 00:30 To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Jun 8 09:33:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 07:33:12 -0700 Subject: [AccessD] OT: Recycle Bin References: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: <003b01c32dca$e3ebc8f0$6501a8c0@HAL9002> Thanks but no cigar. Still nothing shows up in the Recycle bin. Rocky ----- Original Message ----- From: A.D.Tejpal To: accessd at databaseadvisors.com Sent: Sunday, June 08, 2003 1:31 AM Subject: Re: [AccessD] OT: Recycle Bin Rocky, Similar phenomenon was experienced by me recently.You could try the following - In the properties dialog box for Recycle Bin, in the global tab make sure that the option button 'Configure drives independently' is selected. In the tab for drive in question, reselect the check box 'Do not move files ---- ', click Apply/OK. Close the Windows Explorer. Open the property dialog box once again, deselect the said check box and click Apply/OK. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Sunday, June 08, 2003 10:00 Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Sun Jun 8 13:42:37 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 08 Jun 2003 19:42:37 +0100 Subject: [AccessD] OT Free Firewall for those in USA Message-ID: <200306081842.TAA19860@hosea.qub.ac.uk> http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin From Susan.Klos at fldoe.org Sun Jun 8 18:04:39 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 8 Jun 2003 19:04:39 -0400 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Has anyone used Worksheet functions in Access? I am trying to rank a column of numbers in a table and I have no idea even how to begin. HELP!! Please. From bchacc at san.rr.com Sun Jun 8 19:06:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 17:06:52 -0700 Subject: [AccessD] super critical:PercentRank function in Access References: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Message-ID: <00ac01c32e1b$086f9170$6501a8c0@HAL9002> Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Jun 8 19:23:21 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 09 Jun 2003 10:23:21 +1000 Subject: [AccessD] super critical:PercentRank function in Access In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Message-ID: <3EE46019.4185.55C410@localhost> On 8 Jun 2003 at 19:04, Klos, Susan wrote: > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. How many numbers, why are you doing - what sort of output do you want? Maybe the easiest solution would be to "roll your own" completely. Fill an array with the numbers, sort the array, assign a rank to each element (grab a count of the array elements first if you want a percentrank), write it out to a temporary table or whatever. A function like that could be written in a few minutes. or use the table itself: Have a "rank" field in the table. Create a recordset of all the required records sorted by value. (Get the recordcount if you need percent rank) Step through the records and update each one with its rank or percent rank. With either approach, you would set up three variables: PreviousScore, Rank and Position. Set Position = 0, PreviousScore = -1 (or some other "impossible" value) Then use something like this: Do Position = Position + 1 If !score <> PreviousScore then Rank = Position !rank = Rank (or !PercentRank = Rank/Recordcount) PreviousScore = !score .movenext Loop until .eof -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Susan.Klos at fldoe.org Sun Jun 8 22:58:37 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 8 Jun 2003 23:58:37 -0400 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF1@mail.doe.state.fl.us> No. I have to use the rank function that is used by Excel. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, June 08, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] super critical:PercentRank function in Access Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jun 9 00:30:26 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 08 Jun 2003 22:30:26 -0700 Subject: [AccessD] super critical:PercentRank function in Access In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406FF1@mail.doe.state.fl.us> Message-ID: Hi Susan: Here is an example of a ranking system created without access to Excel's ranking function: http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_20325878.ht ml HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 08, 2003 8:59 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] super critical:PercentRank function in Access No. I have to use the rank function that is used by Excel. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, June 08, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] super critical:PercentRank function in Access Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Jun 9 01:40:51 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 9 Jun 2003 16:40:51 +1000 Subject: [AccessD] Report Based on Non-Linked DB Data Message-ID: <000001c32e52$1486f250$0c05a8c0@earth.local> Guys, Is there a way of setting a report's record source to a non-linked DB on the fly? I have mucked around with the .Name function I found on Dev Ashish's site but to no avail. Any ideas on how this can be done in AXP? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 9 02:33:48 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 9 Jun 2003 09:33:48 +0200 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <067e01c32d32$895c5410$8e01a8c0@Rock> Message-ID: <1121305737.20030609093348@cactus.dk> Hi Arthur > .. By default all variables in a static function are static > variables. You could declare a static variable in a non-static > function, but I don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav From accessd at shaw.ca Mon Jun 9 03:21:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 09 Jun 2003 01:21:03 -0700 Subject: [AccessD] OT Free Firewall for those in USA In-Reply-To: <200306081842.TAA19860@hosea.qub.ac.uk> Message-ID: Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Jun 9 03:56:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 9 Jun 2003 10:56:43 +0200 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <067e01c32d32$895c5410$8e01a8c0@Rock> Message-ID: <1236280981.20030609105643@cactus.dk> Hi Arthur > .. I use -1 as the reset value .. So what do you do when such a function carries a Boolean? Wouldn't Null be a better "value" to use for this? A solution to end such considerations is to add an optional parameter: > Static Function CurrentX(Optional lngNew As Long, _ > Optional ByVal booReset As Boolean) As Long It's a matter of taste and needs I guess. /gustav From roz.clarke at donnslaw.co.uk Mon Jun 9 04:07:38 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 10:07:38 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E50@dibble.observatory.donnslaw.co.uk> This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Mon Jun 9 06:23:48 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 06:23:48 -0500 Subject: [AccessD] AXP Question Message-ID: Here's another question. If someone makes changes to their frontend - adding some queries and reports - what happens when they update to the lates FE version - do they lose their queries, etc.? Thanks to everyone for their responses - I want to change to the local FE, but this is a concern. >>> dwaters at usinternet.com 06/06/03 07:58PM >>> Terri, Based on experience I can recommend a free utility (Auto FE Updater) which can be downloaded from this web site. http://www.granite.ab.ca/access/autofe.htm You can use this to both initially distribute a FE to user's PCs, and to update each FE after you have made changes to the FE. The updating operation is mostly transparent to the user, and they don't need to take any action. For the initial loading of the FE at user's PCs, send all the users an email with the shortcut (described in the documentation) as an attachment. Instruct the user in the email to copy the attachment to their PC, then double-click the shortcut. From that point on, the users double-click the same shortcut to open the current FE or to download an updated FE. Good Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 6:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 9 06:45:57 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 09 Jun 2003 21:45:57 +1000 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <3EE50015.13456.2C6B9EB@localhost> On 9 Jun 2003 at 6:23, Terri Jarus wrote: > Here's another question. If someone makes changes to their frontend - > adding some queries and reports - what happens when they update to the > lates FE version - do they lose their queries, etc.? > > Thanks to everyone for their responses - I want to change to the local FE, but this is a concern. > Simple answer to that one is - don't let them make changes to the main FE. Give them a second FE which only contains links to the BE and have them use that one to store their temporary queries/reports. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Susan.Klos at fldoe.org Mon Jun 9 07:42:07 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 08:42:07 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF3@mail.doe.state.fl.us> I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? From jcolby at colbyconsulting.com Mon Jun 9 07:45:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 08:45:37 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com From paul.hartland at fsmail.net Mon Jun 9 07:48:10 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 12:48:10 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609124810.MHEX18722.fep06-svc.ttys.com@localhost> How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From bheid at appdevgrp.com Mon Jun 9 08:00:27 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 09:00:27 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: <916187228923D311A6FE00A0CC3FAA30527973@ADGSERVER> Hi John, If it is your program that is accessing Outlook, you need to look at Redemption. http://www.dimastr.com/redemption/ HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 09, 2003 8:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 Susan.Klos at fldoe.org Mon Jun 9 07:57:49 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 08:57:49 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF4@mail.doe.state.fl.us> Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 07:45:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 08:45:37 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 CWortz at tea.state.tx.us Mon Jun 9 08:06:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 08:06:16 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jcolby at colbyconsulting.com Mon Jun 9 08:10:13 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 09:10:13 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 08:16:58 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:16:58 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609131658.LYQE28680.fep03-svc.ttys.com@localhost> I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Mon Jun 9 08:25:54 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 09:25:54 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF5@mail.doe.state.fl.us> Here is what I have so far: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As querydef school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I know at this point I am putting in the school numbers from an input box but I knew how to do that. I am getting this error message "User defined type object not defined". What references do I need to set? -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:17 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] MOre help needed I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 08:28:42 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 14:28:42 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E66@dibble.observatory.donnslaw.co.uk> Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 08:29:35 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 14:29:35 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E67@dibble.observatory.donnslaw.co.uk> That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 08:36:03 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:36:03 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609133603.LYZM28680.fep03-svc.ttys.com@localhost> Does it give a clue as to where it is producing the error ? From: "Klos, Susan" Date: Mon 09/Jun/2003 13:25 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Here is what I have so far: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As querydef school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I know at this point I am putting in the school numbers from an input box but I knew how to do that. I am getting this error message "User defined type object not defined". What references do I need to set? -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:17 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] MOre help needed I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Mon Jun 9 08:37:43 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 09:37:43 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF6@mail.doe.state.fl.us> OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. From jcolby at colbyconsulting.com Mon Jun 9 08:42:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 09:42:05 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E66@dibble.observatory.donnslaw.co.uk> Message-ID: Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Mon Jun 9 08:53:21 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 9 Jun 2003 09:53:21 -0400 Subject: [AccessD] MOre help needed References: <8213C1F49875D61195DA0002A5412A0301406FF6@mail.doe.state.fl.us> Message-ID: <00cf01c32e8e$7e1fc1b0$6401a8c0@default> Susan, You need a reference to DAO 3.6 in A200? You then need to dim as DAO.Object Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Klos, Susan" To: Sent: Monday, June 09, 2003 9:37 AM Subject: RE: RE: [AccessD] MOre help needed > OK, Here I am now: > > Dim school As String > Dim strFileName As String > Dim mysql As String > Dim qdf As QueryDef > Dim db As Database > > Set db = currentdatabase > > school = InputBox("What School Number") > 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", > "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" > mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, > ReadingGrade.LName, " & _ > "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, > ReadingGrade.MatchFCAT02, " & _ > "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & > _ > "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & > _ > "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" > 'MsgBox school > > Set qdf = db.QueryDefs("Reading") > > strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & > ".xls" > qdf.SQL = mysql > MsgBox "tablename = " & strFileName > > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, > strFileName, True > > I am now getting this message when I get to Set qdf = db.QueryDefs "Object > Required" I have a query called "Reading" and I thought I had DIMmed > everything. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Mon Jun 9 08:56:27 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 08:56:27 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us From paul.hartland at fsmail.net Mon Jun 9 08:58:32 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:58:32 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609135832.LZJY28680.fep03-svc.ttys.com@localhost> ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From roz.clarke at donnslaw.co.uk Mon Jun 9 09:09:07 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:09:07 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E69@dibble.observatory.donnslaw.co.uk> Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:08:03 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:08:03 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF7@mail.doe.state.fl.us> Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 09:11:23 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:11:23 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 09:12:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:12:50 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E69@dibble.observatory.donnslaw.co.uk> Message-ID: I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 09:15:48 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:15:48 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609141549.LZTA28680.fep03-svc.ttys.com@localhost> Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From jcolby at colbyconsulting.com Mon Jun 9 09:21:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:21:55 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> Message-ID: Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:29:08 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:29:08 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF8@mail.doe.state.fl.us> Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 9 09:31:29 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 09:31:29 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, To give them all they want you probably will have to define your reports as custom objects with all of their properties set by you instead of by Access. This may mean you will not be able to take advantage of the built-in Access report wizards. You may even be required to go to VB to build such report objects. I cannot say since I have never had to give the user so many options concerning reports. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 09:09 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com From roz.clarke at donnslaw.co.uk Mon Jun 9 09:32:58 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:32:58 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6B@dibble.observatory.donnslaw.co.uk> OK I can see how that would work if you never want the changes to be kept. I knew what he meant about the wizard. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:13 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:32:16 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:32:16 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF9@mail.doe.state.fl.us> Thanks Paul. I solved it. You are still a lifesaver. -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Monday, June 09, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Jun 9 09:33:54 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 9 Jun 2003 10:33:54 -0400 (EDT) Subject: [AccessD] (OT) General questions In-Reply-To: References: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> Message-ID: <2005.24.188.21.161.1055169234.squirrel@ns1.bay9.com> I am in the interviewing process again, so I am looking through questions that we asked at the past 1) Whats NOVA ? 2) whats GUID ? 3) Whats LAN ? can ms access rights be shared ? 2) list some Built in Functions and methods in VBA functions - date methods - load picture 4) Does combo bx take more memory then list box ? ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From caa at highway.com.br Fri Jun 6 16:40:12 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 06 Jun 2003 18:40:12 -0300 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Sat Jun 7 14:49:48 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 07 Jun 2003 16:49:48 -0300 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From paul.hartland at fsmail.net Mon Jun 9 09:35:03 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:35:03 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609143503.GPVM5167.fep04-svc.ttys.com@localhost> rs.MoveNext From: "Klos, Susan" Date: Mon 09/Jun/2003 14:29 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 9 09:37:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:37:05 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609143705.GPXN5167.fep04-svc.ttys.com@localhost> No problem, thats what this list is for and I have had more help than I have ever given. From: "Klos, Susan" Date: Mon 09/Jun/2003 14:32 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Thanks Paul. I solved it. You are still a lifesaver. -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Monday, June 09, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From CWortz at tea.state.tx.us Mon Jun 9 09:38:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 09:38:00 -0500 Subject: [AccessD] AXP Question Message-ID: John, That may be exactly what Roz needs. I knew one of the great minds on this list would be able to solve Roz's problem. Glad I could do my small part to get that great mind thinking about this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday 2003 Jun 09 09:13 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz From actebs at actebs.com.au Mon Jun 9 09:48:12 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 00:48:12 +1000 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <002001c32e96$299af8a0$0c05a8c0@earth.local> Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Mon Jun 9 09:57:21 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 10:57:21 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: <916187228923D311A6FE00A0CC3FAA3052797A@ADGSERVER> Oh, I see what you are talking about. Was it a .reg file before? I have purposely not loaded that SP on OL 2000 because of those issues. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 09, 2003 8:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Jun 9 09:54:25 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 9 Jun 2003 10:54:25 -0400 (EDT) Subject: [AccessD] (OT) Interview Questions In-Reply-To: <002001c32e96$299af8a0$0c05a8c0@earth.local> References: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: <2869.24.188.21.161.1055170465.squirrel@ns1.bay9.com> Hey Ppl does anyoneone know any websites or books that have some MS Access interview questions ? I've lost my job last week, so... need to practice :--) Oleg ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From jcolby at colbyconsulting.com Mon Jun 9 09:58:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:58:37 -0400 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: Messagedo it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Mon Jun 9 10:02:18 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 9 Jun 2003 10:02:18 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAE@cpixchng-1.cpiqpc.net> Vlad, I've not tried it but you might look at creating a make table query in the Query designer, then look at the SQL statement it produces. Instead of running "with rst..." just do a "docmd.runsql 'SQL Statement here'" HTH Rusty -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 9:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 9 10:10:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:10:26 -0700 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Yes, performance. A2k is a dog linked to a 97 back end. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Friday, June 06, 2003 1:40 PM To: AccessD List Subject: [AccessD] A2k - Different version FE's and One BE Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Jun 9 10:12:59 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 01:12:59 +1000 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: Message-ID: <000a01c32e99$9cff8010$0c05a8c0@earth.local> John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 9 10:13:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:13:41 -0700 Subject: [AccessD] OK, ya talked into it Message-ID: Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 cfoust at infostatsystems.com Mon Jun 9 10:14:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:14:35 -0700 Subject: [AccessD] OT Free Firewall for those in USA Message-ID: It's supposed to be good, but I doubt that it's better that ZA. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, June 09, 2003 12:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT Free Firewall for those in USA Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 9 10:19:39 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 9 Jun 2003 08:19:39 -0700 Subject: [AccessD] Create Temp Table from Recordset References: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: <01c301c32e9a$8ba7b110$6501a8c0@HAL9002> MessageVlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Mon Jun 9 10:28:46 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 10:28:46 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From actebs at actebs.com.au Mon Jun 9 10:34:59 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 01:34:59 +1000 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: <01c301c32e9a$8ba7b110$6501a8c0@HAL9002> Message-ID: <001901c32e9c$b287b580$0c05a8c0@earth.local> Rocky, But how did you tell it which DB you wanted to create the table in? I tried the db.execute....method but it created the table in the BE which is something I don't want. That's why I stopped using the SELECT ....IN clauses and just created the recordset hoping I could save it locally as a table. The reason is, the users can save the FE anywhere and run it so the IN portion of the Make Table syntax won't work. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, 10 June 2003 1:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create Temp Table from Recordset Vlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Mon Jun 9 10:44:37 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 9 Jun 2003 10:44:37 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAF@cpixchng-1.cpiqpc.net> Vlad, When using the QBE grid to create the SQL statement, go to the properties of the query and change the source database to point to the remote DB. Then when you go to add tables, the list of tables in the remote database should show up in the list. When you do this your SQL statement should look something like the following: SELECT tblRemote.PlanRefNum, tblRemote.AllianceFundName, tblRemote.Cusip INTO tblTMP FROM tblRemote IN 'f:\access\RemoteDB.mdb'; tblRemote is the table you are pulling data from in f:\access\RemoteDB.mdb, tblTMP is the new table being created. Rusty -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Jun 9 10:44:45 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 10:44:45 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: Susan, What is the value of Me at the time you execute one of these statements? If it is not the form on which chkMyCheckBox resides, then no version of the assignment statement will work. Maybe Me is pointing to the recordset instead of the form. If it is, don't feel stupid since I and many others have made this same mistake. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us P.S. How is the paperwork coming along to make you and your beloved legally Geller's? -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Jun 09 10:29 To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From paul.hartland at fsmail.net Mon Jun 9 10:48:15 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 15:48:15 +0000 Subject: [AccessD] Check Box in Unbound Form Message-ID: <20030609154815.YIFW18836.fep01-svc.ttys.com@localhost> Susan, You can set the checkbox using the following : me.chkboxname.value = true me.chkboxname.value = false Paul From: "Susan Geller" Date: Mon 09/Jun/2003 15:28 GMT To: Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From BBarabash at TappeConstruction.com Mon Jun 9 10:52:49 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 9 Jun 2003 10:52:49 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DC@TAPPEEXCH01> Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Rich_Lavsa at pghcorning.com Mon Jun 9 11:00:02 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 9 Jun 2003 12:00:02 -0400 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <833956F5C117124A89417638FDB11290EBCEB1@goexchange.pghcorning.com> You can refer to a table in another database within your queries without having to create a permanent link to that database. e.g. SELECT * from Orders IN "c:\datafolder\other_db.mdb" Another option might be to use a Pass-Through query. Once you have the Pass-Through query running, you can use the Pass-Through query as your datasource to do whatever you like such as building a make-table query... This may or may not be a solution for you. One of its uses is an alternate way to "link" to a remote database table. Look in the help file for more information on "Pass-Through". Not sure if this will solve your problem, just thought it might be something for you to think about. Rich -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 11:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Mon Jun 9 11:05:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 17:05:25 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6C@dibble.observatory.donnslaw.co.uk> Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From forefront at ig.com.br Sun Jun 8 10:08:25 2003 From: forefront at ig.com.br (forefront at ig.com.br) Date: Sun, 8 Jun 2003 12:08:25 -0300 Subject: [AccessD] A2k - Different Versions of FE's Message-ID: <200306091608.h59G8Rg28316@databaseadvisors.com> Dear Mates: Case -> three A97 FE's and one A2k FE linking to one single A97 BE; all users have permissions to read/write/update/delete. Any known drawbacks??? TIA, Carlos Alberto Alves mailto:caa at highway.com.br _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br From jjwrite at earthlink.net Mon Jun 9 11:11:32 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Mon, 9 Jun 2003 12:11:32 -0400 Subject: [AccessD] Get Current Printer - XP w/in Citrix Message-ID: <412003619161132930@earthlink.net> An HTML attachment was scrubbed... URL: From papparuff at attbi.com Mon Jun 9 11:15:12 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 09:15:12 -0700 Subject: [AccessD] OK, ya talked into it In-Reply-To: Message-ID: <00a901c32ea2$4e9da600$6401a8c0@papparuff> John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Jun 9 11:17:26 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 11:17:26 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: I just tried both syntaxes with a different form in a different file and it worked fine. I've been having corruption problems with the application I was really trying to get this to work with and so now I think that's my problem, not syntax. Thanks for your help everyone. --Susan -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Monday, June 09, 2003 10:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box in Unbound Form Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Mon Jun 9 11:25:44 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Mon, 9 Jun 2003 11:25:44 -0500 Subject: [AccessD] Query Help In-Reply-To: <200306091608.h59G8Rg28316@databaseadvisors.com> Message-ID: Hi all, I was hoping one of you could help me figure this out . . . I have a database for an insurance company that stores customer information (customer contact info, policy info, dependent info, etc.). What I would like to do is run a report that will show me all customers who only have one policy with us. Some customers have many policies (health, auto, home, etc.) while others only have one policy (just an auto policy). These are the customers I'd like to pull, but I can't figure out how to do it. Attached is my tables and relationships, if that helps! Thanks for any help! Jamie -------------- next part -------------- A non-text attachment was scrubbed... Name: Relationships.pdf Type: application/pdf Size: 21465 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Jun 9 11:27:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:27:32 -0700 Subject: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Message-ID: It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 9 11:32:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 11:32:16 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, I hope you have analytical and cross-reference tools such as those that come with FMS's Total Access Analyzer, otherwise how are you ever going to overhaul all those reports, queries and forms? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 11:05 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com From jeffrey.demulling at usbank.com Mon Jun 9 11:32:27 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 9 Jun 2003 11:32:27 -0500 Subject: [AccessD] Query Help Message-ID: Try this: SELECT Customers.CustID FROM Customers INNER JOIN Policies ON Customres.CustId = Policies.CustID GROUP BY Customers.CustID HAVING (((Count(Policies.CustID))=1)); -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Mon Jun 9 11:33:44 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 11:33:44 -0500 Subject: [AccessD] AXP Question Message-ID: I already am making the change using the FE Updater from Tony Toews, which seems easy to deal with and works very well. I still have the issue of users who wish to create their own queries - and why shouldn't they? First of all, I'm not in the IT department who absolutedly detests and refuses to support Access databases - which is a very inexpensive solution for things my departments need to organize their information. Our IT Dept always aims for the $500k version of things and since we have no budget for such, we don't get. This is my solution. Thus, I play amateur developer and stumble around to come up with these things. It's fun for me and a challenge, but it's not my primary focus. Awhile back I had used a FE updater that only replaced the objects that had changed - not the entire database. I paid a small fee for that program, but it took too long to update at the time and was more difficult to setup. However, the user still had anything they originally created. Maybe, I can set up something like that just for the users who need the flexibility of creating and keeping their own queries, reports, etc. >>> jcolby at colbyconsulting.com 06/09/03 08:42AM >>> Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jscott at mchsi.com Mon Jun 9 11:30:18 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 11:30:18 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:41:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:41:55 -0700 Subject: [AccessD] Access97 and recordlocking Message-ID: That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 11:40:56 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 11:40:56 -0500 Subject: [AccessD] Function Keys - A2K Message-ID: How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From jarus at amerinet-gpo.com Mon Jun 9 11:42:38 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 11:42:38 -0500 Subject: [AccessD] Repeat Emails Message-ID: I have been receiving some of the same emails three times - but only a few have done that - not all. Anyone else experiencing the same? --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jcolby at colbyconsulting.com Mon Jun 9 11:43:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 12:43:15 -0400 Subject: [AccessD] OK, ya talked into it In-Reply-To: <00a901c32ea2$4e9da600$6401a8c0@papparuff> Message-ID: John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 11:40:24 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 11:40:24 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 11:50:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 12:50:32 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E6C@dibble.observatory.donnslaw.co.uk> Message-ID: Well... good luck in your endeavors. If you really intend to support this method, it sounds like you need a heavy duty programmer. Everything you are talking about could probably be done programmatically. The question here is "is it worth it". Management can't have it both ways - "yes we are going to do this" and "no we aren't going to pay for this". I must say I'm not sure you have picked the wrong tool. I don't know of any reporting tool that will do what you are asking. You might want to talk to Shamil however, he seemed to think that Crystal Reports was heads and shoulders above Access. Maybe it would solve this problem for you. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 12:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 11:50:44 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 12:50:44 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:54:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:54:23 -0700 Subject: [AccessD] Repeat Emails Message-ID: Yes, me. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] Repeat Emails I have been receiving some of the same emails three times - but only a few have done that - not all. Anyone else experiencing the same? ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:54:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:54:55 -0700 Subject: [AccessD] Function Keys - A2K Message-ID: Create an AutoKeys macro. Charlotte Foust -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Monday, June 09, 2003 8:41 AM To: AccessD Subject: [AccessD] Function Keys - A2K How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Mon Jun 9 11:56:23 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 09:56:23 -0700 Subject: [AccessD] OK, ya talked into it In-Reply-To: Message-ID: <00c101c32ea8$0f7d7710$6401a8c0@papparuff> Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Jun 9 12:06:07 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Mon, 9 Jun 2003 10:06:07 -0700 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: In you form's properties, set "key preview" to "yes" and place the following code in the "On Key Up" event: Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) Select Case KeyCode Case 27 'Escape was pressed KeyCode = 0 'Setting a keycode to 0 will "disable" that key's function Case 114 'F3 was pressed Call YourFunctionNameHere() Case 116 'F5 was pressed Msgbox "F5 was pressed" Case 117 'F6 was pressed Msgbox "F6 was pressed" Case 119 'F8 was pressed Msgbox "F8 was pressed" Case 120 'F9 was pressed Msgbox "F9 was pressed" Case 121 'F10 was pressed Msgbox "F10 was pressed" 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way 'Msgbox "F12 was pressed" End Select End Sub HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Monday, June 09, 2003 9:41 AM To: AccessD Subject: [AccessD] Function Keys - A2K How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 12:05:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 13:05:37 -0400 Subject: [AccessD] OK, ya talked into it In-Reply-To: <00c101c32ea8$0f7d7710$6401a8c0@papparuff> Message-ID: The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 12:14:46 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 12:14:46 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Mon Jun 9 13:08:58 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 9 Jun 2003 14:08:58 -0400 Subject: [AccessD] Check Box in Unbound Form Message-ID: <01C32E90.AC5A6740.bob@renaissancesiding.com> Susan Me!chkMyCheckBox.Value = True Regards, Bob Gajewski On Monday, June 09, 2003 11:29 AM, Susan Geller [SMTP:sgeller at cce.umn.edu] wrote: > Access XP. I have an unbound form with a checkbox. In my code, I am > opening a recordset and I want to set the checkbox to true/false > depending on what is returned in my recordset. What is syntax for > setting a check box to true/false? Once I know that, I can deal with > what is returned in the recordset. These don't work: > > Me!chkMyCheckBox = True > Me!chkMyCheckBox.format = True > > TIA > --Susan > > Susan B. Geller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From sgeller at cce.umn.edu Mon Jun 9 13:30:32 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 13:30:32 -0500 Subject: [AccessD] Check Box in Unbound Form -- SOLVED Message-ID: My problem was that the checkbox was in a frame. As soon as I took it out of the frame, all worked fine. --Susan -----Original Message----- From: Susan Geller Sent: Monday, June 09, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Check Box in Unbound Form I just tried both syntaxes with a different form in a different file and it worked fine. I've been having corruption problems with the application I was really trying to get this to work with and so now I think that's my problem, not syntax. Thanks for your help everyone. --Susan -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Monday, June 09, 2003 10:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box in Unbound Form Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 13:28:51 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 13:28:51 -0500 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: What's the purpose of "key preview = yes"? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > (Home) > Sent: Monday, June 09, 2003 12:06 PM > To: accessd at databaseadvisors.com > Cc: reuben at gfconsultants.com > Subject: RE: [AccessD] Function Keys - A2K > > > In you form's properties, set "key preview" to "yes" and place > the following > code in the "On Key Up" event: > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > Select Case KeyCode > Case 27 'Escape was pressed > KeyCode = 0 'Setting a keycode to 0 will "disable" that key's > function > Case 114 'F3 was pressed > Call YourFunctionNameHere() > Case 116 'F5 was pressed > Msgbox "F5 was pressed" > Case 117 'F6 was pressed > Msgbox "F6 was pressed" > Case 119 'F8 was pressed > Msgbox "F8 was pressed" > Case 120 'F9 was pressed > Msgbox "F9 was pressed" > Case 121 'F10 was pressed > Msgbox "F10 was pressed" > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > 'Msgbox "F12 was pressed" > End Select > End Sub > > > HTH > David McAfee > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 9:41 AM > To: AccessD > Subject: [AccessD] Function Keys - A2K > > > How do I access the powers the function keys in an Access app? > > I want to use F3 (or whatever) to perform a certain function. How can I > call the function using an F3 keypress? > > Thanks. > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jim.hale at fleetpride.com Mon Jun 9 13:31:42 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 9 Jun 2003 13:31:42 -0500 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <869379ABF177D4118D3100508B5EF873063AB21B@corp-es00> Maybe this example can get you started. It opens a new workbook, fills column A cells 1-24 with test data and returns the rank of an input number. It also places the formula in the spreadsheet and shows you the sheet. HTH Jim Hale Function RankExample() As Double 'Under tools references check the Microsoft excel library Dim appExcel As Excel.Application, myrange As Range, intI As Integer Dim intTestvalue As Integer On Error GoTo ErrorProc: intTestvalue = InputBox("Input a number from 100 to 340 divisible by 10") If (intTestvalue >= 110 And intTestvalue <= 340) Then If (intTestvalue / 10 - Int(intTestvalue / 10)) <> 0 Then MsgBox "The number must be divisible by 10" Else Set appExcel = Excel.Application With appExcel .Workbooks.Add 'fill cells with test data For intI = 1 To 24 .Cells(intI, 1) = 100 + intI * 10 Next Set myrange = .Worksheets("Sheet1").Range("A1:A24") RankExample = .WorksheetFunction.Rank(intTestvalue, myrange) MsgBox intTestvalue & " is " & RankExample & " in rank" 'show the answer" 'places the formula in a cell on the worksheet .Range("d5").Formula = "=rank(" & intTestvalue & ",A1:A24)" .Visible = True .ScreenUpdating = True .Quit End With Set appExcel = Nothing End If Else MsgBox "The number you have input is outside the range of values" End If The_End: Exit Function ErrorProc: MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Sunday, June 08, 2003 6:05 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] super critical:PercentRank function in Access Has anyone used Worksheet functions in Access? I am trying to rank a column of numbers in a table and I have no idea even how to begin. HELP!! Please. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 9 13:41:47 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:41:47 -0400 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: Reuben, <> It allows a form to preview a keystroke before it's sent to a control. Also, if you want this app wide, simply use the Autokeys macro. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Monday, June 09, 2003 2:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Function Keys - A2K What's the purpose of "key preview = yes"? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > (Home) > Sent: Monday, June 09, 2003 12:06 PM > To: accessd at databaseadvisors.com > Cc: reuben at gfconsultants.com > Subject: RE: [AccessD] Function Keys - A2K > > > In you form's properties, set "key preview" to "yes" and place > the following > code in the "On Key Up" event: > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > Select Case KeyCode > Case 27 'Escape was pressed > KeyCode = 0 'Setting a keycode to 0 will "disable" that key's > function > Case 114 'F3 was pressed > Call YourFunctionNameHere() > Case 116 'F5 was pressed > Msgbox "F5 was pressed" > Case 117 'F6 was pressed > Msgbox "F6 was pressed" > Case 119 'F8 was pressed > Msgbox "F8 was pressed" > Case 120 'F9 was pressed > Msgbox "F9 was pressed" > Case 121 'F10 was pressed > Msgbox "F10 was pressed" > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > 'Msgbox "F12 was pressed" > End Select > End Sub > > > HTH > David McAfee > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 9:41 AM > To: AccessD > Subject: [AccessD] Function Keys - A2K > > > How do I access the powers the function keys in an Access app? > > I want to use F3 (or whatever) to perform a certain function. How can I > call the function using an F3 keypress? > > Thanks. > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 13:47:39 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:47:39 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 13:56:31 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 13:56:31 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: 1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table? 2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that? I will definitely add the code to clear the locks! Thanks so much for your help!! Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 1:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 9 14:11:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 9 Jun 2003 12:11:25 -0700 Subject: [AccessD] Create Temp Table from Recordset References: <001901c32e9c$b287b580$0c05a8c0@earth.local> Message-ID: <023401c32eba$ebec42f0$6501a8c0@HAL9002> MessageMy code creates the table in the FE, which, if it's a temp table, is where you want it. Yes? I didn't do anything special - it just seems to be the default. Wait. I SET db=CurrentDb which I believe points to the front end. Are you setting the db that you run the execute against to the FE or the BE. The table should end up wherever the db is pointing. I think... Rocky Rocky ----- Original Message ----- From: ACTEBS To: accessd at databaseadvisors.com Sent: Monday, June 09, 2003 8:34 AM Subject: RE: [AccessD] Create Temp Table from Recordset Rocky, But how did you tell it which DB you wanted to create the table in? I tried the db.execute....method but it created the table in the BE which is something I don't want. That's why I stopped using the SELECT ....IN clauses and just created the recordset hoping I could save it locally as a table. The reason is, the users can save the FE anywhere and run it so the IN portion of the Make Table syntax won't work. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, 10 June 2003 1:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create Temp Table from Recordset Vlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Mon Jun 9 14:12:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 9 Jun 2003 13:12:51 -0600 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <142830-22003619191251314@christopherhawkins.com> I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- From bheid at appdevgrp.com Mon Jun 9 14:26:30 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 15:26:30 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <916187228923D311A6FE00A0CC3FAA30527983@ADGSERVER> Hi, I can't help you with your basic problem, but I recommend that you do not use a registry entry unless you validate that entry with something else. This is mainly because there are several apps out there that will watch to see which files/registry entries are used by an application. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 3:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 14:21:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:21:41 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, <<1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table?>> Opening a recordset in code no. Opening a bound form, yes. <<2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that?>> lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 2:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking 1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table? 2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that? I will definitely add the code to clear the locks! Thanks so much for your help!! Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 1:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 14:33:14 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 14:33:14 -0500 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: Thanks for everyone's help. I got it finished. Is F9 requery? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman > Sent: Monday, June 09, 2003 1:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Function Keys - A2K > > > Reuben, > > <> > > It allows a form to preview a keystroke before it's sent to a control. > > Also, if you want this app wide, simply use the Autokeys macro. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 2:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Function Keys - A2K > > > What's the purpose of "key preview = yes"? > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > > (Home) > > Sent: Monday, June 09, 2003 12:06 PM > > To: accessd at databaseadvisors.com > > Cc: reuben at gfconsultants.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > In you form's properties, set "key preview" to "yes" and place > > the following > > code in the "On Key Up" event: > > > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > > Select Case KeyCode > > Case 27 'Escape was pressed > > KeyCode = 0 'Setting a keycode to 0 will "disable" > that key's > > function > > Case 114 'F3 was pressed > > Call YourFunctionNameHere() > > Case 116 'F5 was pressed > > Msgbox "F5 was pressed" > > Case 117 'F6 was pressed > > Msgbox "F6 was pressed" > > Case 119 'F8 was pressed > > Msgbox "F8 was pressed" > > Case 120 'F9 was pressed > > Msgbox "F9 was pressed" > > Case 121 'F10 was pressed > > Msgbox "F10 was pressed" > > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > > 'Msgbox "F12 was pressed" > > End Select > > End Sub > > > > > > HTH > > David McAfee > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > Cummings > > Sent: Monday, June 09, 2003 9:41 AM > > To: AccessD > > Subject: [AccessD] Function Keys - A2K > > > > > > How do I access the powers the function keys in an Access app? > > > > I want to use F3 (or whatever) to perform a certain function. How can I > > call the function using an F3 keypress? > > > > Thanks. > > > > Reuben Cummings > > Director of Software Development > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 9 14:55:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 14:55:46 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CEE@main2.marlow.com> If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Jun 9 14:57:55 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 9 Jun 2003 14:57:55 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <869379ABF177D4118D3100508B5EF873063AB26B@corp-es00> Maybe this will help. If you give this function the name of a table it will return the database in which the table resides. If strTable is a table that resides in the BE "Set dbs = WhichDB(strTable)" will set a database variable to the backend. HTH Jim Hale Function WhichDB(strTableName As String) As Database Dim dbpath$, SourceTable$, dbTest As Database On Error GoTo whichDB_ERR Set dbTest = DBEngine(0)(0) dbpath = Mid(dbTest(strTableName).Connect, InStr(1, dbTest(strTableName).Connect, "=") + 1) If dbpath = "" Then Set dbTest = CurrentDb() Else Set dbTest = DBEngine(0).OpenDatabase(dbpath) End If Set WhichDB = dbTest whichDB_EXIT: Exit Function whichDB_ERR: MsgBox Err.Description Resume whichDB_EXIT End Function -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Monday, June 09, 2003 11:00 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Create Temp Table from Recordset You can refer to a table in another database within your queries without having to create a permanent link to that database. e.g. SELECT * from Orders IN "c:\datafolder\other_db.mdb" Another option might be to use a Pass-Through query. Once you have the Pass-Through query running, you can use the Pass-Through query as your datasource to do whatever you like such as building a make-table query... This may or may not be a solution for you. One of its uses is an alternate way to "link" to a remote database table. Look in the help file for more information on "Pass-Through". Not sure if this will solve your problem, just thought it might be something for you to think about. Rich -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 11:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 9 15:51:55 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 16:51:55 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CEE@main2.marlow.com> Message-ID: I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Mon Jun 9 16:03:38 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Mon, 9 Jun 2003 16:03:38 -0500 Subject: [AccessD] Query Help In-Reply-To: Message-ID: Thanks! That is exactly what I needed! Jamie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Monday, June 09, 2003 11:32 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query Help Try this: SELECT Customers.CustID FROM Customers INNER JOIN Policies ON Customres.CustId = Policies.CustID GROUP BY Customers.CustID HAVING (((Count(Policies.CustID))=1)); -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Mon Jun 9 16:24:03 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 9 Jun 2003 15:24:03 -0600 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: <92920-2200361921243102@christopherhawkins.com> That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From kaupca at chevrontexaco.com Mon Jun 9 16:41:22 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 9 Jun 2003 16:41:22 -0500 Subject: [AccessD] Cannot edit table from form Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D79@bocnte2k4.boc.chevrontexaco.net> I have a form based on a query of a table that display the results in a series of text boxes. One record is displayed in the boxes. I can tab through the boxes but cannot edit the data. I think I have everything set up right but must be missing something. What do I need to change? Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 9 16:42:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 16:42:02 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF0@main2.marlow.com> You just have to setup a registration website. Have a little code that submits a 'key' to your site, for the user, and then have the new 'registration key' either emailed, or visible on the webpage. It isn't going to stop anything, but you'll have a log, of how many times a particle product has been registered with different MAC Addresses. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 4:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 9 16:42:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 07:42:39 +1000 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: <3EE58BEF.2737.195402@localhost> On 9 Jun 2003 at 13:12, Christopher Hawkins wrote: > I need to come up with a registration/licensing routine for an Access > app that a client of mine will be selling. Basically, my client is > concerned about one customer distributing the application to others. > > I want to roll my own algorithm, but then it occurred to me there > might be a better way. Right now I'm experimenting with validating > the app against the hard drive serial number, but that's fraught with > shortcomings. I'm also thinking about using an obscure registry key. > > Who's had to come up registration methods before, and how did you do > it? > I dislike hardware based systems (like MSs product activation) intensely because clients shouldn't have to ask your permission to replace/upgrade their hardware. I sometimes use a system where I embed the client name prominently on headers of all reports and on menus etc. with the name stored in a system table and looked up as needed. I then use a registration key which is a "hash" of the client name. If a copy is passed on, the incorrect name appearing constantly is at least an annoyance and frequently an embarrassment. I've also used a time based registration system where the client contacts you periodically for a new key which is a hash of their name and an expiry date. That generally works best if you are providing ongoing value (such as updated tax rate etc tables) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Mon Jun 9 16:58:49 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 9 Jun 2003 14:58:49 -0700 Subject: [AccessD] (OT) Interview Questions In-Reply-To: <2869.24.188.21.161.1055170465.squirrel@ns1.bay9.com> Message-ID: Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Mon Jun 9 17:17:05 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 10 Jun 2003 08:17:05 +1000 Subject: [AccessD] Cannot edit table from form References: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D79@bocnte2k4.boc.chevrontexaco.net> Message-ID: <002501c32ed4$dc21c150$6465000a@venus> Cannot edit table from formFirst open your recordsource query and see if you can edit or add there. If not, are you using any grouping etc in your query, because this will make it make it unupdatable(??). If it is a straight query, it may be the relationships. If your query is fine, are the controls 'locked' in the properties? HTH Selina -------------------------------------------------------------------------------- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: Kaup, Chester A To: accessd at databaseadvisors.com Sent: Tuesday, June 10, 2003 7:41 AM Subject: [AccessD] Cannot edit table from form I have a form based on a query of a table that display the results in a series of text boxes. One record is displayed in the boxes. I can tab through the boxes but cannot edit the data. I think I have everything set up right but must be missing something. What do I need to change? Thanks 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: small_logo.jpg Type: application/octet-stream Size: 1219 bytes Desc: not available URL: From Subscriptions at servicexp.com Mon Jun 9 17:31:34 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 9 Jun 2003 18:31:34 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: I have a Name-Key Based solution, if you want it, E-mail me at Subscriptions at servicexp.com Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 3:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Mon Jun 9 17:55:39 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Mon, 9 Jun 2003 18:55:39 -0400 Subject: [AccessD] OT Free Firewall for those in USA References: Message-ID: <012f01c32eda$3f9a7060$1d270a44@bcs006137> Jim I don't know the answer to Your questiuon. However I did find this review from ZDNET. The firewall is part of their AntiVirus Program Dave ================================ from: http://www.zdnet.com/supercenter/stories/review/0,12070,563560,00.html Panda Software Antivirus Platinum 7.0 December 4, 2002 Editors' Rating 7.0 Service and support 6 Performance 7 Interface and ease of use 8 Installation and interface 7 How we score With familiar drop-down menus, helpful wizards, and a Web-like Home screen, Panda Antivirus Platinum 7.0 is sure to please antivirus beginners. Like its competitors, Panda scans incoming and outgoing mail for viruses, prevents malicious Visual Basic and JavaScript files from running amok, and updates its virus definitions via the Internet. Version 7.0 also features a personal firewall to prevent Internet interlopers from accessing your computer, a tool found in McAfee VirusScan 7.0 but not Norton AntiVirus 2003. Yet, Panda falls short on its virus-detection skills and telephone technical support, and it's more expensive than its competitors. Nevertheless, current Platinum 6.0 users will want to upgrade for the improved interface and new firewall, but everyone else should opt for either McAfee or Norton. Installation and interface Panda Antivirus is easy to install, whether you use the installation CD-ROM or download the program. We chose the latter route and transferred the 29MB setup file to our test PC in minutes. Setup involves little effort from you; when it's up and running, Panda loads a mini icon in the Windows System Tray. Oddly, during setup, Panda scans only your system memory for viruses--not your hard drive. By comparison, both Norton and McAfee automatically scan both the memory and hard drives. Like its competitors, though, Panda does conduct a full system scan immediately following setup. In our test, the scan took 26 minutes, performance that's on a par with initial scans by Norton and McAfee. Panda automatically installs and configures its built-in firewall but also allows you to disable the firewall if you choose. Like McAfee's firewall (Norton doesn't include one), Panda creates a list of installed programs that require Internet access and doesn't attempt to block them thereafter. Surprisingly, in our test, Panda failed to include America Online in this list of programs. However, it's easy to correct such an oversight, using a pop-up menu that appears whenever Panda first denies a program access to the Net. Panda's redesigned interface makes it a breeze to change default settings. To change the mail-protection settings, for instance, simply click the Panda icon and check the appropriate boxes on the subsequent screens. It's also just as easy to schedule scans by following the Scan Wizard's step-by-step instructions. Feature set Once Panda detects a virus, it eradicates the viral intruder without pestering you. Norton works the same way, whereas McAfee seeks your consent before taking action. We prefer the automated method, so Panda gets high marks in this category. As with Norton and McAfee, Panda allows you to reconfigure its detection settings to block, delete, clean, or quarantine infected files. Panda's e-mail scanner works with SMTP and POP3 clients--but not AOL--which means that it scans incoming and outgoing mail for rogue code in most popular e-mail programs, such as Microsoft Outlook, Outlook Express, and Eudora. Panda's on-demand scanning feature also examines e-mail folders, like McAfee and Norton. Panda loads with Windows and runs in the background, monitoring downloads and files as they're opened. It automatically downloads viral signatures without your input but always posts a screen detailing its activities. Like McAfee, Panda scans ZIP files as they're downloading to your PC, but you have to change the default settings to activate this feature. Performance In ZDNet Labs' performance tests, Panda Antivirus Platinum 7.0 is comparable to Norton in scanning speed , the amount of time it takes to search your PC for viruses, yet it takes a significant toll on overall PC performance, more so than either McAfee or Norton. To measure Panda Antivirus Platinum 7.0's impact on system performance, ZDNet Labs used BAPCo's SysMark2002, an industry-standard benchmark. The Internet Content Creation portion of SysMark measures a desktop's performance running off-the-shelf applications, such as Adobe Photoshop, Microsoft Windows Media Encoder, and Macromedia Dreamweaver. (We did not run the Office Productivity portion of the benchmark because it incorporates McAfee VirusScan 5.13.) Our test system was a Compaq Evo W4000 running Windows XP Professional with an Intel P4 2.4GHz processor and 512MB of DDR RAM. With Panda Antivirus Platinum 7.0 running, our test system scored a dismal 81--a 19 percent reduction in overall system speed. In comparison, McAfee VirusScan 7.0 scored a 97, only a 3 percent reduction in system speed, and Norton AntiVirus 2003 scored a 95, or a 5 percent reduction. (An Internet Content Creation score of 100 represents the performance of our test system without any extraneous software running.) In a test of scanning speed, Panda's 3.1 minutes tied with NAV 2003's time, while VirusScan 7.0 remains our speed champ at 1.7 minutes. Unfortunately, Panda's virus-blocking performance is a mixed bag. To determine whether the program effectively blocks viruses, we examined its past performance in tests conducted by independent antivirus-testing laboratories. In the latest Virus Bulletin tests, Panda earned the coveted VB 100 percent rating only once in its four most recent attempts, having failed three of the Windows tests. By comparison, Norton AntiVirus won all of its tests, and McAfee VirusScan won its only test during that same period. However, Panda performed as well as Norton and better than McAfee in live virus tests conducted by German AV-Test.org. Previous versions of Panda have also been certified by the independent antivirus-testing laboratories at West Coast Checkmark (Web site) and ICSA Labs (Web site). Technical support Hopefully, your method of choice for product help will be either via Web or e-mail because Panda doesn't offer phone support--not even for a fee. Norton and McAfee offer phone support, though it's expensive in both cases. Panda tech support answered our e-mail queries within 24 hours, on a par with the response time from the competition. We particularly liked Panda's support wizard, which steps you through the process of creating a tech query. The program's help section includes a handy FAQ, as well as direct links to Panda's support site. Panda Antivirus Platinum 7.0 is a fine virus killer with a clean, uncomplicated interface. It's a good choice for users upgrading from version 6.0, although the $59.95 upgrade price is steep, and upgrades from earlier versions cost $69.95--the same price paid by new customers. However, if you want to keep the antivirus signature files up-to-date, they'll cost anywhere from $7 per month to $108 dollars for 36 months of coverage. Ouch! If you're new to antivirus software, you're better off buying Norton AntiVirus 2003 or McAfee VirusScan 7.0, both of which offer slightly superior scanning tools and better support options. - by Jeff Bertolucci ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, June 09, 2003 4:21 AM Subject: RE: [AccessD] OT Free Firewall for those in USA Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: b.gif Type: image/gif Size: 43 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dots156.gif Type: image/gif Size: 110 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: arrow_blue.gif Type: image/gif Size: 109 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Jun 9 18:07:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 16:07:14 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 18:10:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 16:10:54 -0700 Subject: [AccessD] OK, ya talked into it Message-ID: John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Jun 9 18:45:45 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 09:45:45 +1000 Subject: [AccessD] A2K: Drag and Drop with Access References: <061d01c32c8f$4cda0d50$8e01a8c0@Rock> Message-ID: <00be01c32ee1$3f45e390$0100007f@DDICK> Hi Arthur What I wanted was simply some of the functionality we get on screen when we go into design view for a form. In design view click on an object - Text Box, label, combo box, image control, whatever and you get the resize handles. Grab the top left handle and you can move the whole control and get a shadow/ghost image of the control as the cursor. Let go the mouse button and viola the control has been 'dragged and dropped' I wanted something like that. It's for an ID card design app. User drags say...LastName control to bottom of card design area. Same for FirstName controls but this time to the top and same for Image control but to the far right. Simple:-) Many thanks in advance Darren ----- Original Message ----- From: "Arthur Fuller" To: Sent: Saturday, June 07, 2003 10:54 AM Subject: RE: [AccessD] A2K: Drag and Drop with Access > You can do D&D in Access, although it's difficult. I've got some code that > lets me D&D in a treeview (i.e. move an employee from Dept X to Dept Y). It > was a nightmare to figure out and then a night to write. I don't have > anything truly portable yet; each new instance I have to rethink from the > ground up. It's the conceptual stuff that's hard, and denying the illegal > moves (can't drop a department on an employee, nor an employee on an > employee, nor an employee on her current department). Once you get the code > to allow D&D you find yourself writing against all the exceptions. Nine out > of ten possible moves are illegal; the other is permitted. Makes you wish > for a Java / .NET style Try / Catch construct in Access, but I suspect it > isn't in the cards. On Error just isn't the same :-) > > D&D can be very useful, in Access as in other languages. But at the Explorer > level, for example, the exceptions are few (can't drop a folder on itself, > can't drop a file on a file unless it's an archive file, &c). But in the > higher level apps, order entry say, the rules are much more complex. I did a > D&D a while back that lets the user select compoenents and from them create > new assemblies. Any given component might be an assembly, except of course > itself. > > The D&D code IMO is trivial compared to the conceptual (you can do this, but > not that or the other thing) part. > > If you want an example of the raw D&D code I can supply same, but I stress > that this is only the raw arithmetic. The logic you must define and then > write yourself, and there is no (IMO) general solution for this. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher > Hawkins > Sent: June 5, 2003 1:32 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: Drag and Drop with Access > > > Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that > drag n' drop could be useful in Access. Once again, the shortcomings of > non-inflected text communication rears it's ugly head! ;) > > -C- > > ---- Original Message ---- > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] A2K: Drag and Drop with Access > Date: Thu, 5 Jun 2003 09:08:21 -0700 > > >I wasn't saying it couldn't be useful, but if you don't know the > >purpose > >of the action, the suggestions are likely to be off target. If you > >need > >a hammer, it doesn't help if some hands you a nail! > > > >Charlotte Foust > > > >-----Original Message----- > >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > >Sent: Thursday, June 05, 2003 7:42 AM > >To: accessd at databaseadvisors.com > >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > > > > >Drag and drop could be very useful, Charlotte. As useful as in any > >other application. > > > >For example, I worked for a company that had a variable compensation > >product. If we could have allowed the users to assign people or > >department to different compensation plans by dragging and dropping the > >person or group's name over to a folder (or something) for the > >appropriate plan, everyone would have been ecstatic. > > > >Just one instance where I can see it would be useful. > > > >Sadly, we never pulled it off. > > > >I worked for another company that managed to hack out a fair > >drag-n-drop > >in an Access 2000 app, but I never got to look at the code. > > > >-Christopher- > > > >---- Original Message ---- > >From: cfoust at infostatsystems.com > >To: accessd at databaseadvisors.com, > >Subject: RE: [AccessD] A2K: Drag and Drop with Access > >Date: Thu, 5 Jun 2003 08:24:48 -0700 > > > >>Where are you going with this? What purpose is being served by the > >>drag and drop? > >> > >>Charlotte Foust > >> > >>-----Original Message----- > >>From: Darren DICK [mailto:d.dick at uws.edu.au] > >>Sent: Wednesday, June 04, 2003 8:59 PM > >>To: AccessD List > >>Subject: [AccessD] A2K: Drag and Drop with Access > >> > >> > >>Hi All > >>Anyone have any success with dragging and dropping of controls onto > >>Access forms? Eg I have an Image control displaying an image and > >say > >>it's in the top left corner of the form. I want to 'click' onto the > >>image control and 'drag' it to say... the bottom left corner of the > >>form. > >> > >>I have found heaps of samples for VB but they use VB only events > >etc, > >>that I can't replicate or fudge in Access. > >> > >>Any suggestions?? > >> > >>Many thanks in advance > >> > >>Darren > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 9 18:48:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 18:48:36 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF2@main2.marlow.com> An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Jun 9 18:53:27 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 09:53:27 +1000 Subject: [AccessD] Function Keys - A2K References: Message-ID: <00e701c32ee2$527e6e90$0100007f@DDICK> No <>> The Requery method updates the data underlying a form or control to reflect records that are new to or have been deleted from the record source since it was last requeried. The Refresh method shows only changes that have been made to the current set of records; it doesn't reflect new records or deleted records in the record source. The Repaint method simply repaints the specified form and its controls. ----- Original Message ----- From: "Reuben Cummings" To: Sent: Tuesday, June 10, 2003 5:33 AM Subject: RE: [AccessD] Function Keys - A2K > Thanks for everyone's help. I got it finished. > > Is F9 requery? > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman > > Sent: Monday, June 09, 2003 1:42 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > Reuben, > > > > <> > > > > It allows a form to preview a keystroke before it's sent to a control. > > > > Also, if you want this app wide, simply use the Autokeys macro. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > Cummings > > Sent: Monday, June 09, 2003 2:29 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > What's the purpose of "key preview = yes"? > > > > Reuben Cummings > > Director of Software Development > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > > > (Home) > > > Sent: Monday, June 09, 2003 12:06 PM > > > To: accessd at databaseadvisors.com > > > Cc: reuben at gfconsultants.com > > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > > > > In you form's properties, set "key preview" to "yes" and place > > > the following > > > code in the "On Key Up" event: > > > > > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > > > Select Case KeyCode > > > Case 27 'Escape was pressed > > > KeyCode = 0 'Setting a keycode to 0 will "disable" > > that key's > > > function > > > Case 114 'F3 was pressed > > > Call YourFunctionNameHere() > > > Case 116 'F5 was pressed > > > Msgbox "F5 was pressed" > > > Case 117 'F6 was pressed > > > Msgbox "F6 was pressed" > > > Case 119 'F8 was pressed > > > Msgbox "F8 was pressed" > > > Case 120 'F9 was pressed > > > Msgbox "F9 was pressed" > > > Case 121 'F10 was pressed > > > Msgbox "F10 was pressed" > > > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > > > 'Msgbox "F12 was pressed" > > > End Select > > > End Sub > > > > > > > > > HTH > > > David McAfee > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > > Cummings > > > Sent: Monday, June 09, 2003 9:41 AM > > > To: AccessD > > > Subject: [AccessD] Function Keys - A2K > > > > > > > > > How do I access the powers the function keys in an Access app? > > > > > > I want to use F3 (or whatever) to perform a certain function. How can I > > > call the function using an F3 keypress? > > > > > > Thanks. > > > > > > Reuben Cummings > > > Director of Software Development > > > GFC, LLC > > > phone: 812.523.1017 > > > email: reuben at gfconsultants.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Mon Jun 9 19:02:29 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Tue, 10 Jun 2003 12:02:29 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links. References: Message-ID: <05d101c32ee3$95917e60$0900a8c0@P1200n> Hi In Access I can generate automated e-mails including specifying the body's text. I have the following on a web page. E-mail to a friend I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to work. {If this is too off list can the person telling me tell me the list to go to please?!} In anticipation many thanks Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From cfoust at infostatsystems.com Mon Jun 9 19:14:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 17:14:11 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Mon Jun 9 19:14:47 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Mon, 9 Jun 2003 19:14:47 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091F5@outbaksrv1.outbaktech.com> Have you considered using a Hardware Key, like the Sentinel Super Pro, distributed with your App? Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 9 19:22:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 9 Jun 2003 20:22:20 -0400 Subject: [AccessD] OT: Web developer opportunity Message-ID: <00b301c32ee6$5d992820$384afccc@SusanOne> NEW! SENIOR WEB DEVELOPER NEEDED ITtoolbox is seeking a Senior Web Developer to join our team in Scottsdale, Arizona. This is an in-house, permanent position with ITtoolbox at our headquarters. As a Senior Web Developer, you will develop new applications to be deployed in the ITtoolbox network, enhance existing Web applications, and work on other ITtoolbox technology initiatives. http://Database.ITtoolbox.com/staffing/display.asp?i=2603 From DWUTKA at marlow.com Mon Jun 9 19:25:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 19:25:40 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF4@main2.marlow.com> IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jun 9 20:04:15 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 09 Jun 2003 18:04:15 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? In-Reply-To: <92920-2200361921243102@christopherhawkins.com> Message-ID: Hi Christopher: There are few ways that this can be accomplished: 1. When the user starts the program, it retrieves a code number from the web that initializes the product. Just the CD alone will not get the application running. It may not stops all copying but it can sure slow it down. 2. The new applications created through .net can be set to install part of their code off the web when running. 3. Some programs, like MSIE, only can be downloaded from the web and install themselves immediately. It makes it difficult to pass around modules distributed in this way. 4. Some products time-out after a certain duration and require web access to initialize. The first application accessing the home site with a particular encoded serial number and IP address gets re-started but other attempts by similarly encoded product get ignored. In the event of a legitimate issue a quick email or phone call resolves the problem. None of these methods are completely fool-proof but they tend to embarrass or remind otherwise law abiding citizens of their obligations. Just some thoughts Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 2:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Jun 9 20:04:56 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 9 Jun 2003 21:04:56 -0400 Subject: [AccessD] Open a workgroup protected database? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CF4@main2.marlow.com> Message-ID: Hello All, A2K I can't seem to get the following code to work. I'm trying to open a workgroup protected database from with in access. This is what I have so far, and I get errors on it 1.Automation Error 2. 3 Command line errors 3. Can't find db Dim strDB As String Dim strCmd As String Dim objSecuredDB As Access.Application Dim SecuredDB As String On Error GoTo HandleErr strDB = "C:\Program Files\ServiceXp\SXPMANT.mdb" strCmd = SysCmd(acSysCmdAccessDir) & "\MSAccess.exe " _ & strDB & " /wrkgrp " & DBEngine.SystemDB _ & " /user Administrator" & " /pwd adminpassword" Call Shell(strCmd, vbNormalFocus) DoEvents: DoEvents: DoEvents Set objSecuredDB = GetObject(strDB) ExitHere: Exit Sub .....blah. blah .. blah Thanks A Million Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 8:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Jun 9 20:11:22 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 9 Jun 2003 21:11:22 -0400 Subject: [AccessD] Get Current Printer - XP w/in Citrix In-Reply-To: <412003619161132930@earthlink.net> Message-ID: <001f01c32eed$38b5c7f0$54320cd8@hargrove.internal> Application.Printer will give you the current printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Judy Johnson Sent: Monday, June 09, 2003 12:12 PM To: AccessD Subject: [AccessD] Get Current Printer - XP w/in Citrix I need to be able to capture the current printer information within an individual's application to ensure that I return their printer default to the correct printer. We are working within Citrix and find that the "Nothing" doesn't work as expected (i.e., back to default). What I need to do is add code to a PDF button that : -first determines what their printer is and saves that information in a variable, -changes the printer to PDF Factory (I have that working fine), -then switch it back to what I captured earlier Hope this makes sense. Thanks for your help. Judy Johnson jjwrite at earthlink.net 860-482-8651 860-309-2484 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Jun 9 20:55:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 11:55:39 +1000 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <00be01c32ee1$3f45e390$0100007f@DDICK> Message-ID: <3EE5C73B.29579.100F6DF@localhost> On 10 Jun 2003 at 9:45, Darren DICK wrote: > Hi Arthur > What I wanted was simply some of the functionality we get on screen when we go into design view for a form. > In design view click on an object - Text Box, label, combo box, image control, whatever and you get the resize > handles. Grab the top left handle and you can move the whole control and get a shadow/ghost image of the > control as the cursor. Let go the mouse button and viola the control has been 'dragged and dropped' > > I wanted something like that. It's for an ID card design app. User drags say...LastName control to bottom of card > design area. Same for FirstName controls but this time to the top and same for Image control but to the far right. > > Simple:-) > I f all you wnat to do is move the control around withint the form, this will do let you do a Ctrl+LeftButton and drag the control around. ( It only moves Text0 - youi'll need to duplicate it for each control that you want to move or write a more generic routine, but this should give you the general idea): Private movingText0 As Boolean Private Sub Text0_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Shift = acCtrlMask And Button = acLeftButton Then movingText0 = True End If End Sub Private Sub Text0_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim NewX As Long Dim NewY As Long If moving Then NewX = Text0.Left + X NewY = Text0.Top + Y If NewX > 0 And NewX + Text0.Width < Me.Width Then Text0.Left = NewX End If If NewY + Y > 0 And NewY + Text0.Height < Me.Detail.Height Then Text0.Top = NewY End If End If End Sub Private Sub text0_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) If Shift = acCtrlMask And Button = acLeftButton Then movingText0 = False End If End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Mon Jun 9 21:00:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 12:00:33 +1000 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <3EE5C73B.29579.100F6DF@localhost> References: <00be01c32ee1$3f45e390$0100007f@DDICK> Message-ID: <3EE5C861.25269.10574A6@localhost> On 10 Jun 2003 at 11:55, Stuart McLachlan wrote: > > Private Sub Text0_MouseMove(Button As Integer, Shift As Integer, X As ..... > If moving Then .... That should of course be "movingText0" :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From d.dick at uws.edu.au Mon Jun 9 22:53:51 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 13:53:51 +1000 Subject: [AccessD] A2K: Need Guru Help Message-ID: <01f801c32f03$e7cf0f60$0100007f@DDICK> Hello all AccessD Gurus (you know who you are :-)) I have been playing around with a drag and drop app within Access. I am now at a stage I need one or two of the Gurus from the list to look at the app and do it properly :-)) My code is rough as hell and the Drag and Drop stuff is all done with smoke and mirrors. So..Any of the list Gurus wanna have a look at it? If I get any takers from the guru level and if something nice gets developed I am more than happy to offer it as a 'list me too' if the contributing GURU/s are OK with that. The zip file is about 600K Over to the GURUS Off line would be best to d.dick at uws.edu.au Many thanks Darren From papparuff at attbi.com Mon Jun 9 23:17:21 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 21:17:21 -0700 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: <013801c32f07$30e02ba0$6401a8c0@papparuff> Peter DeBaets has just developed a new Access Add-on called KeyedAccess. It looks as if this will serve you perfectly. Check it out at: http://www.peterssoftware.com/ka.htm John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Christopher Hawkins Sent: Monday, June 09, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 10 02:52:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 02:52:19 -0500 Subject: [AccessD] A2K: Need Guru Help Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF5@main2.marlow.com> I've actually been doing more work in 2000, so send away! Drew (Send it to dwutka at marlow.com) -----Original Message----- From: Darren DICK To: AccessD List Sent: 6/9/03 10:53 PM Subject: [AccessD] A2K: Need Guru Help Hello all AccessD Gurus (you know who you are :-)) I have been playing around with a drag and drop app within Access. I am now at a stage I need one or two of the Gurus from the list to look at the app and do it properly :-)) My code is rough as hell and the Drag and Drop stuff is all done with smoke and mirrors. So..Any of the list Gurus wanna have a look at it? If I get any takers from the guru level and if something nice gets developed I am more than happy to offer it as a 'list me too' if the contributing GURU/s are OK with that. The zip file is about 600K Over to the GURUS Off line would be best to d.dick at uws.edu.au Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Tue Jun 10 03:03:06 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 09:03:06 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Hi Our management have decided to tie our salaries to passing MS .Net certification exams. Does anyone one have any books recommendations (or other resources) specific to passing MCSA and MCSE? Many thanks Richard From roz.clarke at donnslaw.co.uk Tue Jun 10 03:26:09 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 10 Jun 2003 09:26:09 +0100 Subject: [AccessD] (OT) Interview Questions Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6F@dibble.observatory.donnslaw.co.uk> Kathryn I didn't volunteer it because it's not aimed at just Access developers; I'm trying to find someone who can do Access VBA, ADO, SQL & relation database design but also VB, MS SQL Server dev & MS SQL Server admin. It IS a tough test and I could only answer about half of it myself - like I said, I mostly wanted a framework for talking through technical issues with interviewees. I even said to them "If you don't like the questions make up your own questions" but that just confused them *sigh*. Oleg, if you want me to mail you the test anyway contact me offline. Roz -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: 09 June 2003 22:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] (OT) Interview Questions Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to > practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 10 03:36:39 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 10 Jun 2003 10:36:39 +0200 Subject: [AccessD] OT? - Certification In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Message-ID: <648733498.20030610103639@cactus.dk> Hi Richard Meaning that you now have to focus on passing monkey class "exams" rather than improving your skills? Bon appetite. /gustav > Our management have decided to tie our salaries to passing MS .Net > certification exams. .. From tinanfields at torchlake.com Tue Jun 10 03:54:32 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Tue, 10 Jun 2003 04:54:32 -0400 Subject: [AccessD] OT? - Certification References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Message-ID: <3EE59CC8.7020902@torchlake.com> Hi Richard, Check out your local community college or vocational tech school - they may well be offering such Microsoft exam prep courses. Tina Griffiths, Richard wrote: >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations (or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From R.Griffiths at bury.gov.uk Tue Jun 10 04:14:16 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 10:14:16 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A2@MAILGATE.bury.gov.uk> yeh, we'll get some training from employers - I want to get a pick list of books and resources to take to management for them to purchase - I could look on the www but there is so much out there so am looking to anyone who has already (or is in the same process) done this. Richard > -----Original Message----- > From: Tina Norris Fields [SMTP:tinanfields at torchlake.com] > Sent: 10 June 2003 09:55 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT? - Certification > > Hi Richard, > > Check out your local community college or vocational tech school - they > may well be offering such Microsoft exam prep courses. > > Tina > > Griffiths, Richard wrote: > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations (or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Tue Jun 10 06:52:02 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 10 Jun 2003 07:52:02 -0400 Subject: [AccessD] OT? - Certification Message-ID: <833956F5C117124A89417638FDB11290EBCEB2@goexchange.pghcorning.com> I recently talked the IT manager into paying for my certification which is a bonus however didn't realize what it takes to get an MCAD/MCSD. I'm starting from the ground floor since the company is paying for it. Microsoft's website lists the certifications and breaks each one down into exams, classes, and books/resources you can use to obtain the knowledge for each test.. http://www.microsoft.com/traincert/mcp/sixsteps.asp If you are in or near Pittsburgh, "Pittsburgh River Head Training" came highly recommended from a Microsoft representative www.riverheadtraining.com. Just passing along some information I came across in my research... GOOD LUCK!!! Rich -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 10, 2003 5:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification yeh, we'll get some training from employers - I want to get a pick list of books and resources to take to management for them to purchase - I could look on the www but there is so much out there so am looking to anyone who has already (or is in the same process) done this. Richard > -----Original Message----- > From: Tina Norris Fields [SMTP:tinanfields at torchlake.com] > Sent: 10 June 2003 09:55 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT? - Certification > > Hi Richard, > > Check out your local community college or vocational tech school - they > may well be offering such Microsoft exam prep courses. > > Tina > > Griffiths, Richard wrote: > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations (or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Tue Jun 10 07:42:53 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue, 10 Jun 2003 08:42:53 -0400 Subject: [AccessD] Generating Body Text in Automated E-mail links Message-ID: <01C32F2C.4960C110.bob@renaissancesiding.com> David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work > > {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From Susan.Klos at fldoe.org Tue Jun 10 08:28:03 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 10 Jun 2003 09:28:03 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: <8213C1F49875D61195DA0002A5412A0301406FFC@mail.doe.state.fl.us> It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function From paul.hartland at fsmail.net Tue Jun 10 08:34:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 13:34:39 +0000 Subject: [AccessD] Help!Why won't this work? Message-ID: <20030610133439.LSWR4720.fep07-svc.ttys.com@localhost> Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Tue Jun 10 08:44:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 13:44:59 +0000 Subject: [AccessD] Help!Why won't this work? Message-ID: <20030610134459.LTJH4720.fep07-svc.ttys.com@localhost> Susan, Should the following line : Set qdf = db.QueryDefs("Reading") be Set qdf = db.CreateQueryDef("Reading") Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Tue Jun 10 08:46:34 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 10 Jun 2003 09:46:34 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: <8213C1F49875D61195DA0002A5412A0301406FFD@mail.doe.state.fl.us> Nope, Access just quits working. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, June 10, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Help!Why won't this work? Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 08:57:13 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 08:57:13 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <001501c32f58$322467a0$de1811d8@DanWaters> Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Tue Jun 10 09:11:03 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 10 Jun 2003 09:11:03 -0500 Subject: [AccessD] OT? - Certification Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DB7@cpixchng-1.cpiqpc.net> Richard, If you're interested in a CBT (Computer Based Training), I've used SmartCertify Direct in the past and have been very happy with them. If you want some contact information for them, e-mail me at rusty.hammond at cpiqpc.com Rusty -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 10, 2003 3:03 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] OT? - Certification Hi Our management have decided to tie our salaries to passing MS .Net certification exams. Does anyone one have any books recommendations (or other resources) specific to passing MCSA and MCSE? Many thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 09:21:06 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 10:21:06 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: Let me join the Guess-A-Thon (I'll be Jerry) Should the DB be dimmed as DAO? When Access 'stops working' a repair and compact as well as a cold boot plus maybe a JetComp might be in order. _D >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Help!Why won't this work? >Date: Tue, 10 Jun 2003 09:46:34 -0400 > >Nope, Access just quits working. > >-----Original Message----- >From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] >Sent: Tuesday, June 10, 2003 9:35 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Help!Why won't this work? > > >Susan, > >Does it give you any error messages ? > >Paul > >From: "Klos, Susan" >Date: Tue 10/Jun/2003 13:28 GMT >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] Help!Why won't this work? > >It worked yesterday. >'------------------------------------------------------------ >' mcrSaveReading >' >'------------------------------------------------------------ >Function mcrSaveReading() >On Error GoTo mcrSaveReading_Err > > Dim school As String > Dim strFileName As String > Dim mysql As String > Dim qdf As QueryDef > Dim db As Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > > Set rs = db.OpenRecordset("GradedSchools") > Do Until (rs.EOF) > school = rs.Fields("DistSchNo") > 'school = InputBox("What School Number") > 'school = "[GradedSchools.DistSchNo]" > 'MsgBox school > 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", >"T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" > mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, >ReadingGrade.LName, ReadingGrade.FName, " & _ > "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, >ReadingGrade.LevelR03, " & _ > "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, >ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ > "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" > > Set qdf = db.QueryDefs("Reading") > > strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & >".xls" > qdf.SQL = mysql > 'MsgBox "tablename = " & strFileName > > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, >qdf.Name, >strFileName, True > rs.MoveNext > Loop > >mcrSaveReading_Exit: > Exit Function > >mcrSaveReading_Err: > MsgBox Error$ > Resume mcrSaveReading_Exit > >End Function >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Tue Jun 10 09:21:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 10:21:35 -0400 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: <001501c32f58$322467a0$de1811d8@DanWaters> Message-ID: what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 09:47:49 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 09:47:49 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <001f01c32f5f$434e7640$de1811d8@DanWaters> John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Tue Jun 10 10:01:31 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 10 Jun 2003 09:01:31 -0600 Subject: [AccessD] Error on Next Record Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801076F@srciml1.ds.doc.state.or.us> Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From jcolby at colbyconsulting.com Tue Jun 10 10:09:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 11:09:17 -0400 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: <001f01c32f5f$434e7640$de1811d8@DanWaters> Message-ID: Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jun 10 10:14:51 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 15:14:51 +0000 Subject: [AccessD] Error on Next Record Message-ID: <20030610151452.LWHN4720.fep07-svc.ttys.com@localhost> Mike, I have a slightly long winded approach to this I'm sure someone has a better solution, when I open a form I disable the previous button as the user will be on the first record anyway, and when the user moves off the record I enable it. If they click the previous button, after the actual record move I see if it is the first record, if it is I disable the previous button again. I do a similar procedure with the user hitting the last record where I disable the next button if tha last record is reached..... Paul From: "Gowey Mike W" Date: Tue 10/Jun/2003 15:01 GMT To: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From jeffrey.demulling at usbank.com Tue Jun 10 10:15:56 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 10 Jun 2003 10:15:56 -0500 Subject: [AccessD] Error on Next Record Message-ID: Could you add some code like the following: dim rst as recordset if rst.bof then 'Disable previous control Elseif rst.eof then 'Disable next control end if Just a quick idea, and maybe a jumping off point. "Gowey Mike W" Sent by: accessd-bounces at databaseadvisors.com 06/10/2003 10:01 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Tue Jun 10 10:15:39 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 11 Jun 2003 01:15:39 +1000 Subject: [AccessD] Help!Why won't this work? In-Reply-To: <20030610133439.LSWR4720.fep07-svc.ttys.com@localhost> Message-ID: <000001c32f63$29b6cee0$0c05a8c0@earth.local> Susan, Try changing: Dim db As Database To: Dim db As DAO.Database HTH Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 10 June 2003 11:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Help!Why won't this work? Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:17:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:17:54 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: Well, we licensed it and so we distribute the dll with our app. We also put all the calls to the redemption dll into a code library and set a reference to that mde in our apps, which means that if CDO is not installed or redemption is missing, the library traps the errors and our application goes on, but without the email capabilites. I never said it was the answer to every problem, John. If you want to change the way Microsoft's security patches work, you'll need to talk to Bill Gates, not me. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:19:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:19:47 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: http://dimastr.com/redemption/home.htm Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 10, 2003 5:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:21:36 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:21:36 -0700 Subject: [AccessD] (OT) Interview Questions Message-ID: Roz, You don't want much, do you? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, June 10, 2003 12:26 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] (OT) Interview Questions Kathryn I didn't volunteer it because it's not aimed at just Access developers; I'm trying to find someone who can do Access VBA, ADO, SQL & relation database design but also VB, MS SQL Server dev & MS SQL Server admin. It IS a tough test and I could only answer about half of it myself - like I said, I mostly wanted a framework for talking through technical issues with interviewees. I even said to them "If you don't like the questions make up your own questions" but that just confused them *sigh*. Oleg, if you want me to mail you the test anyway contact me offline. Roz -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: 09 June 2003 22:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] (OT) Interview Questions Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to > practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Tue Jun 10 11:29:08 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue, 10 Jun 2003 10:29:08 -0600 Subject: [AccessD] Indexes in Access Message-ID: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com From cfoust at infostatsystems.com Tue Jun 10 10:25:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:25:31 -0700 Subject: [AccessD] Get Current Printer - XP w/in Citrix Message-ID: Usually. I've had problems with the printer object in XP when the user has been given a page setup button and used it to specify a printer. Charlotte Foust -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Get Current Printer - XP w/in Citrix Application.Printer will give you the current printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Judy Johnson Sent: Monday, June 09, 2003 12:12 PM To: AccessD Subject: [AccessD] Get Current Printer - XP w/in Citrix I need to be able to capture the current printer information within an individual's application to ensure that I return their printer default to the correct printer. We are working within Citrix and find that the "Nothing" doesn't work as expected (i.e., back to default). What I need to do is add code to a PDF button that : -first determines what their printer is and saves that information in a variable, -changes the printer to PDF Factory (I have that working fine), -then switch it back to what I captured earlier Hope this makes sense. Thanks for your help. Judy Johnson jjwrite at earthlink.net 860-482-8651 860-309-2484 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 10:27:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:27:24 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: Most less computer-savvy users seem to prefer having their hands held. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 4:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Jun 10 10:31:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 10 Jun 2003 10:31:01 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DE@TAPPEEXCH01> Couldn't you use a late binding approach? If you use CreateObject() to create the objects, it will compile and run fine without the DLL being installed. Then, you only would have to install the DLL on the machines with the functionality enabled. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Tue Jun 10 10:31:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:31:54 -0700 Subject: [AccessD] Error on Next Record Message-ID: It's easy enough to test the recordset's BOF or EOF to see whether to execute the code to move previous or move next. I don't bother disabling the buttons, I just pop up a message that says this is the first record or the last record. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, June 10, 2003 7:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Error on Next Record Mike, I have a slightly long winded approach to this I'm sure someone has a better solution, when I open a form I disable the previous button as the user will be on the first record anyway, and when the user moves off the record I enable it. If they click the previous button, after the actual record move I see if it is the first record, if it is I disable the previous button again. I do a similar procedure with the user hitting the last record where I disable the next button if tha last record is reached..... Paul From: "Gowey Mike W" Date: Tue 10/Jun/2003 15:01 GMT To: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:34:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:34:10 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: That's exactly the way we do it to avoid problems when CDO hasn't been installed. Please note that CDO *must* be installed for Redemption to work properly, and it isn't installed in a "typical" installation of Office, even if Outlook is installed. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 10, 2003 7:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Couldn't you use a late binding approach? If you use CreateObject() to create the objects, it will compile and run fine without the DLL being installed. Then, you only would have to install the DLL on the machines with the functionality enabled. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Tue Jun 10 10:24:54 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 10 Jun 2003 10:24:54 -0500 Subject: [AccessD] Append Query Message-ID: I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From DWUTKA at marlow.com Tue Jun 10 10:38:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 10:38:18 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF8@main2.marlow.com> Very true, very true. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Most less computer-savvy users seem to prefer having their hands held. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 4:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Tue Jun 10 10:39:20 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 10 Jun 2003 10:39:20 -0500 Subject: [AccessD] Error on Next Record Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF02666782@PKDWB01C.ad.sprint.com> Mike, I just trap for 2105 and bail out of the sub when encountered. Something like: On Error Goto ErrorHandle . . . Navigation Code Here . . . SubExit: Exit Sub ErrorHandle: Select Case Err.Number Case 2105 'Nuisance error - ignore it Case Else Msgbox Err.Number & " " & Err.Description End Select Resume SubExit Hope this helps. Don -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Tuesday, June 10, 2003 8:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Jun 10 10:42:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 10 Jun 2003 11:42:05 -0400 Subject: [AccessD] Indexes in Access References: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Message-ID: <007e01c32f66$db50c860$b1e6ffcc@SusanOne> Mark, you would be duplicating the index, which doesn't really hurt anything, but does add to count of total indexes -- but few of us every hit that limit anyway. What I haven't tested however, is whether these internal (and often temporary) indexes are removed if you delete the relationship, etc. Anybody know? Susan H. > Hi all, > > I know how Access creates an index automatically when a field is used in > a relationship. For example, if a table is joined on PersonID, there is an > index on PersonID, even though I won't see it in the list of table indices > in design view. I would think this index would also be used to speed up > searches, like an index I would add myself, in which case I wouldn't want to > add an Index for PersonID, as that field would have duplicate indices. > Correct? > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Tue Jun 10 10:48:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 10:48:51 -0500 Subject: [AccessD] Indexes in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF9@main2.marlow.com> I am speaking just from experience and logic, so my details may not be perfect, but from what I have seen, this should hold true. An index is really based on sorting. Let me explain with an example I have used a few times before. I wrote a Palm application that displayed a company phone list. The VB version on our network allows for almost instantaneous searchs of first name, last name, or phone number....(all the same search box). When I took the same table to the Palm, the searching slowed to a crawl. I was using a Palm Vx, which is something like 12 mhz. That's SLOW. To speed things up, I built my own indexes...literally. I knew I was going to search by first name, last name and extension. So I built three identical tables, each one sorted one of the three ways. I then built an index table, for each of the three tables. The index table had 3 fields. The first field was the starting character (A through Z for first name and last name sorts, and 0 through 9 for phone number). The second field then recorded the starting position of that letter, and the last field showed the starting position, relative to the first starting position, for the second character (4 bytes for each character...ie, 000100020005....would show for the first or last name indexes that XA started at one record after where X starts, XB 2 records, XC 5 records. (since XA is +1, that means there would be an X record...) Thus, if someone searched for 'Bart', I would go to the first name index, and jump to the second record (B), which would tell me that B starts at 51, the first four characters of the last field in the index are 0000, so I know that BA starts at 51. I then check the next character (BB) which shows 0010, which tells me I have 10 records that are BA, so I know now where to start looking. This immensely sped up my search. Now, the key is, the index is showing positions to find the records, so the more ways you want to find your data, the more complex your indexes are going to be. If a relationship has an index, but the fields don't, then searching the individual fields will not be sped up with an index. Make sense? I could just be babbling, haven't had a good dose of caffiene yet! Drew -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, June 10, 2003 11:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes in Access Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 10:48:53 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 10:48:53 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <003e01c32f67$ce69e810$de1811d8@DanWaters> John, On my development laptop I added in a routine that sends the email information to a table, instead of trying to actually send the email. That way I can quickly see what happens, and I still like my PC! I can switch back to real email pretty easily. Since this machine is also what I use for demonstrations, it's important not to have to also annoy a room full of potential clients. I set it up so that with each hidden email, a message box is displayed so that the potential clients understand that a hidden email is being sent, and what it's saying. That message though, is only for demonstrations. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Tue Jun 10 11:11:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 10 Jun 2003 10:11:51 -0600 Subject: [AccessD] OT? - Certification Message-ID: <265000-220036210161151109@christopherhawkins.com> I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From scotttgage at yahoo.com Tue Jun 10 11:16:59 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Tue, 10 Jun 2003 09:16:59 -0700 (PDT) Subject: [AccessD] Export a Db4 file In-Reply-To: Message-ID: <20030610161659.94271.qmail@web10403.mail.yahoo.com> I need to script the export of a file in the Db4 format. Below I am using "TransferText" to send a txt or ascii file and it works great however the "OutputTo" will not allow me to create the Db4 file that I need. The Excel file works but is not right. Any suggestions? DoCmd.TransferText acExportFixed, "Send", "Send", Pathname DoCmd.OutputTo acOutputTable, "SendMI", acFormatXLS, Pathname8 BTW these exported files end up as attachments to e-mail messages ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From jcolby at colbyconsulting.com Tue Jun 10 11:23:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 12:23:41 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: <265000-220036210161151109@christopherhawkins.com> Message-ID: You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 11:26:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:26:15 -0700 Subject: [AccessD] Export a Db4 file Message-ID: If by Db4 you mean dBase IV, then try the TransferDatabase command instead. dBase IV is one of the formats supported. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Tuesday, June 10, 2003 8:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Export a Db4 file I need to script the export of a file in the Db4 format. Below I am using "TransferText" to send a txt or ascii file and it works great however the "OutputTo" will not allow me to create the Db4 file that I need. The Excel file works but is not right. Any suggestions? DoCmd.TransferText acExportFixed, "Send", "Send", Pathname DoCmd.OutputTo acOutputTable, "SendMI", acFormatXLS, Pathname8 BTW these exported files end up as attachments to e-mail messages ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 11:32:50 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 12:32:50 -0400 Subject: [AccessD] OT? - Certification Message-ID: This reminds me of materials guys having to get APICS certified back in the day. The only advantage to it is that once you go thru the pain you are actually more 'hire-able' because of the certification. It's like a 'well if you passed the cert process you must know SOMEthing' sort of an acid test for those who know less than nothing. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >You hardly have to worry about that. In a year the entire set of >technology >from MS will be different, with new exams to take. Let's just hope that >they get a raise for every exam they pass. That'll teach management to >implement such silliness. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Tuesday, June 10, 2003 12:12 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >I apologize if this drives the discussion off-track, but I have to >ask...what happens when you've passed all the exams? No more raises, >ever? > >-Christopher- > >---- Original Message ---- >From: R.Griffiths at bury.gov.uk >To: AccessD at databaseadvisors.com, >Subject: RE: [AccessD] OT? - Certification >Date: Tue, 10 Jun 2003 09:03:06 +0100 > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations > >(or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From cfoust at infostatsystems.com Tue Jun 10 11:41:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:41:00 -0700 Subject: [AccessD] Append Query Message-ID: If you aren't sure what the field names are going to be in the table you're importing, it's a bit difficult to automate. Are you even sure the fields will be in the same order and without any additions or deletions? I've found when handing stuff like this that it's best to just import the data into a new table and then move it into the import table after examining it. That gives you a chance to make sure you know what you're getting first and allows you to customize the necessary append query as needed. I wouldn't try to automate this on a bet because I know exactly how reliable that kind of data turns out to be. It's better to be safe than sorry. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Tuesday, June 10, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Append Query I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 11:45:01 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 12:45:01 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: When attempting to import (thru import data wizard) I get this error "There is no object in this control" when I click OK (like a good user) the wizard opens , blank. If I click anything but 'cancel' I get "The expression you entered refers to an object that is closed or doesn't exist" - isn't this a fine how-do-you-do?? Something is broken?? I checked the references I have Visual Basic For Applications Microsoft 10.0 Object Library OLE Automation Microsoft Activex data objects 2.1 library Microsoft Excel 10.0 Object Library I even added the last one, with the same result "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From cfoust at infostatsystems.com Tue Jun 10 11:51:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:51:20 -0700 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: Why would you be using ADO 2.1 with Access XP? The installed version with XP is at least 2.5 or 2.6, if I remember correctly (I've got the latest version installed, so I can't check). Try changing to the latest installed version of ADO and see if it makes a difference. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 10, 2003 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Why can't I import from Excel 2000 When attempting to import (thru import data wizard) I get this error "There is no object in this control" when I click OK (like a good user) the wizard opens , blank. If I click anything but 'cancel' I get "The expression you entered refers to an object that is closed or doesn't exist" - isn't this a fine how-do-you-do?? Something is broken?? I checked the references I have Visual Basic For Applications Microsoft 10.0 Object Library OLE Automation Microsoft Activex data objects 2.1 library Microsoft Excel 10.0 Object Library I even added the last one, with the same result "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Jun 10 12:01:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 10 Jun 2003 13:01:00 -0400 Subject: [AccessD] Append Query References: Message-ID: <002501c32f71$e1610e30$ebe6ffcc@SusanOne> Might mention that you can refer to the fields by position instead of name... not sure it will help, but just in case the data comes in the same order, just with different names -- can't remember the syntax off hand, but if this sounds useful, I'll look it up. Susan H. > If you aren't sure what the field names are going to be in the table > you're importing, it's a bit difficult to automate. Are you even sure > the fields will be in the same order and without any additions or > deletions? I've found when handing stuff like this that it's best to > just import the data into a new table and then move it into the import > table after examining it. That gives you a chance to make sure you know > what you're getting first and allows you to customize the necessary > append query as needed. I wouldn't try to automate this on a bet > because I know exactly how reliable that kind of data turns out to be. > It's better to be safe than sorry. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] > Sent: Tuesday, June 10, 2003 7:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Append Query > > > I have data that I have imported into my database into a table named > ImportTbl. I will be doing this quarterly - and each time this happens > the field names get changed around a little bit by the person submitting > the data. For example, they might call the field Q1 Sales and then the > next time Q2 Sales - which isn't too bad, but then there are other > fields like Hospital Name, they might call Facility Name. > > I want to transfer the data from the ImportTbl to another table that I > have established generic field names - such as Sales, Name, etc. I then > have set up queries, reports etc, based on this table (UpdateTbl). > > What is the best way to do this programmatically? > > Thanks for any help on this. > > ------------------------------------------------------------------------ > --- > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 Amerinet 1nc. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From R.Griffiths at bury.gov.uk Tue Jun 10 12:03:51 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 18:03:51 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A5@MAILGATE.bury.gov.uk> Christopher I haven't had a raise for many years, infact after the last restructure my post was downgraded and the 4 year salary prootection has ended, sob! If we pass the exams I may get back to where I was 5 years ago - not bad for a graduate with 15 years IT experience (great place to work!!) Donations welcome Richard > -----Original Message----- > From: Christopher Hawkins [SMTP:clh at christopherhawkins.com] > Sent: 10 June 2003 17:12 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > I apologize if this drives the discussion off-track, but I have to > ask...what happens when you've passed all the exams? No more raises, > ever? > > -Christopher- > > ---- Original Message ---- > From: R.Griffiths at bury.gov.uk > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] OT? - Certification > Date: Tue, 10 Jun 2003 09:03:06 +0100 > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations > >(or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Tue Jun 10 12:13:37 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 10 Jun 2003 09:13:37 -0800 Subject: [AccessD] OT? - Certification Message-ID: I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jarus at amerinet-gpo.com Tue Jun 10 12:14:09 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 10 Jun 2003 12:14:09 -0500 Subject: [AccessD] Append Query Message-ID: It seems that it usually comes in the same order and the same number of fields. I did this once before and recently someone overwrote the database. I'm having trouble with the network guys recreating the backup - so now 2 weeks in, I decided to try to recreate the database myself. Only problem, I can't remember how I did this. I either found a way to rename the fields to be more generic (via code) OR somehow used an append query and selected the fields on a LIKE type of basis - if LIKE "*Sales*" then .... I need to do this programmatically as the enduser doesn't have a clue how to deal with any of this. But I don't recall - I'm trying to work backwards as the data was then pulled into Excel through MS Query - the spreadsheet is still intact with the code used there, but I don't know how I initially got the data setup for the spreadsheet. Pretty sure I didn't use the position idea as that doesn't sound familiar at all. Anyway, thanks for the suggestions. I'll just keep plugging away. >>> cfoust at infostatsystems.com 06/10/03 11:41AM >>> If you aren't sure what the field names are going to be in the table you're importing, it's a bit difficult to automate. Are you even sure the fields will be in the same order and without any additions or deletions? I've found when handing stuff like this that it's best to just import the data into a new table and then move it into the import table after examining it. That gives you a chance to make sure you know what you're getting first and allows you to customize the necessary append query as needed. I wouldn't try to automate this on a bet because I know exactly how reliable that kind of data turns out to be. It's better to be safe than sorry. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Tuesday, June 10, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Append Query I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 12:15:31 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 13:15:31 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: Latest is 2.7 I unchecked 2.1 and check 2.7 - no change.


"Things are only free to the extent that you don't pay for them".-Don Elliker >Why would you be using ADO 2.1 with Access XP? The installed version >with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >latest version installed, so I can't check). Try changing to the latest >installed version of ADO and see if it makes a difference. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Tuesday, June 10, 2003 8:45 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Why can't I import from Excel 2000 > > >When attempting to import (thru import data wizard) I get this error >"There >is no object in this control" when I click OK (like a good user) the >wizard >opens , blank. If I click anything but 'cancel' I get "The expression >you >entered refers to an object that is closed or doesn't exist" - isn't >this a >fine how-do-you-do?? Something is broken?? I checked the references I >have Visual Basic For Applications Microsoft 10.0 Object Library OLE >Automation Microsoft Activex data objects 2.1 library Microsoft Excel >10.0 Object Library I even added the last one, with the same result > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From john at winhaven.net Tue Jun 10 12:19:06 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 12:19:06 -0500 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: I've seen some discussion on this throughout the ages but I've never paid attention to it since it would only seem to be needed when a design is flawed. But... I have a project which is almost complete that uses a number of Yes/No fields and the client just informed me that there is a condition where neither would be correct. The form is part of an evaluation of conditions. The conditions can only be yes or no but, in the endless glory of government programs, if a partial evaluation had been done before the latest standards the evaluation can be completed with a "Not Evaluated" given to certain areas. I thought maybe I could just have the final report evaluate nulls in the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much sense to me. Can anyone clear it up for me or should I just change my last minute change approach and add a new field? John B. PS: There isn't any additional money to be had so either I do it easily or I eat the expense. Even though it was explained to me that it could only be yes or no, it isn't explicitly stated anywhere in the specs and the contact person is gone now, so... From mikedorism at ntelos.net Tue Jun 10 12:41:30 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 10 Jun 2003 13:41:30 -0400 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: Message-ID: <000301c32f77$8aa63d30$23340cd8@hargrove.internal> TripleState basically controls how a checkbox appears on a form or report. If the underlying value is True, then the box is checked. If False, then the box is not checked. If Null, then the box is gray. Having the final report evaluate nulls is probably your best bet and is cleaner than going the TripleState route when you want the nulls to display a particular text. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, June 10, 2003 1:19 PM To: AccessD Subject: [AccessD] (Yes/No) field - no state A97 I've seen some discussion on this throughout the ages but I've never paid attention to it since it would only seem to be needed when a design is flawed. But... I have a project which is almost complete that uses a number of Yes/No fields and the client just informed me that there is a condition where neither would be correct. The form is part of an evaluation of conditions. The conditions can only be yes or no but, in the endless glory of government programs, if a partial evaluation had been done before the latest standards the evaluation can be completed with a "Not Evaluated" given to certain areas. I thought maybe I could just have the final report evaluate nulls in the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much sense to me. Can anyone clear it up for me or should I just change my last minute change approach and add a new field? John B. PS: There isn't any additional money to be had so either I do it easily or I eat the expense. Even though it was explained to me that it could only be yes or no, it isn't explicitly stated anywhere in the specs and the contact person is gone now, so... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Tue Jun 10 12:55:49 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue, 10 Jun 2003 13:55:49 -0400 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: <01C32F58.00F5EB90.bob@renaissancesiding.com> John Triple state: true, false or Null (no value at all) Bob Gajewski On Tuesday, June 10, 2003 13:19 PM, John Bartow [SMTP:john at winhaven.net] wrote: > I've seen some discussion on this throughout the ages but I've never paid > attention to it since it would only seem to be needed when a design is > flawed > > But.. > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct > > The form is part of an evaluation of conditions. The conditions can only be > yes or no but, in the endless glory of government programs, if a partial > evaluation had been done before the latest standards the evaluation can be > completed with a "Not Evaluated" given to certain areas > > I thought maybe I could just have the final report evaluate nulls in the > Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much > sense to me. Can anyone clear it up for me or should I just change my last > minute change approach and add a new field? > > John B > PS: There isn't any additional money to be had so either I do it easily or I > eat the expense. Even though it was explained to me that it could only be > yes or no, it isn't explicitly stated anywhere in the specs and the contact > person is gone now, so.. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jimdettman at earthlink.net Mon Jun 9 13:00:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:00:30 -0400 Subject: [AccessD] Indexes in Access In-Reply-To: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Message-ID: Mark, Yes, that is correct, almost. An index is only created on the foreign table when you enforce RI. If you create a relationship without enforcing RI, no index is created. The index is used by Access like any other to speed up operations if possible. And yes, you creating the same index is duplicating it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Tuesday, June 10, 2003 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes in Access Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Tue Jun 10 14:15:31 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue, 10 Jun 2003 13:15:31 -0600 Subject: [AccessD] Indexes in Access References: Message-ID: <000a01c32f84$a9573880$0400000a@PASCAL> Jim, That's what I thought. So a query with "WHERE PersonID = 456" would be sped up by the auto index created by Referential Integrity? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: Sent: Monday, June 09, 2003 12:00 PM Subject: RE: [AccessD] Indexes in Access > Mark, > > Yes, that is correct, almost. An index is only created on the foreign > table when you enforce RI. If you create a relationship without enforcing > RI, no index is created. The index is used by Access like any other to > speed up operations if possible. And yes, you creating the same index is > duplicating it. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > From john at winhaven.net Tue Jun 10 13:26:29 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 13:26:29 -0500 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: <000301c32f77$8aa63d30$23340cd8@hargrove.internal> Message-ID: Thanks Doris, So triple state is a display feature. Mine is not working :o) Going beyond that, I guess what's throwing me is that when I look in a table where the Yes/No should be null it is always false. How can I get it to remain null until it has a value? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris > Manning > Sent: Tuesday, June 10, 2003 12:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > TripleState basically controls how a checkbox appears on a form or report. > If the underlying value is True, then the box is checked. If False, then > the box is not checked. If Null, then the box is gray. > > Having the final report evaluate nulls is probably your best bet and is > cleaner than going the TripleState route when you want the nulls > to display > a particular text. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, June 10, 2003 1:19 PM > To: AccessD > Subject: [AccessD] (Yes/No) field - no state A97 > > > I've seen some discussion on this throughout the ages but I've never paid > attention to it since it would only seem to be needed when a design is > flawed. > > But... > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct. > > The form is part of an evaluation of conditions. The conditions > can only be > yes or no but, in the endless glory of government programs, if a partial > evaluation had been done before the latest standards the evaluation can be > completed with a "Not Evaluated" given to certain areas. > > I thought maybe I could just have the final report evaluate nulls in the > Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > making much > sense to me. Can anyone clear it up for me or should I just change my last > minute change approach and add a new field? > > John B. > PS: There isn't any additional money to be had so either I do it > easily or I > eat the expense. Even though it was explained to me that it could only be > yes or no, it isn't explicitly stated anywhere in the specs and > the contact > person is gone now, so... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Tue Jun 10 13:30:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 11:30:42 -0700 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: Check the field's default value. It is probably set to 0/False. If you want to use triple-state, you'll need to set the default to Null. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, June 10, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] (Yes/No) field - no state A97 Thanks Doris, So triple state is a display feature. Mine is not working :o) Going beyond that, I guess what's throwing me is that when I look in a table where the Yes/No should be null it is always false. How can I get it to remain null until it has a value? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and > Doris Manning > Sent: Tuesday, June 10, 2003 12:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > TripleState basically controls how a checkbox appears on a form or > report. If the underlying value is True, then the box is checked. If > False, then the box is not checked. If Null, then the box is gray. > > Having the final report evaluate nulls is probably your best bet and > is cleaner than going the TripleState route when you want the nulls to > display a particular text. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, June 10, 2003 1:19 PM > To: AccessD > Subject: [AccessD] (Yes/No) field - no state A97 > > > I've seen some discussion on this throughout the ages but I've never > paid attention to it since it would only seem to be needed when a > design is flawed. > > But... > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct. > > The form is part of an evaluation of conditions. The conditions can > only be yes or no but, in the endless glory of government programs, if > a partial evaluation had been done before the latest standards the > evaluation can be completed with a "Not Evaluated" given to certain > areas. > > I thought maybe I could just have the final report evaluate nulls in > the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > making much sense to me. Can anyone clear it up for me or should I > just change my last minute change approach and add a new field? > > John B. > PS: There isn't any additional money to be had so either I do it > easily or I eat the expense. Even though it was explained to me that > it could only be yes or no, it isn't explicitly stated anywhere in the > specs and the contact > person is gone now, so... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 13:32:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:32:34 -0400 Subject: [AccessD] Indexes in Access In-Reply-To: <000a01c32f84$a9573880$0400000a@PASCAL> Message-ID: Mark, Yes. It's used like any other index. It counts towards the 32 index limit etc. The only difference is that it is hidden in the table designer. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Tuesday, June 10, 2003 3:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Indexes in Access Jim, That's what I thought. So a query with "WHERE PersonID = 456" would be sped up by the auto index created by Referential Integrity? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: Sent: Monday, June 09, 2003 12:00 PM Subject: RE: [AccessD] Indexes in Access > Mark, > > Yes, that is correct, almost. An index is only created on the foreign > table when you enforce RI. If you create a relationship without enforcing > RI, no index is created. The index is used by Access like any other to > speed up operations if possible. And yes, you creating the same index is > duplicating it. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Jun 10 13:51:15 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 10 Jun 2003 14:51:15 -0400 Subject: [AccessD] FoxPro vs Access Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From john at winhaven.net Tue Jun 10 13:54:15 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 13:54:15 -0500 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: Message-ID: The default value wasn't set. I set it to Null and now it works. Manually set a value to null, that's odd isn't it? Thanks! JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, June 10, 2003 1:31 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > Check the field's default value. It is probably set to 0/False. If you > want to use triple-state, you'll need to set the default to Null. > > Charlotte Foust > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, June 10, 2003 10:26 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > Thanks Doris, > > So triple state is a display feature. Mine is not working :o) > > Going beyond that, I guess what's throwing me is that when I look in a > table where the Yes/No should be null it is always false. How can I get > it to remain null until it has a value? > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and > > Doris Manning > > Sent: Tuesday, June 10, 2003 12:41 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > > > > TripleState basically controls how a checkbox appears on a form or > > report. If the underlying value is True, then the box is checked. If > > False, then the box is not checked. If Null, then the box is gray. > > > > Having the final report evaluate nulls is probably your best bet and > > is cleaner than going the TripleState route when you want the nulls to > > > display a particular text. > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Tuesday, June 10, 2003 1:19 PM > > To: AccessD > > Subject: [AccessD] (Yes/No) field - no state A97 > > > > > > I've seen some discussion on this throughout the ages but I've never > > paid attention to it since it would only seem to be needed when a > > design is flawed. > > > > But... > > > > I have a project which is almost complete that uses a number of Yes/No > > > fields and the client just informed me that there is a condition where > > > neither would be correct. > > > > The form is part of an evaluation of conditions. The conditions can > > only be yes or no but, in the endless glory of government programs, if > > > a partial evaluation had been done before the latest standards the > > evaluation can be completed with a "Not Evaluated" given to certain > > areas. > > > > I thought maybe I could just have the final report evaluate nulls in > > the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > > making much sense to me. Can anyone clear it up for me or should I > > just change my last minute change approach and add a new field? > > > > John B. > > PS: There isn't any additional money to be had so either I do it > > easily or I eat the expense. Even though it was explained to me that > > it could only be yes or no, it isn't explicitly stated anywhere in the > > > specs and the contact > > person is gone now, so... > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jscott at mchsi.com Tue Jun 10 14:10:42 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 10 Jun 2003 14:10:42 -0500 Subject: [AccessD] recordset clones In-Reply-To: <000a01c32f84$a9573880$0400000a@PASCAL> Message-ID: I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].Recor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! From nilslenz at 3oaks.com Tue Jun 10 14:08:46 2003 From: nilslenz at 3oaks.com (Nils R. Lenz) Date: Tue, 10 Jun 2003 15:08:46 -0400 Subject: [AccessD] FoxPro vs Access In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Message-ID: <000001c32f83$be853cd0$783b413f@nils> Joe, I used VisualFox Pro 3.0 several years ago, for about a year and a half, and I was always much happier developing with Access. Thanks, Nils -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 10, 2003 2:51 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] FoxPro vs Access Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 14:10:51 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:10:51 -0400 Subject: [AccessD] E-mail you sent to Access-D has a virus Message-ID: Steve (and all), I just got a warning that your last e-mail on Field aliases contained the bug bear virus. Better batten down the hatches. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net From jimdettman at earthlink.net Mon Jun 9 14:11:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:11:30 -0400 Subject: [AccessD] FoxPro vs Access In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Message-ID: Joe, Yes, I use both. Each product has strengths and weaknesses of course. As a pure development tool, I'd have to say that FoxPro is better. It offers a finer event model, has strong OOP capabilities, has a database engine that is faster then JET (although it does have the same problems as JET being a client side engine - Foxer's just don't like to admit it), and you simply can do a lot more with it. For ease of use and Office Integration, Access has the upper hand. It's report writer is class A, and the whole interface works a lot better then VFP's. As to the learning curve, Fox's is STEEP. Don't expect to turn out anything good for at least a year and you should buy a framework right off. Part of the problem is that because it is so flexible, it's like VB in that it takes forever to get anything done. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Tuesday, June 10, 2003 2:51 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] FoxPro vs Access Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Tue Jun 10 14:20:28 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 10 Jun 2003 15:20:28 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E50@dibble.observatory.donnslaw.co.uk> Message-ID: In a case like you mention, why not create a report frontend. Then use something like RFil5.0 (free) to allow for maximum variability in how they slice the data (you can even add some addition functionality of your own, to let them select fields to highlight, Create report titles, etc. Then save that information as a filter to the report. I have found that most database have a set number of often used information and then it is a matter of how that information is sliced. And having worked with end users in the legal and government as well as private sector, most users don't understand or want to understand that what may seem like a simple request, still takes time, especially if several people make "small requests". HTH, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Tue Jun 10 14:22:38 2003 From: papparuff at attbi.com (John Ruff) Date: Tue, 10 Jun 2003 12:22:38 -0700 Subject: [AccessD] recordset clones In-Reply-To: Message-ID: <01b001c32f85$a7fc9510$6401a8c0@papparuff> Your Set statement is incorrect. Change; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecordsetClone To; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form.RecordsetClone John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Jeanine Scott Sent: Tuesday, June 10, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] recordset clones I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 14:38:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 12:38:57 -0700 Subject: [AccessD] Field aliases Message-ID: Steve, You can alias the table or an expression or field using AS. You can even alias an in-line subquery that way. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at uswest.net] Sent: Tuesday, June 10, 2003 11:04 AM Subject: [AccessD] Field aliases Dear Group, SQL has always had the AS keyword to allow the assignment of an alias to a table name. Is there such a thing as an alias for a field name? Something like: SELECT A.[Really Long Field Name 1] AS F1, A.[Really Long From BarbaraRyan at cox.net Tue Jun 10 14:51:06 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 10 Jun 2003 15:51:06 -0400 Subject: [AccessD] Adding a worksheet to an existing Excel workbook Message-ID: <005a01c32f89$a25350a0$a2c50a44@hr.cox.net> How can I add an Excel spreadsheet (which I create within an Access 97 app) to an existing Excel workbook? If it helps, I can setup the Excel workbook to have a pre-defined worksheet that will accept the spreadsheet from Access. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Tue Jun 10 14:48:48 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue, 10 Jun 2003 14:48:48 -0500 Subject: [AccessD] AXP Question Message-ID: <869379ABF177D4118D3100508B5EF873063AB40B@corp-es00> Along these lines there are several report creation/selection Access products out there. They are generally Forms and code you drop into the mdb. I know datacreations has one. Jim Hale -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Tuesday, June 10, 2003 2:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question In a case like you mention, why not create a report frontend. Then use something like RFil5.0 (free) to allow for maximum variability in how they slice the data (you can even add some addition functionality of your own, to let them select fields to highlight, Create report titles, etc. Then save that information as a filter to the report. I have found that most database have a set number of often used information and then it is a matter of how that information is sliced. And having worked with end users in the legal and government as well as private sector, most users don't understand or want to understand that what may seem like a simple request, still takes time, especially if several people make "small requests". HTH, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Tue Jun 10 14:57:45 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 10 Jun 2003 14:57:45 -0500 Subject: [AccessD] A2000: Disk or network error Message-ID: Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jscott at mchsi.com Tue Jun 10 15:22:00 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 10 Jun 2003 15:22:00 -0500 Subject: [AccessD] recordset clones In-Reply-To: <01b001c32f85$a7fc9510$6401a8c0@papparuff> Message-ID: Thank you for catching my "duh"! :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Tuesday, June 10, 2003 2:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] recordset clones Your Set statement is incorrect. Change; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecordsetClone To; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form.RecordsetClone John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Jeanine Scott Sent: Tuesday, June 10, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] recordset clones I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 15:26:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 13:26:28 -0700 Subject: [AccessD] A2000: Disk or network error Message-ID: Anything called run.reg.exe is a virus ubetcha!! My AV quarantined it right away. Charlotte Foust -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Tuesday, June 10, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Disk or network error Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Tue Jun 10 15:26:24 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 16:26:24 -0400 Subject: [AccessD] Delete Query problem Message-ID: Hi, ? Any help would be greatly appreciated.? ?I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response? "Could not delete from specified tables."? I have reviewed many similar posts and still cannot seem to get mine to work.? ? I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table).? Some (but not all) clients in "Dropouts" table are also in the "Clients" table.? I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table.? There is a one-to-one relationship between these tables. ? In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts').? I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. ? Several Attempts so far result in the right records in?a?Select Query view but results in "Could not delete...." message when?I run it as a?Delete Query. ? Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); ? Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); ? Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; ? DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; ? ? Attempt #4 (using tables and eliminating query as datasource;? reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); ? ? Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview).? Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews).? ? Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ? ======Access2002, WinXP Profl ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS? -? Evaluation and Program Monitoring Albany, NY? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From tortise at paradise.net.nz Tue Jun 10 15:29:00 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Wed, 11 Jun 2003 08:29:00 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links References: <01C32F2C.4960C110.bob@renaissancesiding.com> Message-ID: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work >> {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Tue Jun 10 15:29:37 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 10 Jun 2003 15:29:37 -0500 Subject: [AccessD] AXP Question Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DBA@cpixchng-1.cpiqpc.net> Roz, Peter's Software ( http://www.peterssoftware.com ) has some report tools that might do what you are wanting. Cub Editor and Cub Reporter. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [ mailto:CWortz at tea.state.tx.us ] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [ mailto:BBarabash at TappeConstruction.com ] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [ mailto:CWortz at tea.state.tx.us ] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [ mailto:cfoust at infostatsystems.com ] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [ mailto:actebs at actebs.com.au ] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Tue Jun 10 15:37:46 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue, 10 Jun 2003 15:37:46 -0500 Subject: [AccessD] Adding a worksheet to an existing Excel workbook Message-ID: <869379ABF177D4118D3100508B5EF873063AB434@corp-es00> In an excel sheet turn the macro recorder on and go edit>move or copy sheet>check "create a copy">select "new book" from the dropdown menu. Turn off the recorder. The code in the resulting module should give you the basics of what you need to do to copy your woksheet programatically to an existing sheet. HTH Jim Hale -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, June 10, 2003 2:51 PM To: Access List Subject: [AccessD] Adding a worksheet to an existing Excel workbook How can I add an Excel spreadsheet (which I create within an Access 97 app) to an existing Excel workbook? If it helps, I can setup the Excel workbook to have a pre-defined worksheet that will accept the spreadsheet from Access. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 10 15:50:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 16:50:53 -0400 Subject: [AccessD] A2000: Disk or network error In-Reply-To: Message-ID: as did mine. It told me the name of it, though I didn't really take notice. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, June 10, 2003 4:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2000: Disk or network error Anything called run.reg.exe is a virus ubetcha!! My AV quarantined it right away. Charlotte Foust -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Tuesday, June 10, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Disk or network error Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 15:54:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 13:54:19 -0700 Subject: [AccessD] Delete Query problem Message-ID: Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 10 16:12:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 10 Jun 2003 16:12:00 -0500 Subject: [AccessD] A2K: Query parameters disappear in break mode Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DF@TAPPEEXCH01> My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Tue Jun 10 16:21:05 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:05 -0300 Subject: [AccessD] A2k - Different version FE's and One BE In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003 08:10:26 -0700, Charlotte Foust wrote: > Yes, performance. A2k is a dog linked to a 97 back end. > > Charlotte Foust > Hi Charlotte! Did you mean it is going to be low performance to manipulate A97 data??? :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Tue Jun 10 16:21:07 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:07 -0300 Subject: [AccessD] Repeat Emails In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Tue Jun 10 16:21:39 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:39 -0300 Subject: [AccessD] OT - BugBear Message-ID: Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From JoyceRobinson at oasas.state.ny.us Tue Jun 10 16:24:55 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 17:24:55 -0400 Subject: [AccessD] Delete Query problem Message-ID: Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 16:36:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:36:38 -0700 Subject: [AccessD] Delete Query problem Message-ID: Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 16:37:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:37:33 -0700 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: I mean A2k will be SLOW, very, very SLOW. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2k - Different version FE's and One BE On Mon, 9 Jun 2003 08:10:26 -0700, Charlotte Foust wrote: > Yes, performance. A2k is a dog linked to a 97 back end. > > Charlotte Foust > Hi Charlotte! Did you mean it is going to be low performance to manipulate A97 data??? :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 16:37:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:37:53 -0700 Subject: [AccessD] OT - BugBear Message-ID: -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:22 PM To: AccessD List Subject: [AccessD] OT - BugBear Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 16:38:34 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:38:34 -0700 Subject: [AccessD] OT - BugBear Message-ID: I've only received one or two recently, not many. One today and I think one yesterday. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:22 PM To: AccessD List Subject: [AccessD] OT - BugBear Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Tue Jun 10 16:47:11 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 17:47:11 -0400 Subject: [AccessD] Delete Query problem Message-ID: I cannot link the two tables directly since I had to modify the linking field from the DropOut data in order to match CID# in the Clients table. Is it then not possible to do this without first running a make-table query to create a revised DropOut table? That is, can you not include a query as one of the data sources in a delete query? Joyce Robinson -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 10 17:20:34 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 10 Jun 2003 18:20:34 -0400 Subject: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) In-Reply-To: <1236280981.20030609105643@cactus.dk> Message-ID: <01f101c32f9e$83231ac0$8e01a8c0@Rock> After considering it for a while, I agree. I plan to rewrite the template and its descendants along your line. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: June 9, 2003 4:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. I use -1 as the reset value .. So what do you do when such a function carries a Boolean? Wouldn't Null be a better "value" to use for this? A solution to end such considerations is to add an optional parameter: > Static Function CurrentX(Optional lngNew As Long, _ > Optional ByVal booReset As Boolean) As Long It's a matter of taste and needs I guess. /gustav From cfoust at infostatsystems.com Tue Jun 10 17:37:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 15:37:23 -0700 Subject: [AccessD] Delete Query problem Message-ID: Sure you can include a query as one of the data sources, at least as long as it's being used to determine the matching records for the delete rather than being the object that's the target of the deletes. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem I cannot link the two tables directly since I had to modify the linking field from the DropOut data in order to match CID# in the Clients table. Is it then not possible to do this without first running a make-table query to create a revised DropOut table? That is, can you not include a query as one of the data sources in a delete query? Joyce Robinson -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Jun 10 18:12:15 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 11 Jun 2003 09:12:15 +1000 Subject: [AccessD] Append Query In-Reply-To: Message-ID: <3EE6F26F.31364.4E3C86@localhost> On 10 Jun 2003 at 10:24, Terri Jarus wrote: > I have data that I have imported into my database into a table named > ImportTbl. I will be doing this quarterly - and each time this > happens the field names get changed around a little bit by the person > submitting the data. For example, they might call the field Q1 Sales > and then the next time Q2 Sales - which isn't too bad, but then there > are other fields like Hospital Name, they might call Facility Name. > > I want to transfer the data from the ImportTbl to another table that I > have established generic field names - such as Sales, Name, etc. I > then have set up queries, reports etc, based on this table > (UpdateTbl). > > What is the best way to do this programmatically? > > Thanks for any help on this. > Assuming that you always have the same number of fields in the same order, you could do something like this: Set newdata = db.openrecordset("ImportTbl) Set maindata = db.openrecordset("UpdateTbl") While not newdata.eof maindata.addnew for loopcount = 0 to NoOfFields - 1 maindata(loopcount) = newdata(loopcount) next maindata.update newdata.movenext Wend -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Jun 10 21:12:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 21:12:52 -0500 Subject: [AccessD] Emails as attachments... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D09@main2.marlow.com> Folks, a few emails have been coming through, where the message body is showing up as an attachment. I personally can open them, and read them, but I'm concerned about the archives. The archives only read the text of a message, so any message that comes through with the body set as an attachment is going to be put into the archives as a blank message. Please be sure to send emails to the list in plain text....that should avoid this problem (and also make people with slow or expensive ISP's happy). Drew From bbruen at bigpond.com Tue Jun 10 23:01:42 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 14:01:42 +1000 Subject: [AccessD] Displaying web page in a form Message-ID: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Dear List, Is there a way to display a web page inside a form! I want to click on a hyperlink and have the page appear within the form itself. Tia Bruce From accessd at shaw.ca Tue Jun 10 23:43:29 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 10 Jun 2003 21:43:29 -0700 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Message-ID: Hi Bruce: You can use MS's SHDOCVW.OCA and DLL files. I used these components for an inline web based browser, on a form, in VB and there should not ant reason why it can not be applied using the add-on option, in Access. If you can not find it on your computer it can be easily doenloaded from: http://www.dll-files.com/dllindex/dll-files.shtml?shdocvw HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, June 10, 2003 9:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Displaying web page in a form Dear List, Is there a way to display a web page inside a form! I want to click on a hyperlink and have the page appear within the form itself. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Jun 11 01:54:15 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 11 Jun 2003 16:54:15 +1000 Subject: [AccessD] Displaying web page in a form References: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Message-ID: <00d601c32fe6$46154b10$3c619a89@DDICK> Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click on > a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 02:49:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 09:49:55 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <494951479.20030611094955@cactus.dk> Hi Joyce > NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. The oversize is due to the HTML formatting which bloats the message from 6K to 34K. /gustav From bbruen at bigpond.com Wed Jun 11 02:55:33 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 17:55:33 +1000 Subject: [AccessD] Displaying web page in a form In-Reply-To: <00d601c32fe6$46154b10$3c619a89@DDICK> Message-ID: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Jun 11 04:52:50 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 13:52:50 +0400 Subject: [AccessD] Displaying web page in a form References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <003501c32fff$3e7f4540$b501010a@DAISY.local> Bruce, If you use MS Access2000 and up then this should work: Dim objIE As SHDocVw.InternetExplorer Set objIE = Me.actx_WebBrowser.Object objIE.Navigate "http://www.microsoft.com" If you use MS Access97 it will not work - there is a problem with IE embedded in MS Access97's forms, which I believe is described in KB but I didn't have KB article's code. I do know it should work for MS Access97 too and and a funny thing is that I've it working here in one of my MS Access97 apps but I forgot the "magic steps" I passed to make it working under Acc97:) .... ...I've just created sample MS AccessXP app, created a form with Web Browser control and it worked OK. Then I made converion to Acc97 format and it worked OK under AccXP but when I opened this database in Acc97 it failed to work... If you or somebody else will not find this KB article I mentioned above then I will try to find it... Shamil P.S. Acc97 sample is here http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) - the weird thing is that Web Browser control can't be resized once inserted into MS Access97 form and saved... ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 11:55 AM Subject: RE: [AccessD] Displaying web page in a form > Hmm, > > Referenced OK > (Registered OK) > Inserted OK > But... > Me.actx_WebBrowser.navigate "some url" > gives runtime error 438 "Object doesn't support this property or > method" > > Any ideas? > > Tia > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: Wednesday, June 11, 2003 4:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Displaying web page in a form > > > Hi Bruce > Just like Jim said > Reference the shdocvw.dll in the references. > (It will show up in the list as Microsoft Internet controls) > > Then from your long list of available ActiveX objects find > one called Microsoft web browser. Insert that onto a form and call it > say...actX_WebBrowser > > then code will trigger it will be... Me.actX_WebBrowser.navigate > http://www.microsoft.com > > Hope this helps > > Darren > > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Wednesday, June 11, 2003 2:01 PM > Subject: [AccessD] Displaying web page in a form > > > > Dear List, > > > > Is there a way to display a web page inside a form! I want to click > > on a hyperlink and have the page appear within the form itself. > > > > Tia > > Bruce > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 05:04:19 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:04:19 +0200 Subject: [AccessD] Append Query In-Reply-To: References: Message-ID: <2513015355.20030611120419@cactus.dk> Hi Terri Again assuming that the order of the fields remains the same, you can also use a union query: SELECT ID AS SalesID, Sales AS QSales, ... Value AS QValue FROM tblSomeTable WHERE FALSE UNION SELECT * FROM ImportTbl; This will grab the fieldnames but no records from the first select and the records from the import table from the next select. tblSomeTable must be a copy of a typical import table; of course, adjust fieldnames as needed. Feed the output of this to an append query. I don't think a table creation query can be used as the output from a union query is all strings, thus all fields in a created table would be of type text. /gustav > I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the > person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might > call Facility Name. > I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table > (UpdateTbl). > What is the best way to do this programmatically? From gustav at cactus.dk Wed Jun 11 05:08:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:08:40 +0200 Subject: [AccessD] Why can't I import from Excel 2000 In-Reply-To: References: Message-ID: <9213276340.20030611120840@cactus.dk> Hi Don Have you tried linking the worksheet or named range? /gustav > When attempting to import (thru import data wizard) I get this error "There > is no object in this control" when I click OK (like a good user) the wizard > opens , blank. If I click anything but 'cancel' I get "The expression you > entered refers to an object that is closed or doesn't exist" - isn't this a > fine how-do-you-do?? Something is broken?? I checked the references I have > Visual Basic For Applications > Microsoft 10.0 Object Library > OLE Automation > Microsoft Activex data objects 2.1 library > Microsoft Excel 10.0 Object Library > I even added the last one, with the same result From rbgajewski at adelphia.net Wed Jun 11 05:36:57 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Wed, 11 Jun 2003 06:36:57 -0400 Subject: [AccessD] OT Generating Body Text in Automated E-mail links In-Reply-To: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Message-ID: David Yes, the question mark is used as a delimiter to indicate that a parameter is following, just as you have used in the "?subject" portion of your URL. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 16:29 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? [snip] What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston From gustav at cactus.dk Wed Jun 11 05:37:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:37:04 +0200 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <15914980440.20030611123704@cactus.dk> Hi Bruce >From IMATips 2000-07-25: --- Avoid errors with the browser control in Access forms (97) If you've ever tried to use the Microsoft Web Browser control in an Access 97 form, you may have been greeted with the error messsage "There is no object in this control," when you tried to view the form. This is because Access 97 isn't compatible with an updated DLL that was introduced with IE 4.0. Fortunately, the problem is easy to fix. Once you draw your browser control on the form, select it and press [Ctrl]X to cut it. Then, immediately press [Ctrl]V to paste it back on the form. Reposition the browser and you'll find that you can now open the form without any errors. Don't ask us why, but this works! --- And David SDC () 2002-10-11: --- I solved this problem some years ago and gave it to Ken Getz who included it in Access Adviser magazine. The trick is to add the browser object to your form, then drag it to the required size. Having sized it right, now copy it to the clipboard (control X) and then paste it back to your form (Control V). It will now keep its size. You can only do this once. To set to a different size, start from scratch by pasting a new control. I discovered this approach by accident, but think it is to do with getting two independent programs (Access and Active X) to agree on a setting at the same time. It works with other active X objects also. --- /gustav > Hmm, > Referenced OK > (Registered OK) > Inserted OK > But... > Me.actx_WebBrowser.navigate "some url" > gives runtime error 438 "Object doesn't support this property or > method" > Any ideas? > Tia > Bruce > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: Wednesday, June 11, 2003 4:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > Just like Jim said > Reference the shdocvw.dll in the references. > (It will show up in the list as Microsoft Internet controls) > Then from your long list of available ActiveX objects find > one called Microsoft web browser. Insert that onto a form and call it > say...actX_WebBrowser > then code will trigger it will be... Me.actX_WebBrowser.navigate > http://www.microsoft.com > Hope this helps > Darren From shamil at smsconsulting.spb.ru Wed Jun 11 06:10:11 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 15:10:11 +0400 Subject: [AccessD] Displaying web page in a form References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> <15914980440.20030611123704@cactus.dk> Message-ID: <001301c3300a$0d35c620$b501010a@DAISY.local> > Don't ask us why, but this works! Yes, Gustav - you're right - this is how I did also manage to work it but I forgot :) - sample is here: http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) And writing: Me.WebBrowser2.Object.Navigate "http://www.microsoft.com" i.e. using .Object. is a must... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 11, 2003 2:37 PM Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > > >From IMATips 2000-07-25: > > --- > Avoid errors with the browser control in Access forms (97) > > If you've ever tried to use the Microsoft Web Browser control in an > Access 97 form, you may have been greeted with the error messsage > "There is no object in this control," when you tried to view the form. > This is because Access 97 isn't compatible with an updated DLL that was > introduced with IE 4.0. Fortunately, the problem is easy to fix. Once > you draw your browser control on the form, select it and press [Ctrl]X > to cut it. Then, immediately press [Ctrl]V to paste it back on the form. > Reposition the browser and you'll find that you can now open the form > without any errors. Don't ask us why, but this works! > --- > > And David SDC () 2002-10-11: > > --- > I solved this problem some years ago and gave it to Ken Getz who > included it in Access Adviser magazine. The trick is to add the browser > object to your form, then drag it to the required size. Having sized it > right, now copy it to the clipboard (control X) and then paste it back > to your form (Control V). It will now keep its size. You can only do > this once. To set to a different size, start from scratch by pasting a > new control. I discovered this approach by accident, but think it is to > do with getting two independent programs (Access and Active X) to agree > on a setting at the same time. It works with other active X objects > also. > --- > > /gustav > > > > Hmm, > > > Referenced OK > > (Registered OK) > > Inserted OK > > But... > > Me.actx_WebBrowser.navigate "some url" > > gives runtime error 438 "Object doesn't support this property or > > method" > > > Any ideas? > > > Tia > > Bruce > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > > Sent: Wednesday, June 11, 2003 4:54 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Displaying web page in a form > > > > Hi Bruce > > Just like Jim said > > Reference the shdocvw.dll in the references. > > (It will show up in the list as Microsoft Internet controls) > > > Then from your long list of available ActiveX objects find > > one called Microsoft web browser. Insert that onto a form and call it > > say...actX_WebBrowser > > > then code will trigger it will be... Me.actX_WebBrowser.navigate > > http://www.microsoft.com > > > Hope this helps > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 06:12:24 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 13:12:24 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <15417100288.20030611131224@cactus.dk> Hi Joyce Use a subquery to locate those clients: DELETE * FROM tblClients WHERE ID = (SELECT ID FROM tblDropOuts WHERE ID = tblClients.ID;); /gustav > Any help would be greatly appreciated.? ?I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response? "Could not delete from specified tables."? I have reviewed > many similar posts and still cannot seem to get mine to work.? > ? > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table).? Some (but not all) clients in "Dropouts" table are also in the "Clients" table.? I want to delete all client records > from the "Clients" table that are also found in the smaller "DropOuts" table.? There is a one-to-one relationship between these tables. From jarus at amerinet-gpo.com Wed Jun 11 06:59:18 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Wed, 11 Jun 2003 06:59:18 -0500 Subject: [AccessD] Database in Use Message-ID: I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 ********************************************************************** --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. From JHewson at karta.com Wed Jun 11 07:26:45 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed, 11 Jun 2003 07:26:45 -0500 Subject: [AccessD] Repeat Emails Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C0D@NT04> Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 07:34:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 22:34:00 +1000 Subject: [AccessD] Displaying web page in a form- SOLVED! In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <000001c33015$bef6fd10$7f00a8c0@bbb888> Nevermind! Finally, declared a Webbrowser object, set it to the control object and navigate from it, viz Dim WB As WebBrowser Set WB = Me.actx_WebBrowser.Object WB.Navigate "someURL" That did the trick. No idea why direct navigation doesn't work though. Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, June 11, 2003 5:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Displaying web page in a form Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 11 07:38:11 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 11 Jun 2003 22:38:11 +1000 Subject: [AccessD] Database in Use In-Reply-To: Message-ID: <008e01c33016$547ae5e0$0c05a8c0@earth.local> Terri, This happened to me a few days ago and went away. I don't know what caused it, so couldn't work out why... The only thing I could do is close the DB down and the re-open and I was away again until after designing a few forms it would come back. Now it's gone so.............dodododododo....as in the Twighlight Zone.... Just so you know you're not the only one experiencing this. Good luck!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Wednesday, 11 June 2003 9:59 PM To: accessd at databaseadvisors.com Subject: [AccessD] Database in Use I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 ********************************************************************** ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 07:46:44 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 07:46:44 -0500 Subject: [AccessD] OT? - Certification Message-ID: As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard From Rich_Lavsa at pghcorning.com Wed Jun 11 07:56:15 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 11 Jun 2003 08:56:15 -0400 Subject: [AccessD] Gather Information from Website Message-ID: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich From bbruen at bigpond.com Wed Jun 11 07:56:14 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 22:56:14 +1000 Subject: [AccessD] Displaying web page in a form In-Reply-To: <001301c3300a$0d35c620$b501010a@DAISY.local> Message-ID: <000101c33018$d7db7ce0$7f00a8c0@bbb888> Shamil, Gustav, Darren and Jim (and all youse uzzer guys!) Thanks for the info. I had come up with Shamil's idea of forcing the object as per my out-of-line message. It's interesting to note that once I did force it that way, I added a second command button using the raw navigate on the control - and it works! Go figure????? :-} I am using the control in AXP on XP/SP1 (IE 6.0.28.. Shdocvw.dll ver 6.00.2800.1106 (xpsp1.020828-1920))- so the cut paste method wasn't necessary, but I guess all the gliches are still not out. Its an interesting beast - given that shdocvw, from my reading, is the IE "engine" that lets you have office apps inside IE... And it works the other way around as well. Its also very powerful, almost... I cant imagine a need for a MyComputer explorer inside an app, but there it is and it works, almost... I can see it could be possible to use .URLLocation, .document and the beforeNavigate events to do some fancy footwork. So, having given them (the yewsers) the tool to automatically grab html pages, parse them and present the info in Access forms, and now given them the view of the original page (on demand) where the data came from, I wonder what the buggers will want next! Thanks again. Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, June 11, 2003 9:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form > Don't ask us why, but this works! Yes, Gustav - you're right - this is how I did also manage to work it but I forgot :) - sample is here: http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) And writing: Me.WebBrowser2.Object.Navigate "http://www.microsoft.com" i.e. using .Object. is a must... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 11, 2003 2:37 PM Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > > >From IMATips 2000-07-25: > > --- > Avoid errors with the browser control in Access forms (97) > > If you've ever tried to use the Microsoft Web Browser control in an > Access 97 form, you may have been greeted with the error messsage > "There is no object in this control," when you tried to view the form. > This is because Access 97 isn't compatible with an updated DLL that > was introduced with IE 4.0. Fortunately, the problem is easy to fix. > Once you draw your browser control on the form, select it and press > [Ctrl]X to cut it. Then, immediately press [Ctrl]V to paste it back on > the form. Reposition the browser and you'll find that you can now open > the form without any errors. Don't ask us why, but this works! > --- > > And David SDC () 2002-10-11: > > --- > I solved this problem some years ago and gave it to Ken Getz who > included it in Access Adviser magazine. The trick is to add the > browser object to your form, then drag it to the required size. Having > sized it right, now copy it to the clipboard (control X) and then > paste it back to your form (Control V). It will now keep its size. You > can only do this once. To set to a different size, start from scratch > by pasting a new control. I discovered this approach by accident, but > think it is to do with getting two independent programs (Access and > Active X) to agree on a setting at the same time. It works with other > active X objects also. > --- > > /gustav > > > > Hmm, > > > Referenced OK > > (Registered OK) > > Inserted OK > > But... > > Me.actx_WebBrowser.navigate "some url" > > gives runtime error 438 "Object doesn't support this > > property or method" > > > Any ideas? > > > Tia > > Bruce > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren > > DICK > > Sent: Wednesday, June 11, 2003 4:54 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Displaying web page in a form > > > > Hi Bruce > > Just like Jim said > > Reference the shdocvw.dll in the references. > > (It will show up in the list as Microsoft Internet controls) > > > Then from your long list of available ActiveX objects find one > > called Microsoft web browser. Insert that onto a form and call it > > say...actX_WebBrowser > > > then code will trigger it will be... Me.actX_WebBrowser.navigate > > http://www.microsoft.com > > > Hope this helps > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Wed Jun 11 07:59:21 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 11 Jun 2003 07:59:21 -0500 Subject: [AccessD] Repeat Emails Message-ID: <4AAC675EBAF3D411BCA200508BCFAA8E02F219EF@NATEXCH1> I imagine that like me, the disclaimer is added after I send my mail as the mail leaves our server. I know I don't need a disclaimer for this list, so I think most disclaimers are like mine and can't be stopped. Debbie -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, June 11, 2003 7:27 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From CWortz at tea.state.tx.us Wed Jun 11 08:40:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 08:40:26 -0500 Subject: [AccessD] Database in Use Message-ID: Teri, Does the .ldb exist? If it does, then one of the users probably made an abnormal exit that does not delete them from the .ldb and thus Access still thinks it is in use. When this happens I find either of these two methods usually work. Delete the .ldb file directly. Or open the Access app and close it. But if the .mdb has been corrupted, then neither of these methods may work. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Wednesday 2003 Jun 11 06:59 To: accessd at databaseadvisors.com Subject: [AccessD] Database in Use I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 From accessd at shaw.ca Wed Jun 11 08:47:44 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 11 Jun 2003 06:47:44 -0700 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: Hi Bruce: See: http://support.microsoft.com/default.aspx?scid=kb;en-us;174088 to register the control. If you are using Access97 you may have a problem; watch for wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/q177/1/05.asp&NoWebContent=1 HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Wednesday, June 11, 2003 12:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Displaying web page in a form Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 08:49:59 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 08:49:59 -0500 Subject: [AccessD] Repeat Emails Message-ID: Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday 2003 Jun 11 07:27 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim From shamil at smsconsulting.spb.ru Wed Jun 11 08:55:28 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 17:55:28 +0400 Subject: [AccessD] Gather Information from Website References: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Message-ID: <000d01c33021$27390c50$b501010a@DAISY.local> Rich, Yes, this can be done - I did that for a customer to collect the info they are interested in and AFAIK it works now for several years without problems. It's better - more reliable and controllable - to use XMLHTTP from MSXMLx.dll (x>=3) to get web pages. In general your task is one of the tasks what web services should be used for - I mean the sources of information in the (near?) future will publish their data as web services not only as web pages - then the task to collect this info will be a childish game - and coming version(s) of MS Office will be tuned to work natively with such Web-services... Well, they will probably charge something to get access to such web services... HTH, Shamil ----- Original Message ----- From: "Lavsa, Rich" To: Sent: Wednesday, June 11, 2003 4:56 PM Subject: [AccessD] Gather Information from Website > Hello all, > > currently I am not developing this application, however since the topic of > web pages in access came up I thought that maybe I'd throw out a bone to see > if I can gain any knowledge before I attempt this on my own. > > My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball > and football leagues every year and is thinking of getting into hockey next. > he spends all his time looking on the internet and local paper to get stats > they he puts into an excel spreadsheet manually just about every day. There > is a large possibility that he could miss something, or add his points > system wrong, or simply enter it in the wrong cell. My thought was that > this information is already entered in databases, and is displayed on > hundreds of websites. So I was thinking that since this information is > already out there, why can't you just capture the stats every night. Of > course there would be some work on setting up the database, setting up the > rules of each league, however thought it might be a fun project and the more > I think about it the more work I think it will be. > > So to my question... > Is it possible to navigate out to a website for Stocks or Sport Stats, > download the information from the website to your database? > Has anyone out there done anything like this? > > Thanks in advance, > Rich > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 09:03:51 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 00:03:51 +1000 Subject: [AccessD] Gather Information from Website In-Reply-To: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Message-ID: <000201c33022$4a113990$7f00a8c0@bbb888> Dear Rich, Just been there, done that! Here a few things to consider, that I have learnt over the last few days regarding this type of info gathering. 1. You'll need an algorithm to parse the html (or text) received to "dig out" the info you need. This is not trivial. Each page we used needed a completely different method of finding the data in the chaff. As per the great advice received from Shamil (bless his socks) I based what we did on the mshtml.tlb method of parsing the actual html as this gave me the best way of finding the table I wanted and the best way of handling the "multi-record" data as each chunk of info we needed was in a pair. Also, the html out there in gagaland is NOT standard and (so far) mshtml has coped with the (even worse) html we get in auto-emails. All the parsing we did was CODED specific to the page or email layout. If you come up with a parameterised general parser I'd be glad to see it! 2. Beware of frames! Some sites may need a fair bit of digging to get to the actual html page you want. 3. As Marty Connoly warned - the buggers will change the site layout, or some chunk you are depending on to identify the data just when you don't want it to change. 4. Beware of page caching! If your coming through a proxy, or a seedy ISP you need to ensure that the page you get is the one you are after. And come up with a way of forcing the page refresh! We haven't solved this one yet! Other wise you just have to wait until you can get "today's" page. (This blew about 16 hours of budget - until one of the notwork guys informed us that the local proxy was set to "permanently" cache all pages accessed that weren't on their special list) 5. Shamil's (that Russian guy :-) ) excellent stuff is here http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm 6. The way to get the page is via the MSXML libs msxml4.dll (thanks to Marty) viz... Public Function UpdateSheet(addr As String) As String Dim strPageText As String Dim httpdoc As String Dim xmlhttp On Error GoTo US_ERR Set xmlhttp = CreateObject("Microsoft.XMLHTTP") 'Create the xmlhttp object Call xmlhttp.Open("GET", addr, False) 'Open a connection Call xmlhttp.send 'send a request to the server httpdoc = xmlhttp.responseText 'grab the response as text strPageText = ProcessHTML(httpdoc) 'perform some general preprocessing (mine removes
's and other junk) UpdateSheet = strPageText US_EXIT: Set xmlhttp = Nothing Exit Function US_ERR: .....your favourite error handler End Function Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, June 11, 2003 10:56 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 11 09:02:17 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 11 Jun 2003 09:02:17 -0500 Subject: [AccessD] OT? - Certification Message-ID: <869379ABF177D4118D3100508B5EF873063AB51D@corp-es00> ROFL! Jim Hale -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 7:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Jun 11 09:13:15 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 11 Jun 2003 10:13:15 -0400 Subject: [AccessD] Print Files from Access Message-ID: <000601c33023$9d982b90$ea360cd8@hargrove.internal> I have a situation that I was wondering if anybody else has encountered. We have some image files that are stored on the network that we occasionally need to email to clients for review. Up to now, we have been linking the images to an Access report and emailing a snapshot version to the client. Management would like to change this so that a PDF version of the picture is attached to an email and sent instead. We use PDF995 and I can easily set the Access default printer so that all output goes to the virtual PDF printer. My problem is that I don't know how to open the photo itself from Access and send it to the printer. Any thoughts? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com From Bryan_Carbonnell at cbc.ca Wed Jun 11 09:10:52 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 11 Jun 2003 10:10:52 -0400 Subject: [AccessD] Repeat Emails Message-ID: If they postmasters that add them follow standards, they should start with '--' or '-- ' (that's two dashes possibly followed by a space, I don't remeber which one it is) that may give our lovely list admins a possibility of stripping them that way. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. From actebs at actebs.com.au Wed Jun 11 09:21:43 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 00:21:43 +1000 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: <000001c33024$cb5bc1d0$0c05a8c0@earth.local> Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 09:25:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 10:25:27 -0400 Subject: [AccessD] Repeat Emails In-Reply-To: Message-ID: Doesn't it seem we have the cart before the horse here? If this is a standard disclaimer for businesses to use, shouldn't spam checkers ignore it? I know my two spam checkers don't shove these messages into my spam folder. Not that I mind getting rid of this crap from the messages we see... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Wednesday, June 11, 2003 10:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Repeat Emails If they postmasters that add them follow standards, they should start with '--' or '-- ' (that's two dashes possibly followed by a space, I don't remeber which one it is) that may give our lovely list admins a possibility of stripping them that way. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 09:47:56 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 09:47:56 -0500 Subject: [AccessD] OT? - Certification Message-ID: Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday 2003 Jun 11 09:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- From Mark.Mitsules at ngc.com Wed Jun 11 09:56:30 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 10:56:30 -0400 Subject: [AccessD] Gather Information from Website Message-ID: If you are interested, you may be able to glean something from an Excel example that I ran across. http://www.cpearson.com/Zips/STOCKWEB.ZIP Mark -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Wednesday, June 11, 2003 8:56 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 09:58:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 09:58:04 -0500 Subject: [AccessD] Repeat Emails Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D0E@main2.marlow.com> Why not just add an exception to the spam filters to let anything from accessd at databaseadvisors.com through? I did that to our Spam filter...because a few posts about viruses had triggered the Spam filter... Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, June 11, 2003 7:27 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 10:00:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 10:00:16 -0500 Subject: [AccessD] Gather Information from Website Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D0F@main2.marlow.com> Yes, quite possible, but you are going to have to tailor it per page, and you are also going to have to keep an eye on those pages to make sure they don't get changed from their end! Drew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Wednesday, June 11, 2003 7:56 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 10:03:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 10:03:45 -0500 Subject: [AccessD] OT? - Certification Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D10@main2.marlow.com> Oh so true. Just had to chime in on this one! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday 2003 Jun 11 09:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 10:08:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 11:08:33 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us From Rich_Lavsa at pghcorning.com Wed Jun 11 10:09:33 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 11 Jun 2003 11:09:33 -0400 Subject: [AccessD] Gather Information from Website Message-ID: <833956F5C117124A89417638FDB11290EBCEBA@goexchange.pghcorning.com> Thank you Shamil, Drew, and Bruce, As I feared, It sounds like more work then I had hoped for especially since I would be doing this as a friend for free. Other bad thing is that it would be a constant maintenance nightmare or so it seems. He is not one to be very computer literate so the thought of teaching him how to maintain it makes me cringe even more. Has anyone gotten into the WebQuery's or been able to use them in Access. I did a school project using one of these in Excel a few years ago to connect to a stock webpage and download information into excel. I haven't touched it since, wondering if this is an option. The Web Query was already built for us so I have no idea what had to be done to create that. I would imagine that comes from the website itself, but to be honest I don't know and since this isn't a work in progress I haven't spent any time researching any possibilities. anyway, thanks for the great info.... Rich -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 10:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Gather Information from Website Dear Rich, Just been there, done that! Here a few things to consider, that I have learnt over the last few days regarding this type of info gathering. 1. You'll need an algorithm to parse the html (or text) received to "dig out" the info you need. This is not trivial. Each page we used needed a completely different method of finding the data in the chaff. As per the great advice received from Shamil (bless his socks) I based what we did on the mshtml.tlb method of parsing the actual html as this gave me the best way of finding the table I wanted and the best way of handling the "multi-record" data as each chunk of info we needed was in a pair. Also, the html out there in gagaland is NOT standard and (so far) mshtml has coped with the (even worse) html we get in auto-emails. All the parsing we did was CODED specific to the page or email layout. If you come up with a parameterised general parser I'd be glad to see it! 2. Beware of frames! Some sites may need a fair bit of digging to get to the actual html page you want. 3. As Marty Connoly warned - the buggers will change the site layout, or some chunk you are depending on to identify the data just when you don't want it to change. 4. Beware of page caching! If your coming through a proxy, or a seedy ISP you need to ensure that the page you get is the one you are after. And come up with a way of forcing the page refresh! We haven't solved this one yet! Other wise you just have to wait until you can get "today's" page. (This blew about 16 hours of budget - until one of the notwork guys informed us that the local proxy was set to "permanently" cache all pages accessed that weren't on their special list) 5. Shamil's (that Russian guy :-) ) excellent stuff is here http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm 6. The way to get the page is via the MSXML libs msxml4.dll (thanks to Marty) viz... Public Function UpdateSheet(addr As String) As String Dim strPageText As String Dim httpdoc As String Dim xmlhttp On Error GoTo US_ERR Set xmlhttp = CreateObject("Microsoft.XMLHTTP") 'Create the xmlhttp object Call xmlhttp.Open("GET", addr, False) 'Open a connection Call xmlhttp.send 'send a request to the server httpdoc = xmlhttp.responseText 'grab the response as text strPageText = ProcessHTML(httpdoc) 'perform some general preprocessing (mine removes
's and other junk) UpdateSheet = strPageText US_EXIT: Set xmlhttp = Nothing Exit Function US_ERR: .....your favourite error handler End Function Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, June 11, 2003 10:56 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich From Mark.Mitsules at ngc.com Wed Jun 11 10:36:01 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 11:36:01 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Wed Jun 11 11:08:19 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 08:08:19 -0800 Subject: [AccessD] OT? - Certification Message-ID: I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Wed Jun 11 11:19:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 09:19:52 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 11:31:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:31:49 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: Mark, I don't think anyone really argues against the value of the thing for the purpose of getting a job. It's unfortunate that that is all too often the only value it serves. May yours provide a higher value. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Wednesday, June 11, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 11:35:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:35:01 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: The sad part is not that they continue on, but that there is nothing outside the mainstream regular classroom to address their needs. Not to mention the fact that all too often these children fail not because of a lack of ability, but a lack of motivation. At an early age that can only be provided by the parent. How do you fix poor parenting? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 11:37:24 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 11:37:24 -0500 Subject: [AccessD] OT? - Certification Message-ID: Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. From JHewson at karta.com Wed Jun 11 11:48:07 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed, 11 Jun 2003 11:48:07 -0500 Subject: [AccessD] OT? - Certification Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C10@NT04> I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 11:53:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 09:53:44 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 8:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system The sad part is not that they continue on, but that there is nothing outside the mainstream regular classroom to address their needs. Not to mention the fact that all too often these children fail not because of a lack of ability, but a lack of motivation. At an early age that can only be provided by the parent. How do you fix poor parenting? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jun 11 11:54:50 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 12:54:50 -0400 Subject: [AccessD] OT: Drumming up contract work? Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> Hi All, I am currently looking to earn some extra cash by doing some database contract work on the side. I have not done this type of contracting work before so I am a little lost as to how to get the whole thing started. I was wondering if anyone here has any pointers on how to find database work? Is it simply just a matter of going door to door to local businesses? Is there a way to find companies that may need a database application to automate their current systems? Any help to get me started would be greatly appreciated! Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jcolby at colbyconsulting.com Wed Jun 11 11:59:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:59:29 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: In 1972, as I was graduating from high school, I read that in Da Vinci's time a genius was capable of learning every piece of knowledge that mankind possessed. By 1972, a genius could no longer learn all of mankind's knowledge on a single branch of science such as biology, chemistry or physics. Further, in 1972, mankind's knowledge base was doubling every 4 years. It is no doubt doubling even faster today. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 12:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 11 12:05:34 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 13:05:34 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust From EdTesiny at oasas.state.ny.us Wed Jun 11 12:09:40 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 11 Jun 2003 13:09:40 -0400 Subject: [AccessD] OT? - Certification Message-ID: Every 18 months, it doubles. Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification It is no doubt doubling even faster today. John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Jun 11 12:16:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:16:32 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 12:24:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 12:24:06 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Or you are forced out if you do not get better with time! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust From john at winhaven.net Wed Jun 11 12:24:23 2003 From: john at winhaven.net (John Bartow) Date: Wed, 11 Jun 2003 12:24:23 -0500 Subject: [AccessD] Repeat Emails In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D0E@main2.marlow.com> Message-ID: My ISP filters SPAM and I have iHateSpam on my network. I put AccessD in my "friends" list and I have no problem with AccessD mail. My ISP doesn't seem to either. I do get repeats though. On the other hand my Yahoo email groups are always being filtered by the ISPs SPAM filter. But then it probably should be considering the junk they attach to every message! Being signed up with Yahoo groups is probably why I get so much SPAM in the first place (even though I decline it in my preferences). JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 9:58 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Repeat Emails > > > Why not just add an exception to the spam filters to let anything from > accessd at databaseadvisors.com through? I did that to our Spam > filter...because a few posts about viruses had triggered the Spam > filter... > > Drew > > -----Original Message----- > From: Jim Hewson [mailto:JHewson at karta.com] > Sent: Wednesday, June 11, 2003 7:27 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Repeat Emails > > > Periodically I receive repeat e-mails. Some days worse than others. > My problem is the disclaimers at the bottom of some e-mails. They trigger > the spam filter. > My network guys have to review each one to determine if in fact > it is spam. > One day it was about 30% of the e-mails from this list? > > The statement: "If you have received this transmission in error..." or > similar is a standard line that spammers like. > > What's the possibility of having those removed before the message is sent? > > Jim > > -----Original Message----- > From: Carlos Alberto Alves [mailto:caa at highway.com.br] > Sent: Tuesday, June 10, 2003 4:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Repeat Emails > > > On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust > wrote: > > > Yes, me. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, > June 09, > > 2003 8:43 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Repeat Emails > > > > > > I have been receiving some of the same emails three times - but only a > > few have done that - not all. Anyone else experiencing the same? > > > > ------------------------------------------------------------------------ > > No problems with repeated e-mails, but from time to time I can't send > messages to the list. However I can read all messages posted from others. > :( > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > * http://igspot.ig.com.br/forefront/ * > ************************************** > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwp.reid at qub.ac.uk Wed Jun 11 12:25:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 18:25:33 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001101c3303e$79229140$37f66e51@martinreid> There are books on being a parent and heres me thinking you made it up as you went along (<: Martin ----- Original Message ----- From: "Charlotte Foust" To: "accessd" Sent: Wednesday, June 11, 2003 5:53 PM Subject: RE: [AccessD] OT: the "Education" system > Well, after we shoot all the lawyers ... > > Actually, poor parenting may not always be the cause, but it certainly > can be and probably often is. The trouble is that the users manuals for > children were created by the same wonderful folks that brought us HTML > help, and there are no licensing requirements to make sure prospective > parents know what they're doing. Hmmn, that sounds a lot like some of > the so-called Access "developers" I've cleaned up after! > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 8:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > The sad part is not that they continue on, but that there is nothing > outside the mainstream regular classroom to address their needs. > > Not to mention the fact that all too often these children fail not > because of a lack of ability, but a lack of motivation. At an early age > that can only be provided by the parent. How do you fix poor parenting? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 11, 2003 12:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > >>I suppose if we ignore the problem long enough, it will eventually go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has a > great deal to answer for, but they will never be called to account ... > Unlike the taxpayers who wind up supporting those who are unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has decided > NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the board > are being sent on regardless of teacher recommendations. Of course the > principal is only part of the problem. The teacher is also aware of > parents (most?, some?, all?) who were advised to hold back their child > have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. According > to this article, the university system as we know it got it's start in > the middle ages. The average Joe did not go to school, did not know how > to read or write. Universities were originally designed to "educate" > the sons and daughters of the ruling class. The intended subjects of > the system did not work, they ruled. They had no need to "go get a > job". They needed skills distinctly different from those needed today. > > Unfortunately those in power in the university system do it "the way it > has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced to > do the "choose two from basket weaving, choose two from music, choose > two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is not > to train them to do a particular job (which is actually a good thing) > but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of info" > with "no people skills whatsoever" but also have no analytical skills. > > At most of the colleges and universities that I taught at I was the only > Computer Science faculty member that had any real-world experience as a > programmer/analyst. And I was the only one that designed my tests as > problems to solve, not multiple-guess or fill-in-the-blank type tests. I > wanted my students to learn how to analyze and solve problems, not > regurgitate data, which a trained monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads with > departmental chairs and school deans that didn't understand there was a > difference between theoretical knowledge and practical knowledge and > that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Wed Jun 11 12:30:18 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 18:30:18 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001f01c3303f$218e4270$37f66e51@martinreid> I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin From jscott at mchsi.com Wed Jun 11 12:36:23 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Wed, 11 Jun 2003 12:36:23 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! From jcolby at colbyconsulting.com Wed Jun 11 12:38:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:38:54 -0400 Subject: [AccessD] Exchange server Message-ID: My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Jun 11 12:42:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:42:39 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <001f01c3303f$218e4270$37f66e51@martinreid> Message-ID: >I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. As well it should. We can see from this email that you weren't properly prepared to treat the world with arrogance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 11, 2003 1:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Jun 11 12:58:27 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 11 Jun 2003 13:58:27 -0400 Subject: [AccessD] Exchange server In-Reply-To: Message-ID: <000601c33043$130877d0$97350cd8@hargrove.internal> I believe you can do it by opening a MAPI session on the server via VBA. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 11 12:55:16 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 11 Jun 2003 13:55:16 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 11 12:59:14 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 11 Jun 2003 13:59:14 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Jeanine, <> In this case no and you can prove it to yourself with SHOWPLAN and the ISAMStats function. Showplan writes into a text file how JET with execute a specific query. ISAMStats can tell you the number of disk reads/writes done by JET. Showplan does have limitations, such as the fact that it can't handle sub-queries, but for your example it would work well. Anytime you execute a SQL statement, JET comes up with a costing plan, which is the most efficient way to execute a query. It looks at things such as: a. WHERE or HAVING statements b. ORDER BY c. JOINS d. Available indexes and the uniqueness of those indexes (table scans can be faster then using an index). e. Table stats. In the case of querydefs, the plan is saved with the query. For the most part, this is beneficial, but it can hurt you in some situations (ie. table stats are way off). What would happen in the example that you provided, is that the index pages for Unique ID would be returned. The number of pages depends on the size of the key and the number of record in the table. For a 100,000 record table, it probably would return no more then 5-10 index pages (JET uses a B-TREE ISAM index structure). So 5-10 reads for the index, and then 1 read for the record itself. There would be some additional overhead in reading Msysobjects, locating the index and table, etc., but in this case JET would definitely NOT read 100,000 records and pull them over the wire. For additional info on SHOWPLAN and ISAMSTATS, see: http://support.microsoft.com/default.aspx?scid=kb;en-us;162701 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Wednesday, June 11, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:00:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:00:48 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D13@main2.marlow.com> Unfortunately, the University systems problems roll out into the real world too. For example, in the military, Officers must hold a degree (at least most of them, there is a special type of officer that can be just an experienced enlisted person, but those positions are limited both in numbers and in advancement). This practice started way back in the beginning of our military history. When the Continental Army was formed, they needed educated people in charge. At the time, the only educated people were those that went to college, which also happened to be the social upper class. This worked out in two ways. By having commissioned officers with degrees, they were getting relatively educated officers, and they were keeping the upper class in leadership positions, instead of a grunt on the line. Modern companies also use the college system to determine how much someone should be paid, and/or if they should be management. The pay is easy to figure out. Accounting departments have to quantify things. You can't quantify intuitive thinking, but you can quantify degrees, or even experience in a job position. Oh well, I'd be more rantish, but I'm tired. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 11 13:00:16 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 11 Jun 2003 13:00:16 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <869379ABF177D4118D3100508B5EF873063AB5C5@corp-es00> That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Wed Jun 11 13:11:17 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 11 Jun 2003 14:11:17 -0400 Subject: [AccessD] OT: Drumming up contract work? In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> Message-ID: One place to look is RentACoder.com. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 12:55 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Drumming up contract work? Hi All, I am currently looking to earn some extra cash by doing some database contract work on the side. I have not done this type of contracting work before so I am a little lost as to how to get the whole thing started. I was wondering if anyone here has any pointers on how to find database work? Is it simply just a matter of going door to door to local businesses? Is there a way to find companies that may need a database application to automate their current systems? Any help to get me started would be greatly appreciated! Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:11:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:11:21 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D14@main2.marlow.com> No kidding. Heck, I've run into code that I wrote just a few months earlier and wondered what in the world was I thinking? One of my first 'big' ASP projects was an Employee Survey. Recently I've had to dig into that thing (I wrote it about 16 months ago)....what was I trying to accomplish with my classes? I have had half a mind to go in and rewrite it, but fortunately it is still working, I've just had to make a few adjustments. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:11:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:11:51 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D15@main2.marlow.com> That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Jun 11 13:11:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 19:11:54 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001501c33044$f1d01080$37f66e51@martinreid> LOL Needed a laugh tonight. Martin ----- Original Message ----- From: "John Colby" To: "accessd" Sent: Wednesday, June 11, 2003 6:42 PM Subject: RE: [AccessD] OT: the "Education" system > >I am on the faculty board and I have no Degree myself, something they think > should have restricted my participation in such things. > > As well it should. We can see from this email that you weren't properly > prepared to treat the world with arrogance. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 11, 2003 1:30 PM > To: accessd > Subject: Re: [AccessD] OT: the "Education" system > > > I take a Degree class for the University and I made it a "real life" this is > how its done in work type of course. I have ran into the most unbelieveable > arrogance from academic staff who have never earned a penny from computing > and yet teach many of the core subjects. I am more interested in my students > being able to do it as opposed to telling me how it should be done but > actually unable to do the work when faced with a keyboard. > > My students are required to have 6 mths programming experience before I get > them. Of course as I use VBA and .NET the faculty teach them Java they will > not permit me to take an intro course in either .NET or VBA to prepare them > for the stuff I wil be doing with them. > > I have had more than one row with academic staff at Board of Examiners > meetings. I am on the faculty board and I have no Degree myself, something > they think should have restricted my participation in such things. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JoyceRobinson at oasas.state.ny.us Wed Jun 11 13:12:57 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Wed, 11 Jun 2003 14:12:57 -0400 Subject: [AccessD] Delete Query problem Message-ID: Thanks Gustav. I tried your approach as best I could but it still does not seem to be working. I used the following [exact] syntax: DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); I got the error message: Syntax Error [missing operator] in query expression 'CID# = (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); I tried also adding brackets around the field names and 'Client' table and query 'Q_DropOuts' but that didn't help either. I'm obviously still doing something wrong. > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 11, 2003 7:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Delete Query problem > > Hi Joyce > > Use a subquery to locate those clients: > > > > DELETE > * > FROM > tblClients > WHERE > ID = > (SELECT > ID > FROM > tblDropOuts > WHERE > ID = tblClients.ID;); > > > > /gustav > > > > Any help would be greatly appreciated.? ?I am trying unsuccessfully to > run a Delete Query and keep getting the fairly common response? "Could not > delete from specified tables."? I have reviewed > > many similar posts and still cannot seem to get mine to work. > > > > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller > table).? Some (but not all) clients in "Dropouts" table are also in the > "Clients" table.? I want to delete all client records > > from the "Clients" table that are also found in the smaller "DropOuts" > table.? There is a one-to-one relationship between these tables. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jun 11 13:13:26 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 14:13:26 -0400 Subject: [AccessD] Exchange server Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B32@mercury.tnco-inc.com> Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Jun 11 13:14:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:14:37 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D16@main2.marlow.com> Martin, I'm behind you 110%. What REALLY gets my goat, is when an instructor/teacher harps on semmantics over concepts. They would rather that a student knows the definition of a tuple, then have the student understand what fields in a table really are. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 11, 2003 12:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:16:12 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:16:12 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D17@main2.marlow.com> Yes....big question, is it Exchange 5.5 or Exchange 2000. Exchange 2000 has a direct ADO capability, which is slick (at least from the help files.....I'm stuck with a 5.5 version). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? 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 JRojas at tnco-inc.com Wed Jun 11 13:16:18 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 14:16:18 -0400 Subject: [AccessD] Access Data Retrieval Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B33@mercury.tnco-inc.com> The answer is yes, this is how Access works but with SQL Server and Stored Procedures, this would not be the case. "Select * from tblLoans where UniqueID = 1" would return one record. Joe R. -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Jun 11 13:18:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:18:52 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:19:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:19:22 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D19@main2.marlow.com> ROTFLMAO! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. As well it should. We can see from this email that you weren't properly prepared to treat the world with arrogance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 11, 2003 1:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 11 13:21:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 11 Jun 2003 14:21:46 -0400 Subject: [AccessD] OT: the "Education" system References: <869379ABF177D4118D3100508B5EF873063AB5C5@corp-es00> Message-ID: <02bf01c33046$548aeaa0$f3ecffcc@SusanOne> RE: [AccessD] OT: the "Education" systemI'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Wed Jun 11 13:31:06 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 10:31:06 -0800 Subject: [AccessD] OT? - Certification Message-ID: No, I did not get that impression at all. You seem to have a reputation which preceeds you, and allows you to work where you want. You do not need to bring the 'heat' of certs or degrees to get in the door. We also seem to agree that these qualifications are only valuable in obtaining a job. I also agree that the knowledge I gain (other than fundamental) will be worthless in 10 years - as will many certifications. The degree will not expire though. To me, most higher education (collegiate) is an exercise in BS. How much of it goes out the window on contact with your first real job? But it's an exercise you stuck with and completed, regardless of bureaucratic nonsense or professors. So in 10 years I will still have a Masters Degree, regardless of wether or not the knoweledge is still valid. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 8:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From CWortz at tea.state.tx.us Wed Jun 11 13:38:34 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 13:38:34 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark From gustav at cactus.dk Wed Jun 11 13:41:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 20:41:07 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <13144022871.20030611204107@cactus.dk> Hi Joyce Hmm ... those fieldnames are awful. Crosses, "#", are used for wrapping dates so these must be bracketed. Anyway, this should do: DELETE * FROM Clients WHERE Clients.[CID#] = (SELECT Q_DropOuts.[CID#_Link] FROM Q_DropOuts WHERE Q_DropOuts.[CID#_Link] = Clients.[CID#];); /gustav > Thanks Gustav. I tried your approach as best I could but it still does not seem to be working. I used the following [exact] syntax: > DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > I got the error message: > Syntax Error [missing operator] in query expression 'CID# = (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > I tried also adding brackets around the field names and 'Client' table and query 'Q_DropOuts' but that didn't help either. I'm obviously still doing something wrong. >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 11, 2003 7:12 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Delete Query problem >> >> Hi Joyce >> >> Use a subquery to locate those clients: >> >> >> >> DELETE >> * >> FROM >> tblClients >> WHERE >> ID = >> (SELECT >> ID >> FROM >> tblDropOuts >> WHERE >> ID = tblClients.ID;); >> >> >> >> /gustav >> >> >> > Any help would be greatly appreciated.? ?I am trying unsuccessfully to >> > run a Delete Query and keep getting the fairly common response? "Could not >> > delete from specified tables."? I have reviewed >> > many similar posts and still cannot seem to get mine to work. >> > >> > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller >> > table).? Some (but not all) clients in "Dropouts" table are also in the >> > "Clients" table.? I want to delete all client records >> > from the "Clients" table that are also found in the smaller "DropOuts" >> > table.? There is a one-to-one relationship between these tables. From CWortz at tea.state.tx.us Wed Jun 11 13:47:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 13:47:40 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Some on this list either learn new things too fast for their own good, or forget things too fast for their own good. Jim and Susan will have to decide if either applies to them. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday 2003 Jun 11 13:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system I'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. From MPorter at acsalaska.com Wed Jun 11 13:51:52 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 10:51:52 -0800 Subject: [AccessD] OT: the "Education" system Message-ID: ...and I was wondering why I'm always getting put in charge! -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 10:39 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jscott at mchsi.com Wed Jun 11 13:58:35 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Wed, 11 Jun 2003 13:58:35 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> Message-ID: I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 11 14:06:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 15:06:59 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: ...given the opportunity, perhaps those "incompetent programmer/analysts" became very competent IT management. One does not preclude the other... However, this does not excuse the fact that both groups should have completed a basic education regime on the merits of their efforts, and not "passed on" despite the very controls we have in place to prevent such a thing. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Wed Jun 11 15:41:13 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Wed, 11 Jun 2003 16:41:13 -0400 Subject: [AccessD] Delete Query problem Message-ID: Gustav, Thanks so much for your very helpful modification. I greatly appreciate your follow-up response. Obviously, I'm not a programmer and have quite a bit of learning to do. At least now, I can get rid of those pesty Dropouts. In the meantime, I will work on my future field names. :) > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 11, 2003 2:41 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Delete Query problem > > Hi Joyce > > Hmm ... those fieldnames are awful. Crosses, "#", are used for > wrapping dates so these must be bracketed. > > Anyway, this should do: > > DELETE * FROM Clients > WHERE Clients.[CID#] = > (SELECT Q_DropOuts.[CID#_Link] FROM Q_DropOuts > WHERE Q_DropOuts.[CID#_Link] = Clients.[CID#];); > > /gustav > > > > Thanks Gustav. I tried your approach as best I could but it still does > not seem to be working. I used the following [exact] syntax: > > > DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts > WHERE CID#_Link =Clients.CID#;); > > > > I got the error message: > > Syntax Error [missing operator] in query expression 'CID# = > (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > > > I tried also adding brackets around the field names and 'Client' table > and query 'Q_DropOuts' but that didn't help either. I'm obviously still > doing something wrong. > > > >> -----Original Message----- > >> From: Gustav Brock [mailto:gustav at cactus.dk] > >> Sent: Wednesday, June 11, 2003 7:12 AM > >> To: accessd at databaseadvisors.com > >> Subject: Re: [AccessD] Delete Query problem > >> > >> Hi Joyce > >> > >> Use a subquery to locate those clients: > >> > >> > >> > >> DELETE > >> * > >> FROM > >> tblClients > >> WHERE > >> ID = > >> (SELECT > >> ID > >> FROM > >> tblDropOuts > >> WHERE > >> ID = tblClients.ID;); > >> > >> > >> > >> /gustav > >> > >> > >> > Any help would be greatly appreciated.? ?I am trying unsuccessfully > to > >> > run a Delete Query and keep getting the fairly common response > "Could not > >> > delete from specified tables."? I have reviewed > >> > many similar posts and still cannot seem to get mine to work. > >> > > >> > I have 2 tables named "Clients" (larger table) and "DropOuts" > (smaller > >> > table).? Some (but not all) clients in "Dropouts" table are also in > the > >> > "Clients" table.? I want to delete all client records > >> > from the "Clients" table that are also found in the smaller > "DropOuts" > >> > table.? There is a one-to-one relationship between these tables. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 15:53:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 16:53:58 -0400 Subject: [AccessD] Exchange server In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B32@mercury.tnco-inc.com> Message-ID: what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:03:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:03:29 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Fleas?? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, June 11, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system I'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. From bchacc at san.rr.com Wed Jun 11 16:05:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 11 Jun 2003 14:05:38 -0700 Subject: [AccessD] OT: the "Education" system References: Message-ID: <009b01c3305d$35ebe650$6501a8c0@HAL9002> Fine. Less competition for my kids. Rocky ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 11, 2003 9:19 AM Subject: RE: [AccessD] OT: the "Education" system > >>I suppose if we ignore the problem long enough, it will eventually go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has a > great deal to answer for, but they will never be called to account ... > Unlike the taxpayers who wind up supporting those who are unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has decided > NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the board > are being sent on regardless of teacher recommendations. Of course the > principal is only part of the problem. The teacher is also aware of > parents (most?, some?, all?) who were advised to hold back their child > have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. According > to this article, the university system as we know it got it's start in > the middle ages. The average Joe did not go to school, did not know how > to read or write. Universities were originally designed to "educate" > the sons and daughters of the ruling class. The intended subjects of > the system did not work, they ruled. They had no need to "go get a > job". They needed skills distinctly different from those needed today. > > Unfortunately those in power in the university system do it "the way it > has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced to > do the "choose two from basket weaving, choose two from music, choose > two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is not > to train them to do a particular job (which is actually a good thing) > but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of info" > with "no people skills whatsoever" but also have no analytical skills. > > At most of the colleges and universities that I taught at I was the only > Computer Science faculty member that had any real-world experience as a > programmer/analyst. And I was the only one that designed my tests as > problems to solve, not multiple-guess or fill-in-the-blank type tests. I > wanted my students to learn how to analyze and solve problems, not > regurgitate data, which a trained monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads with > departmental chairs and school deans that didn't understand there was a > difference between theoretical knowledge and practical knowledge and > that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:06:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:06:39 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D1F@main2.marlow.com> I have a daily reminder of how right I am on that! ....really that should be Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:08:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:08:16 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Just FYI, VB behaves exactly the same way as Access when they're both using an MDB as a data store. Tell THAT to the vb developers and watch them squirm! Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:10:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:10:08 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Certainly there are books, Martin. I often used Dr. Spock to whack my youngster across his fundament when he was a sprout. I didn't say the books were for reading, after all! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 11, 2003 9:26 AM To: accessd Subject: Re: [AccessD] OT: the "Education" system There are books on being a parent and heres me thinking you made it up as you went along (<: Martin ----- Original Message ----- From: "Charlotte Foust" To: "accessd" Sent: Wednesday, June 11, 2003 5:53 PM Subject: RE: [AccessD] OT: the "Education" system > Well, after we shoot all the lawyers ... > > Actually, poor parenting may not always be the cause, but it certainly > can be and probably often is. The trouble is that the users manuals > for children were created by the same wonderful folks that brought us > HTML help, and there are no licensing requirements to make sure > prospective parents know what they're doing. Hmmn, that sounds a lot > like some of the so-called Access "developers" I've cleaned up after! > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 8:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > The sad part is not that they continue on, but that there is nothing > outside the mainstream regular classroom to address their needs. > > Not to mention the fact that all too often these children fail not > because of a lack of ability, but a lack of motivation. At an early > age that can only be provided by the parent. How do you fix poor > parenting? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 11, 2003 12:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > >>I suppose if we ignore the problem long enough, it will eventually > >>go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has > a great deal to answer for, but they will never be called to account > ... Unlike the taxpayers who wind up supporting those who are > unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has > decided NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the > board are being sent on regardless of teacher recommendations. Of > course the principal is only part of the problem. The teacher is also > aware of parents (most?, some?, all?) who were advised to hold back > their child have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually > go away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. > According to this article, the university system as we know it got > it's start in the middle ages. The average Joe did not go to school, > did not know how to read or write. Universities were originally > designed to "educate" the sons and daughters of the ruling class. The > intended subjects of the system did not work, they ruled. They had no > need to "go get a job". They needed skills distinctly different from > those needed today. > > Unfortunately those in power in the university system do it "the way > it has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced > to do the "choose two from basket weaving, choose two from music, > choose two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is > not to train them to do a particular job (which is actually a good > thing) but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of > info" with "no people skills whatsoever" but also have no analytical > skills. > > At most of the colleges and universities that I taught at I was the > only Computer Science faculty member that had any real-world > experience as a programmer/analyst. And I was the only one that > designed my tests as problems to solve, not multiple-guess or > fill-in-the-blank type tests. I wanted my students to learn how to > analyze and solve problems, not regurgitate data, which a trained > monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads > with departmental chairs and school deans that didn't understand there > was a difference between theoretical knowledge and practical knowledge > and that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:11:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:11:31 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Oh, so YOU'RE the one, eh! Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 9:06 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:15:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:15:29 -0700 Subject: [AccessD] Exchange server Message-ID: Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:21:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:21:07 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D21@main2.marlow.com> CDO ( I believe Collaboration Data Objects) is actually the backbone of MAPI. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 3:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 16:21:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 17:21:35 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Precisely right, since both use JET to actually talk to the MDB. However... I saw mention of "going to SQL" later. If you are talking about SQL Server then you should design your app from the gitgo with that in mind. SQL Server doesn't understand VBA function calls, references to controls on forms, and many other things that makes Access the find RAD environment it is. You can paint yourself into some pretty tight corners if you don't think about these things in advance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 5:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Just FYI, VB behaves exactly the same way as Access when they're both using an MDB as a data store. Tell THAT to the vb developers and watch them squirm! Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:30:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:30:58 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D23@main2.marlow.com> I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 11 16:48:05 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 11 Jun 2003 14:48:05 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: On the other hand, there are still some with principles. My niece was supposed to graduate tonight, but she failed her honors English class. It's literature and she just doesn't "get it" (she much prefers "facts" to imagination). Even though she's pretty much a straight A student, since she got an F in that class, she can't graduation. She has to take it over in summer school. She tried to talk the teacher into a D- so she could go through the graduation ceremony, but the teacher stuck to her guns. Tania is disappointed, of course, but she understand and holds no animosity. -- 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 Mitsules, Mark > Sent: 11 Jun 2003 8:36:AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local elementary > school teacher that the principal of said school has decided NOT to hold > back a single student this year. Students with unsatisfactory (we can't say > "failing", can we?) grades across the board are being sent on regardless of > teacher recommendations. Of course the principal is only part of the > problem. The teacher is also aware of parents (most?, some?, all?) who were > advised to hold back their child have chosen instead to let their child > continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark From cfoust at infostatsystems.com Wed Jun 11 16:51:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:51:17 -0700 Subject: [AccessD] Exchange server Message-ID: NOBODY programs MAPI if they have a choice. CDO has an object model with MAPI underneath it. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 11, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Wed Jun 11 17:03:18 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Wed, 11 Jun 2003 19:03:18 -0300 Subject: [AccessD] Why can't I import from Excel 2000 In-Reply-To: References: Message-ID: On Tue, 10 Jun 2003 13:15:31 -0400, Don Elliker wrote: > Latest is 2.7 I unchecked 2.1 and check 2.7 - no change. > >


"Things are only free to the extent that you don't pay for > them".-Don Elliker > > > >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the latest >> installed version of ADO and see if it makes a difference. >> >> Charlotte Foust >> >> -----Original Message----- >> From: Don Elliker [mailto:delliker at hotmail.com] >> Sent: Tuesday, June 10, 2003 8:45 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Why can't I import from Excel 2000 >> >> >> When attempting to import (thru import data wizard) I get this error >> "There >> is no object in this control" when I click OK (like a good user) the >> wizard >> opens , blank. If I click anything but 'cancel' I get "The expression >> you >> entered refers to an object that is closed or doesn't exist" - isn't >> this a >> fine how-do-you-do?? Something is broken?? I checked the references I >> have Visual Basic For Applications Microsoft 10.0 Object Library OLE >> Automation Microsoft Activex data objects 2.1 library Microsoft Excel >> 10.0 Object Library I even added the last one, with the same result >> Hi People! I think Excel 2000 library is "Microsoft Excel 9.0 Object Library". Check out that XP installation changes libraries from v9 to v10. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From DWUTKA at marlow.com Wed Jun 11 17:11:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 17:11:22 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D24@main2.marlow.com> Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 17:15:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 17:15:18 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D25@main2.marlow.com> I guess what is confusing, is that in VB, you get MAPI controls. I personally just set references to CDO, and do what I need to with CDO directly in code. So I was assuming that CDO was the underlying process to the MAPI stuff, based on the controls in VB. My bad. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:51 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server NOBODY programs MAPI if they have a choice. CDO has an object model with MAPI underneath it. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 11, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 11 17:17:29 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 11 Jun 2003 18:17:29 -0400 Subject: [AccessD] Help with Mah Arithmetic Message-ID: <02a201c33067$3f4a6230$8e01a8c0@Rock> I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '--------------------------------------------------------------------------- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '--------------------------------------------------------------------------- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub References: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> Message-ID: <3EE83821.25569.369D0A@localhost> As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:34:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:34:19 +1000 Subject: [AccessD] Print Files from Access In-Reply-To: <000601c33023$9d982b90$ea360cd8@hargrove.internal> Message-ID: <3EE83B0B.24305.41FF81@localhost> On 11 Jun 2003 at 10:13, Mike and Doris Manning wrote: > I have a situation that I was wondering if anybody else has encountered. We > have some image files that are stored on the network that we occasionally > need to email to clients for review. Up to now, we have been linking the > images to an Access report and emailing a snapshot version to the client. > > Management would like to change this so that a PDF version of the picture is > attached to an email and sent instead. We use PDF995 and I can easily set > the Access default printer so that all output goes to the virtual PDF > printer. > > My problem is that I don't know how to open the photo itself from Access and > send it to the printer. Any thoughts? > Why not print the same report you were "snapshotting" to the PDF writer? Just configure the report to "Use a Specific Printer" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:34:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:34:19 +1000 Subject: [AccessD] Repeat Emails In-Reply-To: References: Message-ID: <3EE83B0B.28060.41FF59@localhost> If spam checkers start ignoring "standard disclaimers", spammers will start sending messages with nothing but a "standard disclaimer" containing their message :-( On 11 Jun 2003 at 10:25, John Colby wrote: > Doesn't it seem we have the cart before the horse here? If this is a > standard disclaimer for businesses to use, shouldn't spam checkers ignore > it? I know my two spam checkers don't shove these messages into my spam > folder. > > Not that I mind getting rid of this crap from the messages we see... > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Wednesday, June 11, 2003 10:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Repeat Emails > > > If they postmasters that add them follow standards, they should start with > '--' or '-- ' (that's two dashes possibly followed by a space, I don't > remeber which one it is) that may give our lovely list admins a possibility > of stripping them that way. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> > Jim, > > As Debbie states, those disclaimers are added by their e-mail servers. > Many organizations require them to "Cover Their A**es" so their admins > have automatically added them to all e-mails sent by their e-mail > servers. > > I'm sure our List Administrator would be glad if you could come up with > a way to discover and strip off those disclaimers on incoming e-mails to > the List. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:40:27 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:40:27 +1000 Subject: [AccessD] Repeat Emails In-Reply-To: Message-ID: <3EE83C7B.8921.479EEB@localhost> On 11 Jun 2003 at 10:10, Bryan Carbonnell wrote: > If they postmasters that add them follow standards, they should start > with '--' or '-- ' (that's two dashes possibly followed by a space, I > don't remeber which one it is) that may give our lovely list admins a > possibility of stripping them that way. > Come on Brian, you know better than that :-). That's a convention not a standard :-) It doesn't appear in any RFC that I know of. It's actually a convention from the days of Fidonet etc when bandwidth was even more critical (300 baud modems and BBS operators paying phone charges by the minute to synchronise the forums) where programs like good ole SLMR would strip it automatically from replies. (and it's two dashes, space, CRLF) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From rusty.hammond at cpiqpc.com Wed Jun 11 17:43:29 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 11 Jun 2003 17:43:29 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DC0@cpixchng-1.cpiqpc.net> Jeanine, If you're IT folks need something in writing, the Access 97 Developer's Handbook (p 917 in the 3rd Edition) and the Access 2000 Developer's Handbook, Volume 2:Enterprise Edition (p94-95) basically state what everyone else on this list has already told you. Sorry, don't have Access XP yet so can't get you those page numbers. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, June 11, 2003 5:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 11 17:41:50 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 11 Jun 2003 18:41:50 -0400 Subject: [AccessD] OT: the "Education" system References: Message-ID: <006401c3306a$e1a96eb0$2f4afccc@SusanOne> :) either that or lice... ;) Susan H. > Fleas?? > From cfoust at infostatsystems.com Wed Jun 11 17:51:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 15:51:50 -0700 Subject: [AccessD] Help with Mah Arithmetic Message-ID: Try this: For intPhysicalRow = Abs(.ColumnHeads) To .ItemsSelected.Count - 1 When columnheads are turned on, they're in row zero, so you want to start with row 1. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, June 11, 2003 2:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub Message-ID: <3EE842AA.1560.5FC480@localhost> On 11 Jun 2003 at 18:17, Arthur Fuller wrote: > intCurrentRow = ctl.ItemsSelected(intPhysicalRow) Use ctl.ItemsSelected(intPhysicalRow) + ctl.ColumnHeads ie subtract one if headers are on, since ctl.ItemsSelected takes into account the Header when counting rows but ctl.Column() doesn't -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 18:12:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 09:12:00 +1000 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: Message-ID: <3EE843E0.18342.648215@localhost> Sorry, won't work. You still need to work from row 0 of ItemsSelected. It's the values in the ItemsSelected collection that are changed by ColumnHeads - not the index. On 11 Jun 2003 at 15:51, Charlotte Foust wrote: > Try this: > > > For intPhysicalRow = Abs(.ColumnHeads) To .ItemsSelected.Count - 1 > > When columnheads are turned on, they're in row zero, so you want to > start with row 1. > > Charlotte Foust > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, June 11, 2003 2:17 PM > To: AccessD > Subject: [AccessD] Help with Mah Arithmetic > > > I've been staring at the following code and toying with this and that > and now I'm so punchy I really need a fresh set of eyes. > > Scenario: > > - a listbox with extended select, pk in column(0) > - a proc that works, called from the loop presented below > - said listbox has headings ON > > > '----------------------------------------------------------------------- > ---- > ------------ > ' Procedure : Send_Text_Confirmations > ' DateTime : 6/11/2003 14:50 > ' Author : Arthur Fuller > ' Purpose : Send confirmations not using Snapshot files, send > generated > text instead > ' : This code sends text email messages constaining the same > data > as the snapshot > ' : We use the report's data source directly to retrieve the > information we need. > '----------------------------------------------------------------------- > ---- > ------------ > ' > Private Sub Send_Text_Confirmations() > Dim ctl As Control > Dim intPhysicalRow As Integer, intCurrentRow As Integer > Dim strWhere As String > Dim strReportName As String > Dim lng_PK_Of_Interest As Long > > With Me > Set ctl = .Item_Selector_listbox > With ctl > 'column headings seem to screw this code up but I can't figure out > how > 'to account for them > For intPhysicalRow = 0 To .ItemsSelected.Count - 1 > intCurrentRow = ctl.ItemsSelected(intPhysicalRow) > If intPhysicalRow > 0 Then > lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) > Debug.Print "Creating mail for Practicum Placement #: " & > lng_PK_Of_Interest > Send_Text_PMail lng_PK_Of_Interest > End If > Next intPhysicalRow > End With > MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", > vbInformation, "Task Complete" > End With > > On Error GoTo 0 > Exit Sub > > Send_Text_Confirmations_Error: > > MsgBox "Error " & Err.Number & vbCrLf & _ > Err.Description & vbCrLf & _ > "in procedure Send_Text_Confirmations of VBA Document > Form_frm_Practica_Email_Select", _ > vbCritical, _ > "Program Error" > End Sub > > > The line > Send_Text_PMail lng_PK_Of_Interest > > Works and is not of interest. Just assume that whatever it does, it > works. The problem is in the arithmetic and I cannot see it. > > Well, ok, I'm old, and entitled to more senior moments than you :-) > > Symptoms: > Select 3 items. It does 2. Select 1. It does none. Select All and it > works. Headings off and on affect the results. I want the code to > interrogate HeadingsOn but can't seem to find the attribute. > > Revisions invited! > > Arthur > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bbruen at bigpond.com Wed Jun 11 18:15:09 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 09:15:09 +1000 Subject: [AccessD] ADO library version Message-ID: <000001c3306f$4df375d0$7f00a8c0@bbb888> Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? From jcolby at colbyconsulting.com Wed Jun 11 18:24:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 19:24:55 -0400 Subject: [AccessD] Repeat Emails In-Reply-To: <3EE83B0B.28060.41FF59@localhost> Message-ID: Uhhh... standard disclaimers are more and more prevalent. Thus EVERY valid email will end up being viewed as spam. I use Cloudmark and SpamAssasin. SpamAssasin puts a "[Spam]" in the subject as well as a lengthy discord on why it seems to think it is spam. Content analysis details: (12.50 points, 8 required) EXCUSE_3 (0.1 points) BODY: Claims you can be removed from the list BANG_MORE (0.5 points) BODY: Talks about more with an exclamation! RECEIVE_OFFER (0.5 points) BODY: Receive a special offer EXCUSE_19 (0.9 points) BODY: Claims you opted-in or registered EXCUSE_1 (0.1 points) BODY: Gives a lame excuse about why you were sent this spam OFFER (0.1 points) BODY: Free Offer OFFERS_ETC (0.6 points) BODY: Stop with the offers, coupons, discounts etc! HTML_LINK_CLICK_HERE (0.1 points) BODY: HTML link text says "click here" HTML_60_70 (0.1 points) BODY: Message is 60% to 70% HTML HTML_WEB_BUGS (0.1 points) BODY: Image tag with an ID code to identify you HTML_MESSAGE (0.1 points) BODY: HTML included in message HTML_IMAGE_ONLY_08 (0.9 points) BODY: HTML has images with 600-800 bytes of words HTML_FONT_BIG (0.1 points) BODY: FONT Size +2 and up or 3 and up HTML_IMAGE_RATIO_08 (0.3 points) BODY: HTML has a low ratio of text to image area HTML_FONT_COLOR_BLUE (0.1 points) BODY: HTML font color is blue NORMAL_HTTP_TO_IP (0.5 points) URI: Uses a dotted-decimal IP address in URL RCVD_IN_NJABL (1.0 points) RBL: Received via a relay in dnsbl.njabl.org [RBL check: found 139.200.119.64.dnsbl.njabl.org., type: 127.0.0.4] RCVD_IN_SBL (0.6 points) RBL: Received via SBLed relay, see http://www.spamhaus.org/sbl/ [RBL check: found 139.200.119.64.sbl.spamhaus.org.] RCVD_IN_OSIRUSOFT_COM (0.6 points) RBL: Received via a relay in relays.osirusoft.com [RBL check: found 139.200.119.64.relays.osirusoft.com., type: 127.0.0.6] X_OSIRU_SPAMWARE_SITE (1.1 points) RBL: DNSBL: sender is a Spamware site or vendor FORGED_MUA_MOZILLA (2.5 points) Forged mail pretending to be from Mozilla MIME_HEADER_CTYPE_ONLY (1.4 points) 'Content-Type' found without required MIME headers CLICK_BELOW (0.1 points) Asks you to click below MIME_HTML_ONLY (0.1 points) Message only has text/html MIME parts SpamAssasin NEVER gives a false positive. In fact the only false positives I get out of Cloudmark is an occasional newsletter that it seems to think is spam. Between the two systems I get about 140 messages a day sent to the spam folder. It is so reliable that I simply go to the spam folder and delete them all once daily. I do occasionally just scan down them to make sure nothing I want is there. As I said, something like .5% false positives. I end up with about 5-10 spams that don't get caught. Cloudmark allows me to "report" those to a database they use to decide what is spam (probably why the occasional newsletter gets marked as spam). AccessD got reported once by someone (to Cloudmark). I "unreported it" which allows them to get through to me. Other than that, no AccessD messages ever get sent to spam. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Repeat Emails If spam checkers start ignoring "standard disclaimers", spammers will start sending messages with nothing but a "standard disclaimer" containing their message :-( On 11 Jun 2003 at 10:25, John Colby wrote: > Doesn't it seem we have the cart before the horse here? If this is a > standard disclaimer for businesses to use, shouldn't spam checkers ignore > it? I know my two spam checkers don't shove these messages into my spam > folder. > > Not that I mind getting rid of this crap from the messages we see... > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Wednesday, June 11, 2003 10:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Repeat Emails > > > If they postmasters that add them follow standards, they should start with > '--' or '-- ' (that's two dashes possibly followed by a space, I don't > remeber which one it is) that may give our lovely list admins a possibility > of stripping them that way. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> > Jim, > > As Debbie states, those disclaimers are added by their e-mail servers. > Many organizations require them to "Cover Their A**es" so their admins > have automatically added them to all e-mails sent by their e-mail > servers. > > I'm sure our List Administrator would be glad if you could come up with > a way to discover and strip off those disclaimers on incoming e-mails to > the List. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Wed Jun 11 18:28:41 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 12 Jun 2003 09:28:41 +1000 Subject: [AccessD] Print Files from Access References: <000601c33023$9d982b90$ea360cd8@hargrove.internal> Message-ID: <00d601c33071$31a76ec0$54dd31d2@OfficePC> I se pdf995 to send pdf attachments with OUtlook. If you use pdf995edit then you can open access the autoname feature which allows you to specify a path and file name where files will always be output to, eg. C:\PDF Output\output.pdf. You can then add some code in your database to copy that file to a new more appropriate file name and attach that file to the email. HTH Kath ----- Original Message ----- From: Mike and Doris Manning To: AccessD at databaseadvisors.com Sent: Thursday, June 12, 2003 12:13 AM Subject: [AccessD] Print Files from Access I have a situation that I was wondering if anybody else has encountered. We have some image files that are stored on the network that we occasionally need to email to clients for review. Up to now, we have been linking the images to an Access report and emailing a snapshot version to the client. Management would like to change this so that a PDF version of the picture is attached to an email and sent instead. We use PDF995 and I can easily set the Access default printer so that all output goes to the virtual PDF printer. My problem is that I don't know how to open the photo itself from Access and send it to the printer. Any thoughts? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Wed Jun 11 18:42:03 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 12 Jun 2003 09:42:03 +1000 Subject: [AccessD] BEU Updater Message-ID: <00ed01c33073$0fd119c0$54dd31d2@OfficePC> Hi everybody - I have just started using the BEU tool. I clicked on 'Insert mod' and added my first modification, which was table, add field. field = directorname txt, size 75 to tblx. I then clicked on 'new mod' to add the same modification for a different table, ie. to insert a new field of the same name. I made a call to the beuDBAIsDBUpToDate routine and now find that it only made the first modification, not the second. When I go back into frmdbamain it shows the first modification as applied, but the second not. Now I cannot get that second modification to happen. When I re trigger the beuDBAIsDBUpToDate routine it appears to ignore the 2nd mod. (I have manually added the field myself to check that the field name / size etc is Ok and then undone that manual change). Since these 2 mods have to go into my production version early next week, any tips? TIA and thanks for all the work on BEU. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Wed Jun 11 19:10:35 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 10:10:35 +1000 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: <002301c33077$0eeeac30$0c05a8c0@earth.local> Mark, Very clever...LOL!!! I p***ed myself when I read that...Good work!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Thursday, 12 June 2003 3:06 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 11 19:12:37 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 10:12:37 +1000 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: <002401c33077$57b88da0$0c05a8c0@earth.local> John, "I look at MY work from years ago and scratch my head"..........How true. I did that just a few weeks ago with a DB I did for a client about 5 years ago and laughed about how I went about things... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, 12 June 2003 3:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Wed Jun 11 19:23:29 2003 From: papparuff at attbi.com (John Ruff) Date: Wed, 11 Jun 2003 17:23:29 -0700 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <02a201c33067$3f4a6230$8e01a8c0@Rock> Message-ID: <00e701c33078$d9af02c0$6401a8c0@papparuff> Why not just iterate through the items selected without worrying about count. Dim varItm as variant With ctl For Each varItm In .ItemsSelected lng_PK_Of_Interest = .Column(0, varItm) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest Next varItm End With Or, to do it with the code you already have: For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) ' This If statement is causing the problem. ' The count of .ItemsSelected is 0 based, not 1 based ' If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest ' End If Next intPhysicalRow John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Arthur Fuller Sent: Wednesday, June 11, 2003 3:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub I suspect you also have A2k on your machine or that you upgraded from it. On my work machine, I installed XP MOD clean, no upgrade, and my default is ADO 2.5. Charlotte Foust -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO library version Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Jun 11 19:53:44 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 11 Jun 2003 17:53:44 -0700 Subject: [AccessD] OT? - Certification In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294C10@NT04> Message-ID: To add.... I was recently hired in a job in which I had no specific training. A previous employee had filled this position, after matching all the certificate requirements, from A to D. The poor fellow did not work out and left. The employer decided to look for someone, as he put it, can do E to Z. He assumed that some one who has been it the business long enough could figure out anything. So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 11, 2003 9:48 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 20:10:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 11:10:46 +1000 Subject: [AccessD] ADO library version In-Reply-To: Message-ID: <000001c3307f$74e9b900$7f00a8c0@bbb888> No, it was a clean install, including a complete reformat of the disk. But I have imported/upgraded several dozen 2000 dbs - would that do it? Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO library version I suspect you also have A2k on your machine or that you upgraded from it. On my work machine, I installed XP MOD clean, no upgrade, and my default is ADO 2.5. Charlotte Foust -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO library version Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jun 11 20:15:47 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 11 Jun 2003 21:15:47 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: <3EE83821.25569.369D0A@localhost> Message-ID: Stuart, <> It doesn't even pull the entire index. Probably 5-10 pages at most. As I said in my post, Jeanine can easily check what's going on with SHOWPLAN and ISAMSTATS. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 22:11:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 23:11:30 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: > So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. Good Job!!! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 11, 2003 8:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification To add.... I was recently hired in a job in which I had no specific training. A previous employee had filled this position, after matching all the certificate requirements, from A to D. The poor fellow did not work out and left. The employer decided to look for someone, as he put it, can do E to Z. He assumed that some one who has been it the business long enough could figure out anything. So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 11, 2003 9:48 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 12 02:27:19 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 12 Jun 2003 17:27:19 +1000 Subject: [AccessD] A2K: Freebie for list members Message-ID: <001501c330b4$0f3e6620$3c619a89@DDICK> Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren From subs at solution-providers.ie Thu Jun 12 02:56:23 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 12 Jun 2003 08:56:23 +0100 Subject: [AccessD] A2K: Freebie for list members References: <001501c330b4$0f3e6620$3c619a89@DDICK> Message-ID: <005701c330b8$216c0970$1b76fea9@D8TZHN0J> Hello Darren, What does it do ? Can you post the full functionality and list of system requirements? 386 processor, 16 MB ram etc :) Mark ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 12, 2003 8:27 AM Subject: [AccessD] A2K: Freebie for list members > Hello all > I have been working on a 'Drag and Drop' app for Access. > With my limited skill I could only go so far. > Stuart and Drew came along gave this thing the real 'oomph' to make > it look and feel right. > > So....anyone want a copy? > send an OFF LIST email to d.dick at uws.edu.au with > > Access Drag and Drop Request > > as your subject > > Also, do the official DBA web dudes wanna post this on the DBA downloads? > It's not a really heavy duty app, but it may be useful for someone. > > Many thanks > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Thu Jun 12 03:01:08 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 12 Jun 2003 09:01:08 +0100 Subject: [AccessD] Exchange server References: Message-ID: <007901c330b9$437cef10$1b76fea9@D8TZHN0J> Hello John, Can you not just ensure that Outlook is also installed on the Server, and run it from outlook on that machine, it should never be down. If for some reason, you cannot do that, can you install outlook on another server and do the same thing. Mark ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 11, 2003 6:38 PM Subject: [AccessD] Exchange server > My client uses Exchange server. > > I currently have Outlook running on an employee's workstation, and he > receives emails form their client with attachments which have to be > processed by the database. On this employee's machine I have a rule in > Outlook that moves all emails from their client with a specific subject into > a subfolder in Outlook. > > I then have an instance of Outlook running in the database (Withevents). > The database thus gets an event anytime an email comes into that > subdirectory. The event sink grabs every message in the subfolder and saves > the attachments into a working directory on the server, then copies the > email into a sub-sub folder so it isn't processed again. The attachements > are two text files and an excel spreadsheet. The text files are imported > using an import spec, and the spreadsheet is imported using append queries, > linking the spreadsheet to a known name. > > This all works very well. > > However we are moving this kind of process onto a server where it will run > continuously. We will no longer have to worry about keeping his workstation > turned on, power failures, his going on vacation etc. > > The client has asked me if he needs to have Outlook running on the server or > if I can pull the emails out of Exchange Server directly. > > Can I? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Jun 12 03:13:30 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 01:13:30 -0700 Subject: [AccessD] Exchange server In-Reply-To: Message-ID: Hi John: You can run everything from Exchange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 11, 2003 10:39 AM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 03:13:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 01:13:31 -0700 Subject: [AccessD] Reporting request form In-Reply-To: Message-ID: Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA Jim From roz.clarke at donnslaw.co.uk Thu Jun 12 03:36:11 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 12 Jun 2003 09:36:11 +0100 Subject: [AccessD] Reporting request form Message-ID: <61F915314798D311A2F800A0C9C83188047C5E97@dibble.observatory.donnslaw.co.uk> I've always found that the only way to make them happy is to get them to tell you what data they want to see (i.e. a list of all the red frogs with bus passes living in the Detford area) and then to draw a picture of how they expect the report to look, in terms of order of columns, totals etc. If you can't do that, these are some of the questions on a proforma I used to use: - Requested by, date, deadline; all that stuff. - Title: - Description (what information you want to see): - Full list of details or just counts? - Order of columns: - Sorted by which columns? - Grouped with totals? (e.g. showing all payments by trainee with a sum of payments per trainee) - If grouped, what are the levels? (e.g. Area, Trainee, Payments or Supervisor, Trainee, Payments) - Filters (e.g. you select a specific trainee or payment type when running the report, or a date range or other detail): None of this makes sense to a user the first time; they had to be trained to use the form. I included a space for drawing a picture and as I said, it was the most useful part. Can't see how a web page will give you that :( HTH Roz -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: 12 June 2003 09:14 To: accessd at databaseadvisors.com Subject: [AccessD] Reporting request form Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 04:01:17 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 02:01:17 -0700 Subject: [AccessD] Reporting request form In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E97@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: Thank you very much for the info... there is some good points I had not thought about. Jim PS ...a list of all the red frogs with bus passes living in the Detford area...Can't see how a web page will give you that :(. Another good point :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, June 12, 2003 1:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Reporting request form I've always found that the only way to make them happy is to get them to tell you what data they want to see (i.e. a list of all the red frogs with bus passes living in the Detford area) and then to draw a picture of how they expect the report to look, in terms of order of columns, totals etc. If you can't do that, these are some of the questions on a proforma I used to use: - Requested by, date, deadline; all that stuff. - Title: - Description (what information you want to see): - Full list of details or just counts? - Order of columns: - Sorted by which columns? - Grouped with totals? (e.g. showing all payments by trainee with a sum of payments per trainee) - If grouped, what are the levels? (e.g. Area, Trainee, Payments or Supervisor, Trainee, Payments) - Filters (e.g. you select a specific trainee or payment type when running the report, or a date range or other detail): None of this makes sense to a user the first time; they had to be trained to use the form. I included a space for drawing a picture and as I said, it was the most useful part. Can't see how a web page will give you that :( HTH Roz -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: 12 June 2003 09:14 To: accessd at databaseadvisors.com Subject: [AccessD] Reporting request form Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA 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 JOHNWARDBELL at aol.com Thu Jun 12 04:51:11 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Thu, 12 Jun 2003 05:51:11 EDT Subject: [AccessD] OT? - Certification Message-ID: <148.138557c5.2c19a70f@aol.com> Charles Your experience in education is not different to that of mine, and like you I was the only lecturer in the division with commercial programmer/analyst experience. And this is in northern England. Why bang your head against a wall when a good working life (and income) can be had working for yourself. john bell -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Jun 12 06:13:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 07:13:20 -0400 Subject: [AccessD] Exchange server In-Reply-To: <007901c330b9$437cef10$1b76fea9@D8TZHN0J> Message-ID: Yep, we are trying to do that. this server has less than 200 mb free on it's C: drive. All by itself that is a cause for concern. Now try to squeeze Access and outlook in. And they wonder why the thing is slow! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Thursday, June 12, 2003 4:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Exchange server Hello John, Can you not just ensure that Outlook is also installed on the Server, and run it from outlook on that machine, it should never be down. If for some reason, you cannot do that, can you install outlook on another server and do the same thing. Mark ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 11, 2003 6:38 PM Subject: [AccessD] Exchange server > My client uses Exchange server. > > I currently have Outlook running on an employee's workstation, and he > receives emails form their client with attachments which have to be > processed by the database. On this employee's machine I have a rule in > Outlook that moves all emails from their client with a specific subject into > a subfolder in Outlook. > > I then have an instance of Outlook running in the database (Withevents). > The database thus gets an event anytime an email comes into that > subdirectory. The event sink grabs every message in the subfolder and saves > the attachments into a working directory on the server, then copies the > email into a sub-sub folder so it isn't processed again. The attachements > are two text files and an excel spreadsheet. The text files are imported > using an import spec, and the spreadsheet is imported using append queries, > linking the spreadsheet to a known name. > > This all works very well. > > However we are moving this kind of process onto a server where it will run > continuously. We will no longer have to worry about keeping his workstation > turned on, power failures, his going on vacation etc. > > The client has asked me if he needs to have Outlook running on the server or > if I can pull the emails out of Exchange Server directly. > > Can I? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Thu Jun 12 06:43:44 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 12 Jun 2003 11:43:44 +0000 Subject: [AccessD] Msgbox HELP button Message-ID: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> To all, How do I get the msgbox to detect when the help button is pressed, I have the following code : pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") MsgBox pubUserResponse When the msgbox is displayed the ok button works fine but when I click the HELP button nothing happens, I assumed that it would store a value into pubUserResponse, but the msgbox doesn't even go away after clicking help. So my question is, how do I get to display a little help form or msgbox when the user clicks HELP..... Thanks in advance. Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Bryan_Carbonnell at cbc.ca Thu Jun 12 06:53:43 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 07:53:43 -0400 Subject: [AccessD] Repeat Emails Message-ID: In my early days online ('95) I was told it was a standard, so I never bothered to check, being a newbie an all. Oh well, it is a good idea though. Maybe the RFC needs to be ammended :) Bryan Carbonnell bryan_carbonnell at cbc.ca -- Thought for the day: A good friend will bail you out of jail. A TRUE friend will be sitting next to you saying "Damn.... We ****ed up." >>> stuart at lexacorp.com.pg 11-Jun-03 6:40:27 PM >>> On 11 Jun 2003 at 10:10, Bryan Carbonnell wrote: > If they postmasters that add them follow standards, they should start > with '--' or '-- ' (that's two dashes possibly followed by a space, I > don't remeber which one it is) that may give our lovely list admins a > possibility of stripping them that way. > Come on Brian, you know better than that :-). That's a convention not a standard :-) It doesn't appear in any RFC that I know of. It's actually a convention from the days of Fidonet etc when bandwidth was even more critical (300 baud modems and BBS operators paying phone charges by the minute to synchronise the forums) where programs like good ole SLMR would strip it automatically from replies. From stuart at lexacorp.com.pg Thu Jun 12 06:56:45 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 21:56:45 +1000 Subject: [dba-VB] [AccessD] Msgbox HELP button In-Reply-To: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> Message-ID: <3EE8F71D.7278.F899A1@localhost> On 12 Jun 2003 at 11:43, paul.hartland at fsmail.net wrote: > To all, > > How do I get the msgbox to detect when the help button is pressed, I have the following code : > > pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") > MsgBox pubUserResponse > > When the msgbox is displayed the ok button works fine but when I click > the HELP button nothing happens, I assumed that it would store a value > into pubUserResponse, but the msgbox doesn't even go away after > clicking help. So my question is, how do I get to display a little > help form or msgbox when the user clicks HELP..... > You need to provide the name of a helpfile and a context: MsgBox(prompt[, buttons] [, title] [, helpfile, context]) If you do, the help will pop up, but the msgbox will remain until you press on of the other buttons. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tinanfields at torchlake.com Thu Jun 12 06:58:51 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 07:58:51 -0400 Subject: [AccessD] OT: the "Education" system References: <001f01c3303f$218e4270$37f66e51@martinreid> Message-ID: <3EE86AFB.2060807@torchlake.com> Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Bryan_Carbonnell at cbc.ca Thu Jun 12 07:00:35 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 08:00:35 -0400 Subject: [AccessD] BEU Updater Message-ID: Kath, Did you run beuDBAisDBUptodate before you added the second mod? If so, you need to increase the version number for the second mod. Once the BEU hits the first mod in a version that is marked as being applied it determines that the upgrade for that version has already been done. If it you tried to do both mods at the same time and it didn't do the second mods, have a look at the error log in the FE directory. THat may give you some clues as to why it didn't work. Failing all that, if you want, you can send me the error log, the following two tables: tblDBAModifyDatabase tblDBAModifyDatabaseMods, and the version number in tblDBAversion and I'll see what I can see. You can send them to bryan_carbonnell at cbc.ca Bryan Carbonnell bryan_carbonnell at cbc.ca >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> Hi everybody - I have just started using the BEU tool. I clicked on 'Insert mod' and added my first modification, which was table, add field. field = directorname txt, size 75 to tblx. I then clicked on 'new mod' to add the same modification for a different table, ie. to insert a new field of the same name. I made a call to the beuDBAIsDBUpToDate routine and now find that it only made the first modification, not the second. When I go back into frmdbamain it shows the first modification as applied, but the second not. Now I cannot get that second modification to happen. When I re trigger the beuDBAIsDBUpToDate routine it appears to ignore the 2nd mod. (I have manually added the field myself to check that the field name / size etc is Ok and then undone that manual change). Since these 2 mods have to go into my production version early next week, any tips? From artful at rogers.com Thu Jun 12 07:03:22 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 12 Jun 2003 08:03:22 -0400 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <00e701c33078$d9af02c0$6401a8c0@papparuff> Message-ID: <030601c330da$9f4ad070$8e01a8c0@Rock> I've completed my experiments. Charlotte's suggestion misses the last item. Stuart's misses the first. Yours catches them all, but runs much more slowly than the others. I'll take correctness over speed any day. Thanks! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: June 11, 2003 8:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Help with Mah Arithmetic Why not just iterate through the items selected without worrying about count. Dim varItm as variant With ctl For Each varItm In .ItemsSelected lng_PK_Of_Interest = .Column(0, varItm) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest Next varItm End With Or, to do it with the code you already have: For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) ' This If statement is causing the problem. ' The count of .ItemsSelected is 0 based, not 1 based ' If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest ' End If Next intPhysicalRow John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Arthur Fuller Sent: Wednesday, June 11, 2003 3:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub Message-ID: <030b01c330db$f281f4c0$8e01a8c0@Rock> Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Jun 12 07:14:27 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 08:14:27 -0400 Subject: [AccessD] OT: the "Education" system References: Message-ID: <3EE86EA3.1010406@torchlake.com> Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local elementary >school teacher that the principal of said school has decided NOT to hold >back a single student this year. Students with unsatisfactory (we can't say >"failing", can we?) grades across the board are being sent on regardless of >teacher recommendations. Of course the principal is only part of the >problem. The teacher is also aware of parents (most?, some?, all?) who were >advised to hold back their child have chosen instead to let their child >continue on. > > >...I suppose if we ignore the problem long enough, it will eventually go >away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. According to >this article, the university system as we know it got it's start in the >middle ages. The average Joe did not go to school, did not know how to read >or write. Universities were originally designed to "educate" the sons and >daughters of the ruling class. The intended subjects of the system did not >work, they ruled. They had no need to "go get a job". They needed skills >distinctly different from those needed today. > >Unfortunately those in power in the university system do it "the way it has >always been done". A classic example of this is the ludicrous practice of >forcing medical interns to stay on duty 48 hours at a time with only a >couple of hours sleep. Everyone acknowledges that this is dangerous, to the >interns and even more so to the poor slob being seen by these sleep deprived >interns. But... "that's the way it has always been done". > >And so we live in a world where the college graduate has been forced to do >the "choose two from basket weaving, choose two from music, choose two from >science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not to >train them to do a particular job (which is actually a good thing) but to >learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are taught >NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so called >Highly Qualified Graduates" are not only "regurgitators of info" with "no >people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the only >Computer Science faculty member that had any real-world experience as a >programmer/analyst. And I was the only one that designed my tests as >problems to solve, not multiple-guess or fill-in-the-blank type tests. I >wanted my students to learn how to analyze and solve problems, not >regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and that >the graduate from a bachelor level program needs to have some practical >knowledge if he/she is to expect to find a job in the real world. Only >about 1% of the students could hope to become clones of their professors, >they rest needed to be able to survive in the real world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 12 07:14:51 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 22:14:51 +1000 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <030601c330da$9f4ad070$8e01a8c0@Rock> References: <00e701c33078$d9af02c0$6401a8c0@papparuff> Message-ID: <3EE8FB5B.32506.1092BC8@localhost> On 12 Jun 2003 at 8:03, Arthur Fuller wrote: > I've completed my experiments. Charlotte's suggestion misses the last item. > Stuart's misses the first. That's because I forgot to say, remove the IF, you need to look at the whole 0 based ItemsSelected collection : > ' If intPhysicalRow > 0 Then -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 12 07:31:48 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Jun 2003 14:31:48 +0200 Subject: [AccessD] Msgbox HELP button In-Reply-To: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> References: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> Message-ID: <16223322806.20030612143148@cactus.dk> Hi paul This is not how it is supposed to work. Read on here (one line): http://msdn.microsoft.com/library/en-us/odeopg/html/decondisplayinghelpbyusinginputboxmsgboxfunctions.asp /gustav > How do I get the msgbox to detect when the help button is pressed, I have the following code : > pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") > MsgBox pubUserResponse > When the msgbox is displayed the ok button works fine but when I click the HELP button nothing happens, I assumed that it would store a value into pubUserResponse, but the msgbox doesn't even go > away after clicking help. So my question is, how do I get to display a little help form or msgbox when the user clicks HELP..... From jcolby at colbyconsulting.com Thu Jun 12 07:47:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 08:47:25 -0400 Subject: [AccessD] Replacing the C: drive on a server Message-ID: My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com From Bryan_Carbonnell at cbc.ca Thu Jun 12 07:57:08 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 08:57:08 -0400 Subject: [AccessD] Replacing the C: drive on a server Message-ID: John, If you Ghost the drive, you can always use something like Partition Magic to resize the partition after dropping the image onto the new drive. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 12-Jun-03 8:47:25 AM >>> My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. From tinanfields at torchlake.com Thu Jun 12 08:05:37 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 09:05:37 -0400 Subject: [AccessD] Make-Table Queries Combined Message-ID: <3EE87AA1.1040700@torchlake.com> Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina From jimdettman at earthlink.net Thu Jun 12 08:13:05 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:13:05 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: John, <> Yes. Most drive mfg's (Maxtor, Seagate, etc) include software to transfer the contents of the old drive to the new drive when you purchase a new drive. <> RAID controllers allow a "Virtual Partition" to span multiple drives, so yes it's possible. Without knowing a lot more though, it's hard to say which would be the best course of action. I'd clean out all junk on the "C" drive as a start no matter what. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 8:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 CWortz at tea.state.tx.us Thu Jun 12 08:14:35 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 08:14:35 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Tina, Just look at the number of questions on this list about how computers handle numbers shows you the dismal state of our educational system. How did some of these people get a job programming computers if their basic understanding of how computers work is so lacking? Now I am not knocking those on this list that started out as an office worker that took the initiative to start developing some software tools for the office to use and do not claim to be professional software developers. My comment is aimed at those that are supposed to be professional software developers, but aren't! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday 2003 Jun 12 07:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina From jimdettman at earthlink.net Thu Jun 12 08:14:59 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:14:59 -0400 Subject: [AccessD] Make-Table Queries Combined In-Reply-To: <3EE87AA1.1040700@torchlake.com> Message-ID: Tina, Yes, Access is trying to run the whole thing as one transaction. A better approach is code (or a macro) to run each of the 32 queries on it's one. Then it becomes a single button operation. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Thu Jun 12 08:18:57 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 12 Jun 2003 14:18:57 +0100 Subject: [AccessD] Make-Table Queries Combined Message-ID: <61F915314798D311A2F800A0C9C83188047C5EA0@dibble.observatory.donnslaw.co.uk> Hi Tina To be honest I'm not sure exactly why nested queries are so slow but I think your suspicion is close to the truth. However you can run a series of queries in code using DoCmd.RunQuery, then someone just has to kick the code off and all the queries will run in turn. Roz -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: 12 June 2003 14:06 To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Jun 12 08:18:37 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 12 Jun 2003 09:18:37 -0400 Subject: [AccessD] A2K: Freebie for list members Message-ID: Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 12, 2003 3:27 AM To: AccessD List Subject: [AccessD] A2K: Freebie for list members Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Jun 12 08:21:23 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 12 Jun 2003 09:21:23 -0400 Subject: [AccessD] A2K: Freebie for list members Message-ID: Sorry premature ENTER key Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Tesiny, Ed Sent: Thursday, June 12, 2003 9:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Freebie for list members Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 12, 2003 3:27 AM To: AccessD List Subject: [AccessD] A2K: Freebie for list members Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 12 08:25:48 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 12 Jun 2003 06:25:48 -0700 Subject: [AccessD] A2K: Query parameters disappear in break mode References: <426071E0B0A6D311B3C0006008B0AB2338C7DF@TAPPEEXCH01> Message-ID: <009801c330e6$22e43ba0$6501a8c0@HAL9002> Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Jun 12 08:31:38 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:31:38 -0400 Subject: [AccessD] A2K: Query parameters disappear in break mode In-Reply-To: <009801c330e6$22e43ba0$6501a8c0@HAL9002> Message-ID: Rocky, The problem that you refer to is that if you don't explicitly indicate the data type in the control to the query (viq a PARAMETERS statement), Access will guess as to the data type. In some cases (Date/Time values), it can guess wrong. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 12, 2003 9:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Query parameters disappear in break mode Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Thu Jun 12 08:35:04 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 12 Jun 2003 08:35:04 -0500 Subject: [AccessD] A2K: Query parameters disappear in break mode Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7E2@TAPPEEXCH01> Yep, that's it! Normally I don't use this approach (i.e. directly referencing controls in queries). However, this was for a quick and dirty set of data conversion queries, and we needed to plug the date range into it. Thanks for the advice. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 12, 2003 8:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Query parameters disappear in break mode Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jscott at mchsi.com Thu Jun 12 08:42:02 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Thu, 12 Jun 2003 08:42:02 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Thank you all for the information!! I will definitely print it out and absorb it! Drew - thanks for your offer - that's so nice of you!!! John, we do have the approval to go to SQL. I've known we were going to go to SQL - with web based being the ultimate goal since the beginning of the project. I've tried to design the app for SQL as much as I was able but have to confess that we do use quite a few VBA functions. I'm not positive we'll be able to create stored procedures but I'm really pushing for that. We'll probably have to take two routes. With the forms and some of the code we'll probably have to use the linked tables approach. With a lot of the behind the scenes processing - of which there is a ton! - we'll use direct SQL. Calls. Again - thanks a lot!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Wednesday, June 11, 2003 8:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Stuart, <> It doesn't even pull the entire index. Probably 5-10 pages at most. As I said in my post, Jeanine can easily check what's going on with SHOWPLAN and ISAMSTATS. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Thu Jun 12 08:44:49 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Thu, 12 Jun 2003 08:44:49 -0500 Subject: [AccessD] On another subject - unbound forms In-Reply-To: Message-ID: OK - don't mean to get any discussions started here as I've read quite a few debates on this subject. However, I am looking at a process that I wrote 4 years ago and doing the "scratching my head" thing wondering if I can even claim to have written it! Anyway, I really think with this particular process I'd like to go unbound. However, my dilemma is this: I have to display - as they enter records - and allow the user to process multiple records at one time. Does anyone have an example they wouldn't mind sharing of a simple unbound app that would do this? I'd so much appreciate it! From mwp.reid at qub.ac.uk Thu Jun 12 09:00:36 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 15:00:36 +0100 Subject: [AccessD] For J Colby References: Message-ID: <007401c330ea$ffa68710$9111758f@aine> John >From our network guy Ghost allows you to resize the partition so if you like you can take a 20GB disk with a 2GB C: drive and copy it onto a 60GB disk and make the C: drive 10GB. Mirror disk shouldn't be a problem. Just ignore the mirror for the time being and use the original disk for the first ghosting step. Worry about mirroring it after it's back up and running. Martin ----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bobbedell15 at msn.com Thu Jun 12 09:01:15 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:01:15 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN documentation at your link is for Jet 3.5. The registry keys changed a bit for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no registry settings involved). Thanks, Bob >From: "Jim Dettman" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Access Data Retrieval >Date: Wed, 11 Jun 2003 21:15:47 -0400 > >Stuart, > ><It then decides which records to retreive and pulls just those. >Still with 100,000 records, just that one Index will show as >noticeably traffic on the network. >> > > It doesn't even pull the entire index. Probably 5-10 pages at most. As >I >said in my post, Jeanine can easily check what's going on with SHOWPLAN and >ISAMSTATS. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >McLachlan >Sent: Wednesday, June 11, 2003 6:22 PM >To: Jeanine Scott; accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval > > >As Drew said, Jet pulls the Index, not the data across the network. >It then decides which records to retreive and pulls just those. >Still with 100,000 records, just that one Index will show as >noticeably traffic on the network. A straigth VB app using an >Access BE will do exactly the same. > >If you move to SQL Server, the engine on the BE will do all the work >and ONLY pass back the required data. Again it doesn't matter whether >the FE is Access or VB - they will both get their data in the same >way and generate the same amount of network traffic > >On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > > > I don't know how much traffic. All they will tell me is that the network > > usage "spikes" and I don't know what questions to ask to find out more. >What > > I'm concerned with is when we move to SQL that it will still be a >problem > > because "access sucks" - their viewpoint - not mine. > > > > I'm working as a consultant for a Fortune 500 company which has it's own > > extremely large internal IT department as well as consultants from other > > companies and it's like pulling teeth to get any kind of information. I >have > > a lot of experience in designing relational databases and believe it or >not > > (considering my questions to this list) a fair amount of experience with >vba > > (thanks in a large part to this list!) but very little experience on how > > data transfers work or the infrastructure of the network and such. So, >any > > information you all can give me is extremely helpful! > > > > > > Jeanine > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Wednesday, June 11, 2003 1:19 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Access Data Retrieval > > > > First, the VBer's are wrong. You are actually going to pull the index >for > > the Autonumber field across the network. It is then going to pull the >chunk > > it needs for actual tables. How much traffic are you actually seeing? > > > > Drew > > > > -----Original Message----- > > From: Jeanine Scott [mailto:jscott at mchsi.com] > > Sent: Wednesday, June 11, 2003 12:36 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Access Data Retrieval > > > > > > I need something explained to me - this just doesn't make any sense to >me > > but I've had quite a few hard core vb developer's swear that the >following > > scenario is how Access retrieves data. > > > > Scenario: > > > > FE on client > > BE on Server > > > > tblLoans has 100,000 records with 3 fields > > > > tblLoans > > UniqueID - AutoNumber > > LoanNo (indexed) > > LastName (indexed) > > > > You bind a form to a specified recordset such as > > > > "Select * from tblLoans where UniqueID = 1" > > > > or > > > > "Select * from tblLoans where LoanNo = 101" > > > > What I have been told is that when Access goes to the server it brings >ALL > > the records 100,000 records back to the client and then applies criteria >to > > find out which record you actually asked for. So, in effect you are > > returning 100,000 rows of data back to the client even though you may >have > > only asked for 1. > > > > Is this correct? If it is why is this the case and how in the world can >I > > ever justify using Access as a development tool to a hard core VB'r?? >If > > it isn't correct how can I explain in the exact scenario above the fact >that > > the LAN tests show mega tons (ok -technical term there...) of data being > > passed back to the client when this form is called? > > > > I'm understanding that SQL will work the same way? > > > > Thank you so much! > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bchacc at san.rr.com Thu Jun 12 09:02:04 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 12 Jun 2003 07:02:04 -0700 Subject: [AccessD] Error on Next Record References: <05EBB8A3BEB95B4F8216BE4EF486077801076F@srciml1.ds.doc.state.or.us> Message-ID: <014401c330eb$34073040$6501a8c0@HAL9002> Coming a bit late to the party but: On Error GoTo IsIt2105: DoCmd.GoToRecord , , acPrevious Exit Sub IsIt2105: If err.Number = 2105 Then Exit Sub MsgBox "Error: " & err.Number & " - " & err.Description hth Rocky Smolin Beach Access Software ----- Original Message ----- From: "Gowey Mike W" To: Sent: Tuesday, June 10, 2003 8:01 AM Subject: [AccessD] Error on Next Record > > Hello Everyone, > > > Does someone possibly know how I can get rid of the following runtime > error? > > Runtime error '2105 > You can't go to the specified record. > > > I have a form that I use a query to extract certain information from a > Linked Oracle table. I have buttons on the form for the user to go to > next and previous records. When ever they reach the first record and > press the previous button again this error comes up and if they reach > the last record and press the next button again the error also comes up. > > Is there anyway to make this error not show and just stay on the current > record?? I don't want the user to have to answer the question to be > able to continue. > > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bobbedell15 at msn.com Thu Jun 12 09:32:32 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:32:32 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Never mind. Its the same deal. Just need to create the Debug key under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines The rest is the same. Thanks again. Bob >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval >Date: Thu, 12 Jun 2003 14:01:15 +0000 > >Hi Jim, > >Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN >documentation at your link is for Jet 3.5. The registry keys changed a bit >for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no >registry settings involved). > >Thanks, > >Bob > > >>From: "Jim Dettman" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Access Data Retrieval >>Date: Wed, 11 Jun 2003 21:15:47 -0400 >> >>Stuart, >> >><>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. >> >> >> It doesn't even pull the entire index. Probably 5-10 pages at most. >>As I >>said in my post, Jeanine can easily check what's going on with SHOWPLAN >>and >>ISAMSTATS. >> >>Jim Dettman >>President, >>Online Computer Services of WNY, Inc. >>(315) 699-3443 >>jimdettman at earthlink.net >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, June 11, 2003 6:22 PM >>To: Jeanine Scott; accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access Data Retrieval >> >> >>As Drew said, Jet pulls the Index, not the data across the network. >>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. A straigth VB app using an >>Access BE will do exactly the same. >> >>If you move to SQL Server, the engine on the BE will do all the work >>and ONLY pass back the required data. Again it doesn't matter whether >>the FE is Access or VB - they will both get their data in the same >>way and generate the same amount of network traffic >> >>On 11 Jun 2003 at 13:58, Jeanine Scott wrote: >> >> > I don't know how much traffic. All they will tell me is that the >>network >> > usage "spikes" and I don't know what questions to ask to find out more. >>What >> > I'm concerned with is when we move to SQL that it will still be a >>problem >> > because "access sucks" - their viewpoint - not mine. >> > >> > I'm working as a consultant for a Fortune 500 company which has it's >>own >> > extremely large internal IT department as well as consultants from >>other >> > companies and it's like pulling teeth to get any kind of information. I >>have >> > a lot of experience in designing relational databases and believe it or >>not >> > (considering my questions to this list) a fair amount of experience >>with >>vba >> > (thanks in a large part to this list!) but very little experience on >>how >> > data transfers work or the infrastructure of the network and such. So, >>any >> > information you all can give me is extremely helpful! >> > >> > >> > Jeanine >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >> > Sent: Wednesday, June 11, 2003 1:19 PM >> > To: 'accessd at databaseadvisors.com' >> > Subject: RE: [AccessD] Access Data Retrieval >> > >> > First, the VBer's are wrong. You are actually going to pull the index >>for >> > the Autonumber field across the network. It is then going to pull the >>chunk >> > it needs for actual tables. How much traffic are you actually seeing? >> > >> > Drew >> > >> > -----Original Message----- >> > From: Jeanine Scott [mailto:jscott at mchsi.com] >> > Sent: Wednesday, June 11, 2003 12:36 PM >> > To: accessd at databaseadvisors.com >> > Subject: [AccessD] Access Data Retrieval >> > >> > >> > I need something explained to me - this just doesn't make any sense to >>me >> > but I've had quite a few hard core vb developer's swear that the >>following >> > scenario is how Access retrieves data. >> > >> > Scenario: >> > >> > FE on client >> > BE on Server >> > >> > tblLoans has 100,000 records with 3 fields >> > >> > tblLoans >> > UniqueID - AutoNumber >> > LoanNo (indexed) >> > LastName (indexed) >> > >> > You bind a form to a specified recordset such as >> > >> > "Select * from tblLoans where UniqueID = 1" >> > >> > or >> > >> > "Select * from tblLoans where LoanNo = 101" >> > >> > What I have been told is that when Access goes to the server it brings >>ALL >> > the records 100,000 records back to the client and then applies >>criteria >>to >> > find out which record you actually asked for. So, in effect you are >> > returning 100,000 rows of data back to the client even though you may >>have >> > only asked for 1. >> > >> > Is this correct? If it is why is this the case and how in the world >>can I >> > ever justify using Access as a development tool to a hard core VB'r?? >>If >> > it isn't correct how can I explain in the exact scenario above the fact >>that >> > the LAN tests show mega tons (ok -technical term there...) of data >>being >> > passed back to the client when this form is called? >> > >> > I'm understanding that SQL will work the same way? >> > >> > Thank you so much! >> > >> > >> > >> > >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From bobbedell15 at msn.com Thu Jun 12 09:32:32 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:32:32 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Never mind. Its the same deal. Just need to create the Debug key under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines The rest is the same. Thanks again. Bob >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval >Date: Thu, 12 Jun 2003 14:01:15 +0000 > >Hi Jim, > >Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN >documentation at your link is for Jet 3.5. The registry keys changed a bit >for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no >registry settings involved). > >Thanks, > >Bob > > >>From: "Jim Dettman" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Access Data Retrieval >>Date: Wed, 11 Jun 2003 21:15:47 -0400 >> >>Stuart, >> >><>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. >> >> >> It doesn't even pull the entire index. Probably 5-10 pages at most. >>As I >>said in my post, Jeanine can easily check what's going on with SHOWPLAN >>and >>ISAMSTATS. >> >>Jim Dettman >>President, >>Online Computer Services of WNY, Inc. >>(315) 699-3443 >>jimdettman at earthlink.net >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, June 11, 2003 6:22 PM >>To: Jeanine Scott; accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access Data Retrieval >> >> >>As Drew said, Jet pulls the Index, not the data across the network. >>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. A straigth VB app using an >>Access BE will do exactly the same. >> >>If you move to SQL Server, the engine on the BE will do all the work >>and ONLY pass back the required data. Again it doesn't matter whether >>the FE is Access or VB - they will both get their data in the same >>way and generate the same amount of network traffic >> >>On 11 Jun 2003 at 13:58, Jeanine Scott wrote: >> >> > I don't know how much traffic. All they will tell me is that the >>network >> > usage "spikes" and I don't know what questions to ask to find out more. >>What >> > I'm concerned with is when we move to SQL that it will still be a >>problem >> > because "access sucks" - their viewpoint - not mine. >> > >> > I'm working as a consultant for a Fortune 500 company which has it's >>own >> > extremely large internal IT department as well as consultants from >>other >> > companies and it's like pulling teeth to get any kind of information. I >>have >> > a lot of experience in designing relational databases and believe it or >>not >> > (considering my questions to this list) a fair amount of experience >>with >>vba >> > (thanks in a large part to this list!) but very little experience on >>how >> > data transfers work or the infrastructure of the network and such. So, >>any >> > information you all can give me is extremely helpful! >> > >> > >> > Jeanine >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >> > Sent: Wednesday, June 11, 2003 1:19 PM >> > To: 'accessd at databaseadvisors.com' >> > Subject: RE: [AccessD] Access Data Retrieval >> > >> > First, the VBer's are wrong. You are actually going to pull the index >>for >> > the Autonumber field across the network. It is then going to pull the >>chunk >> > it needs for actual tables. How much traffic are you actually seeing? >> > >> > Drew >> > >> > -----Original Message----- >> > From: Jeanine Scott [mailto:jscott at mchsi.com] >> > Sent: Wednesday, June 11, 2003 12:36 PM >> > To: accessd at databaseadvisors.com >> > Subject: [AccessD] Access Data Retrieval >> > >> > >> > I need something explained to me - this just doesn't make any sense to >>me >> > but I've had quite a few hard core vb developer's swear that the >>following >> > scenario is how Access retrieves data. >> > >> > Scenario: >> > >> > FE on client >> > BE on Server >> > >> > tblLoans has 100,000 records with 3 fields >> > >> > tblLoans >> > UniqueID - AutoNumber >> > LoanNo (indexed) >> > LastName (indexed) >> > >> > You bind a form to a specified recordset such as >> > >> > "Select * from tblLoans where UniqueID = 1" >> > >> > or >> > >> > "Select * from tblLoans where LoanNo = 101" >> > >> > What I have been told is that when Access goes to the server it brings >>ALL >> > the records 100,000 records back to the client and then applies >>criteria >>to >> > find out which record you actually asked for. So, in effect you are >> > returning 100,000 rows of data back to the client even though you may >>have >> > only asked for 1. >> > >> > Is this correct? If it is why is this the case and how in the world >>can I >> > ever justify using Access as a development tool to a hard core VB'r?? >>If >> > it isn't correct how can I explain in the exact scenario above the fact >>that >> > the LAN tests show mega tons (ok -technical term there...) of data >>being >> > passed back to the client when this form is called? >> > >> > I'm understanding that SQL will work the same way? >> > >> > Thank you so much! >> > >> > >> > >> > >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Jun 12 09:48:49 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 12 Jun 2003 07:48:49 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: <011f01c330f1$bc4cd7b0$6401a8c0@papparuff> John, You can use Drive Image 2002 by Powerquest to do this. One of its capabilities is to permit a user to make an exact copy of a hard-drive. One of the options that is available when making a copy of a hard-drive is the ability to resize the destination drive to fill the entire unallocated area on the new hard-drive. I've been using Powerquest's Drive Image and Partition Magic for over four years and I'm very happy with their products and their tech support. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Thursday, June 12, 2003 5:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 Mark.Mitsules at ngc.com Thu Jun 12 10:06:45 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 12 Jun 2003 11:06:45 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: < Tina ("We have been ignoring the problem much too long.") < Rocky ("Fine. Less competition for my kids.") < Charlotte ("No, it will eventually graduate..." I applaud everyone's passion, but did anyone else realize that my statement was SARCASTIC and therefore, IMHO, rhetorical? It was not meant to be flame bait. My apologies, Mark -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local >elementary school teacher that the principal of said school has decided >NOT to hold back a single student this year. Students with >unsatisfactory (we can't say "failing", can we?) grades across the >board are being sent on regardless of teacher recommendations. Of >course the principal is only part of the problem. The teacher is also >aware of parents (most?, some?, all?) who were advised to hold back >their child have chosen instead to let their child continue on. > > >...I suppose if we ignore the problem long enough, it will eventually >go away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. >According to this article, the university system as we know it got it's >start in the middle ages. The average Joe did not go to school, did >not know how to read or write. Universities were originally designed >to "educate" the sons and daughters of the ruling class. The intended >subjects of the system did not work, they ruled. They had no need to >"go get a job". They needed skills distinctly different from those >needed today. > >Unfortunately those in power in the university system do it "the way it >has always been done". A classic example of this is the ludicrous >practice of forcing medical interns to stay on duty 48 hours at a time >with only a couple of hours sleep. Everyone acknowledges that this is >dangerous, to the interns and even more so to the poor slob being seen >by these sleep deprived interns. But... "that's the way it has always >been done". > >And so we live in a world where the college graduate has been forced to >do the "choose two from basket weaving, choose two from music, choose >two from science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not >to train them to do a particular job (which is actually a good thing) >but to learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are >taught NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so >called Highly Qualified Graduates" are not only "regurgitators of info" >with "no people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the >only Computer Science faculty member that had any real-world experience >as a programmer/analyst. And I was the only one that designed my tests >as problems to solve, not multiple-guess or fill-in-the-blank type >tests. I wanted my students to learn how to analyze and solve problems, >not regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and >that the graduate from a bachelor level program needs to have some >practical knowledge if he/she is to expect to find a job in the real >world. Only about 1% of the students could hope to become clones of >their professors, they rest needed to be able to survive in the real >world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Thu Jun 12 10:15:24 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 12 Jun 2003 10:15:24 -0500 Subject: [AccessD] BEU Updater In-Reply-To: Message-ID: Bryan has mentioned the best first step. That is to change the from and to version numbers of the 2nd mod. If the BEU doens't see any mods with a version number greater than the version of the BE then it doesn't do anything. Changing the version numbers will force the BEU to attemp the 2nd mod. Then if it fails look at the error log. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, June 12, 2003 7:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] BEU Updater > > > Kath, > > Did you run beuDBAisDBUptodate before you added the second mod? > > If so, you need to increase the version number for the second mod. > > Once the BEU hits the first mod in a version that is marked as > being applied it determines that the upgrade for that version has > already been done. > > If it you tried to do both mods at the same time and it didn't do > the second mods, have a look at the error log in the FE > directory. THat may give you some clues as to why it didn't work. > > Failing all that, if you want, you can send me the error log, the > following two tables: tblDBAModifyDatabase > tblDBAModifyDatabaseMods, and the version number in tblDBAversion > and I'll see what I can see. > > You can send them to bryan_carbonnell at cbc.ca > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> > Hi everybody - > > I have just started using the BEU tool. I clicked on 'Insert mod' > and added my first modification, which was table, add field. > field = directorname > txt, size 75 to tblx. > > I then clicked on 'new mod' to add the same modification for a > different table, ie. to insert a new field of the same name. > > I made a call to the beuDBAIsDBUpToDate routine and now find that > it only made the first modification, not the second. > > When I go back into frmdbamain it shows the first modification as > applied, but the second not. Now I cannot get that second > modification to happen. When I re trigger the beuDBAIsDBUpToDate > routine it appears to ignore the 2nd mod. > > (I have manually added the field myself to check that the field > name / size etc is Ok and then undone that manual change). > > Since these 2 mods have to go into my production version early > next week, any tips? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From delliker at hotmail.com Thu Jun 12 10:46:58 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 11:46:58 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 12 10:59:30 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 12 Jun 2003 10:59:30 -0500 Subject: [AccessD] Phun with Excel / automation Message-ID: Once the Import Spreadsheet Wizard starts you should see two radio button (Show Worksheets and Show Named Ranges). Make sure the Show Worksheets one is checked and then you should see a list of the worksheets within your file. Then just select the one you want to import and keep answering the wizard's questions. Repeat the process for each worksheet to import. "Don Elliker" Sent by: accessd-bounces at databaseadvisors.com 06/12/2003 10:46 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Phun with Excel / automation Folks, I am trying to import ,on a one time basis , the data from an excel workbook into Access XP. I can't use the 'import data' option, it only gets me the first worksheet (or am I doing it wrong?). I can get to the workbook in code easily enough but there seems no easy way to get the individual worksheets imported into separate tables. I tried using the 'transferspreadsheet' docmd thingie, but it gets hung up on the file name. I cannot just reference the worksheet object- it doesn't like that. I thought it was working out too easily...#-( - Sooo...does anyone have this experience...this is a one-off I just want the data in tables. "Things are only free to the extent that you don't pay for them".-Don Elliker Add photos to your e-mail with MSN 8. Get 2 months FREE*._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 12 11:08:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:08:04 -0500 Subject: [AccessD] A2K: Freebie for list members Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2B@main2.marlow.com> It's a good example of how to let a user drag a control to another spot on the form. Stuart and I had almost identical code to do a simple drag and drop. I added some functionality for Darren that showed how to keep the controls within a specific area, and Darren topped it by giving it a 'outline' look, where the outline moves in the drag, not the whole object. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Thursday, June 12, 2003 2:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Freebie for list members Hello Darren, What does it do ? Can you post the full functionality and list of system requirements? 386 processor, 16 MB ram etc :) Mark ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 12, 2003 8:27 AM Subject: [AccessD] A2K: Freebie for list members > Hello all > I have been working on a 'Drag and Drop' app for Access. > With my limited skill I could only go so far. > Stuart and Drew came along gave this thing the real 'oomph' to make > it look and feel right. > > So....anyone want a copy? > send an OFF LIST email to d.dick at uws.edu.au with > > Access Drag and Drop Request > > as your subject > > Also, do the official DBA web dudes wanna post this on the DBA downloads? > It's not a really heavy duty app, but it may be useful for someone. > > Many thanks > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:11:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:11:01 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2C@main2.marlow.com> Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:13:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:13:32 -0500 Subject: [AccessD] Replacing the C: drive on a server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 JHewson at karta.com Thu Jun 12 11:17:39 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 12 Jun 2003 11:17:39 -0500 Subject: [AccessD] Phun with Excel / automation Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C16@NT04> Don, If this a one time requirement you can import Excel worksheets through "Get External Data" under File on the Menu bar. It will give you an opportunity to list the Excel workbook. You will have to get each worksheet separately. The workbook needs to open to the desire worksheet. HTH Jim -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, June 12, 2003 10:47 AM To: accessd at databaseadvisors.com Subject: [AccessD] Phun with Excel / automation Folks, I am trying to import ,on a one time basis , the data from an excel workbook into Access XP. I can't use the 'import data' option, it only gets me the first worksheet (or am I doing it wrong?). I can get to the workbook in code easily enough but there seems no easy way to get the individual worksheets imported into separate tables. I tried using the 'transferspreadsheet' docmd thingie, but it gets hung up on the file name. I cannot just reference the worksheet object- it doesn't like that. I thought it was working out too easily...#-( - Sooo...does anyone have this experience...this is a one-off I just want the data in tables. "Things are only free to the extent that you don't pay for them".-Don Elliker _____ Add photos to your e-mail with MSN 8. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Jun 12 11:21:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 11:21:36 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina From DWUTKA at marlow.com Thu Jun 12 11:22:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:22:23 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2E@main2.marlow.com> It's a by product of 'standing on the shoulders of giants'. When I develop in VB, I constantly think I am standing on the shoulders of giants. For example, to get a line of text into the clipboard, I simply use Clipboard.SetText "My string value". Now, if you look at all of the processes actually involved, it's mind boggling. First, you are moving information into memory, which is a lot of fun, then the entire principle of the clipboard itself, which is an OS function. I find it hard to classify myself as a 'professional' programmer. I am really only good at VB (and VBA), I know an inkling of C++, but that's about it. (Well, I did program in DOS basic when I was a kid...and Apple basic for that matter....). However, I have been using computers since I was 5, and I never like to learn from a set of instructions. If I don't know how something works, then I dig until I find out. The problem is, since computers are becoming more and more complex, the interfaces are actually taking on a lot of the burden in interacting with everything. As a VB programmer, I don't need to know how the TCP/IP protocol stack converts information into data packets, or how it translates information coming in. It just 'works'. Because things are working at a 'higher' level, due to the giants that programmed in the past, a lot of new generation 'programmers' can get away with not understanding lower level fundamentals. The catch, of course, is when an anomaly occurs, that the new 'advanced' interfaces don't know what to do, or give false information about. If you are lacking in the fundamentals, it is a LOT more difficult to find out what is wrong. Just my two cents. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Tina, Just look at the number of questions on this list about how computers handle numbers shows you the dismal state of our educational system. How did some of these people get a job programming computers if their basic understanding of how computers work is so lacking? Now I am not knocking those on this list that started out as an office worker that took the initiative to start developing some software tools for the office to use and do not claim to be professional software developers. My comment is aimed at those that are supposed to be professional software developers, but aren't! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday 2003 Jun 12 07:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 11:27:04 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 12:27:04 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> Message-ID: He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:27:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:27:04 -0500 Subject: [AccessD] On another subject - unbound forms Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2F@main2.marlow.com> What do you mean? Are you saying that you want to create an unbound version of a continuous form? Just a tip. If you want to go unbound, especially if this is a project that could start with an Access BE, and an Access FE, then move to a Web FE, with a different BE (which, by the way, Access works beautifully as a web BE, because when it is stored locally on the web server, it is just as fast as SQL Server), I recommend that you develop using Classes (and collections), to store your business processes, data retrieval/saving. That way your forms (or asp code for a web page) just have to interact with your classes. Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Thursday, June 12, 2003 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] On another subject - unbound forms OK - don't mean to get any discussions started here as I've read quite a few debates on this subject. However, I am looking at a process that I wrote 4 years ago and doing the "scratching my head" thing wondering if I can even claim to have written it! Anyway, I really think with this particular process I'd like to go unbound. However, my dilemma is this: I have to display - as they enter records - and allow the user to process multiple records at one time. Does anyone have an example they wouldn't mind sharing of a simple unbound app that would do this? I'd so much appreciate it! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Thu Jun 12 11:42:40 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 12:42:40 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 12 11:43:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 09:43:54 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Jun 12 11:56:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 11:56:36 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina From gustav at cactus.dk Thu Jun 12 12:05:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Jun 2003 19:05:37 +0200 Subject: [AccessD] OT: the "Education" system In-Reply-To: References: Message-ID: <5339752110.20030612190537@cactus.dk> Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. From cfoust at infostatsystems.com Thu Jun 12 12:46:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 10:46:21 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Take a look at http://innumeracy.com/ and/or read John Allen Poulos' wonderful book, Innumeracy, for a look at how incompetent most adults are when it comes to simple math, let alone algebra. Charlotte Foust -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 4:14 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local >elementary school teacher that the principal of said school has decided >NOT to hold back a single student this year. Students with >unsatisfactory (we can't say "failing", can we?) grades across the >board are being sent on regardless of teacher recommendations. Of >course the principal is only part of the problem. The teacher is also >aware of parents (most?, some?, all?) who were advised to hold back >their child have chosen instead to let their child continue on. > > >...I suppose if we ignore the problem long enough, it will eventually >go away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. >According to this article, the university system as we know it got it's >start in the middle ages. The average Joe did not go to school, did >not know how to read or write. Universities were originally designed >to "educate" the sons and daughters of the ruling class. The intended >subjects of the system did not work, they ruled. They had no need to >"go get a job". They needed skills distinctly different from those >needed today. > >Unfortunately those in power in the university system do it "the way it >has always been done". A classic example of this is the ludicrous >practice of forcing medical interns to stay on duty 48 hours at a time >with only a couple of hours sleep. Everyone acknowledges that this is >dangerous, to the interns and even more so to the poor slob being seen >by these sleep deprived interns. But... "that's the way it has always >been done". > >And so we live in a world where the college graduate has been forced to >do the "choose two from basket weaving, choose two from music, choose >two from science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not >to train them to do a particular job (which is actually a good thing) >but to learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are >taught NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so >called Highly Qualified Graduates" are not only "regurgitators of info" >with "no people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the >only Computer Science faculty member that had any real-world experience >as a programmer/analyst. And I was the only one that designed my tests >as problems to solve, not multiple-guess or fill-in-the-blank type >tests. I wanted my students to learn how to analyze and solve problems, >not regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and >that the graduate from a bachelor level program needs to have some >practical knowledge if he/she is to expect to find a job in the real >world. Only about 1% of the students could hope to become clones of >their professors, they rest needed to be able to survive in the real >world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 12:47:56 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 10:47:56 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:56:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:56:23 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:05 -0500 Subject: [AccessD] Replacing the C: drive on a server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D31@main2.marlow.com> I would completely remove the swap file from C. If he has D and E, he should run the swap from those drives only, free up his root drive. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 11:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:32 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D32@main2.marlow.com> Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:51 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D33@main2.marlow.com> As the entire list ducks and runs for cover.... Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 12, 2003 12:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jun 12 13:01:02 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 19:01:02 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <000b01c3310c$9910f5e0$37f66e51@martinreid> Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL From mwp.reid at qub.ac.uk Thu Jun 12 13:02:16 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 19:02:16 +0100 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: <001501c3310c$c2f04280$37f66e51@martinreid> Sorry Bob. Just seen your email. Bob has a point folks. OT is for this stuff. Even if I am taking part. Martin ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, June 12, 2003 6:56 PM Subject: RE: [AccessD] OT: the "Education" system > I wasn't even taking gender into account. I have seen both men and women > 'bow' to someone with a degree. I know I am a little stubborn , > but I stick to my guns with what I know. > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 11:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > Drew, > > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday 2003 Jun 12 11:11 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > Interesting. > > I have never really felt 'downhill' though. In fact, many times I feel > like I am uphill from people with degrees, because I see the solution, > and they are flapping in the wind. Oh well. > > Drew > > -----Original Message----- > From: Tina Norris Fields [mailto:tinanfields at torchlake.com] > Sent: Thursday, June 12, 2003 6:59 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: the "Education" system > > > Martin, you may have to go get that degree, just to shut them up. > > After some 14 years of experience as an export manager, with a side > interest in office automation and the stuff that supports it, I one day > found myself needing a new job. I had no degree, just knowledge. I had > > come from the midwest, where "equivalent experience" was a qualifier for > > those without the academic credentials. But, I was in New England > (Boston, to be exact), and "equivalent experience" carried no weight > whatsoever. I actually got turned down for a position where the only > other candidate was a recent graduate with a degree and no experience - > degree NOT in international trade or business, by the way. The > interviewer said: "I couldn't justify choosing you over a degreed > person." Wow! I did go back to school at New Hampshire College (now > Southern New Hampshire University) and got my degree in Business and > Computer Science. Now, I teach adults how to use computers - from the > complete "newbie" who doesn't know where the ON switch is, to folks > wanting to learn any of the Microsoft Office Suite programs. I also > develop Access database applications and stuff for private clients. > It's fun. > > The thing that really surprised me was that after I had my degree, I > felt different in those meetings with other staff. I hadn't realized > that I had felt "down hill" from everybody before the degree - but I did > > notice the change in my level of confidence once I was wearing my gold > key (yes Summa Cum Laude - motivation is a wonderful thing). So, in > your "free" time, Martin, why not enroll in a college or university that > > offers a complete degree in your area of interest via the Internet? > When you get your gold key, those pompous jerks will have to shut up. > > My local college hired me from time-to-time as adjunct faculty when they > > needed my knowledge and they couldn't get anyone with the academic > credentials to teach the class (summers, especially). I still work as a > > contract instructor for the Extended Education Services division of the > college - teaching adults who really want to know the stuff. > > Tina > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Jun 12 13:04:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:04:04 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: What, you're into domination?? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, June 12, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:04:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:04:54 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D34@main2.marlow.com> Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 13:05:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:05:22 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: What? Haven't you noticed how good I am with details? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 12, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or > have made a significant accomplishment such as getting a degree, they > tend to be submissive as adults. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 13:06:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:06:26 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Gahh! A fate worse than death! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 10:01 AM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 13:07:19 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 12:07:19 -0600 Subject: [AccessD] Canot display .jpg in Access image control? Message-ID: <410-22003641218719218@christopherhawkins.com> I know this is a "known issue" with Access. I also know that I have to "install the jpg decompression filter" in order to fix it. However, I have no clue as to where I can find this filter and how to install it. Has anyone ever fixed this issue before? Heeeeeeeeeeelp... -Christopher- From jcolby at colbyconsulting.com Thu Jun 12 13:08:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:08:53 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: >I know I am a little stubborn Uhhh... OK. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew From DWUTKA at marlow.com Thu Jun 12 13:08:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:08:47 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D35@main2.marlow.com> ROTFL Actually, it goes a long way in explaining Access 2000. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 1:01 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 13:10:09 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:10:09 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <000b01c3310c$9910f5e0$37f66e51@martinreid> Message-ID: >I hope they all get jobs as Apple Mac programmers! ROTFL. The death of the Mac. I love it! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Thursday, June 12, 2003 2:01 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 13:12:31 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:12:31 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D34@main2.marlow.com> Message-ID: So Drew, what is involved in distributing an app that uses JET? I am looking at a project that will use VB.Net and an Access BE. AFAIK Jet is not part of VB.Net so Jet has to come from somewhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 2:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:13:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:13:03 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D36@main2.marlow.com> I haven't seen that email yet. But I would say that a discussion about the Education system in relation to academic authority is a valid topic (somewhat). A lot of Access developers (both hopeful and salty) have run into situations where a degree or certification has overruled actual facts or experience. Who knows, we may come up with a new solution...let's make DBA the world wide authority on all relational database issues! Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 1:02 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Sorry Bob. Just seen your email. Bob has a point folks. OT is for this stuff. Even if I am taking part. Martin ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, June 12, 2003 6:56 PM Subject: RE: [AccessD] OT: the "Education" system > I wasn't even taking gender into account. I have seen both men and women > 'bow' to someone with a degree. I know I am a little stubborn , > but I stick to my guns with what I know. > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 11:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > Drew, > > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday 2003 Jun 12 11:11 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > Interesting. > > I have never really felt 'downhill' though. In fact, many times I feel > like I am uphill from people with degrees, because I see the solution, > and they are flapping in the wind. Oh well. > > Drew > > -----Original Message----- > From: Tina Norris Fields [mailto:tinanfields at torchlake.com] > Sent: Thursday, June 12, 2003 6:59 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: the "Education" system > > > Martin, you may have to go get that degree, just to shut them up. > > After some 14 years of experience as an export manager, with a side > interest in office automation and the stuff that supports it, I one day > found myself needing a new job. I had no degree, just knowledge. I had > > come from the midwest, where "equivalent experience" was a qualifier for > > those without the academic credentials. But, I was in New England > (Boston, to be exact), and "equivalent experience" carried no weight > whatsoever. I actually got turned down for a position where the only > other candidate was a recent graduate with a degree and no experience - > degree NOT in international trade or business, by the way. The > interviewer said: "I couldn't justify choosing you over a degreed > person." Wow! I did go back to school at New Hampshire College (now > Southern New Hampshire University) and got my degree in Business and > Computer Science. Now, I teach adults how to use computers - from the > complete "newbie" who doesn't know where the ON switch is, to folks > wanting to learn any of the Microsoft Office Suite programs. I also > develop Access database applications and stuff for private clients. > It's fun. > > The thing that really surprised me was that after I had my degree, I > felt different in those meetings with other staff. I hadn't realized > that I had felt "down hill" from everybody before the degree - but I did > > notice the change in my level of confidence once I was wearing my gold > key (yes Summa Cum Laude - motivation is a wonderful thing). So, in > your "free" time, Martin, why not enroll in a college or university that > > offers a complete degree in your area of interest via the Internet? > When you get your gold key, those pompous jerks will have to shut up. > > My local college hired me from time-to-time as adjunct faculty when they > > needed my knowledge and they couldn't get anyone with the academic > credentials to teach the class (summers, especially). I still work as a > > contract instructor for the Extended Education Services division of the > college - teaching adults who really want to know the stuff. > > Tina > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:14:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:14:54 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D37@main2.marlow.com> Okay, this off shoot is definitely OT, but I'd like to say it has nothing to do with domination, but instead an even playing field. I prefer to treat everyone as an equal. I may know more about something, but I would bet my bottom dollar they know something that I don't. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, June 12, 2003 1:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system What, you're into domination?? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, June 12, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:19:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:19:24 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D38@main2.marlow.com> Hey, admitting it is half the battle! I haven't seen you at any of the meetings! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 1:09 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >I know I am a little stubborn Uhhh... OK. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:24:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:24:10 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D39@main2.marlow.com> You need to install MDAC. I actually haven't had to do anything special when distributing a runtime that uses ADO. When I set a reference to Microsoft ActiveX Data Objects 2.5, when I use the Package and Deployment wizard, it bundles MDAC with the installation. During the VB install, you'll see the MDAC installation run too. No idea if .Net does something different. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval So Drew, what is involved in distributing an app that uses JET? I am looking at a project that will use VB.Net and an Access BE. AFAIK Jet is not part of VB.Net so Jet has to come from somewhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 2:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 haascnc.com Thu Jun 12 13:41:56 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 12 Jun 2003 11:41:56 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: <657FB70438B7D311AF320090279C1801026D7A4A@EXCHMAIL> Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 6784 bytes Desc: not available URL: From fahooper at trapo.com Thu Jun 12 13:31:15 2003 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 12 Jun 2003 14:31:15 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> Message-ID: <001701c33110$cec3c4c0$60a90944@fred> Temp and Tmp (usually they're the same directory) could also be taking up a lot of space. They can be emptied and/or moved to another drive. I've seen Ghost used to move the files on a single C: drive on W2000. The tech had a lot of trouble as Ghost wasn't easy to configure for SCSI disks with NTFS. If you can get it to work for a copy to a single drive, I'd think it should work the same way for another disk to be the mirrored pair. Fred |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka |Sent: Thursday, June 12, 2003 12:14 PM |To: 'accessd at databaseadvisors.com' |Subject: RE: [AccessD] Replacing the C: drive on a server | | |To get more space, put another drive in, and move the swap |file to it. That is probably taking a LARGE chunk of space up. | |Drew | |-----Original Message----- |From: John Colby [mailto:jcolby at colbyconsulting.com] |Sent: Thursday, June 12, 2003 7:47 AM |To: AccessD |Subject: [AccessD] Replacing the C: drive on a server | | |My client as a Windows NT 4x Server with a C: drive down to |80mb free. It had more until yesterday, when he tried to |install Access and Outlook. The installs failed due to lack |of space and wouldn't even uninstall. He has just plain |deleted the directories to get back up to 80mb. Obviously |this is bad - Windows doesn't like the C: drive to have no room. | |My question is, is it possible to go get a much larger hard |disk, and then somehow transfer the entire contents of the C: |drive onto the new drive such that it can be dropped in as the |C: drive and yet still be larger and have the extra room |available? My understanding of the imaging programs (Ghost |and the like) is that they create an exact image of the |original which would simply create a small partition on the |larger drive. | |The next issue is that the drive is mirrored. Is there any |way to just add two disks and "expand" the existing partition |to span the new disks? | |John W. Colby |www.colbyconsulting.com | | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | From papparuff at attbi.com Thu Jun 12 13:53:29 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 12 Jun 2003 11:53:29 -0700 Subject: [AccessD] Globally logging onto a SQL Server db In-Reply-To: <001701c33110$cec3c4c0$60a90944@fred> Message-ID: <000f01c33113$ea7d84a0$6401a8c0@papparuff> I'm having a devil of a time and I can use some assistance. I have a client who has two linked tables from a SQL database. He updates tables in a linked Access database from these two SQL tables each weekday through update queries. When he opens one of the tables or a query for the first time, he must always provide his userid and password. We want to automate the program and so we need to setup a method of automatically logging into the SQL database so that the queries will run without having to manually supply the userid and password. He is in Iowa and I'm in Washington so I don't have access to his SQL db to try and figure this out. Here's the script he get's after he creates a udl file and converts it to a txt file: [oledb] ; Everything after this line is an OLE DB initstring Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User ID=sales;Data Source=Dealer Information I got the DSN from the Description property of one of the attached tables. Here is the full Description. ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr vb,1433;TABLE=dbo.DEAL John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 From cfoust at infostatsystems.com Thu Jun 12 14:06:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 12:06:22 -0700 Subject: [AccessD] Replacing the C: drive on a server Message-ID: Ghost also has problem with laptop drive images. It works fine to drives in the same machine, but not between a laptop and an external drive. Charlotte Foust -----Original Message----- From: Fred Hooper [mailto:fahooper at trapo.com] Sent: Thursday, June 12, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server Temp and Tmp (usually they're the same directory) could also be taking up a lot of space. They can be emptied and/or moved to another drive. I've seen Ghost used to move the files on a single C: drive on W2000. The tech had a lot of trouble as Ghost wasn't easy to configure for SCSI disks with NTFS. If you can get it to work for a copy to a single drive, I'd think it should work the same way for another disk to be the mirrored pair. Fred |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka |Sent: Thursday, June 12, 2003 12:14 PM |To: 'accessd at databaseadvisors.com' |Subject: RE: [AccessD] Replacing the C: drive on a server | | |To get more space, put another drive in, and move the swap |file to it. That is probably taking a LARGE chunk of space up. | |Drew | |-----Original Message----- |From: John Colby [mailto:jcolby at colbyconsulting.com] |Sent: Thursday, June 12, 2003 7:47 AM |To: AccessD |Subject: [AccessD] Replacing the C: drive on a server | | |My client as a Windows NT 4x Server with a C: drive down to |80mb free. It had more until yesterday, when he tried to |install Access and Outlook. The installs failed due to lack |of space and wouldn't even uninstall. He has just plain |deleted the directories to get back up to 80mb. Obviously |this is bad - Windows doesn't like the C: drive to have no room. | |My question is, is it possible to go get a much larger hard |disk, and then somehow transfer the entire contents of the C: |drive onto the new drive such that it can be dropped in as the |C: drive and yet still be larger and have the extra room |available? My understanding of the imaging programs (Ghost |and the like) is that they create an exact image of the |original which would simply create a small partition on the |larger drive. | |The next issue is that the drive is mirrored. Is there any |way to just add two disks and "expand" the existing partition |to span the new disks? | |John W. Colby |www.colbyconsulting.com | | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Jun 12 14:15:13 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 12 Jun 2003 15:15:13 -0400 Subject: [AccessD] Globally logging onto a SQL Server db In-Reply-To: <000f01c33113$ea7d84a0$6401a8c0@papparuff> Message-ID: <001101c33116$f6ff3db0$97310cd8@hargrove.internal> Just add the userid and password info to the DSN and you should be home free. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: Thursday, June 12, 2003 2:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Globally logging onto a SQL Server db I'm having a devil of a time and I can use some assistance. I have a client who has two linked tables from a SQL database. He updates tables in a linked Access database from these two SQL tables each weekday through update queries. When he opens one of the tables or a query for the first time, he must always provide his userid and password. We want to automate the program and so we need to setup a method of automatically logging into the SQL database so that the queries will run without having to manually supply the userid and password. He is in Iowa and I'm in Washington so I don't have access to his SQL db to try and figure this out. Here's the script he get's after he creates a udl file and converts it to a txt file: [oledb] ; Everything after this line is an OLE DB initstring Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User ID=sales;Data Source=Dealer Information I got the DSN from the Description property of one of the attached tables. Here is the full Description. ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr vb,1433;TABLE=dbo.DEAL John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jun 12 14:14:14 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 20:14:14 +0100 Subject: [AccessD] Globally logging onto a SQL Server db References: <000f01c33113$ea7d84a0$6401a8c0@papparuff> Message-ID: <001001c33116$d1cd9aa0$37f66e51@martinreid> http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForSQLServer Connections for all occasions Martin ----- Original Message ----- From: "John Ruff" To: "accessd" Sent: Thursday, June 12, 2003 7:53 PM Subject: [AccessD] Globally logging onto a SQL Server db > I'm having a devil of a time and I can use some assistance. > > I have a client who has two linked tables from a SQL database. He > updates tables in a linked Access database from these two SQL tables > each weekday through update queries. When he opens one of the tables or > a query for the first time, he must always provide his userid and > password. We want to automate the program and so we need to setup a > method of automatically logging into the SQL database so that the > queries will run without having to manually supply the userid and > password. He is in Iowa and I'm in Washington so I don't have access to > his SQL db to try and figure this out. > > Here's the script he get's after he creates a udl file and converts it > to a txt file: > [oledb] > ; Everything after this line is an OLE DB initstring > > Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User > ID=sales;Data Source=Dealer Information > > I got the DSN from the Description property of one of the attached > tables. Here is the full Description. > > ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR > Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr > vb,1433;TABLE=dbo.DEAL > > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JRojas at tnco-inc.com Thu Jun 12 14:49:28 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 12 Jun 2003 15:49:28 -0400 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> Am I the only one who has ever looked for an Icon solution?!?! I have spent way too long trying to find a really nice, Windows XP style, icon collection! I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 color icons. This is very annoying! I finally came across http://design.iconfactory.com/pages/winicon/winicon.html. These guys make icons that are exactly the style I am looking for. After inquiring about their services they replied with telling me not only that they could not take on anymore projects at this time but that they charge hundreds of dollars per icon!! Does anyone on this list know of a website that makes icons similar to what can be found on the link above and doesn't charge an arm and a leg for them? Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mwp.reid at qub.ac.uk Thu Jun 12 15:14:56 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 21:14:56 +0100 Subject: [AccessD] Where the heck can I get good quality Icons??? References: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> Message-ID: <001001c3311f$4ca90b80$37f66e51@martinreid> http://www.aha-soft.com/iconxp/index.htm You could always haev a go at creating your own. Martin ----- Original Message ----- From: "Joe Rojas" To: Sent: Thursday, June 12, 2003 8:49 PM Subject: [AccessD] Where the heck can I get good quality Icons??? > Am I the only one who has ever looked for an Icon solution?!?! > > I have spent way too long trying to find a really nice, Windows XP style, > icon collection! > > I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 > color icons. This is very annoying! > I finally came across > http://design.iconfactory.com/pages/winicon/winicon.html. These guys make > icons that are exactly the style I am looking for. After inquiring about > their services they replied with telling me not only that they could not > take on anymore projects at this time but that they charge hundreds of > dollars per icon!! > > Does anyone on this list know of a website that makes icons similar to what > can be found on the link above and doesn't charge an arm and a leg for them? > > Thanks, > Joe R. > > > > > This electronic transmission is strictly confidential to TNCO, Inc. and > intended solely for the addressee. It may contain information which is > covered by legal, professional, or other privileges. If you are not the > intended addressee, or someone authorized by the intended addressee to > receive transmissions on behalf of the addressee, you must not retain, > disclose in any form, copy, or take any action in reliance on this > transmission. If you have received this transmission in error, please notify > the sender as soon as possible and destroy this message. While TNCO, Inc. > uses virus protection, the recipient should check this email and any > attachments for the presence of viruses. TNCO, Inc. accepts no liability for > any damage caused by any virus transmitted by this email. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From delliker at hotmail.com Thu Jun 12 15:19:05 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 16:19:05 -0400 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 12 15:55:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 15:55:43 -0500 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E3E@main2.marlow.com> Get Axialis icons (axialis.com). It will grab icons, and lets you make icons. That is probably going to be your best bet! Drew -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Thursday, June 12, 2003 2:49 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Where the heck can I get good quality Icons??? Am I the only one who has ever looked for an Icon solution?!?! I have spent way too long trying to find a really nice, Windows XP style, icon collection! I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 color icons. This is very annoying! I finally came across http://design.iconfactory.com/pages/winicon/winicon.html. These guys make icons that are exactly the style I am looking for. After inquiring about their services they replied with telling me not only that they could not take on anymore projects at this time but that they charge hundreds of dollars per icon!! Does anyone on this list know of a website that makes icons similar to what can be found on the link above and doesn't charge an arm and a leg for them? Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 15:59:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 14:59:51 -0600 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Access image control? Message-ID: <63340-220036412205951164@christopherhawkins.com> ---- Original Message ---- From: clh at christopherhawkins.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Canot display .jpg in Access image control? Date: Thu, 12 Jun 2003 12:07:19 -0600 >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From jbusergroups at optushome.com.au Thu Jun 12 16:53:16 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Fri, 13 Jun 2003 7:53:16 +1000 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <200306122152.h5CLqju26989@mail017.syd.optusnet.com.au> Hello Joe Rojas, http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ ======= At 2003-06-12, 15:49:00 you wrote: ======= >Am I the only one who has ever looked for an Icon solution?!?! > >I have spent way too long trying to find a really nice, Windows XP style, >icon collection! > = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B jbusergroups at optushome.com.au www.jbsolutions.com.au 2003-06-13 From selina at easydatabases.com.au Thu Jun 12 17:19:58 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 13 Jun 2003 08:19:58 +1000 Subject: [AccessD] Is MSWord.exe running?? References: <2F8793082E00D4119A1700B0D0216BF802226E3E@main2.marlow.com> Message-ID: <002f01c33130$c2597660$6465000a@venus> Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina From jim.hale at fleetpride.com Thu Jun 12 17:57:33 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 12 Jun 2003 17:57:33 -0500 Subject: [AccessD] Is MSWord.exe running?? Message-ID: <869379ABF177D4118D3100508B5EF8730656BD72@corp-es00> I modified this from code i use to close excel. It works but the line to save the word doc needs the correct syntax. HTH Jim Hale Function Word_is_running() As Boolean Dim appWord As Word.Application On Error Resume Next Set appWord = GetObject(, "Word.Application") Word_is_running = (Err.Number = 0) Set appWord = Nothing Err.Clear End Function Function CloseWord() As Boolean If Word_is_running = True Then Dim lngRetval As Long Dim appWord As Word.Application lngRetval = MsgBox( _ "Can Word be closed so I can proceed? All changes will be saved.", _ vbYesNo + vbExclamation + vbSystemModal + vbDefaultButton1, _ "Close Word") Select Case lngRetval Case vbYes On Error Resume Next Set appWord = GetObject(, "Word.Application") xlsClose appWord CloseWord = True Case vbNo CloseWord = False End Select Else CloseWord = True End If End Function Sub xlsClose(appWord As Word.Application) On Error Resume Next appWord.DisplayAlerts = False 'this syntax needs to be fixed: 'appWord.Close SaveChanges:=True appWord.Quit Set appWord = Nothing Exit_xlsClose: Exit Sub End Sub Sub test() CloseWord End Sub -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Thursday, June 12, 2003 5:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Is MSWord.exe running?? Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 12 18:30:30 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 13 Jun 2003 09:30:30 +1000 Subject: [AccessD] OT: the "Education" system References: Message-ID: <012701c3313a$9d34e720$54dd31d2@OfficePC> I think this comment is way out of line. You have just dismissed Tina's comments entirely - relegating her to a status you imagine her to have. Kath ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, June 13, 2003 2:21 AM Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Thu Jun 12 18:42:51 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 12 Jun 2003 18:42:51 -0500 Subject: [AccessD] Is MSWord.exe running?? Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF026E4344@PKDWB01C.ad.sprint.com> Selina, Have a look at Bryan Carbonnell's (July, 2002) articles on Word automation: http://www.databaseadvisors.com/newsletters.htm I believe he covers this topic in some detail. He includes things like handling Word sessions that are running when your code fires (you want to be sure that you don't hose the user's work by closing or otherwise messing with an existing session.) HTH! Don McGillivray -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Thursday, June 12, 2003 3:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Is MSWord.exe running?? Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:06:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:06:43 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: <3EE86AFB.2060807@torchlake.com> Message-ID: Hi Tina: I just could not let this go by without comment. I do have a degree, of sorts, if you count B of FA, few do. I would love to have the opportunity to go back to school to get a degree in Computer Science but reality rears it ugly head. With a family to keep and two kids going to university, my income is manditory. Maybe some rich unknown relative will die and leave me a small fortune, but that is unlikely. If someone out there is interested in bank-rolling a wonderful family of artists and geeks, for the next four or five years, you will receive our heart-felt thanks and I will have that degree in Computer Science. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 4:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:26:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:26:46 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: Hi John: Get a copy of Symantec's Ghost. It will copy byte per byte from one hard drive to another and even expand the partition out to the new size. You may have to do a file fix, from the 4 disk NT boot set, because NT gets confused when drive changes but that should be all...no data loss. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 5:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 12 20:34:05 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 13 Jun 2003 11:34:05 +1000 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Accessimage control? References: <63340-220036412205951164@christopherhawkins.com> Message-ID: <046901c3314b$e0c32720$3c619a89@DDICK> How?? Darren ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, June 13, 2003 6:59 AM Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Accessimage control? > > > ---- Original Message ---- > From: clh at christopherhawkins.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] Canot display .jpg in Access image control? > Date: Thu, 12 Jun 2003 12:07:19 -0600 > > >I know this is a "known issue" with Access. I also know that I have > >to "install the jpg decompression filter" in order to fix it. > >However, I have no clue as to where I can find this filter and how to > >install it. > > > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > > > >-Christopher- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:36:59 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:36:59 -0700 Subject: [AccessD] Make-Table Queries Combined In-Reply-To: <3EE87AA1.1040700@torchlake.com> Message-ID: Hi Tina: Large and complex queries are bound to start bouncing off system limits. The best way around this is to limit the query grouping and use temp files instead. The complexity is down, speed is back to normal and all that is needed is a bit of programming to manage and delete the temp files when the process is finished. This method should push a full job down to about half and hour. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Thu Jun 12 20:36:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 18:36:22 -0700 Subject: [AccessD] Columns w/o sacrificing headers Message-ID: I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. I want to have my report thus: this is my everypage header that is centered Date here page x of y here Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff I can't get it to be columner at all, let alone have a page header above. Here is what I've got so far: http://altadenabaptist.org/images/Image1.jpg If you enlarge to see detail on left, you'll see my layout so far including the column and width. On left part of right image, you'll see what I get, which is acceptable as far as it goes. But I want two columns, like I pasted on for the photo. I've done something similar on a web page. http://altadenabaptist.org/photos/photos.htm What do I need to do to get the layout I want? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From martyconnelly at shaw.ca Thu Jun 12 20:35:53 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 12 Jun 2003 18:35:53 -0700 Subject: [AccessD] OT: the "Education" system References: Message-ID: <3EE92A79.7020708@shaw.ca> Both computer certification and degrees have a best before date. Degrees are generally about 10 years longer especially in the sciences. For example, new biologists look down on older biologists who have never used Microarrays. Charlotte Foust wrote: >Take a look at http://innumeracy.com/ and/or read John Allen Poulos' >wonderful book, Innumeracy, for a look at how incompetent most adults >are when it comes to simple math, let alone algebra. > >Charlotte Foust > >-----Original Message----- >From: Tina Norris Fields [mailto:tinanfields at torchlake.com] >Sent: Thursday, June 12, 2003 4:14 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: the "Education" system > > >Mark, > >We have been ignoring the problem much too long. We already are >graduating generations of functionally illiterate adults. Think of how >many people cannot write a coherent English sentence. In a time when we > >are ever more dependent upon computers, which must be told exactly what >to do, in terms they can understand, where the absence of a semicolon or > >a period will blow code right out of the water - is this the time to >give up on teaching language skills and critical thinking? If we no >longer can say what we mean, or even be certain of what we do mean, how >can we properly program and control these stupid machines? > >I once taught an "electronic spreadsheet" course for my local college, >and discovered in the first day of class that 5 of my 16 students could >not figure out percentage and that 2 had gone all the way through high >school without learning any Algebra. They all expected the program to >do the analytical thinking for them and were apalled that they would >have to figure out what their formulas should be. After I got over the >shock, I redesigned the course to include the needed skills and >experience. And, yes, I built all my quizzes and exams as real problems > >and projects - absolutely no "multiple guess" questions. I hate those. > Almost always, a good case can be made for more than one answer, but >only the officially RIGHT answer gets any credit at all. > >Okay, I'll quit ranting. > >Tina > > >Mitsules, Mark wrote: > > > >>As an aside... I was told this morning from a spouse of a local >>elementary school teacher that the principal of said school has decided >> >> > > > >>NOT to hold back a single student this year. Students with >>unsatisfactory (we can't say "failing", can we?) grades across the >>board are being sent on regardless of teacher recommendations. Of >>course the principal is only part of the problem. The teacher is also >>aware of parents (most?, some?, all?) who were advised to hold back >>their child have chosen instead to let their child continue on. >> >> >>...I suppose if we ignore the problem long enough, it will eventually >>go away. :( >> >> >> >>Mark >> >> >>-----Original Message----- >>From: John Colby [mailto:jcolby at colbyconsulting.com] >>Sent: Wednesday, June 11, 2003 11:09 AM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] OT: the "Education" system >> >> >>I read something long ago that would indicate why this is so. >>According to this article, the university system as we know it got it's >> >> > > > >>start in the middle ages. The average Joe did not go to school, did >>not know how to read or write. Universities were originally designed >>to "educate" the sons and daughters of the ruling class. The intended >>subjects of the system did not work, they ruled. They had no need to >>"go get a job". They needed skills distinctly different from those >>needed today. >> >>Unfortunately those in power in the university system do it "the way it >> >> > > > >>has always been done". A classic example of this is the ludicrous >>practice of forcing medical interns to stay on duty 48 hours at a time >>with only a couple of hours sleep. Everyone acknowledges that this is >>dangerous, to the interns and even more so to the poor slob being seen >>by these sleep deprived interns. But... "that's the way it has always >>been done". >> >>And so we live in a world where the college graduate has been forced to >> >> > > > >>do the "choose two from basket weaving, choose two from music, choose >>two from science". Yep, been there, done that. What a waste. >> >>And of course the defenders of the system CLAIM that the purpose is not >> >> > > > >>to train them to do a particular job (which is actually a good thing) >>but to learn how to think. If only that were true! >> >>Try disputing anything the professor says and see how fast you are >>taught NOT to think! >> >>John W. Colby >>www.colbyconsulting.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >>Charles >>Sent: Wednesday, June 11, 2003 10:48 AM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] OT? - Certification >> >> >>Vlad, >> >>As a former college professor, I also notice that many of these "so >>called Highly Qualified Graduates" are not only "regurgitators of info" >> >> > > > >>with "no people skills whatsoever" but also have no analytical skills. >> >>At most of the colleges and universities that I taught at I was the >>only Computer Science faculty member that had any real-world experience >> >> > > > >>as a programmer/analyst. And I was the only one that designed my tests >> >> > > > >>as problems to solve, not multiple-guess or fill-in-the-blank type >>tests. I wanted my students to learn how to analyze and solve problems, >> >> > > > >>not regurgitate data, which a trained monkey can do. >> >>One of the reasons I quit teaching is I got tired of butting heads with >> >> > > > >>departmental chairs and school deans that didn't understand there was a >> >> > > > >>difference between theoretical knowledge and practical knowledge and >>that the graduate from a bachelor level program needs to have some >>practical knowledge if he/she is to expect to find a job in the real >>world. Only about 1% of the students could hope to become clones of >>their professors, they rest needed to be able to survive in the real >>world. >> >>Charles Wortz >>Software Development Division >>Texas Education Agency >>1701 N. Congress Ave >>Austin, TX 78701-1494 >>512-463-9493 >>CWortz at tea.state.tx.us >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bbruen at bigpond.com Thu Jun 12 20:40:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 11:40:46 +1000 Subject: [AccessD] Eliminating duplicate rows Message-ID: <000001c3314c$d20a9410$7f00a8c0@bbb888> Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce From accessd at shaw.ca Thu Jun 12 20:47:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:47:02 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: John...Smart move. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 9:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:00:48 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:00:48 -0600 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg inAccessimage control? Message-ID: <49810-2200365132048593@christopherhawkins.com> Total reinstall of Office. I'm not even sure which options were installed differently this time. it just...worked! -C- ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: Re: Solved! Never Mind. RE: [AccessD] Canot display .jpg inAccessimage control? Date: Fri, 13 Jun 2003 11:34:05 +1000 >How?? > >Darren > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Friday, June 13, 2003 6:59 AM >Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in >Accessimage control? > > >> >> >> ---- Original Message ---- >> From: clh at christopherhawkins.com >> To: accessd at databaseadvisors.com, >> Subject: RE: [AccessD] Canot display .jpg in Access image control? >> Date: Thu, 12 Jun 2003 12:07:19 -0600 >> >> >I know this is a "known issue" with Access. I also know that I >have >> >to "install the jpg decompression filter" in order to fix it. >> >However, I have no clue as to where I can find this filter and >how to >> >install it. >> > >> >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... >> > >> >-Christopher- >> > >> >_______________________________________________ >> >AccessD mailing list >> >AccessD at databaseadvisors.com >> >http://databaseadvisors.com/mailman/listinfo/accessd >> >Website: http://www.databaseadvisors.com >> > >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Jun 12 21:07:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:07:06 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: My father had a fairly different view of the world, from many here. Real men, didn't work in offices they built and fixed things. There were men with trades and then there were 'whimps'. He working in construction all his life, ran his own construction company until he retired and was proud of his superiority. A sort of inverse snobbery. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:04:50 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:04:50 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? Message-ID: <6640-2200365132450109@christopherhawkins.com> So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- From DWUTKA at marlow.com Thu Jun 12 21:12:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:12:56 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E45@main2.marlow.com> I hear ya brother. I only have one kid, but between work, home, and contract work, I don't have time to get a degree, let alone the money! Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, June 12, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Hi Tina: I just could not let this go by without comment. I do have a degree, of sorts, if you count B of FA, few do. I would love to have the opportunity to go back to school to get a degree in Computer Science but reality rears it ugly head. With a family to keep and two kids going to university, my income is manditory. Maybe some rich unknown relative will die and leave me a small fortune, but that is unlikely. If someone out there is interested in bank-rolling a wonderful family of artists and geeks, for the next four or five years, you will receive our heart-felt thanks and I will have that degree in Computer Science. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 4:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:14:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:14:35 -0500 Subject: [AccessD] Eliminating duplicate rows Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E46@main2.marlow.com> I believe you can use Distinct Row (Just look up Distinct in the help files). Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 12, 2003 8:41 PM To: accessd at databaseadvisors.com Subject: [AccessD] Eliminating duplicate rows Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:04:50 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:04:50 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? Message-ID: <6640-2200365132450109@christopherhawkins.com> So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:17:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:17:40 -0500 Subject: [AccessD] Columns w/o sacrificing headers Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E47@main2.marlow.com> I thought you got an Access report to run multiple columns by making it's width small enough to do so? Sorry, a little groggy at the moment, I could be way off. Drew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Thursday, June 12, 2003 8:36 PM To: dbAdvisors (AccessD) Subject: [AccessD] Columns w/o sacrificing headers I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. I want to have my report thus: this is my everypage header that is centered Date here page x of y here Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff I can't get it to be columner at all, let alone have a page header above. Here is what I've got so far: http://altadenabaptist.org/images/Image1.jpg If you enlarge to see detail on left, you'll see my layout so far including the column and width. On left part of right image, you'll see what I get, which is acceptable as far as it goes. But I want two columns, like I pasted on for the photo. I've done something similar on a web page. http://altadenabaptist.org/photos/photos.htm What do I need to do to get the layout I want? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:26:34 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:26:34 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E48@main2.marlow.com> Actually, I know where he is coming from. I was a mechanic for years. One of the many similarities between being a mechanic, and being in the computer field, is that most of the people that use what you create at work, have no clue of how it works, nor do they have an inkling of appreciation for the sweat and tears involved. I saw The Matrix Reloaded. In that movie, there is an interesting scene between Neo, and the leader of Zion. The leader takes Neo down to the inner depths of Zion, and shows him the 'engine room', per se. He explains that all of the machinery down there keeps them alive and well, but no one cares about it, or even tries to figure out how it works, until something goes wrong. There was another point to that conversation (he was trying to explain to Neo that people depend on machines just as much as machines depend on them...it's a never ending circle.), but the point I doubt many people caught, was that we take a lot of things for granted. Now I don't know if your father would agree that a lot of the aggrevation between a hard labor job does occur with a 'brainy' desk job, like an IT Tech, but there are very similar strains. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, June 12, 2003 9:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system My father had a fairly different view of the world, from many here. Real men, didn't work in offices they built and fixed things. There were men with trades and then there were 'whimps'. He working in construction all his life, ran his own construction company until he retired and was proud of his superiority. A sort of inverse snobbery. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 21:28:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:28:31 -0700 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: Hi Bruce: You could use something like this: select distinctrow first([Myfield1]) AS [Myfield1 Field], first([Myfield2]) AS [Myfield2 Field], count([Myfield1]) AS NumberOfDuplicates from MyTable group by Myfield1, Myfield2 having count([Myfield1]) > 1 and count([Myfield2]) > 1 This will at least expose your duplicates. Note the use of Access's First function to set the table position to the first match. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Thursday, June 12, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: [AccessD] Eliminating duplicate rows Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 21:37:11 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:37:11 -0700 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? In-Reply-To: <6640-2200365132450109@christopherhawkins.com> Message-ID: Hi Christopher: In order for the process to work you will need two copies of the picture, one the thumbnail and one the full-size version. They could he named like 'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to force a image to a specific size on a web page. Too much process and a poor quality images. Check out the tag for html coding. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 12, 2003 7:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 12 21:39:08 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 12 Jun 2003 19:39:08 -0700 Subject: [AccessD] Phun with Excel / automation References: Message-ID: <3EE9394C.2010405@shaw.ca> You can get at it this way using ADO 2.7 with something like this Dim oConn As New ADODB.Connection Dim Ors As ADODB.Recordset Dim c as long Set Ors = New ADODB.Recordset With oConn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Extended Properties").Value = "Excel 8.0" .Open "C:\Excel\ExcelADO\results\Products.xls" .CursorLocation = adUseClient 'need otherwise recordcount=-1 '.... Ors.Open "Select * from [Products]", oConn, adOpenStatic 'Sheet1$ or Products sheetname For c = 0 To Ors.RecordCount - 1 'the field order of columns does not always follow the sheet order Debug.Print Ors.Fields(0).Value; Ors.Fields(0).Name Debug.Print Ors.Fields(1).Value Ors.MoveNext 'just stuff these values in a table Next End With oConn.Close ------------------ or look at the schema of the sheet for sheet names and field names and types Dim oConn As New ADODB.Connection Dim rst As New ADODB.Recordset Dim intTblCnt As Integer, intTblFlds As Integer Dim strTbl As String Dim rstSch As ADODB.Recordset Dim rsC As ADODB.Recordset Dim Ors As ADODB.Recordset Dim intColCnt As Integer, intColFlds As Integer Dim strCol As String Dim t As Integer, c As Integer, f As Integer With oConn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Extended Properties").Value = "Excel 8.0" .Open "C:\Excel\ExcelADO\results\Products.xls" .CursorLocation = adUseClient 'need otherwise recordcount=-1 '.... 'Me.cmbSheetCombo.RowSource = rst Set rstSch = oConn.OpenSchema(adSchemaTables) intTblCnt = rstSch.RecordCount intTblFlds = rstSch.Fields.Count MsgBox intTblCnt & "*?" & intTblFlds 'List1.AddItem "Tables: " & intTblCnt 'List1.AddItem "--------------------" Dim strList As String strList = "" For t = 1 To intTblCnt strTbl = rstSch.Fields("TABLE_NAME").Value Debug.Print vbTab & "Table #" & t & ": " & strTbl Debug.Print vbTab & "--------------------" MsgBox strTbl strList = strList & strTbl & ";" For f = 0 To intTblFlds - 1 Debug.Print vbTab & rstSch.Fields(f).Name & _ vbTab & rstSch.Fields(f).Value Next ' List1.AddItem "--------------------" Set rsC = oConn.OpenSchema(adSchemaColumns, Array(Empty, Empty, strTbl, Empty)) intColCnt = rsC.RecordCount intColFlds = rsC.Fields.Count For c = 1 To intColCnt strCol = rsC.Fields("COLUMN_NAME").Value Debug.Print vbTab & vbTab & "Column #" & c & ": " & strCol Debug.Print vbTab & vbTab & "--------------------" For f = 0 To intColFlds - 1 ' Debug.Print vbTab & vbTab & rsC.Fields(f).Name & _ ' vbTab & rsC.Fields(f).Value Next 'List1.AddItem vbTab & vbTab & "--------------------" rsC.MoveNext Next rsC.Close 'List1.AddItem "--------------------" Next End With oConn.Close Don Elliker wrote: > Then I am back to the "There is no object in this control" error > reported earlier. This comes up when attempting to import using the > wizard....I just AM screwed am I not? Well , I have the no-help desk > personnel coming for a visit later > _D > > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > >Once the Import Spreadsheet Wizard starts you should see two radio > button > >(Show Worksheets and Show Named Ranges). Make sure the Show > Worksheets >one is checked and then you should see a list of the > worksheets within >your file. Then just select the one you want to > import and keep answering >the wizard's questions. Repeat the process > for each worksheet to import. > > > > >"Don Elliker" >Sent by: > accessd-bounces at databaseadvisors.com >06/12/2003 10:46 AM >Please > respond to accessd > > > To: accessd at databaseadvisors.com > cc: > > Subject: [AccessD] Phun with Excel / automation > > >Folks, >I am > trying to import ,on a one time basis , the data from an excel > >workbook into Access XP. I can't use the 'import data' option, it > only >gets me the first worksheet (or am I doing it wrong?). I can get > to the >workbook in code easily enough but there seems no easy way to > get the >individual worksheets imported into separate tables. I tried > using the >'transferspreadsheet' docmd thingie, but it gets hung up on > the file name. >I cannot just reference the worksheet object- it > doesn't like that. I >thought it was working out too easily...#-( - > Sooo...does anyone have >this experience...this is a one-off I just > want the data in tables. >"Things are only free to the extent that you > don't pay for them".-Don >Elliker > >Add photos to your e-mail with > MSN 8. Get 2 months > 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 > > ------------------------------------------------------------------------ > MSN 8 helps ELIMINATE E-MAIL VIRUSES. > Get 2 months FREE*. > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From clh at christopherhawkins.com Thu Jun 12 21:52:34 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:52:34 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Message-ID: <63340-22003651325234874@christopherhawkins.com> OK, let me ask this, then: Is there a way to embed Windows Explorer into a VB form? -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Date: Thu, 12 Jun 2003 19:37:11 -0700 >Hi Christopher: > >In order for the process to work you will need two copies of the >picture, >one the thumbnail and one the full-size version. They could he named >like >'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to >force a >image to a specific size on a web page. Too much process and a poor >quality >images. Check out the tag for html coding. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] VB6: Using the Webbrowser control to view files - >Thumbnail view? > > >So here's my dilemma. > >I have a form that is displaying data from a database. > >My client wants to see a thumnail of all the images that are related >to the record being viewed - the images are stored in a folder with >the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but I need to >see a thumbnail view, not a list view. > >I can right-click in the control and select View > Thumbnail, but my >client wants the images to appear in thumbnail view without his users >having to do anything. > >I am thus far unable to find a property of the WebBrowser control >that would allow this, and Google has failed me. Does anyone have >any ideas? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From harkins at iglou.com Thu Jun 12 23:02:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 00:02:46 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: <007801c33160$c0b08080$d8ecffcc@SusanOne> Use the Duplicates Wizard to find the duplicates. Then, open the SQL window and change the SELECT to DELETE... make copies of your table and test it first -- just to be safe. Susan H. > Dear List, > > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way to > delete the redundant rows. > > I have used the previously discussed method of using a max (recID) > subquery in a delete query before, but it will only eliminate one of the > duplicates at a time. > > Short of running the delete query over and over until they are removed, > is there a way to get rid of all but one of the duplicates? > > tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From michael.mattys at adelphia.net Thu Jun 12 23:21:26 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 13 Jun 2003 00:21:26 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000001c3314c$d20a9410$7f00a8c0@bbb888> <007801c33160$c0b08080$d8ecffcc@SusanOne> Message-ID: <004d01c33163$448d7370$6401a8c0@default> Also ... if your data can fit this scenerio, try this: Create a structure only copy of your table, go into design mode and set an index on the data you do not want to be duplicated, and set the duplicates allowed property to NO. Copy all the data from your first table to your second table. A database error will result telling you that the number of duplicate records not allowed to be copies, however all of the other records will be copied successfully. Your second table is now your duplicate free table. Michael R. Mattys www.mattysconsulting.com > > Dear List, > > > > Due to a (ahem) programming feature, I now have a table with several > > thousand rows of which hundreds are redundant. I am loking for a way to > > delete the redundant rows. > > > > I have used the previously discussed method of using a max (recID) > > subquery in a delete query before, but it will only eliminate one of the > > duplicates at a time. > > > > Short of running the delete query over and over until they are removed, > > is there a way to get rid of all but one of the duplicates? > > > > tia > > Bruce > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Jun 12 23:37:48 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jun 2003 14:37:48 +1000 Subject: [AccessD] Columns w/o sacrificing headers In-Reply-To: Message-ID: <3EE9E1BC.6309.16F4C40@localhost> In Report Design View. Go to the File-Page Setup-Columns tab. Make sure "Column size - Same as Detail" is NOT ticked, otherwise, you can't stretch the Page header over the two columns. On 12 Jun 2003 at 18:36, Kathryn Bassett wrote: > I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. > > I want to have my report thus: > > this is my everypage header that is centered > Date here page x of y here > > Last - First photo Last - First photo > xyz stuff xyz stuff > > Last - First photo Last - First photo > xyz stuff xyz stuff > > Last - First photo Last - First photo > xyz stuff xyz stuff > > I can't get it to be columner at all, let alone have a page header above. > Here is what I've got so far: > http://altadenabaptist.org/images/Image1.jpg > If you enlarge to see detail on left, you'll see my layout so far including the column and width. > On left part of right image, you'll see what I get, which is acceptable as far as it goes. > But I want two columns, like I pasted on for the photo. > > I've done something similar on a web page. > http://altadenabaptist.org/photos/photos.htm > > What do I need to do to get the layout I want? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Fri Jun 13 00:47:31 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 22:47:31 -0700 Subject: SOLVED - RE: [AccessD] Columns w/o sacrificing headers In-Reply-To: <3EE9E1BC.6309.16F4C40@localhost> Message-ID: Wow, there are property settings all kinds of places that I didn't thing to look. Thanks so much, Stuart - that did the trick! Here's my result: http://altadenabaptist.org/images/Image2.jpg Now to pose another question but in a new subject line called "IF-Then in a report" -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 12 Jun 2003 9:38:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] Columns w/o sacrificing headers > > > In Report Design View. > > Go to the File-Page Setup-Columns tab. > > Make sure "Column size - Same as Detail" is NOT ticked, otherwise, > you can't stretch the Page header over the two columns. > > > > > > > On 12 Jun 2003 at 18:36, Kathryn Bassett wrote: > > > I'm trying to do something that I know I can do with WordPerfect picking up data > from Access, but I'm trying to do it with an Access report instead. > > > > I want to have my report thus: > > > > this is my everypage header that is centered > > Date here page x of y here > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > I can't get it to be columner at all, let alone have a page header above. > > Here is what I've got so far: > > http://altadenabaptist.org/images/Image1.jpg > > If you enlarge to see detail on left, you'll see my layout so far including the > column and width. > > On left part of right image, you'll see what I get, which is acceptable as far as it goes. > > But I want two columns, like I pasted on for the photo. > > > > I've done something similar on a web page. > > http://altadenabaptist.org/photos/photos.htm > > > > What do I need to do to get the layout I want? > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From kathryn at bassett.net Fri Jun 13 01:03:26 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 23:03:26 -0700 Subject: [AccessD] If-Then in a report Message-ID: Thanks again to Stuart, my report is almost exactly what I want (except final lining up etc): http://altadenabaptist.org/images/Image2.jpg Next, I want to know how to make the Connections *label* to only show up if there is content in the field. Going back to the image that shows the layout: http://altadenabaptist.org/images/Image1.jpg you can see how it's set at present. I know how to trim in the content, but not how to make the label appear/disappear. My thoughts are: If the field called "connections" is not blank, then print Connections followed by a colon and then a space, and then the contents of the Connections field. I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. I tried this: =trim(Connections: & " " & [connections]) but it tells me I've entered an operand without an operator. I need the correct syntax, and also need to know if I'm right that if the connections field is empty, it will not put anything, including the Connections: or is there some other solution? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From accessd at shaw.ca Fri Jun 13 02:29:22 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 00:29:22 -0700 Subject: [AccessD] VB6: Using the Webbrowser control to view files-Thumbnail view? In-Reply-To: <63340-22003651325234874@christopherhawkins.com> Message-ID: Hi Christopher: Yes there is: Option Explicit Public 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 Const SW_SHOWNORMAL = 1 Private Sub frmButton01_Click() Call ShellExecute(0&, "Open", _ "explorer.exe", "/e,/n,c:\", _ 0&, SW_SHOWNORMAL) End Sub Something like this would work. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 12, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files-Thumbnail view? OK, let me ask this, then: Is there a way to embed Windows Explorer into a VB form? -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Date: Thu, 12 Jun 2003 19:37:11 -0700 >Hi Christopher: > >In order for the process to work you will need two copies of the >picture, >one the thumbnail and one the full-size version. They could he named >like >'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to >force a >image to a specific size on a web page. Too much process and a poor >quality >images. Check out the tag for html coding. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] VB6: Using the Webbrowser control to view files - >Thumbnail view? > > >So here's my dilemma. > >I have a form that is displaying data from a database. > >My client wants to see a thumnail of all the images that are related >to the record being viewed - the images are stored in a folder with >the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but I need to >see a thumbnail view, not a list view. > >I can right-click in the control and select View > Thumbnail, but my >client wants the images to appear in thumbnail view without his users >having to do anything. > >I am thus far unable to find a property of the WebBrowser control >that would allow this, and Google has failed me. Does anyone have >any ideas? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Fri Jun 13 02:45:10 2003 From: lists at theopg.com (Mark H) Date: Fri, 13 Jun 2003 08:45:10 +0100 Subject: [AccessD] Access Data Retrieval In-Reply-To: <657FB70438B7D311AF320090279C1801026D7A4A@EXCHMAIL> Message-ID: <002b01c3317f$b7f41460$6f8387d9@laptop> And you can always use MSDE which is free with Office... :o) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 12 June 2003 19:42 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Fri Jun 13 01:53:27 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 13 Jun 2003 16:53:27 +1000 Subject: [AccessD] BEU Updater References: Message-ID: <000001c33182$75a1e6c0$54dd31d2@OfficePC> Thanks Bryan and Reuben - I've been swamped today - I'll go through this and try again in the next day or so. Kath ----- Original Message ----- From: Reuben Cummings To: accessd at databaseadvisors.com Sent: Friday, June 13, 2003 1:15 AM Subject: RE: [AccessD] BEU Updater Bryan has mentioned the best first step. That is to change the from and to version numbers of the 2nd mod. If the BEU doens't see any mods with a version number greater than the version of the BE then it doesn't do anything. Changing the version numbers will force the BEU to attemp the 2nd mod. Then if it fails look at the error log. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, June 12, 2003 7:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] BEU Updater > > > Kath, > > Did you run beuDBAisDBUptodate before you added the second mod? > > If so, you need to increase the version number for the second mod. > > Once the BEU hits the first mod in a version that is marked as > being applied it determines that the upgrade for that version has > already been done. > > If it you tried to do both mods at the same time and it didn't do > the second mods, have a look at the error log in the FE > directory. THat may give you some clues as to why it didn't work. > > Failing all that, if you want, you can send me the error log, the > following two tables: tblDBAModifyDatabase > tblDBAModifyDatabaseMods, and the version number in tblDBAversion > and I'll see what I can see. > > You can send them to bryan_carbonnell at cbc.ca > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> > Hi everybody - > > I have just started using the BEU tool. I clicked on 'Insert mod' > and added my first modification, which was table, add field. > field = directorname > txt, size 75 to tblx. > > I then clicked on 'new mod' to add the same modification for a > different table, ie. to insert a new field of the same name. > > I made a call to the beuDBAIsDBUpToDate routine and now find that > it only made the first modification, not the second. > > When I go back into frmdbamain it shows the first modification as > applied, but the second not. Now I cannot get that second > modification to happen. When I re trigger the beuDBAIsDBUpToDate > routine it appears to ignore the 2nd mod. > > (I have manually added the field myself to check that the field > name / size etc is Ok and then undone that manual change). > > Since these 2 mods have to go into my production version early > next week, any tips? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 05:08:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 12:08:41 +0200 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <000001c3314c$d20a9410$7f00a8c0@bbb888> References: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: <6611637053.20030613120841@cactus.dk> Hi Bruce > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way to > delete the redundant rows. You may use an idea I received once from Bill (William) Mitchell for a similar job (is he still with us?). The trick is the use of "Not In" which frees you from locking the main table: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Have fun. /gustav From carbonnb at sympatico.ca Fri Jun 13 05:10:13 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 06:10:13 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: Message-ID: <3EE96AC5.4065.26C282@localhost> On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Connections field. I'm guessing it is done by somehow using the trim > (& not using the label), but can't figure out the exact syntax. I > tried this: =trim(Connections: & " " & [connections]) but it tells me > I've entered an operand without an operator. In the On Format event of the Details section add this code: If Connections = "" then [ConnectionsLabel].visible = false else [ConnectionsLabel].visible = true end if If you try and concatenate "Connections" onto the front of the Connections Field you will most likely end up with something like this for multiple lines: Connections: Bassett, Bennet Bevins, Test of instead of it being lined up like this (which probably won't look right either :) Connections: Bassett, Bennet Bevins, Test of -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. From stuart at lexacorp.com.pg Fri Jun 13 06:30:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jun 2003 21:30:35 +1000 Subject: [AccessD] If-Then in a report In-Reply-To: Message-ID: <3EEA427B.30631.2E93AB3@localhost> On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Thanks again to Stuart, my report is almost exactly what I want (except final lining up etc): > http://altadenabaptist.org/images/Image2.jpg > > Next, I want to know how to make the Connections *label* to only show up if there is content in the field. > Going back to the image that shows the layout: > http://altadenabaptist.org/images/Image1.jpg > you can see how it's set at present. I know how to trim in the content, but not how to make the label appear/disappear. My thoughts are: > If the field called "connections" is not blank, then print Connections followed by a colon and then a space, and then the contents of the Connections field. > I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. > I tried this: > =trim(Connections: & " " & [connections]) > but it tells me I've entered an operand without an operator. > > I need the correct syntax, and also need to know if I'm right that if the connections field is empty, it will not put anything, including the Connections: or is there some other solution? > Looks like Label17 is not tied to the connections field. In that case. in your Detail_format() put: If connections < " " then connections.visible = false label17.visible = false else connections.visible = true label17.visible = true end if or if connections can be null you need if nz(connections,"") < " " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From actebs at actebs.com.au Fri Jun 13 06:52:34 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 21:52:34 +1000 Subject: [AccessD] Where's William Message-ID: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> Gustav, You bring up a good point - "Where is Mr Hindman"??? Is he still active on this list? Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:13:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:13:05 +0200 Subject: [AccessD] Where's William In-Reply-To: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> References: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> Message-ID: <3819100274.20030613141305@cactus.dk> Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still active > on this list? From bbruen at bigpond.com Fri Jun 13 07:21:05 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 22:21:05 +1000 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <6611637053.20030613120841@cactus.dk> Message-ID: <000b01c331a6$43f9ea90$7f00a8c0@bbb888> Thanks to you all! Gustav ( and Bill!) get the Guernsey as further investigations revealed that we want to keep the last (latest added) record. So by changing First to Max (surrogate PK - but of course! At least I got that right) this is a sweet and elegant way of removing the dups. Susan, I think your method will delete all records that are duplicates. Moral lesson learnt: Carving fixes at 2:00am is not a good idea if you cant even tell the difference between Insert and Update. Thanks to all Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, June 13, 2003 8:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Eliminating duplicate rows Hi Bruce > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way > to delete the redundant rows. You may use an idea I received once from Bill (William) Mitchell for a similar job (is he still with us?). The trick is the use of "Not In" which frees you from locking the main table: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Have fun. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Fri Jun 13 07:23:31 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 22:23:31 +1000 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <3819100274.20030613141305@cactus.dk> Message-ID: <000c01c331a6$9ab80830$7f00a8c0@bbb888> Which one was(is) the "mad cow chaser"? I miss him. B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, June 13, 2003 10:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still > active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at eunet.yu Fri Jun 13 07:29:03 2003 From: viner at eunet.yu (Ervin Brindza) Date: Fri, 13 Jun 2003 14:29:03 +0200 Subject: [AccessD] TOP n ordered book Message-ID: <001301c331a7$67b63640$0100a8c0@razvoj> Hi, I have a table with 2 columns: BookId BookOrdered 1 10 2 25 1 2 3 50 1 3 and want to get the top e.g. 2 most popular books: BookId BookOrdered 3 50 2 25 Are there any clue? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:38:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:38:05 +0200 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <000c01c331a6$9ab80830$7f00a8c0@bbb888> References: <000c01c331a6$9ab80830$7f00a8c0@bbb888> Message-ID: <9420600742.20030613143805@cactus.dk> Hi Bruce That was Bill Marriott I faintly recall he did sign off. /gustav > Which one was(is) the "mad cow chaser"? I miss him. > B > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, June 13, 2003 10:13 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > Hi Vlad > Well, that's another Bill/William - and he's probably busy trying to > figure out some Active Directory fun stuff which keeps chasing him ... > /gustav >> You bring up a good point - "Where is Mr Hindman"??? Is he still >> active on this list? From jscott at mchsi.com Fri Jun 13 07:42:24 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Fri, 13 Jun 2003 07:42:24 -0500 Subject: [AccessD] TOP n ordered book In-Reply-To: <001301c331a7$67b63640$0100a8c0@razvoj> Message-ID: Try this: Select TOP 2 from tblBooks Order By BookOrdered DESC Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ervin Brindza Sent: Friday, June 13, 2003 7:29 AM To: AccessD at databaseadvisors.com Subject: [AccessD] TOP n ordered book Hi, I have a table with 2 columns: BookId BookOrdered 1 10 2 25 1 2 3 50 1 3 and want to get the top e.g. 2 most popular books: BookId BookOrdered 3 50 2 25 Are there any clue? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:41:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:41:58 +0200 Subject: [AccessD] TOP n ordered book In-Reply-To: <001301c331a7$67b63640$0100a8c0@razvoj> References: <001301c331a7$67b63640$0100a8c0@razvoj> Message-ID: <4320833857.20030613144158@cactus.dk> Hi Ervin Yes! Look up: "Selecting Nth Max or Min from a table" in the archive at 2003-05-01. /gustav > I have a table with 2 columns: > > BookId BookOrdered > 1 10 > 2 25 > 1 2 > 3 50 > 1 3 > > and want to get the top e.g. 2 most popular books: > BookId BookOrdered > > 3 50 > 2 25 > > Are there any clue? From actebs at actebs.com.au Fri Jun 13 08:17:27 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 23:17:27 +1000 Subject: [AccessD] Where's William In-Reply-To: <3819100274.20030613141305@cactus.dk> Message-ID: <002601c331ae$2305d080$0c05a8c0@earth.local> Gustav, Hmmm, Active Directory...Excitement city....NOT!!! I feel for the guy... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 13 June 2003 10:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still > active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 13 08:19:56 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 23:19:56 +1000 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <9420600742.20030613143805@cactus.dk> Message-ID: <002701c331ae$7eca17f0$0c05a8c0@earth.local> Yeah, I remember him - nice bloke. Wasn't he mucking around with a Cow tracking DB or something years ago? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 13 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: Re: OT: RE: [AccessD] Where's William Hi Bruce That was Bill Marriott I faintly recall he did sign off. /gustav > Which one was(is) the "mad cow chaser"? I miss him. > B > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Friday, June 13, 2003 10:13 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > Hi Vlad > Well, that's another Bill/William - and he's probably busy trying to > figure out some Active Directory fun stuff which keeps chasing him ... > /gustav >> You bring up a good point - "Where is Mr Hindman"??? Is he still >> active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Jun 13 09:06:22 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 08:06:22 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Message-ID: <91070-22003651314622313@christopherhawkins.com> Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From harkins at iglou.com Fri Jun 13 09:23:57 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 10:23:57 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000b01c331a6$43f9ea90$7f00a8c0@bbb888> Message-ID: <003f01c331b7$9d484040$fae6ffcc@SusanOne> > > Susan, I think your method will delete all records that are duplicates. ============You mean both records? Could be -- I didn't actually try it and it's been a while since I used the wizard for duplicates so I couldn't remember the SQL it used. Too bad -- would be an easy solution if it worked. Susan H. From harkins at iglou.com Fri Jun 13 09:25:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 10:25:09 -0400 Subject: [AccessD] Where's William References: <002601c331ae$2305d080$0c05a8c0@earth.local> Message-ID: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the guy... From delliker at hotmail.com Fri Jun 13 09:43:53 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 13 Jun 2003 10:43:53 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Jun 13 09:48:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 09:48:58 -0500 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thu mbnail view? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4C@main2.marlow.com> Just an off the wall suggestion. Why not build either a custom form or web page, that does what you are trying to do? It would probably be easier then trying to modify something that's out there already. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 13, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scotttgage at yahoo.com Fri Jun 13 09:52:54 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Fri, 13 Jun 2003 07:52:54 -0700 (PDT) Subject: [AccessD] Syntex help In-Reply-To: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Message-ID: <20030613145254.19629.qmail@web10412.mail.yahoo.com> I need some help with a piece of VB code in Access. My Db has records that I need to e-mail to seven users. I built a tbl to house these addresses and want to dim a Var to = the right record and field in this tbl. dim mailoh as string mailoh = ????????????? mailoh = Mail.Admin_mail:=1 [didn't work] DoCmd.TransferText acExportFixed, "Send", "Send", Pathname MyItem.Subject = "Lab100 results" MyItem.Body = "Blah, Blah, Blah" MyItem.To = mailoh (where "mailoh" is equal to tblMail. strStateMail.Record # 1) MyItem.Attachments.Add Pathname MyItem.Send Do I have to tie this tbl to a form and use the GoToRecord Action? ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From cfoust at infostatsystems.com Fri Jun 13 10:47:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 08:47:30 -0700 Subject: [AccessD] If-Then in a report Message-ID: label17.visible = len(Me.Connections & "")>0 Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, June 13, 2003 3:31 AM To: Kathryn Bassett; accessd at databaseadvisors.com Subject: Re: [AccessD] If-Then in a report On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Thanks again to Stuart, my report is almost exactly what I want > (except final lining up etc): > http://altadenabaptist.org/images/Image2.jpg > > Next, I want to know how to make the Connections *label* to only show > up if there is content in the field. Going back to the image that > shows the layout: http://altadenabaptist.org/images/Image1.jpg > you can see how it's set at present. I know how to trim in the > content, but not how to make the label appear/disappear. My thoughts > are: If the field called "connections" is not blank, then print > Connections followed by a colon and then a space, and then the > contents of the Connections field. I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. I tried this: > =trim(Connections: & " " & [connections]) > but it tells me I've entered an operand without an operator. > > I need the correct syntax, and also need to know if I'm right that if > the connections field is empty, it will not put anything, including > the Connections: or is there some other solution? > Looks like Label17 is not tied to the connections field. In that case. in your Detail_format() put: If connections < " " then connections.visible = false label17.visible = false else connections.visible = true label17.visible = true end if or if connections can be null you need if nz(connections,"") < " " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 13 10:48:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 08:48:27 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Oh, yeah, and try restoring a backup in it. Charlotte Foust -----Original Message----- From: Mark H [mailto:lists at theopg.com] Sent: Thursday, June 12, 2003 11:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval And you can always use MSDE which is free with Office... :o) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 12 June 2003 19:42 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 13 11:23:13 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 02:23:13 +1000 Subject: [AccessD] Where's William In-Reply-To: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Message-ID: <003601c331c8$194a5d30$0c05a8c0@earth.local> Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Fri Jun 13 11:27:58 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Fri, 13 Jun 2003 09:27:58 -0700 Subject: [AccessD] Where the heck can I get good quality Icons??? References: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> <001001c3311f$4ca90b80$37f66e51@martinreid> Message-ID: <00af01c331c8$c0ad9f10$fd512304@amd2k> My favorite Icon creation utility is Happy Icon check it out here.. http://www.logipole.com/ Why do I like it so much? cuz I can take anything (pictures) images, drawings, whatever, printscreen to bmp or whatever and make it an ICON. I highly recommend it, plus it creates all sorts of icons including the ability of creating cursors and animated cursors (if that's your bag). Features include icon sets that are fully compatible w/ Winodws XP -Francisco http://rcm.netfirms.com/ On Thursday, June 12, 2003 1:14 PM [GMT -8], Martin Reid wrote: : http://www.aha-soft.com/iconxp/index.htm : : You could always haev a go at creating your own. : : Martin : : : ----- Original Message ----- : From: "Joe Rojas" : To: : Sent: Thursday, June 12, 2003 8:49 PM : Subject: [AccessD] Where the heck can I get good quality Icons??? : : :: Am I the only one who has ever looked for an Icon solution?!?! :: :: I have spent way too long trying to find a really nice, Windows XP :: style, icon collection! :: :: I have gone to hundreds of websites only to find crappy, old, 2D :: looking, 16 color icons. This is very annoying! :: I finally came across :: http://design.iconfactory.com/pages/winicon/winicon.html. These guys :: make icons that are exactly the style I am looking for. After :: inquiring about their services they replied with telling me not only :: that they could not take on anymore projects at this time but that :: they charge hundreds of dollars per icon!! :: :: Does anyone on this list know of a website that makes icons similar :: to what can be found on the link above and doesn't charge an arm and :: a leg for them? :: :: Thanks, :: Joe R. :: :: :: :: :: This electronic transmission is strictly confidential to TNCO, Inc. :: and intended solely for the addressee. It may contain information :: which is covered by legal, professional, or other privileges. If you :: are not the intended addressee, or someone authorized by the :: intended addressee to receive transmissions on behalf of the :: addressee, you must not retain, disclose in any form, copy, or take :: any action in reliance on this transmission. If you have received :: this transmission in error, please notify the sender as soon as :: possible and destroy this message. While TNCO, Inc. uses virus :: protection, the recipient should check this email and any :: attachments for the presence of viruses. TNCO, Inc. accepts no :: liability for any damage caused by any virus transmitted by this :: email. _______________________________________________ :: AccessD mailing list :: AccessD at databaseadvisors.com :: http://databaseadvisors.com/mailman/listinfo/accessd :: Website: http://www.databaseadvisors.com :: : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 11:33:19 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 12:33:19 -0400 Subject: [AccessD] Where's William Message-ID: Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Jun 13 11:51:43 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 13 Jun 2003 12:51:43 -0400 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000901c331cc$152ac600$e43b0cd8@hargrove.internal> Let's not start a war over this one...take it offline, please... Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 12:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 13 13:09:49 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 13 Jun 2003 14:09:49 -0400 Subject: [AccessD] Where's William Message-ID: An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Fri Jun 13 13:30:57 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Jun 2003 19:30:57 +0100 Subject: [AccessD] OT Friday Humour In-Reply-To: Message-ID: <006101c331d9$eee42820$b274d0d5@andypc> Just back from hols so nothing useful to contribute but thought I'd share this before the week-end. For non-UK dwellers Delia is a homely TV chef (think Martha Stewart but without the insider trading). ------------------------------------------------------------------------ ---- Do you inhabit the Delia Smith world or the real one? A test for you. Delia's Way 1: Stuff a miniature marshmallow in the bottom of a sugar cone to prevent ice cream drips. The Real Women's Way : Just suck the ice cream out of the bottom of the cone, for Heaven's sake! You are probably lying on the couch with your feet up eating it anyway. Delia's Way 2: To keep potatoes from budding, place an apple in the bag with the potatoes. The Real Women's Way : Buy Smash mashed potato mix and keep it in the pantry for up to a year. Delia's Way 3 : When a cake recipe calls for flouring the baking tin, use a bit of the dry cake mix instead and there won't be any white mess on the outside of the cake. The Real Women's Way : Tesco's sell cakes. They even do decorated versions. Delia's Way 4 : If you accidentally over-salt a dish while it's still cooking, drop in a potato slice. The Real Women's Way : If you over salt a dish while you are cooking, that's too bad. Recite with me the Real Women's Motto: "I made it and you will eat it and like it." Delia's Way 5 : Wrap celery in aluminium foil when putting in the refrigerator and it will keep for weeks. The Real Women's Way : It could keep forever. Who eats celery? Delia's Way 6 : Brush some beaten egg white over piecrust before baking to yield beautiful glossy finish. The Real Women's Way : Sainsbury's frozen pie directions do not include brushing any egg white over the crust so I don't do that. Delia's Way 7 : Cure for headaches: Take a lime, cut it in half and rub it on your forehead. The throbbing will go away. The Real Women's Way : Cure for headaches: Take a lime, cut it in half and drop it in 8 ounces of tequila. Drink the tequila. You might still have the headache, but you won't notice. Delia's Way 8 : If you have a problem opening jars, try using latex dishwashing gloves. They give a non-slip grip that makes opening jars easy. The Real Women's Way : What's the point of blokes then? And finally the most important tip - Delia's Way 9 : Freeze leftover wine into ice cubes for future use in casseroles and sauces. The Real Women's Way : Leftover wine???? Hello!!!!! Andy Lacey http://www.minstersystems.co.uk From Mark.Mitsules at ngc.com Fri Jun 13 14:26:11 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:26:11 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark From mikedorism at ntelos.net Fri Jun 13 14:33:37 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 13 Jun 2003 15:33:37 -0400 Subject: [AccessD] OT: Software Recommendations In-Reply-To: Message-ID: <000c01c331e2$b38343c0$85360cd8@hargrove.internal> Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 14:33:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:33:51 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 13 14:37:59 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 13 Jun 2003 14:37:59 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark From MPorter at acsalaska.com Fri Jun 13 14:38:55 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 13 Jun 2003 11:38:55 -0800 Subject: [AccessD] OT: Software Recommendations Message-ID: I use Quicken for personal finances and it has all I've needed, from balancing checkbooks to budgeting. Many online banks will provide transaction files for both quicken and money which can be imported. For business I'd use Quickbooks. I do not (mine is not that complicated), but I know that my Accountant prefers to prepare his business clients taxes directly from their Quickbook files. Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jim.hale at fleetpride.com Fri Jun 13 14:41:24 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 13 Jun 2003 14:41:24 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <869379ABF177D4118D3100508B5EF8730656BF0D@corp-es00> Quickbooks is great for running a small business. Quicken is directed more toward personal use. Quicken comes in different flavors which can handle just basic checkbook (Quicken basic) on up to investments, tax planning, etc. (Quicken premier). Well worth the money IMHO. Jim Hale -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Fri Jun 13 14:44:38 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:44:38 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Charles, Actually, based on my own research, I had made that same assumption. Thank you for confirming it. Is anyone aware of any user interface issues that would lend weight one way or another? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 13, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 14:46:16 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:46:16 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Thank you Mark. That is an area I had not researched...my banks capabilities. Mark -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, June 13, 2003 3:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations I use Quicken for personal finances and it has all I've needed, from balancing checkbooks to budgeting. Many online banks will provide transaction files for both quicken and money which can be imported. For business I'd use Quickbooks. I do not (mine is not that complicated), but I know that my Accountant prefers to prepare his business clients taxes directly from their Quickbook files. Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 13 14:48:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 12:48:07 -0700 Subject: [AccessD] OT: Software Recommendations Message-ID: I've tried Quicken but hated it. I prefer Money. My son, on the other hand, loves Quicken. You need to look at them hands on and decide what best suits. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 11:34 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Jun 13 14:52:50 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 13 Jun 2003 14:52:50 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DCB@cpixchng-1.cpiqpc.net> If you do any contract work on the side you might take a look at Quicken Home and Business. I use a version that's a year or two old but it's nice for billing and reporting for the occasional side job that I do, but it also has all the features of a personal finance package to help track your investments, etc... -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Fri Jun 13 15:08:37 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 13 Jun 2003 16:08:37 -0400 Subject: [AccessD] Generating Body Text in Automated E-mail links In-Reply-To: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Message-ID: Very cool site, and very fast. Love it! Nancy L. nancy.lytle at auatac.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work >> {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Jun 13 15:12:38 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 13 Jun 2003 15:12:38 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF0278AE5B@PKDWB01C.ad.sprint.com> Mark, I seem to remember an OT thread on this list not so long ago in which several users of Intuit products complained about their intrusive installation control strategy. Don't recall if it was just TurboTax or all their apps, but IIRC it involved some sort of spyware program that was impossible (or very difficult) to remove even after uninstalling the program. That might be a consideration, if it applies to Quicken. Other listers may have a better memory or personal experience that clarifies the question. Don -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 12:45 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Charles, Actually, based on my own research, I had made that same assumption. Thank you for confirming it. Is anyone aware of any user interface issues that would lend weight one way or another? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 13, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Jun 13 15:11:04 2003 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 13 Jun 2003 16:11:04 -0400 Subject: [AccessD] OT: Software Recommendations In-Reply-To: Message-ID: <008101c331e7$eb0fe640$64aba8c0@ashlandnet.com> I've used Quicken for the last 12 years.....I really like it. I use Quick Books for my business...it does a pretty good job also. Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Fri Jun 13 15:53:10 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 14 Jun 2003 08:53:10 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links References: Message-ID: <006401c331ed$ccc02320$0900a8c0@P1200n> Thank you indeed Nancy. (Blushing grin) And thank you Bob also. Your advice is now implemented. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Nancy Lytle" To: Sent: Saturday, June 14, 2003 8:08 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links Very cool site, and very fast. Love it! Nancy L. nancy.lytle at auatac.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ {snip} From harkins at iglou.com Fri Jun 13 16:23:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 17:23:09 -0400 Subject: [AccessD] Where's William References: <003601c331c8$194a5d30$0c05a8c0@earth.local> Message-ID: <00ea01c331f2$982034c0$3b4afccc@SusanOne> Well geez.... I said Crap because someone mentioned William was working with it and I had not posted the link, which might have been helpful to him. I can't believe I even have to explain it. :( Susan H. > Susan, > > Hmmm, crap...great response. A lot of thought went into that!!! I was > just passing on what I thought of it with my experience. It wasn't what > I would call enthralling stuff. But that's just me...If you like AD then > great, but because I think it's a bore like most network/security/user > related stuff, I think that's my prerogative...and NOT Crap... > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, 14 June 2003 12:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > > > Crap... I just saw a white paper on this and thought aobut listing the > link and didn't -- I can try to find it again if anybody really needs > it. > > Susan H. > > > > Gustav, > > > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > > guy... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Jun 13 16:23:35 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 17:23:35 -0400 Subject: [AccessD] Where's William References: Message-ID: <00eb01c331f2$98efb9c0$3b4afccc@SusanOne> Thank you -- exactly. Susan H. > Vlad, > > Since I saw no indication otherwise, I'm assuming that you were offended by > Susan's post. This is just my opinion, but I don't think "Crap" was > directed towards your post or the subject, but rather to the fact that Susan > "regrets" not sending the link to the white paper when she first ran across > it. I believe that "crap" was an expletive towards herself...but I could be > wrong ;) From DWUTKA at marlow.com Fri Jun 13 17:20:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 17:20:50 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4D@main2.marlow.com> Ironically, I am building my own. There isn't a heck of a lot to a personal finance package....in fact Excel would do just fine. In my case, I run my own web server, so I am putting my 'budget' online. A lot of what you are paying for are graphics. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Jun 13 17:21:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 17:21:26 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4E@main2.marlow.com> Whoops, on my last post, if you are looking for Tax help, that's a different story! Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Fri Jun 13 18:15:49 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 14 Jun 2003 11:15:49 +1200 Subject: [AccessD] A Quickie re XP System Information References: <006401c331ed$ccc02320$0900a8c0@P1200n> Message-ID: <00cc01c33201$baa99d60$0900a8c0@P1200n> Hi I am trying to support a customer with XP. In Windows 2000 one can get a detailed summary of the PC system. {Go .../Accessories/System Information. Save as System Information File...} Can someone with XP tell me if it does the same, and in the same way? In anticipation many thanks and Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From stuart at lexacorp.com.pg Fri Jun 13 19:03:22 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 14 Jun 2003 10:03:22 +1000 Subject: [AccessD] Where the heck can I get good quality Icons??? In-Reply-To: <00af01c331c8$c0ad9f10$fd512304@amd2k> Message-ID: <3EEAF2EA.26557.387CD5@localhost> On 13 Jun 2003 at 9:27, Francisco Tapia wrote: > My favorite Icon creation utility is Happy Icon check it out here.. > > http://www.logipole.com/ > > Why do I like it so much? cuz I can take anything (pictures) images, > drawings, whatever, printscreen to bmp or whatever and make it an ICON. > > I highly recommend it, plus it creates all sorts of icons including the > ability of creating cursors and animated cursors (if that's your bag). > Features include icon sets that are fully compatible w/ Winodws XP > If you got Irfanview, which we've talked about before for simple graphic manipulation, you can also use that to crop/resize photos/logos/drawings etc in almost any format and save them as icons. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Fri Jun 13 19:03:22 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 14 Jun 2003 10:03:22 +1000 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: <3EEAF2EA.16132.387CFD@localhost> On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > Well, that code will launch Windows Explorer, but I'm tasked with > actually integrating some type of image browser into the app. That's > why I used ther WebBrowser in the first place. > The subject says VB6, so I presume you are doing this in VB, not VBA in an access app. If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From clh at christopherhawkins.com Fri Jun 13 19:26:44 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 18:26:44 -0600 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Message-ID: <410-22003661402644117@christopherhawkins.com> "If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox." I already know how to do that. My problem is that it doesn't allow a thumbnail view - or rather, my problem is that I don't know how to make it display a thumbnail view. I need to display a series of thumbnails in my app. -C- ---- Original Message ---- From: stuart at lexacorp.com.pg To: clh at christopherhawkins.com, accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Date: Sat, 14 Jun 2003 10:03:22 +1000 >On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > >> Well, that code will launch Windows Explorer, but I'm tasked with >> actually integrating some type of image browser into the app. >That's >> why I used ther WebBrowser in the first place. >> > >The subject says VB6, so I presume you are doing this in VB, not VBA >in an access app. > >If that it the case, it should only take five minutes to roll your >own using a DriveListBox, DirListBox, FileListBox and an Image or >PictureBox. > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Fri Jun 13 21:21:16 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 19:21:16 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA427B.30631.2E93AB3@localhost> Message-ID: Well, shoot, I tried suggestions by Stuart, Byran, and Charlotte, and I gues I'm not getting exactly where I'm to put the code. If I'm understanding correctly, it goes in the same area as the Image5.Picture = photo. So, I tried this: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo If connections < " " Then connections.Visible = False Label17.Visible = False Else connections.Visible = True Label17.Visible = True End If End Sub But that didn't make any difference. Connections: still shows up with empty fields. Trying Bryan's code: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo If connections = "" Then [ConnectionsLabel].Visible = False Else [ConnectionsLabel].Visible = True End If End Sub Gives me a debug error [ConnectionsLabel].Visible = True And using Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo Label17.Visible = Len(Me.connections & "") > 0 End Sub won't even compile (yes, I've finally learned enough to remember that step). It's A2k if that makes a difference. I zipped it (about 1mg zipped) and it's at: http://altadenabaptist.org/abc.zip and the report is: PhotoDirectory - Photos Done - Connections I'm guessing that I'm still missing something. Thanks, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 13 Jun 2003 4:31:AM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] If-Then in a report > > > On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > > > Thanks again to Stuart, my report is almost exactly what I want (except final > lining up etc): > > http://altadenabaptist.org/images/Image2.jpg > > > > Next, I want to know how to make the Connections *label* to only show up if there > is content in the field. > > Going back to the image that shows the layout: > > http://altadenabaptist.org/images/Image1.jpg > > you can see how it's set at present. I know how to trim in the content, but not how > to make the label appear/disappear. My thoughts are: > > If the field called "connections" is not blank, then print Connections followed by > a colon and then a space, and then the contents of the Connections field. > > I'm guessing it is done by somehow using the trim (& not using the label), but > can't figure out the exact syntax. > > I tried this: > > =trim(Connections: & " " & [connections]) > > but it tells me I've entered an operand without an operator. > > > > I need the correct syntax, and also need to know if I'm right that if the > connections field is empty, it will not put anything, including the Connections: or > is there some other solution? > > > Looks like Label17 is not tied to the connections field. In that > case. > > in your Detail_format() put: > > If connections < " " then > connections.visible = false > label17.visible = false > else > connections.visible = true > label17.visible = true > end if > > or if connections can be null you need > if nz(connections,"") < " " > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > From rbgajewski at adelphia.net Fri Jun 13 21:28:52 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 13 Jun 2003 22:28:52 -0400 Subject: [AccessD] A Quickie re XP System Information In-Reply-To: <00cc01c33201$baa99d60$0900a8c0@P1200n> Message-ID: David Programs ..Accessories ....System Tools ......System Information Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Friday, June 13, 2003 19:16 To: accessd at databaseadvisors.com Subject: [AccessD] A Quickie re XP System Information Hi I am trying to support a customer with XP. In Windows 2000 one can get a detailed summary of the PC system. {Go .../Accessories/System Information. Save as System Information File...} Can someone with XP tell me if it does the same, and in the same way? In anticipation many thanks and Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Fri Jun 13 21:44:18 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 22:44:18 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: References: <3EEA427B.30631.2E93AB3@localhost> Message-ID: <3EEA53C2.21249.40C561@localhost> On 13 Jun 2003 at 19:21, Kathryn Bassett wrote: > won't even compile (yes, I've finally learned enough to remember that > step). It's A2k if that makes a difference. I zipped it (about 1mg > zipped) and it's at: http://altadenabaptist.org/abc.zip and the report > is: PhotoDirectory - Photos Done - Connections > > I'm guessing that I'm still missing something. Kathryn, Here is the code you need, it's kind of a combination of all of the suggertions: rivate Sub Detail_Format(Cancel As Integer, FormatCount As Integer) 'Image5.Picture = photo If Nz(connections, "") = "" Then Me.Controls("Label17").Visible = False Me.Controls("connections").Visible = False Else Me.Controls("Label17").Visible = True Me.Controls("connections").Visible = True End If End Sub -- Bryan Carbonnell - carbonnb at sympatico.ca I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams From kathryn at bassett.net Fri Jun 13 22:18:03 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 20:18:03 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA53C2.21249.40C561@localhost> Message-ID: Yeah, almost perfect now. Two really minor quibbles. Here's the image again (I switched the old one, so you may have to refresh): http://altadenabaptist.org/images/Image2.jpg Although I have Connections: in the label, the colon doesn't show up. And for some reason, there is a period on the line right under the C in Connections. Know what causes that? I can live with both, but would like to know what causes these two anomolies. Thanks so much "you guys"! -- 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 Bryan > Carbonnell > Sent: 13 Jun 2003 7:44:PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] If-Then in a report > > > On 13 Jun 2003 at 19:21, Kathryn Bassett wrote: > > > won't even compile (yes, I've finally learned enough to remember that > > step). It's A2k if that makes a difference. I zipped it (about 1mg > > zipped) and it's at: http://altadenabaptist.org/abc.zip and the report > > is: PhotoDirectory - Photos Done - Connections > > > > I'm guessing that I'm still missing something. > > Kathryn, > > Here is the code you need, it's kind of a combination of all of the > suggertions: > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > 'Image5.Picture = photo > If Nz(connections, "") = "" Then > Me.Controls("Label17").Visible = False > Me.Controls("connections").Visible = False > Else > Me.Controls("Label17").Visible = True > Me.Controls("connections").Visible = True > End If > End Sub > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > I love deadlines. I like the whooshing sound they make as they fly > by. - Douglas Adams > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at hotmail.com Fri Jun 13 22:27:01 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 13 Jun 2003 22:27:01 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: It was TurboTax and Intuit has made an announcement that they wouldn't be using the same method of protection in the future because of the big backlash it caused this year. Still, if they did it once, it is something to consider. I use quicken and have for many years. I don't work it very hard though. Just basic checkibook function. Works just fine. Gary Kjos garykjos at hotmail.com >From: "Mcgillivray, Donald [ITS]" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] OT: Software Recommendations >Date: Fri, 13 Jun 2003 15:12:38 -0500 > >Mark, > >I seem to remember an OT thread on this list not so long ago in which >several users of Intuit products complained about their intrusive >installation control strategy. Don't recall if it was just TurboTax or >all their apps, but IIRC it involved some sort of spyware program that >was impossible (or very difficult) to remove even after uninstalling the >program. That might be a consideration, if it applies to Quicken. >Other listers may have a better memory or personal experience that >clarifies the question. > >Don > > > >-----Original Message----- >From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] >Sent: Friday, June 13, 2003 12:45 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] OT: Software Recommendations > > >Charles, > >Actually, based on my own research, I had made that same assumption. >Thank you for confirming it. Is anyone aware of any user interface >issues that would lend weight one way or another? > > > >Mark > > >-----Original Message----- >From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] >Sent: Friday, June 13, 2003 3:38 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: Software Recommendations > > >Both Quicken and M$ Money work well. Both also work with the two major >tax packages TaxCut and TurboTax. Whatever new feature one introduces >you can expect to see in the other's next release, so it is mainly a >matter of personal preferences. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] >Sent: Friday 2003 Jun 13 14:26 >To: 'AccessD' >Subject: [AccessD] OT: Software Recommendations > >Group, > >What are your recommendations for a personal finance package (US)? I'm >not even sure what questions to ask myself in order to determine my >criteria for choosing such a package. Price is not a limiting factor, >however the 80/20 rule may very well apply here. I don't necessarily >want to pay double the price for only 20% more options unless they are >value-added options either in time savings or >functionality/interoperability. Although I have read the advertisements >and feature lists I was hoping for some "real world" opinions. > > >Thanks for your time, > >Mark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From carbonnb at sympatico.ca Fri Jun 13 22:43:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 23:43:00 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: References: <3EEA53C2.21249.40C561@localhost> Message-ID: <3EEA6184.7889.7684B2@localhost> On 13 Jun 2003 at 20:18, Kathryn Bassett wrote: > Yeah, almost perfect now. Two really minor quibbles. > > Here's the image again (I switched the old one, so you may have to > refresh): http://altadenabaptist.org/images/Image2.jpg Although I have > Connections: in the label, the colon doesn't show up. And for some > reason, there is a period on the line right under the C in > Connections. Know what causes that? Yep. Label17 isn't quite wide enough. The colon actually does show up partially. It's the period under the C. If you widen label17 just a smidge, then the colon won't wrap to the next line and show up as a dot. -- Bryan Carbonnell - carbonnb at sympatico.ca Artificial intelligence is no match for natural stupidity. From accessd at shaw.ca Fri Jun 13 22:46:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 20:46:00 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: Christopher, you should explained what result you required, not how to get there; you got exactly what you ask for but not what you needed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 13 22:56:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 20:56:03 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: Hi Christopher: If you are going to bringing images into an application from various remote sites I can send you some html code that is the FE to this process. There are a variety of BE options to subsequently managing the received image. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Fri Jun 13 22:58:56 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 20:58:56 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA6184.7889.7684B2@localhost> Message-ID: Duh! Why didn't I think of that. You are right, of course; that did the trick. Thanks, -- 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 Bryan > Carbonnell > Sent: 13 Jun 2003 8:43:PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] If-Then in a report > > > On 13 Jun 2003 at 20:18, Kathryn Bassett wrote: > > > Yeah, almost perfect now. Two really minor quibbles. > > > > Here's the image again (I switched the old one, so you may have to > > refresh): http://altadenabaptist.org/images/Image2.jpg Although I have > > Connections: in the label, the colon doesn't show up. And for some > > reason, there is a period on the line right under the C in > > Connections. Know what causes that? > > Yep. Label17 isn't quite wide enough. > > The colon actually does show up partially. It's the period under the > C. > > If you widen label17 just a smidge, then the colon won't wrap to the > next line and show up as a dot. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Artificial intelligence is no match for natural stupidity. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Jun 13 23:06:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 21:06:09 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <410-22003661402644117@christopherhawkins.com> Message-ID: Hi Christopher: You first have to make the thumbnails from you current full size pictures. To do that you have to have a graphic tool or product. The commercial varieties are endles, Illustrator, Photoshop, ImageReady, PaintShop, Fireworks, Painter etc... They all have fuctions in them which will allow you to create thumbnails in mass. HTH Jim PS There are a group of freebies out there but I have done no research on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? "If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox." I already know how to do that. My problem is that it doesn't allow a thumbnail view - or rather, my problem is that I don't know how to make it display a thumbnail view. I need to display a series of thumbnails in my app. -C- ---- Original Message ---- From: stuart at lexacorp.com.pg To: clh at christopherhawkins.com, accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Date: Sat, 14 Jun 2003 10:03:22 +1000 >On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > >> Well, that code will launch Windows Explorer, but I'm tasked with >> actually integrating some type of image browser into the app. >That's >> why I used ther WebBrowser in the first place. >> > >The subject says VB6, so I presume you are doing this in VB, not VBA >in an access app. > >If that it the case, it should only take five minutes to roll your >own using a DriveListBox, DirListBox, FileListBox and an Image or >PictureBox. > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Sat Jun 14 00:13:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 23:13:56 -0600 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Message-ID: <62090-22003661451356854@christopherhawkins.com> I did explain the outcome I was after. >From my original message: "My client *wants to see a thumbnail* of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but *I need to see a thumbnail view*, not a list view. I can right-click in the control and select View > Thumbnail, but *my client wants the images to appear in thumbnail view* without his users having to do anything." The question is hereby withdrawn. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 20:46:00 -0700 >Christopher, you should explained what result you required, not how >to get >there; you got exactly what you ask for but not what you needed. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, June 13, 2003 7:06 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control >toviewfiles-Thumbnail view? > > >Well, that code will launch Windows Explorer, but I'm tasked with >actually integrating some type of image browser into the app. That's >why I used ther WebBrowser in the first place. > >Good idea, though. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to >viewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 00:29:22 -0700 > >>Hi Christopher: >> >>Yes there is: >> >>Option Explicit >> >>Public 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 Const SW_SHOWNORMAL = 1 >> >> >>Private Sub frmButton01_Click() >> >> Call ShellExecute(0&, "Open", _ >> "explorer.exe", "/e,/n,c:\", _ >> 0&, SW_SHOWNORMAL) >> >>End Sub >> >>Something like this would work. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:53 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files-Thumbnail view? >> >> >>OK, let me ask this, then: >> >>Is there a way to embed Windows Explorer into a VB form? >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files -Thumbnail view? >>Date: Thu, 12 Jun 2003 19:37:11 -0700 >> >>>Hi Christopher: >>> >>>In order for the process to work you will need two copies of the >>>picture, >>>one the thumbnail and one the full-size version. They could he >>named >>>like >>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>to >>>force a >>>image to a specific size on a web page. Too much process and a poor >>>quality >>>images. Check out the tag for html coding. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>Christopher >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:05 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >- >>>Thumbnail view? >>> >>> >>>So here's my dilemma. >>> >>>I have a form that is displaying data from a database. >>> >>>My client wants to see a thumnail of all the images that are >related >>>to the record being viewed - the images are stored in a folder with >>>the same name as the record ID, so finding them is easy. >>> >>>I dropped a Webbrowser control on the form, fed it the appropriate >>>path, and BAM! I'm looking at a list of files. Close, but I need >>to >>>see a thumbnail view, not a list view. >>> >>>I can right-click in the control and select View > Thumbnail, but >my >>>client wants the images to appear in thumbnail view without his >>users >>>having to do anything. >>> >>>I am thus far unable to find a property of the WebBrowser control >>>that would allow this, and Google has failed me. Does anyone have >>>any ideas? >>> >>>-Christopher- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Sat Jun 14 00:13:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 23:13:56 -0600 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Message-ID: <62090-22003661451356854@christopherhawkins.com> I did explain the outcome I was after. >From my original message: "My client *wants to see a thumbnail* of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but *I need to see a thumbnail view*, not a list view. I can right-click in the control and select View > Thumbnail, but *my client wants the images to appear in thumbnail view* without his users having to do anything." The question is hereby withdrawn. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 20:46:00 -0700 >Christopher, you should explained what result you required, not how >to get >there; you got exactly what you ask for but not what you needed. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, June 13, 2003 7:06 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control >toviewfiles-Thumbnail view? > > >Well, that code will launch Windows Explorer, but I'm tasked with >actually integrating some type of image browser into the app. That's >why I used ther WebBrowser in the first place. > >Good idea, though. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to >viewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 00:29:22 -0700 > >>Hi Christopher: >> >>Yes there is: >> >>Option Explicit >> >>Public 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 Const SW_SHOWNORMAL = 1 >> >> >>Private Sub frmButton01_Click() >> >> Call ShellExecute(0&, "Open", _ >> "explorer.exe", "/e,/n,c:\", _ >> 0&, SW_SHOWNORMAL) >> >>End Sub >> >>Something like this would work. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:53 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files-Thumbnail view? >> >> >>OK, let me ask this, then: >> >>Is there a way to embed Windows Explorer into a VB form? >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files -Thumbnail view? >>Date: Thu, 12 Jun 2003 19:37:11 -0700 >> >>>Hi Christopher: >>> >>>In order for the process to work you will need two copies of the >>>picture, >>>one the thumbnail and one the full-size version. They could he >>named >>>like >>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>to >>>force a >>>image to a specific size on a web page. Too much process and a poor >>>quality >>>images. Check out the tag for html coding. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>Christopher >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:05 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >- >>>Thumbnail view? >>> >>> >>>So here's my dilemma. >>> >>>I have a form that is displaying data from a database. >>> >>>My client wants to see a thumnail of all the images that are >related >>>to the record being viewed - the images are stored in a folder with >>>the same name as the record ID, so finding them is easy. >>> >>>I dropped a Webbrowser control on the form, fed it the appropriate >>>path, and BAM! I'm looking at a list of files. Close, but I need >>to >>>see a thumbnail view, not a list view. >>> >>>I can right-click in the control and select View > Thumbnail, but >my >>>client wants the images to appear in thumbnail view without his >>users >>>having to do anything. >>> >>>I am thus far unable to find a property of the WebBrowser control >>>that would allow this, and Google has failed me. Does anyone have >>>any ideas? >>> >>>-Christopher- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:00:01 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:00:01 +1000 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000d01c3324a$f8344650$0c05a8c0@earth.local> Mark, Yes, I did take offence, thinking Susan was indicating that my comment on AD was codswallop. I must say at this juncture that it was about 2am and I had been finishing an app for a client to meet a deadline for Monday, so I was in kind of a fragile mind set and would have jumped at any perceived comment at that point in the sleep deprived haze that I have been under for the past 2 weeks... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Saturday, 14 June 2003 2:33 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:08:06 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:08:06 +1000 Subject: [AccessD] Where's William In-Reply-To: <00eb01c331f2$98efb9c0$3b4afccc@SusanOne> Message-ID: <000e01c3324c$18dbff00$0c05a8c0@earth.local> Sorry. I must re-iterate the sleep deprived haze. Susan, it goes to show how different a reaction can be depending on the persons current mind set. Hmmm, perhaps mine wasn't where it should have been... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 7:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Thank you -- exactly. Susan H. > Vlad, > > Since I saw no indication otherwise, I'm assuming that you were > offended by > Susan's post. This is just my opinion, but I don't think "Crap" was > directed towards your post or the subject, but rather to the fact that Susan > "regrets" not sending the link to the white paper when she first ran across > it. I believe that "crap" was an expletive towards herself...but I > could be > wrong ;) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:00:01 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:00:01 +1000 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000d01c3324a$f8344650$0c05a8c0@earth.local> Mark, Yes, I did take offence, thinking Susan was indicating that my comment on AD was codswallop. I must say at this juncture that it was about 2am and I had been finishing an app for a client to meet a deadline for Monday, so I was in kind of a fragile mind set and would have jumped at any perceived comment at that point in the sleep deprived haze that I have been under for the past 2 weeks... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Saturday, 14 June 2003 2:33 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 14 11:54:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 14 Jun 2003 12:54:22 -0400 Subject: [AccessD] Where's William References: <000e01c3324c$18dbff00$0c05a8c0@earth.local> Message-ID: <008f01c33297$fa1d98c0$164afccc@SusanOne> And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on the > persons current mind set. Hmmm, perhaps mine wasn't where it should have > been... From artful at rogers.com Sat Jun 14 14:35:11 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 14 Jun 2003 15:35:11 -0400 Subject: [AccessD] Where's William In-Reply-To: <008f01c33297$fa1d98c0$164afccc@SusanOne> Message-ID: <000c01c332ac$1230fd30$8e01a8c0@Rock> My guess is that William stepped into the .NET well and it will be a week or three before he resurfaces :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 14, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on > the persons current mind set. Hmmm, perhaps mine wasn't where it > should have been... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Jun 14 16:05:15 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 14 Jun 2003 14:05:15 -0700 Subject: [AccessD] OT: Late Friday humour In-Reply-To: <000c01c332ac$1230fd30$8e01a8c0@Rock> Message-ID: NO ARCHIVE Just got this joke from a friend and had to share it before I forgot about it: A Housework Moment This one is cute........ One day, my "housework-challenged" husband decided to wash his msweatshirt. Seconds after he stepped into the laundry room, he shouted to me, "Honey, what setting do I use on the washing machine?" "It depends," I replied. "What does it say on your shirt?" He yelled back, "Vancouver Canucks". And they say blondes are dumb...... Have a good day. Jim From martyconnelly at shaw.ca Sun Jun 15 00:13:29 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 22:13:29 -0700 Subject: [AccessD] Phun with Excel / automation References: <3EE9394C.2010405@shaw.ca> Message-ID: <3EEC0079.6070903@shaw.ca> Here is another way to import or export excel worksheets to and fro from Access using ADO only Lite on error checking.You will have to check for various tables, sheets and files existance. I was suprised you could write these types of SQL strings, but they work. 'sample call 'ExportSpreadSheet "c:\excel\excelrankfunction.mdb","c:\excel\products.xls","BooksXLS","Books" Sub ExportSpreadSheet(strAccessFile As String, strExcelFile As String, _ strAccessTable As String, strSheetName As String) 'Export Access table into named Excel worksheet 'needs ADO reference, using ADO 2.7 'Will not work if .xls file open or .xls file does not exist Dim cnSrc As New ADODB.Connection Dim num_copied As Long Dim strSQL As String cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" strSQL = "SELECT * INTO [Excel 8.0;" & _ "Database=" & strExcelFile & "].[" & strSheetName & "] FROM " & _ strAccessTable Debug.Print strSQL cnSrc.Execute strSQL, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Sub 'sample call 'ImportSpreadSheet "c:\excel\excelrankfunction.mdb","c:\excel\products.xls","BooksXLS","Books" Sub ImportSpreadSheet(strAccessFile As String, strExcelFile As String, _ strAccessTable As String, strSheetName As String) 'Import named Excel worksheet into Access table 'needs ADO reference, using ADO 2.7 ' Access table must not exist Dim cnSrc As New ADODB.Connection Dim num_copied As Long Dim strSQL cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" strSQL = "SELECT * INTO " & strAccessTable & " From [Excel 8.0;" & _ "Database=" & strExcelFile & "].[" & strSheetName & "]" Debug.Print strSQL cnSrc.Execute strSQL, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Sub MartyConnelly wrote: > You can get at it this way using ADO 2.7 with something like this > > Dim oConn As New ADODB.Connection > Dim Ors As ADODB.Recordset > Dim c as long > Set Ors = New ADODB.Recordset > > With oConn > .Provider = "Microsoft.Jet.OLEDB.4.0" > .Properties("Extended Properties").Value = "Excel 8.0" > .Open "C:\Excel\ExcelADO\results\Products.xls" > .CursorLocation = adUseClient 'need otherwise recordcount=-1 > '.... > Ors.Open "Select * from [Products]", oConn, adOpenStatic 'Sheet1$ or > Products sheetname > > For c = 0 To Ors.RecordCount - 1 > 'the field order of columns does not always follow the sheet order > Debug.Print Ors.Fields(0).Value; Ors.Fields(0).Name > Debug.Print Ors.Fields(1).Value > Ors.MoveNext > 'just stuff these values in a table > Next > End With > oConn.Close > > ------------------ or look at the schema of the sheet for sheet names > and field names and types > > Dim oConn As New ADODB.Connection > Dim rst As New ADODB.Recordset > Dim intTblCnt As Integer, intTblFlds As Integer > Dim strTbl As String > Dim rstSch As ADODB.Recordset > Dim rsC As ADODB.Recordset > Dim Ors As ADODB.Recordset > Dim intColCnt As Integer, intColFlds As Integer > Dim strCol As String > Dim t As Integer, c As Integer, f As Integer > > With oConn > .Provider = "Microsoft.Jet.OLEDB.4.0" > .Properties("Extended Properties").Value = "Excel 8.0" > .Open "C:\Excel\ExcelADO\results\Products.xls" > .CursorLocation = adUseClient 'need otherwise recordcount=-1 > '.... > 'Me.cmbSheetCombo.RowSource = rst > Set rstSch = oConn.OpenSchema(adSchemaTables) > intTblCnt = rstSch.RecordCount > intTblFlds = rstSch.Fields.Count > MsgBox intTblCnt & "*?" & intTblFlds > 'List1.AddItem "Tables: " & intTblCnt > 'List1.AddItem "--------------------" > Dim strList As String > strList = "" > For t = 1 To intTblCnt > strTbl = rstSch.Fields("TABLE_NAME").Value > Debug.Print vbTab & "Table #" & t & ": " & strTbl > Debug.Print vbTab & "--------------------" > MsgBox strTbl > strList = strList & strTbl & ";" > For f = 0 To intTblFlds - 1 > Debug.Print vbTab & rstSch.Fields(f).Name & _ > vbTab & rstSch.Fields(f).Value > Next > ' List1.AddItem "--------------------" > Set rsC = oConn.OpenSchema(adSchemaColumns, Array(Empty, Empty, > strTbl, Empty)) > intColCnt = rsC.RecordCount > intColFlds = rsC.Fields.Count > For c = 1 To intColCnt > strCol = rsC.Fields("COLUMN_NAME").Value > Debug.Print vbTab & vbTab & "Column #" & c & ": " & strCol > Debug.Print vbTab & vbTab & "--------------------" > For f = 0 To intColFlds - 1 > ' Debug.Print vbTab & vbTab & rsC.Fields(f).Name & _ > ' vbTab & rsC.Fields(f).Value > Next > 'List1.AddItem vbTab & vbTab & "--------------------" > rsC.MoveNext > Next > rsC.Close > 'List1.AddItem "--------------------" > Next > > End With > oConn.Close > > > Don Elliker wrote: > >> Then I am back to the "There is no object in this control" error >> reported earlier. This comes up when attempting to import using the >> wizard....I just AM screwed am I not? Well , I have the no-help desk >> personnel coming for a visit later >> _D >> >> >> >> >> "Things are only free to the extent that you don't pay for them".-Don >> Elliker >> >> >Once the Import Spreadsheet Wizard starts you should see two radio >> button >> >(Show Worksheets and Show Named Ranges). Make sure the Show >> Worksheets >one is checked and then you should see a list of the >> worksheets within >your file. Then just select the one you want to >> import and keep answering >the wizard's questions. Repeat the process >> for each worksheet to import. > > > > >"Don Elliker" >Sent by: >> accessd-bounces at databaseadvisors.com >06/12/2003 10:46 AM >Please >> respond to accessd > > > To: accessd at databaseadvisors.com > cc: > >> Subject: [AccessD] Phun with Excel / automation > > >Folks, >I am >> trying to import ,on a one time basis , the data from an excel >> >workbook into Access XP. I can't use the 'import data' option, it >> only >gets me the first worksheet (or am I doing it wrong?). I can >> get to the >workbook in code easily enough but there seems no easy >> way to get the >individual worksheets imported into separate tables. >> I tried using the >'transferspreadsheet' docmd thingie, but it gets >> hung up on the file name. >I cannot just reference the worksheet >> object- it doesn't like that. I >thought it was working out too >> easily...#-( - Sooo...does anyone have >this experience...this is a >> one-off I just want the data in tables. >"Things are only free to the >> extent that you don't pay for them".-Don >Elliker > >Add photos to >> your e-mail with MSN 8. Get 2 months >> 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 >> >> ------------------------------------------------------------------------ >> MSN 8 helps ELIMINATE E-MAIL VIRUSES. >> Get 2 months 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 > From martyconnelly at shaw.ca Sun Jun 15 00:35:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 22:35:11 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC058F.5090208@shaw.ca> Don't know how to fix but all these are available including conversion from various types under VB.Net Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sun Jun 15 01:49:12 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 23:49:12 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC16E8.8040305@shaw.ca> Here is an excerpt from Larry Linsons document on Images in Access There is documentation in a word file and Sample Access programs http://members.tripod.com/accdevel/imaging.htm ----------------- Image Controls Access version 7.0 (Access 95) and later versions, include a new Control for displaying images: the Image Control. A limited set of image file formats stored in their native file format, external to Access, can be displayed in the Image Control. The number of file formats supported can be significantly increased by installing the graphics filters provided with any version of Microsoft Office or with a standalone installation of Microsoft Word. These filters are not included with the standalone Microsoft Access product, and they are not installed by default. Youll need to choose the Custom Install and specifically select them. If you are distributing your Access application with the Office Developer Edition runtime, you are not allowed to distribute the graphics filters  each user must have a license to the software that includes them and have installed them separately. ------------------- Maybe you can find some code that might work using the LoadImage API function here http://www.vb-helper.com/whats_new.html. Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > > > From martyconnelly at shaw.ca Sun Jun 15 01:51:43 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 23:51:43 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC177F.2030402@shaw.ca> Found something else on Tony Toews site. http://www.granite.ab.ca/access/imagehandling.htm Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From actebs at actebs.com.au Sun Jun 15 02:48:52 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 17:48:52 +1000 Subject: [AccessD] AXP Can't Make MDE File Message-ID: <000a01c33312$939ca390$0c05a8c0@earth.local> Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Sun Jun 15 02:54:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 15 Jun 2003 08:54:19 +0100 Subject: [AccessD] AXP Can't Make MDE File References: <000a01c33312$939ca390$0c05a8c0@earth.local> Message-ID: <001a01c33313$555fe910$37f66e51@martinreid> MessageIs it a 2000 file format db Martin ----- Original Message ----- From: ACTEBS To: access group Sent: Sunday, June 15, 2003 8:48 AM Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sun Jun 15 02:57:26 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 17:57:26 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <001a01c33313$555fe910$37f66e51@martinreid> Message-ID: <001901c33313$c5b11d60$0c05a8c0@earth.local> Martin, Yes, but I convert it to AXP before creating the MDE. Do you think you know the problem? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Sunday, 15 June 2003 5:54 PM To: accessd Subject: Re: [AccessD] AXP Can't Make MDE File Is it a 2000 file format db Martin ----- Original Message ----- From: ACTEBS To: access group Sent: Sunday, June 15, 2003 8:48 AM Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sun Jun 15 06:17:58 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 15 Jun 2003 07:17:58 -0400 Subject: [AccessD] Access to NET conversion tool Message-ID: <003101c3332f$c68e2630$8e01a8c0@Rock> MicroTools US has an Access to NET conversion tool for $249, with a free 60-day trial download. I just downloaded it so can't yet comment on its quality, but since there is considerabe interest in .NET technology, here's the URL to the info and download: http://doc.advisor.com/Articles.nsf/nl/12367 MicroTools provides versions for VB.NET and C#/J#. Arthur From jimdettman at earthlink.net Sun Jun 15 07:20:24 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 15 Jun 2003 08:20:24 -0400 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <000a01c33312$939ca390$0c05a8c0@earth.local> Message-ID: MessageVlad, Does this database have a large number of objects? Access has an internal tableID limit of 2048. Often you bump into this when creating a MDE file. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Sunday, June 15, 2003 3:49 AM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sun Jun 15 07:38:12 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 22:38:12 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: Message-ID: <000501c3333a$fe4b66e0$0c05a8c0@earth.local> Jim, No, it's about an average small app. About 20-30 forms - No linked tables, no macros, 6-7 modules and No reports. The reports are held externally... Do you have any idea? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, 15 June 2003 10:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Can't Make MDE File Vlad, Does this database have a large number of objects? Access has an internal tableID limit of 2048. Often you bump into this when creating a MDE file. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Sunday, June 15, 2003 3:49 AM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Sun Jun 15 11:09:03 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sun, 15 Jun 2003 10:09:03 -0600 Subject: [AccessD] AXP Can't Make MDE File Message-ID: In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ From martyconnelly at shaw.ca Sun Jun 15 12:10:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 15 Jun 2003 10:10:57 -0700 Subject: [AccessD] AXP Can't Make MDE File References: <001901c33313$c5b11d60$0c05a8c0@earth.local> Message-ID: <3EECA8A1.9020309@shaw.ca> Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > From Susan.Klos at fldoe.org Sun Jun 15 13:06:51 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 15 Jun 2003 14:06:51 -0400 Subject: [AccessD] Format a field in a query for proper case Message-ID: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. From sgoodhall at comcast.net Sun Jun 15 13:40:34 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 15 Jun 2003 14:40:34 -0400 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: I ran this through my test bed and it works. SELECT StrConv([Table1]![T1Text],3) AS Expr1 FROM Table1; Table1 contents T1ID T1Text 1 ALL UPPER 2 all lower 3 Already Proper 4 iNVERSE cASE Query Output Expr1 All Upper All Lower Already Proper Inverse Case Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 15, 2003 2:07 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Format a field in a query for proper case I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Jun 15 13:42:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 15 Jun 2003 20:42:59 +0200 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> References: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <9747149477.20030615204259@cactus.dk> Hi Susan StrConv() can do this at a basic level. /gustav > I guess the subject tells it all. I have a query that contains school names > which are almost all upper case. I would like to set them to proper case in > the query. From stuart at lexacorp.com.pg Sun Jun 15 17:42:20 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 16 Jun 2003 08:42:20 +1000 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <3EED82EC.30189.11A063@localhost> On 15 Jun 2003 at 14:06, Klos, Susan wrote: > I guess the subject tells it all. I have a query that contains school names > which are almost all upper case. I would like to set them to proper case in > the query. As Gustav said strConv() can do it on a basic level. It is however a bit limited in what it regards as delimiters (it doesn't handle names like O'Connor or brackets etc. Here's the one I use which you you modify to define your own delimiters, just put them in the "whitespace" string: Function Propercase(words As String) As String Dim loopcount As Long Dim whitespace As String Dim newword As Boolean Dim strChar As String whitespace = " .,:-;([{}])`'" & Chr$(34) strlowers = "abcdefghijklmnopqrstuvwxyz" words = LCase$(words) newword = True For loopcount = 1 To Len(words) strChar = Mid$(words, loopcount, 1) If newword And InStr(strlowers, strChar) > 0 Then Mid$(words, loopcount, 1) = Chr$(Asc(strChar) - 32) End If If InStr(whitespace, strChar) > 0 Then newword = True Else newword = False End If Next Propercase = words End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From scotttgage at yahoo.com Sun Jun 15 17:54:27 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Sun, 15 Jun 2003 15:54:27 -0700 (PDT) Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <20030615225427.85151.qmail@web10406.mail.yahoo.com> I ran a separate update query on the tbl just before I export it. UCase([Last_Na]) on the Last_Na field. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From Susan.Klos at fldoe.org Sun Jun 15 18:36:55 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 15 Jun 2003 19:36:55 -0400 Subject: [AccessD] Format a field in a query for proper case Message-ID: <8213C1F49875D61195DA0002A5412A0301407008@mail.doe.state.fl.us> That worked great. Thanks. -----Original Message----- From: Steve Goodhall [mailto:sgoodhall at comcast.net] Sent: Sunday, June 15, 2003 2:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Format a field in a query for proper case I ran this through my test bed and it works. SELECT StrConv([Table1]![T1Text],3) AS Expr1 FROM Table1; Table1 contents T1ID T1Text 1 ALL UPPER 2 all lower 3 Already Proper 4 iNVERSE cASE Query Output Expr1 All Upper All Lower Already Proper Inverse Case Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 15, 2003 2:07 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Format a field in a query for proper case I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:01:40 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:01:40 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: Message-ID: <000601c333bb$fdd65950$0c05a8c0@earth.local> Henry, I wasn't aware of that thanks, but I made the relevant changes and still no go any other ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Henry Simpson Sent: Monday, 16 June 2003 2:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:06:27 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:06:27 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <3EECA8A1.9020309@shaw.ca> Message-ID: <000701c333bc$abf53d30$0c05a8c0@earth.local> Martin, Yep, runs with the /runtime switch. Any other ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, 16 June 2003 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AXP Can't Make MDE File Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:28:16 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:28:16 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <3EECA8A1.9020309@shaw.ca> Message-ID: <000801c333bf$b83e5a10$0c05a8c0@earth.local> Does anyone want to have a look at the app for me? I'll email it to you to see whether you can recreate the problem... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, 16 June 2003 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AXP Can't Make MDE File Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Sun Jun 15 23:39:15 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon, 16 Jun 2003 14:39:15 +1000 Subject: [AccessD] Sending raw HTML to a browser control Message-ID: <000401c333c1$46f9da30$7f00a8c0@bbb888> Hi List, More from the HTML front.... Does anyone know how to send raw HTML, held in a form recordset field to a browser control embedded in the form. That is, for those following this saga, the yewser has downloaded the page and saved the HTML in the table. Now when they open the form with the browser control, they want the stored page to be displayed (grrrrr!). (Why, because the actual web pages are updated daily and they want to be able to refer to the pricing page that was active when they made the decision. i.e. the page that we have now stored for them.) I have tried MSDN, the web in general, and several books. All of which superbly (now that I understand it thanks to list members) explain how to Navigate to a web page, but none explain what to do with the HRML if you've already got it. If all else fails I will write the damn thing out to a file and load it using Navigate "file://..." but I dislike the inelegancy of that approach - and the level of housekeeping that will be necessary. Any ideas? Tia Bruce From stuart at lexacorp.com.pg Sun Jun 15 23:45:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 16 Jun 2003 14:45:37 +1000 Subject: [AccessD] Sending raw HTML to a browser control In-Reply-To: <000401c333c1$46f9da30$7f00a8c0@bbb888> Message-ID: <3EEDD811.31508.15E3784@localhost> On 16 Jun 2003 at 14:39, Bruce Bruen wrote: > > If all else fails I will write the damn thing out to a file and load it > using Navigate "file://..." but I dislike the inelegancy of that > approach - and the level of housekeeping that will be necessary. > Inelegant maybe, but no real housekeeping if you write the page out to a standard temporary file every time they want to see it and delete the temporary file when the form with the browser control is closed. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pcs at azizaz.com Mon Jun 16 01:06:23 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 16 Jun 2003 16:06:23 +1000 Subject: [AccessD] AXP Can't Make MDE File References: <000801c333bf$b83e5a10$0c05a8c0@earth.local> Message-ID: <03bb01c333cd$6b150dc0$be0e90cb@prosys.local> Vlad, Happy to give it a go.... I have a box with A97 and AXP on WinXP Regards Borge Hansen ----- Original Message ----- From: "ACTEBS" To: Sent: Monday, June 16, 2003 2:28 PM Subject: RE: [AccessD] AXP Can't Make MDE File > Does anyone want to have a look at the app for me? I'll email it to you > to see whether you can recreate the problem... > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Monday, 16 June 2003 3:11 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] AXP Can't Make MDE File > > > Will the mdb file run from a shortcut with the /runtime command line > argument? It emulates the runtime. > > ACTEBS wrote: > > > Martin, > > > > Yes, but I convert it to AXP before creating the MDE. Do you think you > > know the problem? > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > Reid > > Sent: Sunday, 15 June 2003 5:54 PM > > To: accessd > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > Is it a 2000 file format db > > > > Martin > > > > ----- Original Message ----- > > From: ACTEBS > > To: access group > > Sent: Sunday, June 15, 2003 8:48 AM > > Subject: [AccessD] AXP Can't Make MDE File > > > > Hi Guys, > > > > I have encountered an unusual problem in that AXP refuses to > > create an MDE file of the application. I have done all of the > > following and nothing seems to rectify the problem: > > > > a) Compiled the app - No errors > > b) Decompiled the app - No errors > > c) Imported into a new app - No errors > > d) Checked all the references - No MISSING references > > > > Is there anything else I can check. The app runs fine and no > > errors are present anywhere...MS Access just returns a msgbox > > saying "Microsoft Access can't create the mde file." That's > > it! No help option just OK....Hmmm, well handled by MS I must > > say... > > > > Any ideas where I should go to from here? > > > > Regards > > Vlad > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Jun 16 08:18:44 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 16 Jun 2003 23:18:44 +1000 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 References: <000701c333bc$abf53d30$0c05a8c0@earth.local> Message-ID: <03f501c33409$d1b891f0$be0e90cb@prosys.local> We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen From roz.clarke at donnslaw.co.uk Mon Jun 16 08:42:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 16 Jun 2003 14:42:25 +0100 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 Message-ID: <61F915314798D311A2F800A0C9C83188047C5ED2@dibble.observatory.donnslaw.co.uk> Is there any reason you can't make it numeric? -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: 16 June 2003 14:19 To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 16 08:43:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 16 Jun 2003 08:43:40 -0500 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 Message-ID: Alphabetic data sorts alphabetically, not numerically. If you want it to sort as if it is numeric, then insert a zero (0) in front of all the values less than ten (10). Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday 2003 Jun 16 08:19 To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen From JHewson at karta.com Mon Jun 16 08:55:20 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 16 Jun 2003 08:55:20 -0500 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C21@NT04> In your querydef use the Val() function. Sort Asc both on Val(Field) then the field. Your query will sort by the value of the field to the second decimal point. Then it will sort the rest. HTH Jim -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday, June 16, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Jun 16 09:07:50 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 16 Jun 2003 16:07:50 +0200 Subject: [AccessD] AXP Can't Make MDE File Message-ID: <104AB6116A2DD511A7580008C7097A982198C2@AARDBEI> I Had this once.... A corrupt vba form module was the problem, due to this unsolved problem with VBa6.dll when using A2K and AXP on same pc. Decompiling/compiling does no resolve the prob. You need to find wich module is corrupt. Only one way to find out. Doubleclick on every form and ohter modules and classes to see the code. If you see the code, than OK If corrupt, you get an error. Then you have to recreate the app. Make a new DB, import everithing EXCEPT the form/module/class that is in error. Recreate the missing form manualy. You can write a function that opens up all modules one by one. I seen it before but I dont have the code at first sight. I blieve its pretty easy to do. Erwin -----Oorspronkelijk bericht----- Van: Henry Simpson [mailto:hsimpson88 at hotmail.com] Verzonden: zondag 15 juni 2003 18:09 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Mon Jun 16 09:47:58 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 16 Jun 2003 09:47:58 -0500 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <104AB6116A2DD511A7580008C7097A982198C2@AARDBEI> Message-ID: I've had this happen as Erwin describes, too. But just to make sure: have you checked if the MDE failure occurs on a brand new database? It would be good to rule out the possibility of an Access level problem rather than an app level problem. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, June 16, 2003 9:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Can't Make MDE File I Had this once.... A corrupt vba form module was the problem, due to this unsolved problem with VBa6.dll when using A2K and AXP on same pc. Decompiling/compiling does no resolve the prob. You need to find wich module is corrupt. Only one way to find out. Doubleclick on every form and ohter modules and classes to see the code. If you see the code, than OK If corrupt, you get an error. Then you have to recreate the app. Make a new DB, import everithing EXCEPT the form/module/class that is in error. Recreate the missing form manualy. You can write a function that opens up all modules one by one. I seen it before but I dont have the code at first sight. I blieve its pretty easy to do. Erwin -----Oorspronkelijk bericht----- Van: Henry Simpson [mailto:hsimpson88 at hotmail.com] Verzonden: zondag 15 juni 2003 18:09 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 10:18:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 08:18:49 -0700 Subject: [AccessD] AXP Can't Make MDE File Message-ID: You can only create an MDE in AXP if the file is in 2002 format. If you're trying to work with a 2000 format file, it won't work. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Saturday, June 14, 2003 11:49 PM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Mon Jun 16 11:59:21 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Mon, 16 Jun 2003 09:59:21 -0700 Subject: [AccessD] Slow Monday? Message-ID: <023301c33428$a1e6f5b0$fd512304@amd2k> NO ARCHIVE I've only received a few messages today... just tesing... -Francisco http://rcm.netfirms.com/ From mwp.reid at qub.ac.uk Mon Jun 16 13:35:10 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Jun 2003 19:35:10 +0100 Subject: [AccessD] AXP Can't Make MDE File References: <000801c333bf$b83e5a10$0c05a8c0@earth.local> <03bb01c333cd$6b150dc0$be0e90cb@prosys.local> Message-ID: <007401c33436$05a95e50$37f66e51@martinreid> Zip it up and send it over. I will look at it this week Martin ----- Original Message ----- From: "Borge Steen Hansen" To: "accessd" Sent: Monday, June 16, 2003 7:06 AM Subject: Re: [AccessD] AXP Can't Make MDE File > Vlad, > Happy to give it a go.... > > I have a box with A97 and AXP on WinXP > > Regards > Borge Hansen > > > ----- Original Message ----- > From: "ACTEBS" > To: > Sent: Monday, June 16, 2003 2:28 PM > Subject: RE: [AccessD] AXP Can't Make MDE File > > > > Does anyone want to have a look at the app for me? I'll email it to you > > to see whether you can recreate the problem... > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > > Sent: Monday, 16 June 2003 3:11 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > > > Will the mdb file run from a shortcut with the /runtime command line > > argument? It emulates the runtime. > > > > ACTEBS wrote: > > > > > Martin, > > > > > > Yes, but I convert it to AXP before creating the MDE. Do you think you > > > know the problem? > > > > > > Vlad > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > > Reid > > > Sent: Sunday, 15 June 2003 5:54 PM > > > To: accessd > > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > > > Is it a 2000 file format db > > > > > > Martin > > > > > > ----- Original Message ----- > > > From: ACTEBS > > > To: access group > > > Sent: Sunday, June 15, 2003 8:48 AM > > > Subject: [AccessD] AXP Can't Make MDE File > > > > > > Hi Guys, > > > > > > I have encountered an unusual problem in that AXP refuses to > > > create an MDE file of the application. I have done all of the > > > following and nothing seems to rectify the problem: > > > > > > a) Compiled the app - No errors > > > b) Decompiled the app - No errors > > > c) Imported into a new app - No errors > > > d) Checked all the references - No MISSING references > > > > > > Is there anything else I can check. The app runs fine and no > > > errors are present anywhere...MS Access just returns a msgbox > > > saying "Microsoft Access can't create the mde file." That's > > > it! No help option just OK....Hmmm, well handled by MS I must > > > say... > > > > > > Any ideas where I should go to from here? > > > > > > Regards > > > Vlad > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From PBudge at cbsol.com Mon Jun 16 14:56:51 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon, 16 Jun 2003 14:56:51 -0500 Subject: [AccessD] Where's William Message-ID: Hey! Good news! I got an email from William today and he says he's fine and will be back to the list soon. Although, I've no idea what "soon" means to a guy living in Florida - I hear they like to move slower in the south - all that overheated airborne water you know. ;-))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "Arthur Fuller" To: Sent by: cc: accessd-bounces at databasea Subject: RE: [AccessD] Where's William dvisors.com 06/14/2003 02:35 PM Please respond to accessd My guess is that William stepped into the .NET well and it will be a week or three before he resurfaces :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 14, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on > the persons current mind set. Hmmm, perhaps mine wasn't where it > should have been... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Jun 16 15:11:52 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Jun 2003 21:11:52 +0100 Subject: [AccessD] Where's William References: Message-ID: <004101c33443$874efde0$37f66e51@martinreid> Glad to here it. Would u ask him to give me a shout Pamela. Martin ----- Original Message ----- From: To: Sent: Monday, June 16, 2003 8:56 PM Subject: RE: [AccessD] Where's William > > Hey! Good news! I got an email from William today and he says he's fine > and will be back to the list soon. > > Although, I've no idea what "soon" means to a guy living in Florida - I > hear they like to move slower in the south - all that overheated airborne > water you know. ;-))))) > > > Pamela G. Budge > PBudge at cbsol.com > Creative Business Solutions > > > > "Arthur Fuller" > To: > Sent by: cc: > accessd-bounces at databasea Subject: RE: [AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > > My guess is that William stepped into the .NET well and it will be a week > or > three before he resurfaces :-) > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: June 14, 2003 12:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > > > And you think mine's where it's supposed to be at any given time of the > day. > Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > > Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 hotmail.com Mon Jun 16 15:24:48 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 16 Jun 2003 15:24:48 -0500 Subject: [AccessD] Where's William Message-ID: Thanks for the William update Pamela. Gary Kjos garykjos at hotmail.com >From: PBudge at cbsol.com >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where's William >Date: Mon, 16 Jun 2003 14:56:51 -0500 > > >Hey! Good news! I got an email from William today and he says he's fine >and will be back to the list soon. > >Although, I've no idea what "soon" means to a guy living in Florida - I >hear they like to move slower in the south - all that overheated airborne >water you know. ;-))))) > > >Pamela G. Budge >PBudge at cbsol.com >Creative Business Solutions > > > > "Arthur Fuller" > To: > > Sent by: cc: > accessd-bounces at databasea Subject: RE: >[AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > >My guess is that William stepped into the .NET well and it will be a week >or >three before he resurfaces :-) > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: June 14, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where's William > > >And you think mine's where it's supposed to be at any given time of the >day. >Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > >Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From jeffrey.demulling at usbank.com Mon Jun 16 15:38:09 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 16 Jun 2003 15:38:09 -0500 Subject: [AccessD] Using Animated GIF file on a form Message-ID: Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Mon Jun 16 15:44:17 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 16 Jun 2003 15:44:17 -0500 Subject: [AccessD] Using Animated GIF file on a form Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7EB@TAPPEEXCH01> The quick 'n' dirty method is to embed an internet control on your form, and set the path to your .GIF as it's address. There are also several VB samples on planet-source-code.com, that could possibly be modified to suit your Access needs. -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Monday, June 16, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Using Animated GIF file on a form Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 16 15:44:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 13:44:28 -0700 Subject: [AccessD] Using Animated GIF file on a form Message-ID: As far as I know, you would have to break the ani into its component images, put each of them on the form and use a timer to show them sequentially. Charlotte Foust -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Monday, June 16, 2003 12:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Using Animated GIF file on a form Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 16 15:49:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 16:49:46 -0400 Subject: [AccessD] OpenArgs question Message-ID: <002c01c33448$d4979760$d0e6ffcc@SusanOne> This should be an easy one. The following event procedure opens a report and passes the list box' value as th OpenArgs setting. Private Sub lstCategories_DblClick(Cancel As Integer) Dim str As String str = Chr(34) & Me.lstCategories.Value & Chr(34) Debug.Print str DoCmd.OpenReport ReportName:="Catalog", _ View:=acViewPreview, _ OpenArgs:=str End Sub Problem is, I can't get the report to recognize it -- in any report event. Reports!reportname.OpenArgs Me.OpenArgs rpt.OpenArgs I've tried all three in most of the report's events after opening it via the form and the setting isn't making it to the form. Any clue what I'm doing wrong? Susan H. From PBudge at cbsol.com Mon Jun 16 16:03:52 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon, 16 Jun 2003 16:03:52 -0500 Subject: [AccessD]OT Where's William Message-ID: Oh, after the Where's William thread started (excuse me while I have a where's Waldo moment. . . lol), I gave him a shout (all caps!) and told him to let somebody know he was ok or I was gonna send out a search and rescue party . . . ;-))))))))))))))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "Gary Kjos" To: accessd at databaseadvisors.com Sent by: cc: accessd-bounces at databasea Subject: RE: [AccessD] Where's William dvisors.com 06/16/2003 03:24 PM Please respond to accessd Thanks for the William update Pamela. Gary Kjos garykjos at hotmail.com >From: PBudge at cbsol.com >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where's William >Date: Mon, 16 Jun 2003 14:56:51 -0500 > > >Hey! Good news! I got an email from William today and he says he's fine >and will be back to the list soon. > >Although, I've no idea what "soon" means to a guy living in Florida - I >hear they like to move slower in the south - all that overheated airborne >water you know. ;-))))) > > >Pamela G. Budge >PBudge at cbsol.com >Creative Business Solutions > > > > "Arthur Fuller" > To: > > Sent by: cc: > accessd-bounces at databasea Subject: RE: >[AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > >My guess is that William stepped into the .NET well and it will be a week >or >three before he resurfaces :-) > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: June 14, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where's William > > >And you think mine's where it's supposed to be at any given time of the >day. >Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > >Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Mon Jun 16 16:07:05 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 16 Jun 2003 17:07:05 -0400 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226D2C@main2.marlow.com> Message-ID: <3EEE3179.9030602@torchlake.com> Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >Drew > > > From Lambert.Heenan at AIG.com Mon Jun 16 16:08:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 16 Jun 2003 17:08:29 -0400 Subject: [AccessD] OpenArgs question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389792F@xlivmbx12.aig.com> Reports don't have an OpenArgs property, and there is as a result no OpenArgs parameter for the OpenReport method. OpenReport does however have a "wherecondition" parameter and that's the one you want to use. It's a standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Monday, June 16, 2003 4:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > This should be an easy one. The following event procedure opens a report > and > passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it via > the > form and the setting isn't making it to the form. Any clue what I'm doing > wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 16:28:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 14:28:48 -0700 Subject: [AccessD] OpenArgs question Message-ID: In AXP, reports DO have an OpenArgs parameter. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Monday, June 16, 2003 1:08 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OpenArgs question Reports don't have an OpenArgs property, and there is as a result no OpenArgs parameter for the OpenReport method. OpenReport does however have a "wherecondition" parameter and that's the one you want to use. It's a standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Monday, June 16, 2003 4:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 16:36:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 14:36:02 -0700 Subject: [AccessD] OpenArgs question Message-ID: Susan, I'm getting confused. Where are you trying to recognize it, and where does a form come into the equation? Only A2002 has an OpenArgs argument for reports. Earlier versions didn't have it. We use it in reports without problems, so what are you trying to do that isn't succeeding? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 12:50 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OpenArgs question This should be an easy one. The following event procedure opens a report and passes the list box' value as th OpenArgs setting. Private Sub lstCategories_DblClick(Cancel As Integer) Dim str As String str = Chr(34) & Me.lstCategories.Value & Chr(34) Debug.Print str DoCmd.OpenReport ReportName:="Catalog", _ View:=acViewPreview, _ OpenArgs:=str End Sub Problem is, I can't get the report to recognize it -- in any report event. Reports!reportname.OpenArgs Me.OpenArgs rpt.OpenArgs I've tried all three in most of the report's events after opening it via the form and the setting isn't making it to the form. Any clue what I'm doing wrong? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 16 16:38:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 16 Jun 2003 16:38:44 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Hmmm, so you think you realized something afterwards, that you hadn't pin pointed before? Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Monday, June 16, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >Drew > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 16 16:48:35 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 17:48:35 -0400 Subject: [AccessD] OpenArgs question References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389792F@xlivmbx12.aig.com> Message-ID: <00a001c33451$5f775fc0$d0e6ffcc@SusanOne> That's odd -- the OpenArgs Applies to list includes reports. Thanks. Susan H. > Reports don't have an OpenArgs property, and there is as a result no > OpenArgs parameter for the OpenReport method. OpenReport does however have a > "wherecondition" parameter and that's the one you want to use. It's a > standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. From harkins at iglou.com Mon Jun 16 16:50:56 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 17:50:56 -0400 Subject: [AccessD] OpenArgs question References: Message-ID: <00a101c33451$60505aa0$d0e6ffcc@SusanOne> OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs argument > for reports. Earlier versions didn't have it. We use it in reports > without problems, so what are you trying to do that isn't succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a report > and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it via > the form and the setting isn't making it to the form. Any clue what I'm > doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Mon Jun 16 17:20:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 15:20:22 -0700 Subject: [AccessD] OpenArgs question Message-ID: And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Jun 16 17:25:11 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 18:25:11 -0400 Subject: [AccessD] RE:Opening Workgroup Protected DB SOLVED In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Message-ID: Well for those who care to know, the code below shells out the process.. So simply, but man, did it take me a while to get it right.... Sub sOpenDBWithPwd() Dim strDB As String Dim strWG As String Dim strCmd As String Dim objSecuredDB As Access.Application Dim SecuredDB As String On Error GoTo HandleErr strDB = """C:\Program Files\ServiceXp\SXPMANT.mdb""" strWG = """C:\Program Files\ServiceXp\SXPSEC.mdw""" strCmd = SysCmd(acSysCmdAccessDir) & "MSAccess.exe " _ & strDB & " /wrkgrp " & strWG _ & " /user Administrator" & " /pwd adminpassword" Call Shell(strCmd, vbNormalNoFocus) DoEvents: DoEvents: DoEvents 'Set objSecuredDB = GetObject(strDB) ' If you wan't to set the focus to the newly opened db ExitHere: Exit Sub ' Error handling block added by Error Handler Add-In. DO NOT EDIT this block of code. ' Automatic error handler last updated at 06-09-2003 18:58:17 'ErrorHandler:$$D=06-09-2003 'ErrorHandler:$$T=18:58:17 HandleErr: Select Case Err.Number Case -2147467259 ' Error is caused by somthing to do with the toolbars not refreshing fast enough, very strange Resume Next Case -2147221020 'Cant find the cause of this error, although ignoring it doesn't seem to cause any problems Resume Next Case Else MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, "crypt.sOpenDBWithPwd" 'ErrorHandler:$$N=crypt.sOpenDBWithPwd 'Log Error Call ErrorRecordSystem(Err.Number, Err.Description, Now, "Un-Expected Error In Proc; " & "crypt.sOpenDBWithPwd", CurrentUser()) 'ErrorHandler:$$N=crypt.sOpenDBWithPwd End Select ' End Error handling block. End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 16, 2003 5:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Hmmm, so you think you realized something afterwards, that you hadn't pin pointed before? Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Monday, June 16, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >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 From Subscriptions at servicexp.com Mon Jun 16 17:28:20 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 18:28:20 -0400 Subject: [AccessD] adding Time In-Reply-To: Message-ID: A2K I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) format. How do I go about adding up the time? Everything I try, I get a data mismatch error... Thanks Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 16, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OpenArgs question And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 16 17:32:13 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 18:32:13 -0400 Subject: [AccessD] OpenArgs question References: Message-ID: <00ef01c33457$25ddd540$d0e6ffcc@SusanOne> I removed the Chr(34) already. I added them because it wouldn't work and I thought maybe that was it -- you know how finicky Access can be about its delimiters. :) Charlotte, it's working now, but I really have no clue what I did. It wasn't working, now it is -- it's a mystery. Thanks anyway. :) Susan H. > And in the report's events, it can't see the OpenArgs string value? Is > the listbox value a string in the first place? I notice you're > delimiting it with chr(34)s, but you don't need them if it's not a date > or numeric value. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OpenArgs question > > > OK, I'm using AXP. > > I'm selecting a single item from a list box and trying to pass that > value (a > string) to the report via the report's OpenArgs value. > > Susan H. > > > > Susan, > > > > I'm getting confused. Where are you trying to recognize it, and where > > > does a form come into the equation? Only A2002 has an OpenArgs > > argument for reports. Earlier versions didn't have it. We use it in > > reports without problems, so what are you trying to do that isn't > > succeeding? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Monday, June 16, 2003 12:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OpenArgs question > > > > > > This should be an easy one. The following event procedure opens a > > report and passes the list box' value as th OpenArgs setting. > > > > Private Sub lstCategories_DblClick(Cancel As Integer) > > Dim str As String > > str = Chr(34) & Me.lstCategories.Value & Chr(34) > > Debug.Print str > > DoCmd.OpenReport ReportName:="Catalog", _ > > View:=acViewPreview, _ > > OpenArgs:=str > > End Sub > > > > Problem is, I can't get the report to recognize it -- in any report > > event. > > > > Reports!reportname.OpenArgs > > Me.OpenArgs > > rpt.OpenArgs > > > > I've tried all three in most of the report's events after opening it > > via the form and the setting isn't making it to the form. Any clue > > what I'm doing wrong? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Jun 16 17:45:09 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 16 Jun 2003 17:45:09 -0500 Subject: [AccessD] adding Time Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E55@main2.marlow.com> You might find this link useful: http://mvps.org/access/datetime/date0009.htm Drew -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, June 16, 2003 5:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] adding Time A2K I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) format. How do I go about adding up the time? Everything I try, I get a data mismatch error... Thanks Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 16, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OpenArgs question And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Jun 16 18:27:15 2003 From: john at winhaven.net (John Bartow) Date: Mon, 16 Jun 2003 18:27:15 -0500 Subject: [AccessD] Sort mixed alpha numeric data Message-ID: I have a test field where the data is generally 1,2,3,4,5 but can also include 1a, 1b, 1c. Would any one happen to have ideas for a way (or code for a function that will) sort mixed data numerically first and then alphabetically? TIA JB PS: This is the way it is and there is no way there is going to be any additional fields added to the table. From cfoust at infostatsystems.com Mon Jun 16 18:56:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 16:56:02 -0700 Subject: [AccessD] Sort mixed alpha numeric data Message-ID: Sort on the Ascii value of the field. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, June 16, 2003 3:27 PM To: AccessD Subject: [AccessD] Sort mixed alpha numeric data I have a test field where the data is generally 1,2,3,4,5 but can also include 1a, 1b, 1c. Would any one happen to have ideas for a way (or code for a function that will) sort mixed data numerically first and then alphabetically? TIA JB PS: This is the way it is and there is no way there is going to be any additional fields added to the table. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 16 18:57:22 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Jun 2003 16:57:22 -0700 Subject: [AccessD] adding Time References: Message-ID: <3EEE5962.9000704@shaw.ca> How about some variation of this you can use datediff or dateadd functions Sub diftest() Dim TheDate As Date Dim Msg As String Dim testdate As Date Dim testtime As Date testdate = Date + #10:59:00 AM# Msg = "Minutes from previous: " & Abs(DateDiff("n", Now, testdate)) MsgBox Msg End Sub Robert Gracie wrote: >A2K > > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) >format. > >How do I go about adding up the time? Everything I try, I get a data >mismatch error... > > > >Thanks >Robert Gracie > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, June 16, 2003 6:20 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OpenArgs question > > >And in the report's events, it can't see the OpenArgs string value? Is >the listbox value a string in the first place? I notice you're >delimiting it with chr(34)s, but you don't need them if it's not a date >or numeric value. > >Charlotte Foust > >-----Original Message----- >From: Susan Harkins [mailto:harkins at iglou.com] >Sent: Monday, June 16, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OpenArgs question > > >OK, I'm using AXP. > >I'm selecting a single item from a list box and trying to pass that >value (a >string) to the report via the report's OpenArgs value. > >Susan H. > > > > >>Susan, >> >>I'm getting confused. Where are you trying to recognize it, and where >> >> > > > >>does a form come into the equation? Only A2002 has an OpenArgs >>argument for reports. Earlier versions didn't have it. We use it in >>reports without problems, so what are you trying to do that isn't >>succeeding? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Susan Harkins [mailto:harkins at iglou.com] >>Sent: Monday, June 16, 2003 12:50 PM >>To: AccessD at databaseadvisors.com >>Subject: [AccessD] OpenArgs question >> >> >>This should be an easy one. The following event procedure opens a >>report and passes the list box' value as th OpenArgs setting. >> >>Private Sub lstCategories_DblClick(Cancel As Integer) >> Dim str As String >> str = Chr(34) & Me.lstCategories.Value & Chr(34) >> Debug.Print str >> DoCmd.OpenReport ReportName:="Catalog", _ >> View:=acViewPreview, _ >> OpenArgs:=str >>End Sub >> >>Problem is, I can't get the report to recognize it -- in any report >>event. >> >>Reports!reportname.OpenArgs >>Me.OpenArgs >>rpt.OpenArgs >> >>I've tried all three in most of the report's events after opening it >>via the form and the setting isn't making it to the form. Any clue >>what I'm doing wrong? >> >>Susan H. >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Subscriptions at servicexp.com Mon Jun 16 19:15:47 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 20:15:47 -0400 Subject: [AccessD] adding Time In-Reply-To: <3EEE5962.9000704@shaw.ca> Message-ID: Ok this is what I have right now, and it "Seems" to work, what do you guys think? Robert Gracie www.servicexp.com Private Sub cmdCalcTime_Click() Dim SUX As Date Dim MOX As Date Dim TUX As Date Dim WEX As Date Dim THX As Date Dim FRX As Date Dim SAX As Date Dim TotalMin As Variant On Error GoTo HandleErr SUX = Me.txtSunTotal MOX = Me.txtMonTotal TUX = Me.txtTueTotal WEX = Me.txtWedTotal THX = Me.txtThurTotal FRX = Me.txtFriTotal SAX = Me.txtSatTotal TotalMin = SUX + MOX + TUX + WEX + THX + FRX + SAX Me.txtTotalHours = FormatInterval(TotalMin, "H M") ExitHere: Exit Sub ' Error handling block added by Error Handler Add-In. DO NOT EDIT this block of code. ' Automatic error handler last updated at 06-16-2003 20:06:06 'ErrorHandler:$$D=06-16-2003 'ErrorHandler:$$T=20:06:06 HandleErr: Select Case Err.Number Case Else MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, "Form_frmTimeCardDates.cmdCalcTime_Click" 'ErrorHandler:$$N=Form_frmTimeCardDates.cmdCalcTime_Click 'Log Error Call ErrorRecordSystem(Err.Number, Err.Description, Now, "Un-Expected Error In Proc; " & "Form_frmTimeCardDates.cmdCalcTime_Click", CurrentUser) 'ErrorHandler:$$N=Form_frmTimeCardDates.cmdCalcTime_Click End Select ' End Error handling block. End Sub Function FormatInterval(ByVal interval As Variant, Fmt As String) ' ' Formats the difference between 2 dates or sum of 2 times ' to show day as well as hours, minutes, and seconds. ' ' Supports the following formats: ' D H 5 Days 5 Hours ' D H:MM 5 Days 5:15 ' D HH:MM 5 Days 05:15 ' D H:MM:SS 5 Days 5:15:45 ' D HH:MM:SS 5 Days 05:15:45 ' H M 125 Hours 15 Minutes ' H:MM 125:15 ' H:MM:SS 125:15:45 ' M S 7515 Minutes 45 Seconds ' Dim days As Long, hours As Long, minutes As Long, Seconds As Long ' ' Check for Date or Double ' If varType(interval) <> 7 And varType(interval) <> 5 Then Exit Function ' ' Parse Days ' days = Int(interval) interval = interval - days If interval > #11:59:59 PM# Then days = days + 1 interval = 0# End If ' ' Parse Hours ' interval = interval * 24 hours = Int(interval) interval = interval - hours If interval > 3599# / 3600# Then hours = hours + 1 interval = 0# End If ' ' Parse Minutes ' interval = interval * 60 minutes = Int(interval) interval = interval - minutes If interval > 59# / 60# Then minutes = minutes + 1 interval = 0# End If ' ' Parse Seconds ' Seconds = Int(interval * 60 + 0.5) ' ' Normalize ' If Seconds = 60 Then minutes = minutes + 1 Seconds = 0 End If If minutes > 59 Then hours = hours + 1 minutes = minutes - 60 End If If hours > 23 Then days = days + 1 hours = hours - 24 End If ' ' Create format ' Select Case Fmt Case "D H" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & IIf(hours <> 1, " Hours", " Hour") Case "D H:MM" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & ":" & Format(minutes, "00") Case "D HH:MM" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & Format(hours, "00") & ":" & Format(minutes, "00") Case "D H:MM:SS" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "D HH:MM:SS" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & Format(hours, "00") & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "H M" hours = hours + days * 24 FormatInterval = hours & IIf(hours <> 1, " Hours ", " Hour ") & minutes & IIf(minutes <> 1, " Minutes", " Minute") Case "H:MM" hours = hours + days * 24 FormatInterval = hours & ":" & Format(minutes, "00") Case "H:MM:SS" hours = hours + days * 24 FormatInterval = hours & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "M S" minutes = minutes + (hours + days * 24) * 60 FormatInterval = minutes & IIf(minutes <> 1, " Minutes ", " Minute ") & Seconds & IIf(Seconds <> 1, " Seconds", " Second") Case Else FormatInterval = Null End Select End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Monday, June 16, 2003 7:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] adding Time How about some variation of this you can use datediff or dateadd functions Sub diftest() Dim TheDate As Date Dim Msg As String Dim testdate As Date Dim testtime As Date testdate = Date + #10:59:00 AM# Msg = "Minutes from previous: " & Abs(DateDiff("n", Now, testdate)) MsgBox Msg End Sub Robert Gracie wrote: >A2K > > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) >format. > >How do I go about adding up the time? Everything I try, I get a data >mismatch error... > > > >Thanks >Robert Gracie > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, June 16, 2003 6:20 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OpenArgs question > > >And in the report's events, it can't see the OpenArgs string value? Is >the listbox value a string in the first place? I notice you're >delimiting it with chr(34)s, but you don't need them if it's not a date >or numeric value. > >Charlotte Foust > >-----Original Message----- >From: Susan Harkins [mailto:harkins at iglou.com] >Sent: Monday, June 16, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OpenArgs question > > >OK, I'm using AXP. > >I'm selecting a single item from a list box and trying to pass that >value (a >string) to the report via the report's OpenArgs value. > >Susan H. > > > > >>Susan, >> >>I'm getting confused. Where are you trying to recognize it, and where >> >> > > > >>does a form come into the equation? Only A2002 has an OpenArgs >>argument for reports. Earlier versions didn't have it. We use it in >>reports without problems, so what are you trying to do that isn't >>succeeding? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Susan Harkins [mailto:harkins at iglou.com] >>Sent: Monday, June 16, 2003 12:50 PM >>To: AccessD at databaseadvisors.com >>Subject: [AccessD] OpenArgs question >> >> >>This should be an easy one. The following event procedure opens a >>report and passes the list box' value as th OpenArgs setting. >> >>Private Sub lstCategories_DblClick(Cancel As Integer) >> Dim str As String >> str = Chr(34) & Me.lstCategories.Value & Chr(34) >> Debug.Print str >> DoCmd.OpenReport ReportName:="Catalog", _ >> View:=acViewPreview, _ >> OpenArgs:=str >>End Sub >> >>Problem is, I can't get the report to recognize it -- in any report >>event. >> >>Reports!reportname.OpenArgs >>Me.OpenArgs >>rpt.OpenArgs >> >>I've tried all three in most of the report's events after opening it >>via the form and the setting isn't making it to the form. Any clue >>what I'm doing wrong? >> >>Susan H. >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Mon Jun 16 22:26:16 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Mon, 16 Jun 2003 23:26:16 -0400 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294C21@NT04> Message-ID: Those who suggest making it numeric or using the val() function have not given thought to the values like "3.1.1". I would write a function that pads everything to a fixed length per level so that "3.1.1" became "03.01.01" or "003.001.002" and "1.1" would become "001.001.000", etc. Then write a query using the function and order on the function value. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, June 16, 2003 9:55 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 In your querydef use the Val() function. Sort Asc both on Val(Field) then the field. Your query will sort by the value of the field to the second decimal point. Then it will sort the rest. HTH Jim -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday, June 16, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 17 01:37:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 08:37:22 +0200 Subject: [AccessD] Email directly to/from Access database with PostieDB Message-ID: <1153251425.20030617083722@cactus.dk> Hi all Just noticed that Postie (a truly magic email command line program) now is available in a version that communicates directly with a Jet database, PostieDB: http://www.infradig.com/postie/index.shtml Once Postie was obtainable at zero cost for non-commercial use; that doesn't seem to be the case anymore. /gustav From gustav at cactus.dk Tue Jun 17 02:12:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 09:12:45 +0200 Subject: [AccessD] Sort mixed alpha numeric data In-Reply-To: References: Message-ID: <415374107.20030617091245@cactus.dk> Hi John > I have a test field where the data is generally 1,2,3,4,5 but can also > include 1a, 1b, 1c. > Would any one happen to have ideas for a way (or code for a function that > will) sort mixed data numerically first and then alphabetically? So how are you sorting them now? The data must be strings and sorted as such. Or do you have data with more than one digit, like 15c? If so, sort on the numeric value then the ascii value: SELECT * FROM tblYourTable ORDER BY Val(StringID), StringID; /gustav From paul.hartland at fsmail.net Tue Jun 17 03:02:51 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 17 Jun 2003 8:02:51 +0000 Subject: [AccessD] VB6 Help - Command Objects within the Data Environment Message-ID: <20030617080251.FPKX28680.fep03-svc.ttys.com@localhost> To all, I have a DataEnvironment (DEEmploy), which has a command tblEmps which uses a SQL Statement to get all the records from tblEmps like so : SELECT * FROM tblEmps Now I have reached a point where I only want to bring one employee back from the back-end, so what I need to know is can I build a SQL statement on the fly (something like (SELECT TOP 1 * FROM tblEmps) or (SELECT * FROM tblEmps WHERE (Criteria)) ) and assign that select statement to the Command object tblEmps so that it only returns employees that meet the criteria thats been built on the fly.... Thanks in advance for any help Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From R.Griffiths at bury.gov.uk Tue Jun 17 03:37:42 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 17 Jun 2003 09:37:42 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Hi Group can anyone help with my current heated office discussion which is concerning whether of not you can still puchase VB6 cd's. It appears that are are no longer available (at least in the UK). Can anyone confirm this? Thanks Richard From gustav at cactus.dk Tue Jun 17 05:52:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 12:52:59 +0200 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Message-ID: <6918588508.20030617125259@cactus.dk> Hi Richard > can anyone help with my current heated office discussion which is concerning > whether of not you can still puchase VB6 cd's. > It appears that are are no longer available (at least in the UK). Can > anyone confirm this? Media kits (w/o license) are available here (DK): partno. 203-01186. /gustav From andy at minstersystems.co.uk Tue Jun 17 05:59:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 17 Jun 2003 11:59:25 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Message-ID: <003301c334bf$841878a0$b274d0d5@andypc> Hi Richard There are plenty on ebay if that helps. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Griffiths, Richard > Sent: 17 June 2003 09:38 > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] OT:Can VB6 still be purchased? > > > Hi Group > > can anyone help with my current heated office discussion > which is concerning whether of not you can still puchase VB6 cd's. > > It appears that are are no longer available (at least in the > UK). Can anyone confirm this? > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From gustav at cactus.dk Tue Jun 17 06:04:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 13:04:52 +0200 Subject: [AccessD] adding Time In-Reply-To: References: Message-ID: <3619301363.20030617130452@cactus.dk> Hi Robert > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) > format. > How do I go about adding up the time? Everything I try, I get a data > mismatch error... Your problem is that the textboxes though formatted as time contain nothing more than text. You can add these using CDate([txtYourControl]) but you may end up having more than 24 hours and then the fun begins because you are "adding" different points in time while you wish to sum spans or intervals of time. Thus, convert to time intervals like seconds and add these. We use this function (watch for line breaks): Function TimeAdd(ParamArray astrTimes() As Variant) As Long ' Adds time values and time formatted strings. ' Adds pure numerals as seconds. ' Day, month, and year are stripped as these for time values are assumed to be current date. ' Nulls and badly formatted strings are ignored. ' Returns added times of more than 40 years in total as seconds. ' Example which returns rounded minutes: ' lngMinutes = (TimeAdd("15:34", Null, [Forms]![frmForm]![txtTime], 23, #1:22:10#, "57") + 30) \ 60 ' 1999-11-08. Cactus Data ApS. CPH. ' Use constants as Long to prevent overruns. Const clngSecondsMinute As Long = 60 Const clngSecondsHour As Long = 60 * clngSecondsMinute Dim datTime As Date Dim lngSeconds As Long Dim lngLoop As Long ' No special error handling. Ignore excessive inputs. On Error Resume Next For lngLoop = LBound(astrTimes) To UBound(astrTimes) If IsDate(astrTimes(lngLoop)) Then ' Input is a date/time value or expression. datTime = CDate(astrTimes(lngLoop)) If datTime <> 0 Then ' Add seconds, minutes, and hours as seconds. lngSeconds = lngSeconds + Second(datTime) lngSeconds = lngSeconds + (clngSecondsMinute * Minute(datTime)) lngSeconds = lngSeconds + (clngSecondsHour * Hour(datTime)) End If ElseIf IsNumeric(astrTimes(lngLoop)) Then ' Add a pure numeral as seconds. lngSeconds = lngSeconds + astrTimes(lngLoop) End If Next lngLoop TimeAdd = lngSeconds End Function /gustav From R.Griffiths at bury.gov.uk Tue Jun 17 06:24:54 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 17 Jun 2003 12:24:54 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> so is this the official line then, ie no more VB6 cd's other than what is already out there (on shelves, ebay etc)? > -----Original Message----- > From: Andy Lacey [SMTP:andy at minstersystems.co.uk] > Sent: 17 June 2003 11:59 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT:Can VB6 still be purchased? > > Hi Richard > There are plenty on ebay if that helps. > Andy > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Griffiths, Richard > > Sent: 17 June 2003 09:38 > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] OT:Can VB6 still be purchased? > > > > > > Hi Group > > > > can anyone help with my current heated office discussion > > which is concerning whether of not you can still puchase VB6 cd's. > > > > It appears that are are no longer available (at least in the > > UK). Can anyone confirm this? > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Tue Jun 17 07:09:49 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 17 Jun 2003 14:09:49 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <181301c334ca$2c679590$0300a8c0@S856> The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik From marcel.vreuls at achmea.nl Tue Jun 17 07:22:04 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue, 17 Jun 2003 14:22:04 +0200 Subject: Betreft: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: Lembit, I will be there. Just let me know if i can help you with anything. Greetz. Marcel Lembit.Soobik at t-online.de (Lembit Soobik)@databaseadvisors.com op 17-06-2003 14:09:49 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: , cc: "Mark L. Breen" , gustav at cactus.dk, Arthur Fuller Onderwerp: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From Lambert.Heenan at AIG.com Tue Jun 17 08:31:08 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 17 Jun 2003 09:31:08 -0400 Subject: [AccessD] OpenArgs question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897934@xlivmbx12.aig.com> I sit corrected :-) I've not yet had the pleasure (???) of working with Access beyond A97. > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, June 16, 2003 5:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OpenArgs question > > In AXP, reports DO have an OpenArgs parameter. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Monday, June 16, 2003 1:08 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OpenArgs question > > > Reports don't have an OpenArgs property, and there is as a result no > OpenArgs parameter for the OpenReport method. OpenReport does however > have a "wherecondition" parameter and that's the one you want to use. > It's a standard SQL WHERE Clause without the word 'WHERE' - see the > on-line help. > > Lambert > > > -----Original Message----- > > From: Susan Harkins [SMTP:harkins at iglou.com] > > Sent: Monday, June 16, 2003 4:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OpenArgs question > > > > This should be an easy one. The following event procedure opens a > > report and passes the list box' value as th OpenArgs setting. > > > > Private Sub lstCategories_DblClick(Cancel As Integer) > > Dim str As String > > str = Chr(34) & Me.lstCategories.Value & Chr(34) > > Debug.Print str > > DoCmd.OpenReport ReportName:="Catalog", _ > > View:=acViewPreview, _ > > OpenArgs:=str > > End Sub > > > > Problem is, I can't get the report to recognize it -- in any report > > event. > > > > Reports!reportname.OpenArgs > > Me.OpenArgs > > rpt.OpenArgs > > > > I've tried all three in most of the report's events after opening it > > via the form and the setting isn't making it to the form. Any clue > > what I'm doing wrong? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 17 10:13:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:13:29 +0200 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 In-Reply-To: <03f501c33409$d1b891f0$be0e90cb@prosys.local> References: <000701c333bc$abf53d30$0c05a8c0@earth.local> <03f501c33409$d1b891f0$be0e90cb@prosys.local> Message-ID: <12534219054.20030617171329@cactus.dk> Hi B?rge I found something from an old similar conversion routine. It's a query which cannot be sorted, so feed the output to another query where you select the needed fields only and order by Fld1, Fld2, Fld3. SELECT *, InStr(1,[StringID],".") AS Dot1, Val(IIf([Dot1]=0, [StringID], IIf([Dot1]=1, "", Left([StringID],[Dot1]-1)))) AS Fld1, IIf([Dot1]=0, "", Mid([StringID],1+[Dot1])) AS FldRest1, InStr(1,[FldRest1],".") AS Dot2, Val(IIf([Dot2]=0, "" & [FldRest1], Left([FldRest1],[Dot2]-1))) AS Fld2, IIf([Dot2]=0, "", Mid([FldRest1],1+[Dot2])) AS FldRest2, InStr(1,[FldRest2],".") AS Dot3, Val(IIf([Dot3]=0, "" & [FldRest2], Left([FldRest2],[Dot3]-1))) AS Fld3 FROM tblYourTable; It will also handle entries like .8.70 and ..61 /gustav > We have a text field with data like this when sorted ascending: > 1 > 1.1 > 1.2 > 10 > 10.1 > 11 > 11.1 > 11.2 > 2 > 2.1 > 2.2 > 3 > 3.1. > 3.1.1 > 3.1.2 > 3.1.3 > 4 > etc etc. > Any one got ideas for how to sort the field like this: > 1 > 1.1 > 1.2 > 2 > 2.1 > 2.2 > 3 > 3.1. > 3.1.1 > 3.1.2 > 3.1.3 > 4 > .... > 10 > 10.1 > 11 > 11.1 > 11.2 > ????? > Regards > Borge Hansen From harkins at iglou.com Tue Jun 17 10:25:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 17 Jun 2003 11:25:51 -0400 Subject: [AccessD] OpenArgs question References: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897934@xlivmbx12.aig.com> Message-ID: <006301c334e6$586f7dd0$9fe6ffcc@SusanOne> And you have to stay there a minute for every year buster! :) I love it when they put me in timeout... :) Susan H. > I sit corrected :-) From gustav at cactus.dk Tue Jun 17 10:56:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:56:32 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <181301c334ca$2c679590$0300a8c0@S856> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> Message-ID: <1336801908.20030617175632@cactus.dk> Hi Lembit What is EIBUS? /gustav > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access From gustav at cactus.dk Tue Jun 17 10:59:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:59:23 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <181301c334ca$2c679590$0300a8c0@S856> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> Message-ID: <14036972583.20030617175923@cactus.dk> Hi Lembit Arthur to arrive in M?nchen? Boy had I known that ... /gustav > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) From delliker at hotmail.com Tue Jun 17 11:15:48 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:15:48 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Tue Jun 17 11:43:03 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 17 Jun 2003 18:43:03 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> <1336801908.20030617175632@cactus.dk> Message-ID: <188b01c334ef$85ee2230$0300a8c0@S856> EIBUS is the European Insallation Bus all control signals for a house electrical Install tion are transmitted from the 'switches' over one single twisted pair as telegrams to actuators, so power (230V) is only running from actuators to lights or whatever you switch. you can any time reprogram any switch to do something else that originally planned or you can use a PC and write a program to control anything in your house. I have for example programmed the blinds to go down and some lights to turn on at a certain darkness in the evening, or they go down and open to act as shades when a certain temperature is reached. to avoid overheating inside, or I have programmed one switch at teh bedroom to turn all lights off in the whole house. from a certain size of the house on it can save a lot of money (for a new house) for instllation costs and much more even for later changes Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, June 17, 2003 5:56 PM Subject: Re: [AccessD] *** Invitation to 3rd AccessD Conference *** > Hi Lembit > > What is EIBUS? > > /gustav > > > - Lembit Soobik: Chances and Problems developing > > Visualization Programs for EIBUS with Access > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Tue Jun 17 11:48:19 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 17 Jun 2003 12:48:19 -0400 Subject: [AccessD] List box misbehaving In-Reply-To: Message-ID: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> As you have quickly learned, listboxes don't always like being overlayed... either move it to somewhere else or make it invisible in the section of code that makes the subform become visible. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don Elliker Sent: Tuesday, June 17, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _____ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 11:46:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 09:46:16 -0700 Subject: [AccessD] List box misbehaving Message-ID: Have you tried setting the listbox's visible property to false when you make the subform visible? That is the simplest way to handle it. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 17, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker STOP MORE SPAM with the new MSN 8 and get 2 months FREE* From delliker at hotmail.com Tue Jun 17 11:49:23 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:49:23 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 17 11:51:26 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:51:26 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Tue Jun 17 11:59:12 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 17 Jun 2003 11:59:12 -0500 Subject: [AccessD] Import Excel File Into Access XP Message-ID: I'm getting the Microsoft Error box when trying to utilize the import wizard for an Excel file into AXP. It works fine in A97 and it AXP works fine on another computer. Anyone have any idea why my new computer gets an error? I can copy and paste append the data into a table, but not import - only on the new computer. I have all the AXP features installed. Thanks for any insights. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 17 12:06:59 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 13:06:59 -0400 Subject: [AccessD] Import Excel File Into Access XP Message-ID: An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 12:10:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 10:10:41 -0700 Subject: [AccessD] List box misbehaving Message-ID: List boxes are almost like subforms in their behavior. There is no point in reporting it because it is a "feature", not a bug. They've behaved this way in every version of Access. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 17, 2003 8:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] List box misbehaving I was more intent on trying to discover why it misbehaves in the first place - but yes, that certainly SHOULD 'fix' it - Is this reportable to the M$ code police? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] List box misbehaving >Date: Tue, 17 Jun 2003 09:46:16 -0700 > >Have you tried setting the listbox's visible property to false when you >make the subform visible? That is the simplest way to handle it. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Tuesday, June 17, 2003 8:16 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] List box misbehaving > > >Hi folks, >I have an XP app that is giving me the business. Bound form with a >tabcontrol for various memo fields. A list box with a separate data >source (query of another table related to bound form recordsource) An >invisible subform which is the same data as the mainform but in a more >'Excel-like' display. When they request to see the data as presented by >the invisible form I make it visible (Ta Dah!) It overlays some of the >controls and the listbox is one of them. The listbox refuses to be >overlayed...it floats on top of the subform. I have played with >everything I can think of - including deleting the control and >compacting and repairing, then re-creating the control. It still floats >on top (super-annoying) -I checked for requeries of the listbox. I >checked taborders and remnant code, there are no repaints or restore >commands. >Interestingly, I cannot get the listbox to 'move to back' nicely...it >flickers but stays on top of the Box it sits on - none of the other >controls act this way. Also, if I maximize the form...it doesn't >misbehave...but that, of course, is NOT the solution......??? >Thanks, >_D > > > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > > >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Tired of spam? Get advanced junk mail protection with MSN 8. From delliker at hotmail.com Tue Jun 17 12:23:00 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 13:23:00 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 17 12:50:40 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 17 Jun 2003 18:50:40 +0100 Subject: [AccessD] OT SQL Server References: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> Message-ID: <002801c334f8$f884eaa0$37f66e51@martinreid> MessageI am working with SQL Server 2000 on my pc at home. Linking to a WIndows SharePoint Server in the USA. The WSS server cannot see the SQL Server and I have been told to make SQL Server "outward facing" I have not a clue what that means. ANyone here have any ideas? Martin ----- Original Message ----- From: Mike and Doris Manning To: accessd Sent: Tuesday, June 17, 2003 5:48 PM Subject: RE: [AccessD] List box misbehaving As you have quickly learned, listboxes don't always like being overlayed... either move it to somewhere else or make it invisible in the section of code that makes the subform become visible. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don Elliker Sent: Tuesday, June 17, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker ---------------------------------------------------------------------------- STOP MORE SPAM with the new MSN 8 and get 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From EdTesiny at oasas.state.ny.us Tue Jun 17 12:53:16 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 17 Jun 2003 13:53:16 -0400 Subject: [AccessD] Renaming Wizard Message-ID: Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Tue Jun 17 13:25:11 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 17 Jun 2003 14:25:11 -0400 Subject: [AccessD] Renaming Wizard In-Reply-To: Message-ID: MessageWorked a bit with Speed Ferret, it's a find and replace utility for the database, not sure if that's what you're looking for, anyway check it out. It's well worth the money. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Tuesday, June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 17 13:39:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 17 Jun 2003 19:39:19 +0100 Subject: [AccessD] OT PDAs References: Message-ID: <00b001c334ff$c41967d0$37f66e51@martinreid> MessageAnyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ranthony at wrsystems.com Tue Jun 17 13:58:22 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Tue, 17 Jun 2003 14:58:22 -0400 Subject: [AccessD] Renaming Wizard Message-ID: <5F21A4E8B8DD734992EF9E70AC9D306412865A@mail2.wrsystems.com> I can recommend Rick Fisher's FindandReplace tool. www.rickworld.com Good support and it's inexpensive. -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Tuesday, June 17, 2003 2:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Renaming Wizard Worked a bit with Speed Ferret, it's a find and replace utility for the database, not sure if that's what you're looking for, anyway check it out. It's well worth the money. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Tuesday, June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 17 14:13:39 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 17 Jun 2003 14:13:39 -0500 Subject: [AccessD] Renaming Wizard Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7EF@TAPPEEXCH01> I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com . -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 14:11:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 12:11:52 -0700 Subject: [AccessD] access97 application on win2000 Message-ID: <00e101c33504$4f6ed230$6501a8c0@HAL9002> Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Tue Jun 17 14:51:01 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 17 Jun 2003 15:51:01 -0400 Subject: [AccessD] access97 application on win2000 Message-ID: <916187228923D311A6FE00A0CC3FAA305279D3@ADGSERVER> It's working fine for me here. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 17, 2003 3:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Tue Jun 17 14:49:54 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 17 Jun 2003 14:49:54 -0500 Subject: [AccessD] Import Excel File Into Access XP Message-ID: My IS dept figured out the problem - it is in the MS Knowledge Base #303805 - had to do with registering the correct version of accwiz.dll. All is well. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> delliker at hotmail.com 06/17/03 12:06PM >>> Have you got SP2 loaded on that machine? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Terri Jarus" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Import Excel File Into Access XP >Date: Tue, 17 Jun 2003 11:59:12 -0500 > >I'm getting the Microsoft Error box when trying to utilize the import wizard for an Excel file into AXP. It works fine in A97 and it AXP works fine on another computer. > >Anyone have any idea why my new computer gets an error? I can copy and paste append the data into a table, but not import - only on the new computer. > >I have all the AXP features installed. > >Thanks for any insights. > >Terri Jarus >Director, Contract Support Services >jarus at amerinet-gpo.com >314-542-1902 > > >--------------------------------------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individuals or entities to whom they >are addressed. If you have received this email in error please return >it to the sender, and erase any copies thereof. >Copyright 2003 AmeriNet 1nc. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Protect your PC - Click here for McAfee.com VirusScan Online -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 14:58:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 12:58:35 -0700 Subject: [AccessD] Renaming Wizard Message-ID: The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 databases without any problems that I've found. I use it on 97 and XP databases all the time. Plus it works on VB and SQL Server. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 17, 2003 11:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Renaming Wizard I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com. -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Tue Jun 17 15:00:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 13:00:53 -0700 Subject: [AccessD] OT PDAs Message-ID: There have been some discussions on this in Woody's Lounge (www.wopr.com), but unfortunately the search function is down at present, so I can't point you at anything particular. Non-Palm OS PDAs can run a version of Access if they run Windows CE, but Palm can only run things like HandBase. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 17, 2003 10:39 AM To: accessd Subject: [AccessD] OT PDAs Anyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 17 15:06:32 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 17 Jun 2003 15:06:32 -0500 Subject: [AccessD] Renaming Wizard Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7F1@TAPPEEXCH01> If it works on SQL Server, I'm in! I'll take a look. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 17, 2003 2:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Renaming Wizard The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 databases without any problems that I've found. I use it on 97 and XP databases all the time. Plus it works on VB and SQL Server. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 17, 2003 11:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Renaming Wizard I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com. -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From DWUTKA at marlow.com Tue Jun 17 15:19:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:19:22 -0500 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E59@main2.marlow.com> Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 15:22:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:22:51 -0500 Subject: [AccessD] access97 application on win2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Jun 17 15:26:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:26:04 -0500 Subject: [AccessD] OT PDAs Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5B@main2.marlow.com> Actually, AppForge let's you use Access databases....sort of. You have to convert them into .pdb's (the palm's db format), but you can setup HotSync conduits with an ODBC connection to sync a .pdb to a table within an .mdb. I have an older version of appforge, which is kind of limited it what it can do. (No collections, or classes, etc.). It runs in VB, so you make a VB project, and then you can compile it to a palm prc file. Works great, but the version I have is really limited as far as actual VB capabilities. The current version looks like you can do almost anything you can do in a normal VB 6 project (classes, collections, events, etc). But it's a little pricey (I think it's around 8 or 9 hundred dollars). Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 17, 2003 3:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT PDAs There have been some discussions on this in Woody's Lounge ( www.wopr.com ), but unfortunately the search function is down at present, so I can't point you at anything particular. Non-Palm OS PDAs can run a version of Access if they run Windows CE, but Palm can only run things like HandBase. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 17, 2003 10:39 AM To: accessd Subject: [AccessD] OT PDAs Anyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 17 15:35:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 17 Jun 2003 16:35:22 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E59@main2.marlow.com> Message-ID: LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 17, 2003 4:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 16:37:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 16:37:50 -0500 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5C@main2.marlow.com> Actually I worded that wrong. Lately I haven't had either, time nor money. But I do know what you mean. I've actually been burning out though. For the last two or three weekends I have only spent an hour or two (a weekend) on the computer, which is VERY light for me. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 17, 2003 3:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 17, 2003 4:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nealakling at yahoo.com Tue Jun 17 16:56:12 2003 From: nealakling at yahoo.com (Neal Kling) Date: Tue, 17 Jun 2003 14:56:12 -0700 (PDT) Subject: [AccessD] Access 97 employment opportunity Message-ID: <20030617215612.69933.qmail@web14303.mail.yahoo.com> Dear List, I am getting ready to leave my last remaining Access client. My personal interests no longer leave me time to persue a hobby as an Access developer. The client is a medical case management company with about a dozen employees. They have a reasonably mature A97 database that I inherited about a year ago. It is split front and back end. I have incorporated the Back End Upgrader available here, and the client is used to, and comfortable with, working via email and phone. I have made one on-site visit, but most, if not all, work can be done off-site. It is a mixture of both decent and poorly written code. There are essentially no macros. The project includes 73 tables (not including support tables such as Back End Upgrader), about 130 saved queries, 175 forms/subforms and about 40 reports. The table relationships are fairly complex. They have just recently brought up the possibility of moving to Access2K which I don't think will be a problem. There are no odd references. I seem to spend about 5 to 10 hours a month on this project adding new capabilites and reports as requested. I consider this a project for someone that is quite comfortable with database normalization. It is heavy on complex forms with many interdependant subforms. This is not a beginner project. My intention is to pre-screen potential developers and forward info/resumes in the next month or so. Please contact me off-list if you're interested, or for further details. Neal __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From JOHNWARDBELL at aol.com Tue Jun 17 17:05:24 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Tue, 17 Jun 2003 18:05:24 EDT Subject: [AccessD] Access 97 employment opportunity Message-ID: <3e.3129e0e8.2c20eaa4@aol.com> Neal Where in the world are you? johnb -------------- next part -------------- An HTML attachment was scrubbed... URL: From nealakling at yahoo.com Tue Jun 17 17:24:05 2003 From: nealakling at yahoo.com (Neal Kling) Date: Tue, 17 Jun 2003 15:24:05 -0700 (PDT) Subject: [AccessD] Access 97 employment opportunity Message-ID: <20030617222405.79858.qmail@web14307.mail.yahoo.com> John, John, and Ron, etal, So that we don't clog the list please contact me off-list at nealakling at yahoo.com. But, a couple of good questions were raised. First, the client is in Pennsylvania. Second, my screening process will be pretty loose, but might include phone conversation, submission of sample work or code snippets, references etc. Mainly I need to be assured that you can take over a piece of work that has been handled by various developers (and the obvious problems that entails) and that you can handle a fairly complex project. Neal __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From hsimpson88 at hotmail.com Tue Jun 17 17:25:17 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 17 Jun 2003 16:25:17 -0600 Subject: [AccessD] List box misbehaving Message-ID: It doesn't begin to be fun until you have dueling listboxes competing for identical screen real estate with overlap. You can use overlapping multi select lists to good effect if you get a kick out of confusing users. If you work at it you can even confuse yourself. Just about every control will disappear behind a list which is really fun when you are playing with drag & drop and your textbox goes submarine. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:57:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:57:12 -0700 Subject: [AccessD] access97 application on win2000 References: <916187228923D311A6FE00A0CC3FAA305279D3@ADGSERVER> Message-ID: <022a01c3352c$2d8219c0$6501a8c0@HAL9002> I don't have the problem myself, so it's real hard to figure out what might be causing it. He moves the app to a different box, it works. So it's something in his OS, I believe. Rocky ----- Original Message ----- From: Bobby Heid To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 12:51 PM Subject: RE: [AccessD] access97 application on win2000 It's working fine for me here. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 17, 2003 3:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:58:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:58:12 -0700 Subject: [AccessD] access97 application on win2000 References: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Message-ID: <023801c3352c$4fd3ce60$6501a8c0@HAL9002> Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:58:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:58:12 -0700 Subject: [AccessD] access97 application on win2000 References: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Message-ID: <023801c3352c$4fd3ce60$6501a8c0@HAL9002> Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 19:18:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 19:18:43 -0500 Subject: [AccessD] access97 application on win2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5D@main2.marlow.com> It was only happening on W2k machines, but there was another quirk. It was occurring on a database that people were opening a link to from an intranet page. They were getting the Open From location or Save options. The Open option was opening to instances of the database, the first 'locked', the second got the error. When I switched the code, the first still locked, but the second opened. When the second instance was closed by the user, the first instance closed too. It was wierd. I do know that Jet 3.51 has a quirk in MDAC 2.5 (and I think up to 2.7), I always use Jet 4.0, but that's with ADO, not DAO. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 6:58 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] access97 application on win2000 Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 17 19:33:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:33:06 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <14036972583.20030617175923@cactus.dk> Message-ID: <014801c33531$2fb708e0$6501a8c0@Rock> Well I have to wonder what you might have done in the light of said rumour/fact Gustav! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: June 17, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] *** Invitation to 3rd AccessD Conference *** Hi Lembit Arthur to arrive in M?nchen? Boy had I known that ... /gustav From artful at rogers.com Tue Jun 17 19:37:19 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:37:19 -0400 Subject: [AccessD] Renaming Wizard In-Reply-To: Message-ID: <014901c33531$c69b9320$6501a8c0@Rock> I don't know that product but I really like Rick Fisher's Find-And-Replace tool. It has paid for itself many times over. If only it would work with ADPs, alas... Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 17 19:39:44 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:39:44 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: Message-ID: <014e01c33532$1ce03b00$6501a8c0@Rock> Fuller's First Law: Money never arrives at an inopportune moment. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: June 17, 2003 4:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com From pcs at azizaz.com Tue Jun 17 19:57:05 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 18 Jun 2003 10:57:05 +1000 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 References: <000701c333bc$abf53d30$0c05a8c0@earth.local> <03f501c33409$d1b891f0$be0e90cb@prosys.local> <12534219054.20030617171329@cactus.dk> Message-ID: <023d01c33534$8a2ccff0$be0e90cb@prosys.local> Gustav, Thanks much. Tried it out and it works perfectly!!! Yesterday, I did something similar in the sense of creating three fields to sort on. However, a very crude solution based on some string manipulation code that separates the words in a delimeted string, using "." as the delimter. I created separate functions for the up to three "words" I knew could be in the string. Using these three functions in the sql code, I created FirstSort, SecondSort and ThirdSort. I then found that the query cannot be sorted. Further, saving the query and then linking the query to the table to be sorted didn't work either: unable to use the three fields to sort on. So I ended up adding the three redundant sort fields to the table, and applying the sql as an update query. As I said... crude Regards Borge ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 18, 2003 1:13 AM Subject: Re: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 > Hi B?rge > > I found something from an old similar conversion routine. > It's a query which cannot be sorted, so feed the output to another > query where you select the needed fields only and order by Fld1, Fld2, > Fld3. > > > > SELECT > *, > InStr(1,[StringID],".") AS Dot1, > Val(IIf([Dot1]=0, > [StringID], > IIf([Dot1]=1, > "", > Left([StringID],[Dot1]-1)))) AS Fld1, > IIf([Dot1]=0, > "", > Mid([StringID],1+[Dot1])) AS FldRest1, > InStr(1,[FldRest1],".") AS Dot2, > Val(IIf([Dot2]=0, > "" & [FldRest1], > Left([FldRest1],[Dot2]-1))) AS Fld2, > IIf([Dot2]=0, > "", > Mid([FldRest1],1+[Dot2])) AS FldRest2, > InStr(1,[FldRest2],".") AS Dot3, > Val(IIf([Dot3]=0, > "" & [FldRest2], > Left([FldRest2],[Dot3]-1))) AS Fld3 > FROM > tblYourTable; > > > > It will also handle entries like > > .8.70 > > and > > ..61 > > /gustav > > > > We have a text field with data like this when sorted ascending: > > > 1 > > 1.1 > > 1.2 > > 10 > > 10.1 > > 11 > > 11.1 > > 11.2 > > 2 > > 2.1 > > 2.2 > > 3 > > 3.1. > > 3.1.1 > > 3.1.2 > > 3.1.3 > > 4 > > etc etc. > > > Any one got ideas for how to sort the field like this: > > 1 > > 1.1 > > 1.2 > > 2 > > 2.1 > > 2.2 > > 3 > > 3.1. > > 3.1.1 > > 3.1.2 > > 3.1.3 > > 4 > > .... > > > 10 > > 10.1 > > 11 > > 11.1 > > 11.2 > > > ????? > > > Regards > > Borge Hansen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 17 21:05:45 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:05:45 -0700 Subject: [AccessD] OT:Can VB6 still be purchased? References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <3EEFC8F9.4060204@shaw.ca> Well you might get with a MSDN Universal subscription haven't checked. Appforge sells VB6 student edition with a book for $30 On same page is a link to retailers of VB6 Pro http://www.appforge.com/dev/getvb.html Griffiths, Richard wrote: >so is this the official line then, ie no more VB6 cd's other than what is >already out there (on shelves, ebay etc)? > > > >>-----Original Message----- >>From: Andy Lacey [SMTP:andy at minstersystems.co.uk] >>Sent: 17 June 2003 11:59 >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] OT:Can VB6 still be purchased? >> >>Hi Richard >>There are plenty on ebay if that helps. >>Andy >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>>Griffiths, Richard >>>Sent: 17 June 2003 09:38 >>>To: 'AccessD at databaseadvisors.com' >>>Subject: [AccessD] OT:Can VB6 still be purchased? >>> >>> >>>Hi Group >>> >>>can anyone help with my current heated office discussion >>>which is concerning whether of not you can still puchase VB6 cd's. >>> >>>It appears that are are no longer available (at least in the >>>UK). Can anyone confirm this? >>> >>>Thanks >>> >>>Richard >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/a> ccessd >>>Website: >>>http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 21:21:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:21:46 -0700 Subject: [AccessD] OT SQL Server References: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> <002801c334f8$f884eaa0$37f66e51@martinreid> Message-ID: <3EEFCCBA.9090707@shaw.ca> I think you may have to open one of the ports 1433, 1434 or 1435 to allow internet access to SQL server depending on your config and authorization.. Make sure you have SQL SP3 (slammer) patch installed. Martin Reid wrote: > I am working with SQL Server 2000 on my pc at home. Linking to a > WIndows SharePoint Server in the USA. The WSS server cannot see the > SQL Server and I have been told to make SQL Server "outward facing" I > have not a clue what that means. > > ANyone here have any ideas? > > Martin > > > > ----- Original Message ----- > From: Mike and Doris Manning > To: accessd > Sent: Tuesday, June 17, 2003 5:48 PM > Subject: RE: [AccessD] List box misbehaving > > As you have quickly learned, listboxes don't always like being > overlayed... either move it to somewhere else or make it invisible > in the section of code that makes the subform become visible. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don > Elliker > Sent: Tuesday, June 17, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] List box misbehaving > > Hi folks, > > I have an XP app that is giving me the business. Bound form > with a tabcontrol for various memo fields. A list box with a > separate data source (query of another table related to bound > form recordsource) An invisible subform which is the same data > as the mainform but in a more 'Excel-like' display. When they > request to see the data as presented by the invisible form I > make it visible (Ta Dah!) It overlays some of the controls and > the listbox is one of them. The listbox refuses to be > overlayed...it floats on top of the subform. I have played > with everything I can think of - including deleting the > control and compacting and repairing, then re-creating the > control. It still floats on top (super-annoying) -I checked > for requeries of the listbox. I checked taborders and remnant > code, there are no repaints or restore commands. > > Interestingly, I cannot get the listbox to 'move to back' > nicely...it flickers but stays on top of the Box it sits on - > none of the other controls act this way. Also, if I maximize > the form...it doesn't misbehave...but that, of course, is NOT > the solution......??? > Thanks, > > _D > > > > > "Things are only free to the extent that you don't pay for > them".-Don Elliker > > ------------------------------------------------------------------------ > STOP MORE SPAM with the new MSN 8 > and get 2 months 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 > > From martyconnelly at shaw.ca Tue Jun 17 21:27:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:27:32 -0700 Subject: [AccessD] OT StartOffice References: <1049909180.3e9457bc77efa@hosea.qub.ac.uk> <1049912749.26548.50.camel@sgsax-th4022c> <1049913718.3e946976b3732@hosea.qub.ac.uk> <1049915226.27231.67.camel@sgsax-th4022c> <019101c2fedc$dea746c0$6101a8c0@amd2k512> Message-ID: <3EEFCE14.7020900@shaw.ca> SAPdb is a code fork from ADABASE-D but even it's loosely documented. SAPDB has an Oracle like SQL syntax. http://www.sapdb.org William Hindman wrote: >...its Adabase D from Software AG ...trouble is that afaik it only supports >database functions in the other apps like a word merge or spreadsheet tables >...there is no standalone product interface, front-end, or VBA like program >support ...which means its not even close to MySQL as a db development >environment, much less Access :( > >William Hindman >"War is an ugly thing but not the ugliest of things; the decayed and >degraded state of moral and patriotic feelings which thinks that nothing is >worth war is much worse. A man who has nothing for which he is willing to >fight, nothing which is more important than his own personal safety, is a >miserable creature and has no chance of being free unless made and kept so >by the exertions of better men than himself." John Stuart Mill > >----- Original Message ----- >From: "Seth Galitzer" >To: "accessd" >Sent: Wednesday, April 09, 2003 3:07 PM >Subject: Re: [AccessD] OT StartOffice > > > > >>Martin, >> >>The database has always been seperate, not sure why, other than >>tradition. The name of the database app is Adabase D. If you can find >>that somewhere then you're home free. I think I have a copy of it, but >>the uni here also has a software contract with Sun. I will say that 6.0 >>was a huge improvement over 5.2, mostly because 5.2 had a massive >>integrated desktop environment that you had to use in order to use the >>suite. 6.0 got rid of that garbage entirely. I think it's much nicer >>now. >> >>Seth >> >>On Wed, 2003-04-09 at 13:41, Mwp.Reid at Queens-Belfast.AC.UK wrote: >> >> >>>Thanks Seth >>> >>>Just installed it on Win XP Pro. Giving it a look now. Only thing didnt >>>install was the database which is not part of the default set up files >>> >>> >and > > >>>cant find it on sun site. >>> >>>Martin >>> >>> >>-- >>Seth Galitzer sgsax at ksu.edu >>Computing Specialist http://puma.agron.ksu.edu/~sgsax >>Dept. of Plant Pathology >>Kansas State University >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 21:29:58 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:29:58 -0700 Subject: [AccessD] RE:OT slightly? Translation References: Message-ID: <3EEFCEA6.4080801@shaw.ca> Maybe hunt around here. http://www.microsoft.com/globaldev Jim Lawrence (AccessD) wrote: >Hi All: > >I have a question about language translation. Microsoft has installed what I >think/hope is the correct udf-8 language module for a foreign language. (It >happens to be Japanese) Ninety percent of the characters are correctly >displayed, with a few notable exceptions, that appear as boxes. How can I >find out what character set I am missing so the my MS products can translate >the remaining symbols? > >TIA >Jim > > >> >> >> From john at winhaven.net Tue Jun 17 21:49:12 2003 From: john at winhaven.net (John Bartow) Date: Tue, 17 Jun 2003 21:49:12 -0500 Subject: [AccessD] Renaming Wizard In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C7F1@TAPPEEXCH01> Message-ID: I highly recommended it also. I've found that if I think I should be able to do something with it but its not in my face obvious I just ask the support and they will explain how. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Tuesday, June 17, 2003 3:07 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Renaming Wizard > > > If it works on SQL Server, I'm in! > I'll take a look. > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, June 17, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Renaming Wizard > > > The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 > databases without any problems that I've found. I use it on 97 and XP > databases all the time. Plus it works on VB and SQL Server. > > Charlotte Foust > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Tuesday, June 17, 2003 11:14 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Renaming Wizard > > > I know that Speed Ferret would choke on older Access databases > (hopefully they've improved it since A2!). I use the Find & Replace > add-in by Rick Fisher. Cheap ($37) and works great! His website is > www.rickworld.com. > > -----Original Message----- > From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] > Sent: Tuesday, June 17, 2003 12:53 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Renaming Wizard > > > Hi All, > Has anyone had any experience with the Renaming Wizard from ACC > technology or a similar program. Have some older databases that could > use an overhaul. Thanks. > Ed > > Edward P. Tesiny > New York State OASAS > Evaluation and Program Monitoring > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > EdTesiny at oasas.state.ny.us > > > > ------------------------------------------------------------------------ > -------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ------------------------------------------------------------------ > -------------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Tue Jun 17 21:49:13 2003 From: john at winhaven.net (John Bartow) Date: Tue, 17 Jun 2003 21:49:13 -0500 Subject: [AccessD] Sort mixed alpha numeric data In-Reply-To: <415374107.20030617091245@cactus.dk> Message-ID: Hi Gustav, Thanks for the suggestion. I'll give it a try in the morning. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, June 17, 2003 2:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Sort mixed alpha numeric data > > > Hi John > > > I have a test field where the data is generally 1,2,3,4,5 but can also > > include 1a, 1b, 1c. > > > Would any one happen to have ideas for a way (or code for a > function that > > will) sort mixed data numerically first and then alphabetically? > > So how are you sorting them now? The data must be strings and sorted > as such. Or do you have data with more than one digit, like 15c? > > If so, sort on the numeric value then the ascii value: > > > > SELECT > * > FROM > tblYourTable > ORDER BY > Val(StringID), > StringID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Tue Jun 17 22:14:56 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 17 Jun 2003 20:14:56 -0700 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E5C@main2.marlow.com> Message-ID: Hi All: I was wondering if there would be a way to video-conference to the conference. How much hardware, software and know-how would be involved? What about sponsors, like Uncle Bill who we have been supporting for years? All joking aside is it do-able? Viable? Realistic? How many programmers does it take to hook up video conferencing? Just a thought. Jim From d.dick at uws.edu.au Tue Jun 17 22:31:07 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 13:31:07 +1000 Subject: [AccessD] A2K: Date in Query Message-ID: <01d801c3354a$0e203670$3c619a89@DDICK> Hello all When I put msgbox Year(Date) behind a button click I get 2003. No Prob When I put that criteria Year(Date) into a query Access changes it to Year("Date") and of course it fails. What is the correct syntax to search on the 'current year' on a field that holds that data? Many thanks Darren From accessd at shaw.ca Tue Jun 17 22:22:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 17 Jun 2003 20:22:57 -0700 Subject: [AccessD] RE:OT slightly? Translation In-Reply-To: <3EEFCEA6.4080801@shaw.ca> Message-ID: Hi Marty: Thanks for the information. Now to work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, June 17, 2003 7:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] RE:OT slightly? Translation Maybe hunt around here. http://www.microsoft.com/globaldev Jim Lawrence (AccessD) wrote: >Hi All: > >I have a question about language translation. Microsoft has installed what I >think/hope is the correct udf-8 language module for a foreign language. (It >happens to be Japanese) Ninety percent of the characters are correctly >displayed, with a few notable exceptions, that appear as boxes. How can I >find out what character set I am missing so the my MS products can translate >the remaining symbols? > >TIA >Jim > > >> >> >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Jun 17 22:40:22 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 13:40:22 +1000 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: Message-ID: <01e301c3354b$58f2c3b0$3c619a89@DDICK> Hi Jim Actually videoconferencing (vcf) is my full time gig To videoconference, using a 'web cam' device is easy but the results are crap. But of course cheap. To do it semi professionally requires a little bit of intervention but primarily it would require money. Money to hire the necessary sites at each end and the cost of the call if it is done via ISDN. If people at the relevant ends have access to a very wide bandwidth symmetric pipe then it can be done quite cheaply via IP. I would even offer to bridge the call/s :-) - No fee Depends on who is paying and from where to where basically. If this is to be seriously looked at then can the dba Conference organisers contact me off line and we can talk serious. Have a great day Darren ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Wednesday, June 18, 2003 1:14 PM Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > Hi All: > > I was wondering if there would be a way to video-conference to the > conference. How much hardware, software and know-how would be involved? What > about sponsors, like Uncle Bill who we have been supporting for years? All > joking aside is it do-able? Viable? Realistic? How many programmers does it > take to hook up video conferencing? > > Just a thought. > 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 Tue Jun 17 23:06:32 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Jun 2003 14:06:32 +1000 Subject: [AccessD] A2K: Date in Query In-Reply-To: <01d801c3354a$0e203670$3c619a89@DDICK> Message-ID: <3EF071E8.22468.17EFF5A@localhost> On 18 Jun 2003 at 13:31, Darren DICK wrote: > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that holds that data? > Try Year(Date()) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Jun 17 23:37:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 23:37:44 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5F@main2.marlow.com> Year(Date()). Without the (), the query thinks it's text. Do we need an Access 101 course Darren? , just kidding, I've been nabbed about a dozen times in the past week for putting Date in a query, and having it quote it on me...ARG! I need a vacation! Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Tuesday, June 17, 2003 10:31 PM To: AccessD List Subject: [AccessD] A2K: Date in Query Hello all When I put msgbox Year(Date) behind a button click I get 2003. No Prob When I put that criteria Year(Date) into a query Access changes it to Year("Date") and of course it fails. What is the correct syntax to search on the 'current year' on a field that holds that data? Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 17 23:51:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 21:51:36 -0700 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? References: <62090-22003661451356854@christopherhawkins.com> Message-ID: <3EEFEFD8.7010205@shaw.ca> Have a look at this code produces multiple thumbnails as an index on 1 bmp Should be other code on this site http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=46216 Christopher Hawkins wrote: >I did explain the outcome I was after. > >>From my original message: >"My client *wants to see a thumbnail* of all the images that are >related to the record being viewed - the images are stored in a >folder with the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but *I need to >see a thumbnail view*, not a list view. > >I can right-click in the control and select View > Thumbnail, but *my >client wants the images to appear in thumbnail view* without his >users having to do anything." > >The question is hereby withdrawn. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser >controltoviewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 20:46:00 -0700 > > > >>Christopher, you should explained what result you required, not how >>to get >>there; you got exactly what you ask for but not what you needed. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >>Hawkins >>Sent: Friday, June 13, 2003 7:06 AM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control >>toviewfiles-Thumbnail view? >> >> >>Well, that code will launch Windows Explorer, but I'm tasked with >>actually integrating some type of image browser into the app. That's >>why I used ther WebBrowser in the first place. >> >>Good idea, though. >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to >>viewfiles-Thumbnail view? >>Date: Fri, 13 Jun 2003 00:29:22 -0700 >> >> >> >>>Hi Christopher: >>> >>>Yes there is: >>> >>>Option Explicit >>> >>>Public 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 Const SW_SHOWNORMAL = 1 >>> >>> >>>Private Sub frmButton01_Click() >>> >>> Call ShellExecute(0&, "Open", _ >>> "explorer.exe", "/e,/n,c:\", _ >>> 0&, SW_SHOWNORMAL) >>> >>>End Sub >>> >>>Something like this would work. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>> >>> >>Christopher >> >> >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:53 PM >>>To: accessd at databaseadvisors.com >>>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>>files-Thumbnail view? >>> >>> >>>OK, let me ask this, then: >>> >>>Is there a way to embed Windows Explorer into a VB form? >>> >>>-C- >>> >>>---- Original Message ---- >>>From: accessd at shaw.ca >>>To: accessd at databaseadvisors.com, >>>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>>files -Thumbnail view? >>>Date: Thu, 12 Jun 2003 19:37:11 -0700 >>> >>> >>> >>>>Hi Christopher: >>>> >>>>In order for the process to work you will need two copies of the >>>>picture, >>>>one the thumbnail and one the full-size version. They could he >>>> >>>> >>>named >>> >>> >>>>like >>>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>>> >>>> >>>to >>> >>> >>>>force a >>>>image to a specific size on a web page. Too much process and a poor >>>>quality >>>>images. Check out the tag for html coding. >>>> >>>>HTH >>>>Jim >>>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>> >>>> >>>Christopher >>> >>> >>>>Hawkins >>>>Sent: Thursday, June 12, 2003 7:05 PM >>>>To: accessd at databaseadvisors.com >>>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >>>> >>>> >>- >> >> >>>>Thumbnail view? >>>> >>>> >>>>So here's my dilemma. >>>> >>>>I have a form that is displaying data from a database. >>>> >>>>My client wants to see a thumnail of all the images that are >>>> >>>> >>related >> >> >>>>to the record being viewed - the images are stored in a folder with >>>>the same name as the record ID, so finding them is easy. >>>> >>>>I dropped a Webbrowser control on the form, fed it the appropriate >>>>path, and BAM! I'm looking at a list of files. Close, but I need >>>> >>>> >>>to >>> >>> >>>>see a thumbnail view, not a list view. >>>> >>>>I can right-click in the control and select View > Thumbnail, but >>>> >>>> >>my >> >> >>>>client wants the images to appear in thumbnail view without his >>>> >>>> >>>users >>> >>> >>>>having to do anything. >>>> >>>>I am thus far unable to find a property of the WebBrowser control >>>>that would allow this, and Google has failed me. Does anyone have >>>>any ideas? >>>> >>>>-Christopher- >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 23:57:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 21:57:46 -0700 Subject: [AccessD] RE:OT slightly? Translation References: Message-ID: <3EEFF14A.9060300@shaw.ca> You might want to have a look at Micheal Kaplan's book on VB6 Internationalization Explains a lot about different language packs and OS's and how they interlink with UTS-8 and Unicode especially for DBCS languages. Link to book on his web site http://www.trigeminal.com Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for the information. Now to work. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Tuesday, June 17, 2003 7:30 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] RE:OT slightly? Translation > > >Maybe hunt around here. >http://www.microsoft.com/globaldev > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>I have a question about language translation. Microsoft has installed what >> >> >I > > >>think/hope is the correct udf-8 language module for a foreign language. (It >>happens to be Japanese) Ninety percent of the characters are correctly >>displayed, with a few notable exceptions, that appear as boxes. How can I >>find out what character set I am missing so the my MS products can >> >> >translate > > >>the remaining symbols? >> >>TIA >>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 bbruen at bigpond.com Wed Jun 18 00:05:34 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 18 Jun 2003 15:05:34 +1000 Subject: [AccessD] Cross referencing records - ideas Message-ID: <000001c33557$419f9470$7f00a8c0@bbb888> Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce From d.dick at uws.edu.au Wed Jun 18 00:20:24 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 15:20:24 +1000 Subject: [AccessD] A2K: Date in Query References: <2F8793082E00D4119A1700B0D0216BF802226E5F@main2.marlow.com> Message-ID: <021f01c33559$523a74b0$3c619a89@DDICK> I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 00:33:34 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 00:33:34 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E60@main2.marlow.com> Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 00:35:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 00:35:42 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E61@main2.marlow.com> Well, maybe someone should make up a list of topics, and we can post about them, to create a ad-hoc 101 course here. Pick a topic a week. Like Query Building, Table Design, Shortcut keys, etc. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 12:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Jun 18 01:07:13 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 16:07:13 +1000 Subject: [AccessD] A2K: Date in Query References: <2F8793082E00D4119A1700B0D0216BF802226E61@main2.marlow.com> Message-ID: <024101c3355f$dcdb4a30$3c619a89@DDICK> SOunds like a great idea. Volunteering?? DD ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 3:35 PM Subject: RE: [AccessD] A2K: Date in Query > Well, maybe someone should make up a list of topics, and we can post about > them, to create a ad-hoc 101 course here. Pick a topic a week. > > Like Query Building, Table Design, Shortcut keys, etc. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 18, 2003 12:20 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K: Date in Query > > > I would love a 101 Course - really > We can do it Via videoconference > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Wednesday, June 18, 2003 2:37 PM > Subject: RE: [AccessD] A2K: Date in Query > > > > Year(Date()). Without the (), the query thinks it's text. > > > > Do we need an Access 101 course Darren? , just kidding, I've > been > > nabbed about a dozen times in the past week for putting Date in a query, > and > > having it quote it on me...ARG! I need a vacation! > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Tuesday, June 17, 2003 10:31 PM > > To: AccessD List > > Subject: [AccessD] A2K: Date in Query > > > > > > Hello all > > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > > When I put that criteria Year(Date) into a query Access changes it to > > Year("Date") > > and of course it fails. > > What is the correct syntax to search on the 'current year' on a field that > > holds that data? > > > > Many thanks > > > > Darren > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 05:22:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 12:22:02 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <014801c33531$2fb708e0$6501a8c0@Rock> References: <014801c33531$2fb708e0$6501a8c0@Rock> Message-ID: <19917423864.20030618122202@cactus.dk> Hi Arthur > Well I have to wonder what you might have done in the light of said > rumour/fact Gustav! Stayed away, of course! No, seriously, now I have to figure out something clever to present between the beer sessions. /gustav PS: Did you know that one of my ancestors - he even had the same name - was one of the three founders of Tuborg Breweries in 1873? > Arthur to arrive in M?nchen? > Boy had I known that ... From Erwin.Craps at ithelps.be Wed Jun 18 05:24:10 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 18 Jun 2003 12:24:10 +0200 Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Message-ID: <104AB6116A2DD511A7580008C7097A982198E9@AARDBEI> Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Jun 18 05:57:43 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 18 Jun 2003 06:57:43 -0400 Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. In-Reply-To: <104AB6116A2DD511A7580008C7097A982198E9@AARDBEI> Message-ID: <018901c33588$717f0500$6501a8c0@Rock> This little function won't do everything you want, but it should help considerably. A little cutting and pasting and you're there: Public Function FieldList(strSource As String, Optional intType As Integer, _ Optional bIncludePK As Boolean) As String 'Returns a comma-delimited list of the fieldnames from a table 'Not including the first field 'On the assumption that this field is the Primary Key 'TODO: refine this assumption before publication, make it test against PK ' Dim rst As ADODB.Recordset Dim fld As ADODB.Field Dim i As Integer 'Dim cnn As Connection Dim strList As String 'Set cnn = CurrentProject.Connection Set rst = New ADODB.Recordset rst.Open strSource, CurrentProject.Connection For i = 0 To rst.Fields.Count - 1 'skip the first field (PK usually) Set fld = rst.Fields(i) With fld If Left$(.Name, 2) <> "s_" And Left$(.Name, 4) <> "MSys" Then Select Case intType Case 0 strList = strList & .Name & ", " Case 1 strList = strList & "[" & strSource & "].[" & .Name & "], " End Select End If End With Next FieldList = Left(strList, Len(strList) - 2) 'drop the final ", " rst.Close Set rst = Nothing Set fld = Nothing End Function "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: June 18, 2003 6:24 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Importance: High Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinanfields at torchlake.com Wed Jun 18 07:07:01 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 18 Jun 2003 08:07:01 -0400 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Message-ID: <3EF055E5.30607@torchlake.com> Drew, Yes. It may well be one of those "paradigm" things - those things that are so much a part of our environment that we don't question them, or in some cases even see them. I'm not exactly a self-efacing type, and I'm not unaware of the intellectual gifts I got handed at birth. What's more, I knew full well that my high school education stood up very well against most of the standard college curricula (we were using Boolean Algebra and Differential Calculus in our senior year, and most of us got advanced placement in one or more subjects, based on our college entrance exam scores). Yet, once I did complete the trip across the stage to collect that degree, I had changed inside. I knew I had achieved something. Was I especially different? Well, no - most of what I now had a "stamp of approval" on was stuff I had been using for years. But, from then on, I had a sort of "I have one, too" attitude that completely surprised me. (Could be "leftovers" from the traditional cultural point that Charles mentioned.) Tina Drew Wutka wrote: >Hmmm, so you think you realized something afterwards, that you hadn't pin >pointed before? > >Drew > >-----Original Message----- >From: Tina Norris Fields [mailto:tinanfields at torchlake.com] >Sent: Monday, June 16, 2003 4:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: the "Education" system > > >Drew, >Oh yes, you probably are "up hill" of most of the people you ever will >meet. So are many of the contributors on this list. What surprised me >was that I didn't know until after I had the degree that I had ever felt >"down hill." > Tina > >Drew Wutka wrote: > > > >>Interesting. >> >>I have never really felt 'downhill' though. In fact, many times I feel >> >> >like > > >>I am uphill from people with degrees, because I see the solution, and they >>are flapping in the wind. Oh well. >> >>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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 18 07:24:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 08:24:14 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. John W. Colby www.colbyconsulting.com From serbach at new.rr.com Wed Jun 18 07:27:15 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 18 Jun 2003 07:27:15 -0500 Subject: [AccessD] OT: the "Education" system References: Message-ID: <016b01c33595$aa78ab60$3c06d018@W2k> Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain From roz.clarke at donnslaw.co.uk Wed Jun 18 07:36:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 18 Jun 2003 13:36:25 +0100 Subject: [AccessD] OT: the "Education" system Message-ID: <61F915314798D311A2F800A0C9C83188047C5EF4@dibble.observatory.donnslaw.co.uk> As promised on Friday, this thread is now squashed. Please take your comments to our delicious, nutritious OT list. Thanks Roz -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 18 June 2003 13:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 07:37:03 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 08:37:03 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <016b01c33595$aa78ab60$3c06d018@W2k> Message-ID: >How about "Miss Manners' Guide to Excruciatingly Correct Behavior?" I have a two year old boy. I would buy that! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, June 18, 2003 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Jun 18 07:42:57 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Jun 2003 22:42:57 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: Message-ID: <3EF0EAF1.6794.357CF23@localhost> On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Erwin.Craps at ithelps.be Wed Jun 18 07:45:44 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 18 Jun 2003 14:45:44 +0200 Subject: SOLVED : [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Message-ID: <104AB6116A2DD511A7580008C7097A982198EA@AARDBEI> Thank you -----Oorspronkelijk bericht----- Van: Arthur Fuller [mailto:artful at rogers.com] Verzonden: woensdag 18 juni 2003 12:58 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. This little function won't do everything you want, but it should help considerably. A little cutting and pasting and you're there: Public Function FieldList(strSource As String, Optional intType As Integer, _ Optional bIncludePK As Boolean) As String 'Returns a comma-delimited list of the fieldnames from a table 'Not including the first field 'On the assumption that this field is the Primary Key 'TODO: refine this assumption before publication, make it test against PK ' Dim rst As ADODB.Recordset Dim fld As ADODB.Field Dim i As Integer 'Dim cnn As Connection Dim strList As String 'Set cnn = CurrentProject.Connection Set rst = New ADODB.Recordset rst.Open strSource, CurrentProject.Connection For i = 0 To rst.Fields.Count - 1 'skip the first field (PK usually) Set fld = rst.Fields(i) With fld If Left$(.Name, 2) <> "s_" And Left$(.Name, 4) <> "MSys" Then Select Case intType Case 0 strList = strList & .Name & ", " Case 1 strList = strList & "[" & strSource & "].[" & .Name & "], " End Select End If End With Next FieldList = Left(strList, Len(strList) - 2) 'drop the final ", " rst.Close Set rst = Nothing Set fld = Nothing End Function "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: June 18, 2003 6:24 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Importance: High Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Wed Jun 18 07:52:49 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 13:52:49 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: <002501c33598$86237e40$ea39fc3e@netboxxp> Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark From Lists at theopg.com Wed Jun 18 07:57:37 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 13:57:37 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <002501c33598$86237e40$ea39fc3e@netboxxp> Message-ID: <002601c33599$31a8f290$ea39fc3e@netboxxp> 'scuse the typo in the subject line please folks... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: 18 June 2003 13:53 To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 18 07:57:47 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 18 Jun 2003 08:57:47 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: John, if it helps... Quite a lot of command line options are shown here: http://office.microsoft.com/assistance/2002/articles/OlCommandLineSwitches.a spx Outlook 2002 Object Model Map http://www.microeye.com/resources/ObjectModel2002.htm Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:24 AM To: AccessD Subject: [AccessD] OT: Programming in Outlook Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 08:07:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 09:07:07 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 08:18:48 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 09:18:48 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 08:33:47 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 14:33:47 +0100 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: Message-ID: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 18 08:44:42 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 18 Jun 2003 09:44:42 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Wed Jun 18 09:12:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 00:12:19 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> References: Message-ID: <3EF0FFE3.19331.3A9A092@localhost> On 18 Jun 2003 at 14:33, Mark H wrote: > You may need to set the macro security to medium (TOOLS - MACRO - > SECURITY)... > > I'm using Outlook 2002 btw - tried what you did and it worked fine on > medium (got prompt to enable macros though) > Same here with O2K -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From dwaters at usinternet.com Wed Jun 18 09:13:38 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 18 Jun 2003 09:13:38 -0500 Subject: [AccessD] Outlook / Access Email Security (was OT: Programming in Outlook) In-Reply-To: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> Message-ID: <000001c335a3$d021e710$de1811d8@DanWaters> I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 18 09:11:45 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 18 Jun 2003 09:11:45 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <869379ABF177D4118D3100508B5EF8730656C3DB@corp-es00> Hmmm....A lot of people contribute great answers often complete with code. The best of these could be invited to present them in question and answer form for use on the website. If this is done as they occur (a best answer of the week award?) it would, over time, produce a respectable body of knowledge. DBA could even raise operating funds by publishing a book along the lines of the Access Cookbook (which earlier was published as the Access 95 How To). Just a thought. Jim Hale -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 18, 2003 12:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A2K: Date in Query Well, maybe someone should make up a list of topics, and we can post about them, to create a ad-hoc 101 course here. Pick a topic a week. Like Query Building, Table Design, Shortcut keys, etc. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 12:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Jun 18 09:21:34 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 18 Jun 2003 10:21:34 -0400 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <002501c33598$86237e40$ea39fc3e@netboxxp> Message-ID: <004901c335a4$ef925840$6d320cd8@hargrove.internal> You are basically going to have to build your own routine to handle the send attachment process using the Outlook object model and/or CDO. Slipstick's website (http://www.slipstick.com/) has a lot of helpful tips and tricks. We use Redemption (http://www.dimastr.com/redemption/) to get around the Microsoft Outlook Security patch issues. Our code looks something like this... Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String, _ Optional FilePath As String, _ Optional strAttach As String) On Error GoTo ErrorHandler Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oRecip As Object Dim oDeliver As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe 'Add the TO names If SendTo <> vbNullString Then If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If 'Add the CC names If SendCC <> vbNullString Then If InStr(1, SendCC, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendCC, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv .Recipients.ResolveAll Else .Recipients.Add SendCC .Recipients.ResolveAll End If End If 'Add the rest of the information .Subject = SendSubj .Body = SendBody 'Add Attachments If strAttach <> vbNullString Then If InStr(1, strAttach, ";", vbTextCompare) > 0 Then If Right(strAttach, 1) <> ";" Then strAttach = strAttach & ";" End If aryFileList = Split(strAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = CurrentProject.Path & "\" & aryFileList(lcv) If Right(aryFileList(lcv), 3) = "pdf" Then strFileName = FilePath & aryFileList(lcv) FileCopy strFileName, PullFile End If .Attachments.Add PullFile Next lcv End If End If If SendEdit = True Then .Display Exit Function Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup Exit_SafeMail: If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 8:53 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:24:24 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:24:24 +1000 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E60@main2.marlow.com> Message-ID: <001501c335a5$51bc5980$7f00a8c0@bbb888> I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:35:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:35:46 +1000 Subject: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) In-Reply-To: <000001c335a3$d021e710$de1811d8@DanWaters> Message-ID: <002201c335a6$e82814d0$7f00a8c0@bbb888> Dear Dan, No, this will NOT work. Certificates will let you use VBA routines inside Outlook without having to set your security level down. However, it wont get rid of the "A program is trying to access your address list" pain. There is (currently) NO way around this unless you are using Enterprise Server or you use a different mailing system inside Access (eg Fathmail) or you go the Redemption route. Further the outlook is for continued bad weather as M$ does not wish to admit it is wrong and has stated that it will continue with the stupidity of the Outlook (so called) security model into the future. Hope this saves you some time Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, June 19, 2003 12:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 09:36:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 16:36:27 +0200 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <001501c335a5$51bc5980$7f00a8c0@bbb888> References: <001501c335a5$51bc5980$7f00a8c0@bbb888> Message-ID: <7132689184.20030618163627@cactus.dk> Hi Bruce Though it probably won't help you much, what you're describing is pretty much how Lotus Organizer works. Information of many kinds - notes, addresses, calendar entries, to-do list, etc. - can easily be linked or chained to each other and these links act as hyperlinks. But perhaps you can get some ideas for the GUI ... /gustav > I am after the concept for a solution. I guess I'm having as much > trouble describing it as conceiving it. However, you have created a > germ of an idea here. Lets see if I can explain it more clearly. > A part of the (much) larger job quoting/pricing system involves > 'actioning' pricing on parts. That is, once they have figured out a > configuration to suit the customers needs of a machine, they search > around for the best component supply price both locally and on the web. > This actioning may take several days and involve several different > people in several different offices. As they traipse around doing this, > they enter notes regarding the component supply for the job. To do > this, we use a popup form off the jobcard form into which the user > enters his notes. When they close the popup, the note is appended to > the "job_history" field on the job card. (In fact, its prepended so > they appear in reverse order.) > For example, Joe rings his mate at ShonkyPCParts and gets a quote for > $98 for a mini-keyboard. He opens the job card form up and clicks the > "ADD a note" command button. Up comes the popup and he enters "Spoke to > Fred down at Shonky's, they can give us the kbds at $98 if we can use > 250 of them" and closes the form. The job card job_history is updated > and now reads: > "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us > the kbds at $98 if we can use 250 of them > 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" > Now, lets say Ben Crow also needs mini keyboards for another job, he and > Joe can make up a need for a total of 280 of them. Joe adds a new note > to the file. The history now reads: > "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS > job for Bigbank > 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us > the kbds at $98 if we can use 250 of them > 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" > This is where the issue lies. What they would like, is some way to > easily link Joe's job with Ben's job and vv. Now, there is no natural > key for the job cards - we excluded this on purpose in the design. You > can see one of the ways a jobcard may be referenced above: (broker=Ben, > client=Bigbank, jobtitle=...POS...). This is a typical (not the only) > way these guys refer to a job. Now Ben, over the course of time, may do > more than one POS job for Bigbank, but usually only one is active at a > time, if there were more than one they would call them differently. > What the germ of the idea is, is this. > There must be some way of letting them create a hyperlink to the job and > attaching the hyperlink to the referencing phrase. That is, in the > above hstory : "POS job for Bigbank" would be the link text and the > hyperlink would be to the PK for Ben's job card. > The question now becomes, "How feasible is this? > I could easliy add a cmdbutton on the ADD a note popup to open a search > for other jobs. I can use selstart etc to position the link. I can > build the html easily enough. What I would need to do is change the > textbox for note entry to some sort of edittable html control. Any > ideas? And change the history display textbox on the jobcard form to a > webcontrol (as its not directly edittable). > Is this clearer? What do ou think of the solution? Should I go back to > gardening? From Mark.Mitsules at ngc.com Wed Jun 18 09:41:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 18 Jun 2003 10:41:59 -0400 Subject: [AccessD] Outlook / Access Email Security (was OT: Program ming in Outlook) Message-ID: Dan, I've seen such a thing for personal use... http://support.microsoft.com/?kbid=217221 Mark -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, June 18, 2003 10:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programming in Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:47:45 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:47:45 +1000 Subject: [AccessD] OT: Programming in Outlook :-) In-Reply-To: Message-ID: <002801c335a8$94b45550$7f00a8c0@bbb888> Option Explicit Dim ProcNewMail As Boolean Private Sub Application_NewMail() Dim mItem As MailItem Dim ns As NameSpace If Not ProcNewMail Then Exit Sub Call Application.Uninstall("Outlock","Now", "No I dont want to think about it") End Sub Private Sub Application_Startup() 'This is to defuse the newmail process only while in development 'Set to true in final version ProcNewMail = False End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, June 18, 2003 10:24 PM To: AccessD Subject: [AccessD] OT: Programming in Outlook Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. 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 Lists at theopg.com Wed Jun 18 09:24:59 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 15:24:59 +0100 Subject: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) In-Reply-To: <000001c335a3$d021e710$de1811d8@DanWaters> Message-ID: <000f01c335a5$66086cd0$ea39fc3e@netboxxp> Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 09:26:44 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 15:26:44 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <004901c335a4$ef925840$6d320cd8@hargrove.internal> Message-ID: <001001c335a5$a4c92ef0$ea39fc3e@netboxxp> Thanks for that... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: 18 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Accessing qindows Send To You are basically going to have to build your own routine to handle the send attachment process using the Outlook object model and/or CDO. Slipstick's website (http://www.slipstick.com/) has a lot of helpful tips and tricks. We use Redemption (http://www.dimastr.com/redemption/) to get around the Microsoft Outlook Security patch issues. Our code looks something like this... Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String, _ Optional FilePath As String, _ Optional strAttach As String) On Error GoTo ErrorHandler Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oRecip As Object Dim oDeliver As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe 'Add the TO names If SendTo <> vbNullString Then If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If 'Add the CC names If SendCC <> vbNullString Then If InStr(1, SendCC, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendCC, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv .Recipients.ResolveAll Else .Recipients.Add SendCC .Recipients.ResolveAll End If End If 'Add the rest of the information .Subject = SendSubj .Body = SendBody 'Add Attachments If strAttach <> vbNullString Then If InStr(1, strAttach, ";", vbTextCompare) > 0 Then If Right(strAttach, 1) <> ";" Then strAttach = strAttach & ";" End If aryFileList = Split(strAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = CurrentProject.Path & "\" & aryFileList(lcv) If Right(aryFileList(lcv), 3) = "pdf" Then strFileName = FilePath & aryFileList(lcv) FileCopy strFileName, PullFile End If .Attachments.Add PullFile Next lcv End If End If If SendEdit = True Then .Display Exit Function Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup Exit_SafeMail: If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 8:53 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 18 10:03:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 18 Jun 2003 11:03:30 -0400 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <001501c335a5$51bc5980$7f00a8c0@bbb888> Message-ID: <01e601c335aa$c77ee340$6501a8c0@Rock> IMO stuffing everything into a single memo field is the problem, not the solution. Every new note should be a new record in a table with a memo field. Then you can forget about all this concatenation stuff and concentrate on displaying the results suitably. Not that it's necessarily black and white: I have several times included both a normalized version and a non-normalized version in an app, simply because the non-normalized version was the client's dictate. That doesn't mean I have to live with its limitations, however. In such a case I do the actually important writes to the normalized table, then execute some code to write to the non-normalized table. In your case my normalized table would have a date and a memo and requisite FKs, then some code would concatenate new memos to the non-normalized table's memo field. My $.02 :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: June 18, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 10:07:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 11:07:30 -0400 Subject: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) In-Reply-To: <000f01c335a5$66086cd0$ea39fc3e@netboxxp> Message-ID: I just found and ran it. The cert doesn't show up in the trusted list however. I also have a real cert (some of you may remember THAT fiasco a few months ago) and it doesn't show up in the trusted list either. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark H Sent: Wednesday, June 18, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 10:17:48 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 16:17:48 +0100 Subject: [AccessD] Outlook / Access Email Security (wasOT:Programmingin Outlook) In-Reply-To: Message-ID: <001f01c335ac$c752df50$ea39fc3e@netboxxp> I don't know enough to help. Just tried it on this machine... Created the cert, went into VBA editor and clicked "tools" then "digital signature" then "choose" under "sign as" and the cert was there. This is only for self certification I believe so it (possibly???) won't work on other computers. Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 16:08 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (wasOT:Programmingin Outlook) I just found and ran it. The cert doesn't show up in the trusted list however. I also have a real cert (some of you may remember THAT fiasco a few months ago) and it doesn't show up in the trusted list either. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark H Sent: Wednesday, June 18, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Wed Jun 18 10:29:16 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 18 Jun 2003 10:29:16 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DDD@cpixchng-1.cpiqpc.net> If it were me, I think I would do away with the one memo field and make a table of latest pricing levels for my items. Then have another table linked to the pricing table in a one-to-many relationship that lists the entries of sales people that want that item at that price and how many they want. Once the price level is met, a purchase order is created. The first table could have a notes field to give information about the item/pricing, the second table could have notes about the order for that salesperson. This could all be tied together so both sales people could see the list of their orders tied to a pricing entry, as well as anyone else who has an order tied to that pricing entry. HTH Rusty -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 9:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 11:36:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 18:36:43 +0200 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <14139904870.20030618183643@cactus.dk> Hi Richard Yes, the official route is to buy Visual Basic 2003 .net on a MOL agreement and then buy a VB6 media kit. /gustav > so is this the official line then, ie no more VB6 cd's other than what is > already out there (on shelves, ebay etc)? From DWUTKA at marlow.com Wed Jun 18 11:49:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:49:49 -0500 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E66@main2.marlow.com> I can confirm. Just got a voicemail back from my distributor. He said he can still get new copies of VB 6, both Pro and Enterprise editions. If you need to order one, give me a holler, and I'll send you his contact info. Drew -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 17, 2003 3:38 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] OT:Can VB6 still be purchased? Hi Group can anyone help with my current heated office discussion which is concerning whether of not you can still puchase VB6 cd's. It appears that are are no longer available (at least in the UK). Can anyone confirm this? Thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 11:50:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:50:25 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E67@main2.marlow.com> Oh, I'd write about the topics, I'm too swamped to organize the topics though... Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 1:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query SOunds like a great idea. Volunteering?? DD ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 3:35 PM Subject: RE: [AccessD] A2K: Date in Query > Well, maybe someone should make up a list of topics, and we can post about > them, to create a ad-hoc 101 course here. Pick a topic a week. > > Like Query Building, Table Design, Shortcut keys, etc. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 18, 2003 12:20 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K: Date in Query > > > I would love a 101 Course - really > We can do it Via videoconference > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Wednesday, June 18, 2003 2:37 PM > Subject: RE: [AccessD] A2K: Date in Query > > > > Year(Date()). Without the (), the query thinks it's text. > > > > Do we need an Access 101 course Darren? , just kidding, I've > been > > nabbed about a dozen times in the past week for putting Date in a query, > and > > having it quote it on me...ARG! I need a vacation! > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Tuesday, June 17, 2003 10:31 PM > > To: AccessD List > > Subject: [AccessD] A2K: Date in Query > > > > > > Hello all > > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > > When I put that criteria Year(Date) into a query Access changes it to > > Year("Date") > > and of course it fails. > > What is the correct syntax to search on the 'current year' on a field that > > holds that data? > > > > Many thanks > > > > Darren > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 11:57:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:57:18 -0500 Subject: [AccessD] OT: Programming in Outlook Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Alright John, I have never done this, but I am a little surprised you didn't figure this out too. I'll explain what I did. First, I went Tools --> Macro --> Visual Basic editor, and got the VBE for Outlook. I then looked under Project 1, and saw Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. I selected that, and got the code page for the ThisOutlookSession 'class'. Once inside, I looked at the objects (top left drop down on your code page), and saw Application. Once that was selected, I looked at the events (top right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, Reminder, and Startup. Just a guess, but I would say that Startup would do the trick! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 12:05:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 12:05:07 -0500 Subject: [AccessD] OT: Programming in Outlook Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E69@main2.marlow.com> Him, did the same thing. I clicked the save button though. Then I closed outlook, re opened it, I got a Macro warning, then it gave me my message box. Three possibilities that I would guess. One, you had something that was holding Outlook open still (like an open email). Two, you didn't save it (don't know if that really matters or not). Three, your security settings are set to disable macros, without a warning. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From normkara at wans.net Wed Jun 18 12:06:45 2003 From: normkara at wans.net (Norm) Date: Wed, 18 Jun 2003 13:06:45 -0400 Subject: [AccessD] OT:Can VB6 still be purchased? References: <2F8793082E00D4119A1700B0D0216BF802226E66@main2.marlow.com> Message-ID: <007401c335bc$00166fa0$38091f43@net> A quick check with Amazon, shows a used version for $50.00, but for a new version - it shows discountinued. But I am sure there are some vendors that may have it on their shelves Norm <> From DWUTKA at marlow.com Wed Jun 18 12:15:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 12:15:23 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E6A@main2.marlow.com> Clear as mud! . I disagree with the method of data storing. I wouldn't be storing the information like you are, I would be using a table that had a time stamp field, user field, and then a memo field (along with a PK). I have never used web controls within Access. Why? Because if I needed web capabilities, I just developed the FE in HTML/ASP. So I have no helpful hints to answer your questions at the bottom. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 9:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce From jcolby at colbyconsulting.com Wed Jun 18 12:21:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 13:21:18 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Message-ID: Got there. Outlook now takes a very long time to open, and the message never shows. something happened once and the message did display, but not repeatable. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 12:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Programming in Outlook Alright John, I have never done this, but I am a little surprised you didn't figure this out too. I'll explain what I did. First, I went Tools --> Macro --> Visual Basic editor, and got the VBE for Outlook. I then looked under Project 1, and saw Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. I selected that, and got the code page for the ThisOutlookSession 'class'. Once inside, I looked at the objects (top left drop down on your code page), and saw Application. Once that was selected, I looked at the events (top right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, Reminder, and Startup. Just a guess, but I would say that Startup would do the trick! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 18 12:37:44 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 18 Jun 2003 13:37:44 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: John, The below site may be helpful http://www.slipstick.com/dev/vb.htm Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 9:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Jun 18 12:38:55 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 18 Jun 2003 19:38:55 +0200 Subject: [AccessD] Date format Message-ID: <003201c335c0$7eec8a90$f3c581d5@pedro> Hello Group, i use mailmerge (Helen Feddema Code2) within access to create wordletters. in access the format for dates is: dd-mm-yyyy. When the data is placed into the wordletter by the following function {DOCPROPERTY "GebDat" \*MERGEFORMAT} the dateformat changes to mm/dd/yy. Is there a way to get the same format as in access TIA Pedro Janssen From CWortz at tea.state.tx.us Wed Jun 18 13:07:51 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 18 Jun 2003 13:07:51 -0500 Subject: [AccessD] Date format Message-ID: Pedro, Both Word and Access use the same VBA, so both probably use the same Format() function to format dates. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Wednesday 2003 Jun 18 12:39 To: AccessD at databaseadvisors.com Subject: [AccessD] Date format Hello Group, i use mailmerge (Helen Feddema Code2) within access to create wordletters. in access the format for dates is: dd-mm-yyyy. When the data is placed into the wordletter by the following function {DOCPROPERTY "GebDat" \*MERGEFORMAT} the dateformat changes to mm/dd/yy. Is there a way to get the same format as in access TIA Pedro Janssen From Lambert.Heenan at AIG.com Wed Jun 18 13:07:47 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 18 Jun 2003 14:07:47 -0400 Subject: [AccessD] Date format Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897953@xlivmbx12.aig.com> Try using {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} Lambert > -----Original Message----- > From: Pedro Janssen [SMTP:pedro at plex.nl] > Sent: Wednesday, June 18, 2003 1:39 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Date format > > Hello Group, > > i use mailmerge (Helen Feddema Code2) within access to create wordletters. > in access the > format for dates is: dd-mm-yyyy. > When the data is placed into the wordletter by the following function > {DOCPROPERTY "GebDat" \*MERGEFORMAT} > the dateformat changes to mm/dd/yy. > > Is there a way to get the same format as in access > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 13:31:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 14:31:28 -0400 Subject: [AccessD] OT: Outlook RT Error Message-ID: This line: For Each Msg In myFolder Runs fine at my client. At my home office I have to use: For Each Msg In myFolder.Items Odd? John W. Colby www.colbyconsulting.com From CWortz at tea.state.tx.us Wed Jun 18 13:52:02 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 18 Jun 2003 13:52:02 -0500 Subject: [AccessD] OT: Outlook RT Error Message-ID: John, Are both myFolders configured exactly the same? My WAG is your client's myFolder has .Item as the default, while yours does not. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 18 13:31 To: AccessD Subject: [AccessD] OT: Outlook RT Error This line: For Each Msg In myFolder Runs fine at my client. At my home office I have to use: For Each Msg In myFolder.Items Odd? John W. Colby www.colbyconsulting.com From stuart at lexacorp.com.pg Wed Jun 18 16:32:24 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 07:32:24 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Message-ID: <3EF16708.25725.1B04C8@localhost> On 18 Jun 2003 at 11:57, Drew Wutka wrote: > Alright John, I have never done this, but I am a little surprised you didn't > figure this out too. > > I'll explain what I did. First, I went Tools --> Macro --> Visual Basic > editor, and got the VBE for Outlook. I then looked under Project 1, and saw > Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. > I selected that, and got the code page for the ThisOutlookSession 'class'. > Once inside, I looked at the objects (top left drop down on your code page), > and saw Application. Once that was selected, I looked at the events (top > right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, > Reminder, and Startup. > > Exactly how I located it too :-) I don't do Outlook either! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tortise at paradise.net.nz Wed Jun 18 16:43:09 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 09:43:09 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <072501c335e2$9c9c5d00$0900a8c0@P1200n> Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From conny at qad.se Wed Jun 18 16:54:59 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 18 Jun 2003 23:54:59 +0200 Subject: [AccessD] Set smaller topmargin value Message-ID: <200306182354758.SM02228@QAD> Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2266 bytes Desc: not available URL: From cfoust at infostatsystems.com Wed Jun 18 17:03:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:03:30 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 17:05:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 17:05:06 -0500 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E6F@main2.marlow.com> It's not a problem. Access does that for several reasons, however,it is low priority processing, so it will allow any other process to consume CPU time when it needs it. I know that one of the things it is doing is related to Jet. Sorry, a little groggy at the moment, I know I know more about this... Drew -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 4:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:05:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:05:43 -0700 Subject: [AccessD] Set smaller topmargin value Message-ID: If you mean for a report, that's going to be controlled by the printer drivers. Many, perhaps most, printers won't print any closer to the top than 1/2 inch. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Conny Johansson Sent: Wednesday, June 18, 2003 1:55 PM To: Accessd at Databaseadvisors. Com Subject: [AccessD] Set smaller topmargin value Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson avast! Antivirus: Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. From john at winhaven.net Wed Jun 18 17:08:48 2003 From: john at winhaven.net (John Bartow) Date: Wed, 18 Jun 2003 17:08:48 -0500 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 In-Reply-To: <072501c335e2$9c9c5d00$0900a8c0@P1200n> Message-ID: I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From todd_5036 at msn.com Wed Jun 18 17:13:37 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 18 Jun 2003 17:13:37 -0500 Subject: [AccessD] Set smaller topmargin value Message-ID: Doesn't it depend on your default printer? ----Original Message Follows---- From: "Conny Johansson" Reply-To: accessd at databaseadvisors.com To: "Accessd at Databaseadvisors. Com" Subject: [AccessD] Set smaller topmargin value Date: Wed, 18 Jun 2003 23:54:59 +0200 Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. << winmail.dat >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From todd_5036 at msn.com Wed Jun 18 17:13:37 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 18 Jun 2003 17:13:37 -0500 Subject: [AccessD] Set smaller topmargin value Message-ID: Doesn't it depend on your default printer? ----Original Message Follows---- From: "Conny Johansson" Reply-To: accessd at databaseadvisors.com To: "Accessd at Databaseadvisors. Com" Subject: [AccessD] Set smaller topmargin value Date: Wed, 18 Jun 2003 23:54:59 +0200 Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. << winmail.dat >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 17:16:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 18:16:00 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF16708.25725.1B04C8@localhost> Message-ID: Well, for all of that it still isn't working. If I have a startup macro it doesn't fire, but it does delay Outlook opening by several minutes. It is the startup macro causing the delay in opening since if I get rid of that, Access opens normally. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 5:32 PM To: Drew Wutka; accessd at databaseadvisors.com; accessd-bounces at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 11:57, Drew Wutka wrote: > Alright John, I have never done this, but I am a little surprised you didn't > figure this out too. > > I'll explain what I did. First, I went Tools --> Macro --> Visual Basic > editor, and got the VBE for Outlook. I then looked under Project 1, and saw > Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. > I selected that, and got the code page for the ThisOutlookSession 'class'. > Once inside, I looked at the objects (top left drop down on your code page), > and saw Application. Once that was selected, I looked at the events (top > right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, > Reminder, and Startup. > > Exactly how I located it too :-) I don't do Outlook either! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 17:18:54 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 10:18:54 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <079901c335e7$9af43900$0900a8c0@P1200n> It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:28:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:28:25 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 17:43:14 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 10:43:14 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <07aa01c335eb$00e1f1a0$0900a8c0@P1200n> Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:54:40 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:54:40 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: No, that's what I understood you to be saying. The problem is that each session of Access is hogging as much RAM as it can get and unless you have a LOT of RAM, sooner or later it will cause you trouble. Not to mention that in A97, you're stuck with page locking, so you can wind up locking yourself out of records. You can launch multiple instances of a form by treating it as a class and doing some fancy coding (there are examples in the Solutions database for A97), but again, if you get specific about what you need to do, someone should be able to help. Littering the landscape with instances of Access won't do a thing for CPU problems. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 18:36:24 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 11:36:24 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <07c301c335f2$6e869f60$0900a8c0@P1200n> Kewl I tried the solutions model and found it to be unreliable. With the current setup record locking does occur, but is managed fine manually. One has a desktop shortcut with a different Ctrl Alt Key shortcut set to quickly multitask between the instances. If I can do this within Access then that would be great! Does someone else have a working model, thats reliable, that they'd be prepared to share? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:54 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 No, that's what I understood you to be saying. The problem is that each session of Access is hogging as much RAM as it can get and unless you have a LOT of RAM, sooner or later it will cause you trouble. Not to mention that in A97, you're stuck with page locking, so you can wind up locking yourself out of records. You can launch multiple instances of a form by treating it as a class and doing some fancy coding (there are examples in the Solutions database for A97), but again, if you get specific about what you need to do, someone should be able to help. Littering the landscape with instances of Access won't do a thing for CPU problems. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Wed Jun 18 23:57:38 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 14:57:38 +1000 Subject: [AccessD] Keeping place after requerying References: <07c301c335f2$6e869f60$0900a8c0@P1200n> Message-ID: <010901c3361f$4ed45450$6465000a@venus> Hello Again Everyone I understandably annoyed customer because everytime they delete something from their very long list and the data is requeried (via code), they end up at the top of their list again and have to scroll down. Can anyone please help in how I keep the focus on the next record to the one they have just deleted? Thanks Selina From stuart at lexacorp.com.pg Thu Jun 19 00:06:09 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 15:06:09 +1000 Subject: [AccessD] Using Animated GIF file on a form In-Reply-To: Message-ID: <3EF1D161.27889.1BA73E8@localhost> On 16 Jun 2003 at 15:38, jeffrey.demulling at usbank.com wrote: > Is there a way to use an animated GIF file on a form? > > Thanks in advance for any comments, suggestions, etc. > Just had a quick look at this one. You can do it with an AVI using the Microsoft Animation control. That means that you will have to convert your animated to gif to avi using one of the available conversion tools. Here's a few possibilities: Shareware/Commercial ware: Gif Construction Set from Alchemy Mindworks AVI-GIF from http://www.fileheaven.com/AVI-GIF/download/582.htm Free for non-commercial use: fmp141.zip from http://hem.spray.se/joakim.slettengren/ Once you have converted it to an AVI it's a case of: On a form, select Insert - ActiveXControl and Select "Microsoft Animation Control Version 6.0" or whatever version you have. Then you just need to use three methods Load the animation into the control with: ActiveXCtlAnim.Open "avifilename.avi" Run the animation with: ActiveXCtlAnim.Start and ActiveXCtlAnim.Stop There's a demo of using the animation control in A2K at http://www.lexacorp.com.pg/Misc/A2kAnimDemo.zip (it's only 23K zipped up). Just unzip the .mdb and the .avi into the same directory and open the .mdb -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 19 02:05:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 09:05:20 +0200 Subject: [AccessD] Using Animated GIF file on a form In-Reply-To: <10191105599916612443d0567@global.net.pg> References: <10191105599916612443d0567@global.net.pg> Message-ID: <1523053560.20030619090520@cactus.dk> Hi Stuart Cute! Never noticed that animation control. /gustav >> Is there a way to use an animated GIF file on a form? > Just had a quick look at this one. You can do it with an AVI using > the Microsoft Animation control. That means that you will have to > convert your animated to gif to avi using one of the available > conversion tools. Here's a few possibilities: > Shareware/Commercial ware: > Gif Construction Set from Alchemy Mindworks > AVI-GIF from http://www.fileheaven.com/AVI-GIF/download/582.htm > Free for non-commercial use: > fmp141.zip from http://hem.spray.se/joakim.slettengren/ > Once you have converted it to an AVI it's a case of: > On a form, select Insert - ActiveXControl and Select "Microsoft > Animation Control Version 6.0" or whatever version you have. > Then you just need to use three methods > Load the animation into the control with: > ActiveXCtlAnim.Open "avifilename.avi" > Run the animation with: > ActiveXCtlAnim.Start and ActiveXCtlAnim.Stop > There's a demo of using the animation control in A2K at > http://www.lexacorp.com.pg/Misc/A2kAnimDemo.zip > (it's only 23K zipped up). > Just unzip the .mdb and the .avi into the same directory and open the > .mdb From smandel7 at yahoo.com Thu Jun 19 02:19:17 2003 From: smandel7 at yahoo.com (Steven Mandel) Date: Thu, 19 Jun 2003 02:19:17 -0500 Subject: [AccessD] msgbox appears when open form in design mode Message-ID: Hi All, I have a big question to ask. I am working on a database that I have to modify due to replacement of a server and changing directories. There are several forms that when I open them either in design mode or runtime mode an error message in a msgbox pops up telling me that it cant find a certain file located in a certain directory . ( something like the database can't find file m:/somedirectory/somefile.txt ) That is exactly what I want to change but the code that does this is not in the form's open or load events ? is it possible that it is in a macro and if so how do I fix it ( I rarely if ever use macros ). Any help would be much appreciated. Thanks so much, Steve Mandel From gustav at cactus.dk Thu Jun 19 02:26:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 09:26:37 +0200 Subject: [AccessD] Keeping place after requerying In-Reply-To: <010901c3361f$4ed45450$6465000a@venus> References: <010901c3361f$4ed45450$6465000a@venus> Message-ID: <1474329946.20030619092637@cactus.dk> Hi Selina > I understandably annoyed customer because everytime they delete something > from their very long list and the data is requeried (via code), they end up > at the top of their list again and have to scroll down. > Can anyone please help in how I keep the focus on the next record to the one > they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav From lists at theopg.com Thu Jun 19 02:43:27 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 08:43:27 +0100 Subject: [AccessD] msgbox appears when open form in design mode In-Reply-To: Message-ID: <000501c33636$790ec1d0$fb9487d9@laptop> Try looking under TOOLS - REFERENCES when in the code window. You'll see a list with a few at the top having ticks. If one is missing it will say so next to it. Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven Mandel Sent: 19 June 2003 08:19 To: Accessd Subject: [AccessD] msgbox appears when open form in design mode Hi All, I have a big question to ask. I am working on a database that I have to modify due to replacement of a server and changing directories. There are several forms that when I open them either in design mode or runtime mode an error message in a msgbox pops up telling me that it cant find a certain file located in a certain directory . ( something like the database can't find file m:/somedirectory/somefile.txt ) That is exactly what I want to change but the code that does this is not in the form's open or load events ? is it possible that it is in a macro and if so how do I fix it ( I rarely if ever use macros ). Any help would be much appreciated. Thanks so much, Steve Mandel _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Thu Jun 19 02:59:57 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 08:59:57 +0100 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 - multiple instances In-Reply-To: <07aa01c335eb$00e1f1a0$0900a8c0@P1200n> Message-ID: <000001c33638$c7222cc0$fb9487d9@laptop> Hello >>Can one do this within one database easily? I've done the multiple instances thing and lost hair over it. It is possible but there are a lot of potential traps (for example you can't rely on a forms name as there may be more than one so I used its hwnd value and cycle through the forms collection looking for it). Also, depending on your set up you are limited in the number of open databases / tables. On my Office 97 setup I can get about 18 - you need to set your limit to less to allow for any other activities that may be triggered. I set mine to 12 to be safe. I have had much higher numbers using XP and MSDE though :o) It does get very hairy, I also went grey :o( It can also put you in a position where your users make a mess of the data or place too heavy a demand on the database by leaving stuff open all the time... If you want an example of some code let me know and I will send it off line... Good luck Mark From tortise at paradise.net.nz Thu Jun 19 03:23:12 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 20:23:12 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <09d601c3363c$06a17c90$0900a8c0@P1200n> mmmm Well that could be it! I'll monitor and see if fits time periods. Many thanks John. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "John Bartow" To: Sent: Thursday, June 19, 2003 10:08 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 03:27:15 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 18:27:15 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <1474329946.20030619092637@cactus.dk> Message-ID: <000001c3363c$978fb0a0$7f00a8c0@bbb888> Presumably you are using A2K, where I have just had the same problem. It happens if the continuous form is bound to a stored query for me. I have saved the form filter setting, the order by and the AbsolutePosition. I can then restore the form record focus by y reapplying the saved filter and orderby, then moving to the stored position + 1, making an allowance for the case of deleting the last row in the recordset. See if the following helps. rk = Me.Recordset.AbsolutePosition so = Me.OrderBy oo = Me.OrderByOn flt = Me.Filter If DeleteRow(Me!fldID) Then Me.Requery Me.Filter = flt Me.OrderBy = so Me.OrderByOn = oo If rk + 1 > Me.Recordset.RecordCount Then rk = Me.Recordset.RecordCount Else rk = rk + 1 End If DoCmd.GoToRecord , , acGoTo, rk endif Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, June 19, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Hi Selina > I understandably annoyed customer because everytime they delete > something from their very long list and the data is requeried (via > code), they end up at the top of their list again and have to scroll > down. Can anyone please help in how I keep the focus on the next > record to the one they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 03:29:09 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 18:29:09 +1000 Subject: [AccessD] Keeping place after requerying Message-ID: <000101c3363c$db8351e0$7f00a8c0@bbb888> Ooops, I forgot! If more than one person is deleting records then this will not work! Bruce -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 6:27 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Keeping place after requerying Presumably you are using A2K, where I have just had the same problem. It happens if the continuous form is bound to a stored query for me. I have saved the form filter setting, the order by and the AbsolutePosition. I can then restore the form record focus by y reapplying the saved filter and orderby, then moving to the stored position + 1, making an allowance for the case of deleting the last row in the recordset. See if the following helps. rk = Me.Recordset.AbsolutePosition so = Me.OrderBy oo = Me.OrderByOn flt = Me.Filter If DeleteRow(Me!fldID) Then Me.Requery Me.Filter = flt Me.OrderBy = so Me.OrderByOn = oo If rk + 1 > Me.Recordset.RecordCount Then rk = Me.Recordset.RecordCount Else rk = rk + 1 End If DoCmd.GoToRecord , , acGoTo, rk endif Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, June 19, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Hi Selina > I understandably annoyed customer because everytime they delete > something from their very long list and the data is requeried (via > code), they end up at the top of their list again and have to scroll > down. Can anyone please help in how I keep the focus on the next > record to the one they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 19 07:27:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 19 Jun 2003 08:27:39 -0400 Subject: [AccessD] test Message-ID: John W. Colby www.colbyconsulting.com From Jdemarco at hshhp.org Thu Jun 19 07:32:38 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 08:32:38 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bbruen at bigpond.com Thu Jun 19 08:35:06 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 23:35:06 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> Message-ID: <000001c33667$9a744b70$7f00a8c0@bbb888> You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Thu Jun 19 08:47:42 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 23:47:42 +1000 Subject: [AccessD] Keeping place after requerying References: <010901c3361f$4ed45450$6465000a@venus> <1474329946.20030619092637@cactus.dk> Message-ID: <019301c33669$5b931e20$6465000a@venus> Hi Gustav When I delete a record it puts #DELETED# across all the fields. I requery it so that they don't see this. Thanks Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, June 19, 2003 5:26 PM Subject: Re: [AccessD] Keeping place after requerying > Hi Selina > > > I understandably annoyed customer because everytime they delete something > > from their very long list and the data is requeried (via code), they end up > > at the top of their list again and have to scroll down. > > Can anyone please help in how I keep the focus on the next record to the one > > they have just deleted? > > Why do you requery the form? That shouldn't be necessary - except for > an unbound form ... > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From selina at easydatabases.com.au Thu Jun 19 08:48:12 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 23:48:12 +1000 Subject: [AccessD] Keeping place after requerying References: <000001c3363c$978fb0a0$7f00a8c0@bbb888> Message-ID: <019d01c33669$6cffdf40$6465000a@venus> Certainly does help Bruce. Thanks ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 6:27 PM Subject: RE: [AccessD] Keeping place after requerying > Presumably you are using A2K, where I have just had the same problem. > It happens if the continuous form is bound to a stored query for me. > I have saved the form filter setting, the order by and the > AbsolutePosition. I can then restore the form record focus by y > reapplying the saved filter and orderby, then moving to the stored > position + 1, making an allowance for the case of deleting the last row > in the recordset. See if the following helps. > > rk = Me.Recordset.AbsolutePosition > so = Me.OrderBy > oo = Me.OrderByOn > flt = Me.Filter > > If DeleteRow(Me!fldID) Then > Me.Requery > Me.Filter = flt > Me.OrderBy = so > Me.OrderByOn = oo > If rk + 1 > Me.Recordset.RecordCount Then > rk = Me.Recordset.RecordCount > Else > rk = rk + 1 > End If > > DoCmd.GoToRecord , , acGoTo, rk > endif > > > Hth > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, June 19, 2003 5:27 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Hi Selina > > > I understandably annoyed customer because everytime they delete > > something from their very long list and the data is requeried (via > > code), they end up at the top of their list again and have to scroll > > down. Can anyone please help in how I keep the focus on the next > > record to the one they have just deleted? > > Why do you requery the form? That shouldn't be necessary - except for an > unbound form ... > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bbruen at bigpond.com Thu Jun 19 08:51:54 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 23:51:54 +1000 Subject: [AccessD] OT Ping! Message-ID: <000101c33669$f1ff6b20$7f00a8c0@bbb888> NO ARCHIVE Quiet, aint it? B From lists at theopg.com Thu Jun 19 08:56:13 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 14:56:13 +0100 Subject: [AccessD] OT Ping! In-Reply-To: <000101c33669$f1ff6b20$7f00a8c0@bbb888> Message-ID: <000101c3366a$8c58d0d0$64cb87d9@laptop> NO ARCHIVE Indeed it is... mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: 19 June 2003 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT Ping! NO ARCHIVE Quiet, aint it? B _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Jun 19 09:00:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 16:00:23 +0200 Subject: [AccessD] detect network In-Reply-To: <000001c33667$9a744b70$7f00a8c0@bbb888> References: <000001c33667$9a744b70$7f00a8c0@bbb888> Message-ID: <6427956309.20030619160023@cactus.dk> Hi Bruce > You could either use the network API calls to get the network connection > information or presumably when they are connected there will be a > network path name you could try to access to see if its connected. > The network path is probably the QAD method. That will probably be the SAD method - awaiting a timeout. Go the API route or dump and check the output of netstat or net use [some network drive] > netcheck.txt Parse the first line of this for the network drive and the colon. If the drive does not exist the file will be empty. /gustav > We've got a data collection application that will be run on disconnected > laptops. At least once a week the laptop users will come in to the home > office to dump the data they've collected into our central SQL database. > Does anyone have any code that will detect that the laptop is connected > to our network so we can point their connection to the central DB (as > opposed to their local DB)? Or should we just try to hit the central DB > at app start and trap the error? I don't want to generate an error if I > don't have to. From Jdemarco at hshhp.org Thu Jun 19 09:01:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 10:01:27 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Thu Jun 19 09:04:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 16:04:02 +0200 Subject: [AccessD] Keeping place after requerying In-Reply-To: <019301c33669$5b931e20$6465000a@venus> References: <010901c3361f$4ed45450$6465000a@venus> <019301c33669$5b931e20$6465000a@venus> Message-ID: <2728175133.20030619160402@cactus.dk> Hi Selina > When I delete a record it puts #DELETED# across all the fields. I requery > it so that they don't see this. That means that the record is deleted from the recordset and not by the form. If Bruce's method works go for it - you may wish to wrap it in Painting = False and Painting = True to prevent some flickering. /gustav >> > I understandably annoyed customer because everytime they delete >> > something >> > from their very long list and the data is requeried (via code), they end >> > up at the top of their list again and have to scroll down. >> > Can anyone please help in how I keep the focus on the next record to the >> > one they have just deleted? >> >> Why do you requery the form? That shouldn't be necessary - except for >> an unbound form ... From R.Griffiths at bury.gov.uk Thu Jun 19 09:05:42 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Jun 2003 15:05:42 +0100 Subject: [AccessD] Special Characters Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Hi as its quiet...I have a user that wants to type (c) into a text field Access decides to convert this to the copyright symbol - any clues as to how to switch this off or simply what needs to be done to enter (c) Thanks Richard From RGeldart at detma.org Thu Jun 19 09:18:29 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu, 19 Jun 2003 10:18:29 -0400 Subject: [AccessD] Special Characters Message-ID: Richard, Turn off AutoCorrect??? > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday, June 19, 2003 10:06 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Special Characters > > > Hi > > as its quiet...I have a user that wants to type (c) into a > text field > > Access decides to convert this to the copyright symbol - any > clues as to how to switch this off or simply what needs to > be done to enter (c) > > Richard From scapistrant at symphonyinfo.com Thu Jun 19 09:24:17 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 19 Jun 2003 09:24:17 -0500 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco From harkins at iglou.com Thu Jun 19 09:24:43 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 19 Jun 2003 10:24:43 -0400 Subject: [AccessD] Special Characters References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Message-ID: <007d01c3366e$d0be70f0$ceecffcc@SusanOne> Actually, you don't have to turn it off -- you can delete just the (c) item and still take advantage of AutoCorrect. I think -- find the (c) item and try deleting it before you turn off the entire feature. Susan H. > Hi > > as its quiet...I have a user that wants to type (c) into a text field > > Access decides to convert this to the copyright symbol - any clues as to how > to switch this off or simply what needs to be done to enter (c) > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Thu Jun 19 09:37:15 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 09:37:15 -0500 Subject: [AccessD] Special Characters In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Message-ID: I think if you just turn off auto correct in Access that will do the trick. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, > Richard > Sent: Thursday, June 19, 2003 9:06 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Special Characters > > > Hi > > as its quiet...I have a user that wants to type (c) into a text field > > Access decides to convert this to the copyright symbol - any > clues as to how > to switch this off or simply what needs to be done to enter (c) > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From R.Griffiths at bury.gov.uk Thu Jun 19 09:41:48 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Jun 2003 15:41:48 +0100 Subject: [AccessD] Special Characters Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C3@MAILGATE.bury.gov.uk> sorted, thanks > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: 19 June 2003 15:25 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > Actually, you don't have to turn it off -- you can delete just the (c) > item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Jun 19 09:43:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 19 Jun 2003 10:43:31 -0400 Subject: [AccessD] Special Characters Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897960@xlivmbx12.aig.com> Or even locate "(c)" in the Autocorrect list and change it to something less common, like "\(c)", so you can still get a ? when you need it. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Thursday, June 19, 2003 10:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > Actually, you don't have to turn it off -- you can delete just the (c) > item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 19 09:47:01 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 09:47:01 -0500 Subject: [AccessD] Special Characters In-Reply-To: <007d01c3366e$d0be70f0$ceecffcc@SusanOne> Message-ID: Advantage of AutoCorrect in Access? That's the first itme I've heard it put that way ;o) JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Thursday, June 19, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > > Actually, you don't have to turn it off -- you can delete just > the (c) item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From actebs at actebs.com.au Thu Jun 19 09:52:14 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 00:52:14 +1000 Subject: [AccessD] Week of the Month Message-ID: <000201c33672$629724b0$0c05a8c0@earth.local> Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 19 10:02:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 19 Jun 2003 10:02:49 -0500 Subject: [AccessD] Week of the Month Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E76@main2.marlow.com> Why not use the Day() function, to just show the day of the month, then split it into 1 thru 7, etc. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 19, 2003 9:52 AM To: access group Subject: [AccessD] Week of the Month Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Jun 19 10:02:58 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 19 Jun 2003 11:02:58 -0400 Subject: [AccessD] Week of the Month Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897962@xlivmbx12.aig.com> I would have thought that simply integer division of the day of the month by seven would suffice. WkOfMonth = Day([DeliveryDate]) \ 7 + 1 Lambert > -----Original Message----- > From: ACTEBS [SMTP:actebs at actebs.com.au] > Sent: Thursday, June 19, 2003 10:52 AM > To: access group > Subject: [AccessD] Week of the Month > > Guys, > > Does anyone know of a method to work out what week it is of the month. For > example, you have a range of dates 1st January to 31st March. The 1st to > the 7th is the 1st week of January and the 8th to the 14th is the second > etc etc... > > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > > Is there any method anyone could suggest, that I could explore... > > AHGA > > Regards > Vlad > > << File: ATT5220503.txt >> From prosoft6 at hotmail.com Thu Jun 19 10:08:48 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 19 Jun 2003 11:08:48 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From Jdemarco at hshhp.org Thu Jun 19 10:22:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 11:22:37 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB8@TTNEXCHSRV1.hshhp.com> Unfortunately this app will be used by a few outside organzitions as well so the routine needs to be generic. I'm looking into the APIs that I've seen mentioned but haven't found anything on them yet. Thanks, Jim DeMarco -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 19, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Thu Jun 19 10:24:08 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 11:24:08 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB9@TTNEXCHSRV1.hshhp.com> Have you looked into the Partition() function? It puts values into buckets for you. A97 help explains it pretty well (I don't know about later versions). HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JRojas at tnco-inc.com Thu Jun 19 10:24:34 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 19 Jun 2003 11:24:34 -0400 Subject: [AccessD] Week of the Month Message-ID: <806536912C472E4A9D6515DF2E57261E2393CF@mercury.tnco-inc.com> Dim iwk As Integer iwk = DatePart("ww", Date) - DatePart("ww", DateSerial(Year(Date), Month(Date), 1)) iwk = iwk + 1 > -----Original Message----- > From: ACTEBS [SMTP:actebs at actebs.com.au] > Sent: Thursday, June 19, 2003 10:52 AM > To: access group > Subject: [AccessD] Week of the Month > > Guys, > > Does anyone know of a method to work out what week it is of the month. For > example, you have a range of dates 1st January to 31st March. The 1st to > the 7th is the 1st week of January and the 8th to the 14th is the second > etc etc... > > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > > Is there any method anyone could suggest, that I could explore... > > AHGA > > Regards > Vlad > > << File: ATT5220503.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From prosoft6 at hotmail.com Thu Jun 19 10:25:25 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 19 Jun 2003 11:25:25 -0400 Subject: [AccessD] Week of the Month Message-ID: Vlad, Just printed an article from the knowledge base that gives examples of what you are trying to do. It is KB article 210604. Hope this helps. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From gustav at cactus.dk Thu Jun 19 10:26:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 17:26:57 +0200 Subject: [AccessD] Week of the Month In-Reply-To: <000201c33672$629724b0$0c05a8c0@earth.local> References: <000201c33672$629724b0$0c05a8c0@earth.local> Message-ID: <11333149726.20030619172657@cactus.dk> Hi Vlad Are you sure about this? Normally, an ISO standard, a week runs from Monday to Sunday (except in the US where they start the week in the middle of the weekend - go figure). The DatePart() function and Weekday() will give the week and weekdays if that is what you need (so you say). DatePart() is a little buggy around week 52 but that won't probably be of importance to you. /gustav > Does anyone know of a method to work out what week it is of the month. > For example, you have a range of dates 1st January to 31st March. The > 1st to the 7th is the 1st week of January and the 8th to the 14th is the > second etc etc... > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > Is there any method anyone could suggest, that I could explore... From DWUTKA at marlow.com Thu Jun 19 10:30:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 19 Jun 2003 10:30:47 -0500 Subject: [AccessD] Calculating Time Cards Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E77@main2.marlow.com> Assuming you have a date/time in and a date/time out field, then this should be pretty easy to do. Build a query and have a field like this: PayDate: IIF(Hour([MyLoginDateTimeField])<7),DateSerial(Year([MyLogin...]),Month([MyL ogin...]),Day([MyLogin..])-1,DateSerial(Year([MyLogin...]),Month([MyLogin... ]),Day([MyLogin..])) Group by the new PayDate field (and your user field), then just sum the differences between the login times and the logout times. If you subtract one date/time from another, as long as you don't go over 24 hours, you will get the actual time spent. (Just use the Hour() and Minute() function to get the values you need.) Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Thursday, June 19, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Jun 19 10:43:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 11:43:00 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: <000001c33679$7a70ee70$70310cd8@hargrove.internal> The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 10:44:54 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 08:44:54 -0700 Subject: [AccessD] Fw: Problem with Access Message-ID: <00a001c33679$ba951120$6501a8c0@HAL9002> Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Thu Jun 19 10:44:54 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 19 Jun 2003 08:44:54 -0700 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: <004b01c33679$bac41060$6401a8c0@papparuff> Won't the GetElapsedTime() Sample function in Article Q210604 work for you? John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Julie Reardon-Taylor Sent: Thursday, June 19, 2003 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 10:47:59 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 08:47:59 -0700 Subject: [AccessD] Keeping place after requerying References: <010901c3361f$4ed45450$6465000a@venus> <1474329946.20030619092637@cactus.dk> <019301c33669$5b931e20$6465000a@venus> Message-ID: <00bd01c3367a$28fff940$6501a8c0@HAL9002> Selina: When I need to do this I save a value or combination of values that makes the record unique. Then after the Requery I use RecordsetClone and Bookmark to move back to the desired record. If I delete a record, I save the fields of the previous or following record. HTH Rocky ----- Original Message ----- From: "Selina Iddon" To: Sent: Thursday, June 19, 2003 6:47 AM Subject: Re: [AccessD] Keeping place after requerying > Hi Gustav > When I delete a record it puts #DELETED# across all the fields. I requery > it so that they don't see this. > Thanks > Selina > > -------------------------------------------------------------------------- -- > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access > Databases > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, June 19, 2003 5:26 PM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Selina > > > > > I understandably annoyed customer because everytime they delete > something > > > from their very long list and the data is requeried (via code), they end > up > > > at the top of their list again and have to scroll down. > > > Can anyone please help in how I keep the focus on the next record to the > one > > > they have just deleted? > > > > Why do you requery the form? That shouldn't be necessary - except for > > an unbound form ... > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Thu Jun 19 10:51:44 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 19 Jun 2003 11:51:44 -0400 Subject: [AccessD] Week of the Month Message-ID: ...just an observation, but if "1st to the 7th is the 1st week of January", then this method observes neither US or ISO standard. January 1st 2003 was a Wednesday (in my time zone at least). Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 19, 2003 10:52 AM To: access group Subject: [AccessD] Week of the Month Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad From bob at renaissancesiding.com Thu Jun 19 10:55:05 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 11:55:05 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C33659.A0BDAC00.bob@renaissancesiding.com> Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub From mikedorism at ntelos.net Thu Jun 19 11:03:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 12:03:08 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) In-Reply-To: <01C33659.A0BDAC00.bob@renaissancesiding.com> Message-ID: <000801c3367c$4a7e4660$70310cd8@hargrove.internal> What event are you using to collect the information? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 11:55 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Jun 19 11:03:36 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 19 Jun 2003 12:03:36 -0400 Subject: [AccessD] Fw: Problem with Access Message-ID: LOL...not to make light of your situation, but I found the question amusing. The answer of course is to write perfect code that works in all situations regardless of environment and in spite of those pesky users who insist on modifying their machines by installing new hardware and other software after ours has been installed...the nerve;) Mark -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave From gustav at cactus.dk Thu Jun 19 11:13:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 18:13:06 +0200 Subject: [AccessD] Calculating Time Cards In-Reply-To: References: Message-ID: <1435918838.20030619181306@cactus.dk> Hi Julie Here's a quick one. For display of the duration: strShift = Format(#23:00# - 1 - #03:00#,"hh:nn") For obtaining an time value: datHours = CDate((Format(#23:00# - 1 - #03:00#,"hh:nn")) What it does is to turn any duration into a positive value. Then Format() does a "modulus 24 hours" behind the scene. Also, look up the recent thread "adding time". /gustav > Have a small problem that I'm hoping someone had encountered. Putting > together a small application to calculate time cards. Running into some > problems with the shift changes. This manufacturing firm uses a 7:00 am to > 7:00 am day running three shifts. I've found several examples for > calculating time cards in the knowledge base, but none seem to address the > fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means > that one hour of the shift occurs on one date, and the other seven hours > occur on the following date. I need to test the time input by the clerk and > then based on the start and end times, determine which shift the hours fall > between, then calculate time worked on each shift for each employee. > Employees may clock in and out more than once during a day, and may also > work overtime, as well as spread their hours between more than one shift. > Most of this is already written, however, I am stumpled as to how to handle > the third shift time differential? From bob at renaissancesiding.com Thu Jun 19 11:19:17 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 12:19:17 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C3365D.01BBF720.bob@renaissancesiding.com> Doris I am using the InputBox function. Regards, Bob On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > What event are you using to collect the information? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: Thursday, June 19, 2003 11:55 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Print letter from InputBox data (contains long code at > bottom) > > > Dear Group > > I have a generic letter report that uses InputBoxes to allow custom > on-the-fly paragraph data entry > > The sequence asks the user for paragraph 1. If anything was input, it asks > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > PERFECTLY. I can see the entire letter with all data, as entered. Also, > when the preview is closed, the user is asked whether the letter printed > properly, and if they respond yes, it automatically writes a record to the > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > My problem is when I try to actually print the letter (using File, Print or > clicking on the Print button), the program somehow starts over and prompts > the user for paragraph one again (et cetera). I sure don't want users > having to type their letters twice! > > I'm missing something probably very obvious, and any guidance would be > greatly appreciated! > > Thanks, > Bob Gajewski > > ********************************************** > Option Compare Database > Option Explicit > Public gvarRecordFound As Boolean > Public strInput1 As String > Public strInput2 As String > Public strInput3 As String > Public strInput4 As String > Public strInputS As String > Public strInputT As String > ------------------------------------------------------ > Private Sub Report_NoData(Cancel As Integer) > Dim Msg, Response > Msg = "This report is not available; no records exist." Response = > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > ------------------------------------------------------ > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > gvarRecordFound = True > > Dim MyPos > MyPos = InStr(1, [txtJobHomeownerName], ",") > > If MyPos > 0 Then > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & > Left([txtJobHomeownerName], MyPos - 1) > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > Else > Me.txtLetterName = [txtJobHomeownerName] > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > If Left([txtLetterName], 1) = " " Then > [txtLetterName] = Mid([txtLetterName], 2, 35) > End If > > If Left([txtSalutation], 1) = " " Then > [txtSalutation] = Mid([txtSalutation], 2, 41) > End If > > Me.txtLetterAddress = [txtJobAddress] > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > [txtJobStateCode] & " " & [txtJobZipCode] > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > 'Allow user to enter text for paragraphs 1-4 > Dim strMsg1 As String > strMsg1 = "Please enter the text for paragraph 1:" > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > If Not (IsNull(strInput1) Or strInput1 = "") Then > Me.txtParagraph1 = strInput1 > Dim strMsg2 As String > strMsg2 = "Please enter the text for paragraph 2:" > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") > If Not (IsNull(strInput2) Or strInput2 = "") Then > Me.txtParagraph2 = strInput2 > Dim strMsg3 As String > strMsg3 = "Please enter the text for paragraph 3:" > strInput3 = InputBox(Prompt:=strMsg3, > Title:="Paragraph 3") > If Not (IsNull(strInput3) Or strInput3 = "") Then > Me.txtParagraph3 = strInput3 > Dim strMsg4 As String > strMsg4 = "Please enter the text for > paragraph 4:" > strInput4 = InputBox(Prompt:=strMsg4, > Title:="Paragraph 4") > If Not (IsNull(strInput4) Or strInput4 = > "") Then > Me.txtParagraph4 = strInput4 > End If > End If > End If > > 'Allow user to enter text for signator and title > Dim strMsgS As String > strMsgS = "Please enter the signator's name:" > strInputS = InputBox(Prompt:=strMsgS, > Title:="Signator") > If Not (IsNull(strInputS) Or strInputS = "") Then > Me.txtSignator = strInputS > Dim strMsgT As String > strMsgT = "Please enter the signator's title:" > strInputT = InputBox(Prompt:=strMsgT, > Title:="Title") > If Not (IsNull(strInputT) Or strInputT = "") > Then > Me.txtSignatorTitle = strInputT > End If > Else > Me.txtSignator = "Renaissance Siding" > End If > Else > MsgBox "There was no text entered for Paragraph 1." > Cancel = True > gvarRecordFound = False > End If > > End Sub > ------------------------------------------------------ > Private Sub Report_Close() > If gvarRecordFound = False Then > Exit Sub > End If > Dim db As Database, rs As Recordset > Dim Response > Dim strMsgPrint As String > strMsgPrint = "Did the letter print properly?" > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > Verification") Then > Response = acDataErrDisplay > Else > 'Add letter subject to comments > Dim strInput As String, strMsg As String > strMsg = "What was the subject of this letter?" > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > If IsNull(strInput) Or strInput = "" Then > strInput = "NOT SPECIFIED" > End If > Set db = CurrentDb > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > On Error Resume Next > rs.AddNew > Dim strComment As String > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > UCase(strInput) & ")." > rs!lngJobID = lngJobID > rs!txtJobComment = strComment > rs!dteJobCommentNow = Now() > rs!cboJobCommentPrivate = False > rs.Update > If Err Then > MsgBox "An error occurred, and the comments were not updated." & > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > indicating that the letter was sent today." > Response = acDataErrContinue > Else > Response = acDataErrAdded > End If > rs.Close > End If > End Sub > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Thu Jun 19 11:49:48 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 12:49:48 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) In-Reply-To: <01C3365D.01BBF720.bob@renaissancesiding.com> Message-ID: <000e01c33682$cf2eb920$70310cd8@hargrove.internal> I understand that but where are you using it? Before you open the report? When you open the report (Report Open event)? In a particular section of the report? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 12:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris I am using the InputBox function. Regards, Bob On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > What event are you using to collect the information? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 11:55 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Print letter from InputBox data (contains long code at > bottom) > > > Dear Group > > I have a generic letter report that uses InputBoxes to allow custom > on-the-fly paragraph data entry > > The sequence asks the user for paragraph 1. If anything was input, it > asks > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > PERFECTLY. I can see the entire letter with all data, as entered. Also, > when the preview is closed, the user is asked whether the letter printed > properly, and if they respond yes, it automatically writes a record to the > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > My problem is when I try to actually print the letter (using File, > Print or > clicking on the Print button), the program somehow starts over and prompts > the user for paragraph one again (et cetera). I sure don't want users > having to type their letters twice! > > I'm missing something probably very obvious, and any guidance would be > greatly appreciated! > > Thanks, > Bob Gajewski > > ********************************************** > Option Compare Database > Option Explicit > Public gvarRecordFound As Boolean > Public strInput1 As String > Public strInput2 As String > Public strInput3 As String > Public strInput4 As String > Public strInputS As String > Public strInputT As String > ------------------------------------------------------ > Private Sub Report_NoData(Cancel As Integer) > Dim Msg, Response > Msg = "This report is not available; no records exist." Response = > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > ------------------------------------------------------ > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > gvarRecordFound = True > > Dim MyPos > MyPos = InStr(1, [txtJobHomeownerName], ",") > > If MyPos > 0 Then > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " > & > Left([txtJobHomeownerName], MyPos - 1) > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > Else > Me.txtLetterName = [txtJobHomeownerName] > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > If Left([txtLetterName], 1) = " " Then > [txtLetterName] = Mid([txtLetterName], 2, 35) > End If > > If Left([txtSalutation], 1) = " " Then > [txtSalutation] = Mid([txtSalutation], 2, 41) > End If > > Me.txtLetterAddress = [txtJobAddress] > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > [txtJobStateCode] & " " & [txtJobZipCode] > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > 'Allow user to enter text for paragraphs 1-4 > Dim strMsg1 As String > strMsg1 = "Please enter the text for paragraph 1:" > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > If Not (IsNull(strInput1) Or strInput1 = "") Then > Me.txtParagraph1 = strInput1 > Dim strMsg2 As String > strMsg2 = "Please enter the text for paragraph 2:" > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") > If Not (IsNull(strInput2) Or strInput2 = "") Then > Me.txtParagraph2 = strInput2 > Dim strMsg3 As String > strMsg3 = "Please enter the text for paragraph 3:" > strInput3 = InputBox(Prompt:=strMsg3, > Title:="Paragraph 3") > If Not (IsNull(strInput3) Or strInput3 = "") Then > Me.txtParagraph3 = strInput3 > Dim strMsg4 As String > strMsg4 = "Please enter the text for > paragraph 4:" > strInput4 = InputBox(Prompt:=strMsg4, > Title:="Paragraph 4") > If Not (IsNull(strInput4) Or strInput4 = > "") Then > Me.txtParagraph4 = strInput4 > End If > End If > End If > > 'Allow user to enter text for signator and title > Dim strMsgS As String > strMsgS = "Please enter the signator's name:" > strInputS = InputBox(Prompt:=strMsgS, > Title:="Signator") > If Not (IsNull(strInputS) Or strInputS = "") Then > Me.txtSignator = strInputS > Dim strMsgT As String > strMsgT = "Please enter the signator's title:" > strInputT = InputBox(Prompt:=strMsgT, > Title:="Title") > If Not (IsNull(strInputT) Or strInputT = "") > Then > Me.txtSignatorTitle = strInputT > End If > Else > Me.txtSignator = "Renaissance Siding" > End If > Else > MsgBox "There was no text entered for Paragraph 1." > Cancel = True > gvarRecordFound = False > End If > > End Sub > ------------------------------------------------------ > Private Sub Report_Close() > If gvarRecordFound = False Then > Exit Sub > End If > Dim db As Database, rs As Recordset > Dim Response > Dim strMsgPrint As String > strMsgPrint = "Did the letter print properly?" > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > Verification") Then > Response = acDataErrDisplay > Else > 'Add letter subject to comments > Dim strInput As String, strMsg As String > strMsg = "What was the subject of this letter?" > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > If IsNull(strInput) Or strInput = "" Then > strInput = "NOT SPECIFIED" > End If > Set db = CurrentDb > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > On Error Resume Next > rs.AddNew > Dim strComment As String > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > UCase(strInput) & ")." > rs!lngJobID = lngJobID > rs!txtJobComment = strComment > rs!dteJobCommentNow = Now() > rs!cboJobCommentPrivate = False > rs.Update > If Err Then > MsgBox "An error occurred, and the comments were not updated." & > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > indicating that the letter was sent today." > Response = acDataErrContinue > Else > Response = acDataErrAdded > End If > rs.Close > End If > End Sub > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 19 11:57:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 02:57:20 +1000 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <11333149726.20030619172657@cactus.dk> Message-ID: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> Guys, Sorry I should have explained myself better I was assuming that January 1st was a Monday etc etc. Here is a cool solution I found at http://www.cpearson.com/excel/DateTimeVBA.htm Does what I need: Public Function YearStart(WhichYear As Integer) As Date Dim WeekDay As Integer Dim NewYear As Date NewYear = DateSerial(WhichYear, 1, 1) WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 If WeekDay < 4 Then YearStart = NewYear - WeekDay Else YearStart = NewYear - WeekDay + 7 End If End Function Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As Variant) As Integer ' WhichFormat: missing or <> 2 then returns week number, ' = 2 then YYWW ' Dim ThisYear As Integer Dim PreviousYearStart As Date Dim ThisYearStart As Date Dim NextYearStart As Date Dim YearNum As Integer ThisYear = Year(AnyDate) ThisYearStart = YearStart(ThisYear) PreviousYearStart = YearStart(ThisYear - 1) NextYearStart = YearStart(ThisYear + 1) Select Case AnyDate Case Is >= NextYearStart ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 YearNum = Year(AnyDate) + 1 Case Is < ThisYearStart ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 YearNum = Year(AnyDate) - 1 Case Else ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 YearNum = Year(AnyDate) End Select If IsMissing(WhichFormat) Then Exit Function If WhichFormat = 2 Then ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ Format(ISOWeekNum, "00")) End If End Function Thanks for everyones suggestions... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 20 June 2003 1:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Week of the Month Hi Vlad Are you sure about this? Normally, an ISO standard, a week runs from Monday to Sunday (except in the US where they start the week in the middle of the weekend - go figure). The DatePart() function and Weekday() will give the week and weekdays if that is what you need (so you say). DatePart() is a little buggy around week 52 but that won't probably be of importance to you. /gustav > Does anyone know of a method to work out what week it is of the month. > For example, you have a range of dates 1st January to 31st March. The > 1st to the 7th is the 1st week of January and the 8th to the 14th is > the second etc etc... > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to > each customer on a per monthly basis. So effectively to say customer > Jim Spanner the client delivers every second Thursday for February. Is > there an elegant method of working this out? I have the date the > delivery was carried out for the past 2.5 years, but am having > difficulty working out how I could manufacture a frequency pattern. > Is there any method anyone could suggest, that I could explore... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jun 19 11:59:18 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 19 Jun 2003 12:59:18 -0400 Subject: [AccessD] Fw: Problem with Access Message-ID: <806536912C472E4A9D6515DF2E57261E2393D3@mercury.tnco-inc.com> This sounds like a Windows error message. Not an Access one. If a program crashes, I don't think that you can suppress Windows error messages. Joe R. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Jun 19 12:13:22 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 13:13:22 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C33664.904709B0.bob@renaissancesiding.com> Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the report? > When you open the report (Report Open event)? In a particular section of > the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would be > > greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Thu Jun 19 13:43:57 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 14:43:57 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) In-Reply-To: <01C33664.904709B0.bob@renaissancesiding.com> Message-ID: <002601c33692$c191aa60$70310cd8@hargrove.internal> When you print the open preview, some of the sections of the report rerun on the way to the printer so that's why you are getting the second pass for information. Try moving the Input box code to the Report's Open event instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 1:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the > report? When you open the report (Report Open event)? In a particular > section of the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, > > it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. > > Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want > > users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would > > be greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " > > " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, > > Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Jun 19 13:49:46 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 19 Jun 2003 14:49:46 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128666@mail2.wrsystems.com> I encountered this problem the hard way (which is why I use BE/FE religiously). User A would open the report in preview, user B would open report in preview after. When user A hit print, they would get the results of user B's report. I've not delved into this issue here or elsewhere, I'd just assumed this was an Access quirk (A2K). -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, June 19, 2003 2:44 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Print letter from InputBox data (contains long codeatbottom) When you print the open preview, some of the sections of the report rerun on the way to the printer so that's why you are getting the second pass for information. Try moving the Input box code to the Report's Open event instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 1:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the > report? When you open the report (Report Open event)? In a particular > section of the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, > > it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. > > Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want > > users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would > > be greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " > > " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, > > Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 19 14:55:04 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 19 Jun 2003 15:55:04 -0400 Subject: [AccessD] Fw: Problem with Access In-Reply-To: <00a001c33679$ba951120$6501a8c0@HAL9002> Message-ID: Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Jun 19 15:41:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 13:41:38 -0700 Subject: [AccessD] Fw: Problem with Access References: Message-ID: <018b01c336a3$2ec77aa0$6501a8c0@HAL9002> Jim: That might have worked. Actually, I just got a call from him and the solution turned out to be registering DAO 3.51 using regsrvr32 but he was told that the DLL had to be in the same folder where regsrvr32 was. So that's what he did and now it's working. Thanks everybody for the feedback. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 12:55 PM Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Jun 19 15:44:37 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 19 Jun 2003 22:44:37 +0200 Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> NO ARCHIVE Sounds very tempting.... Aaaah Must consider Aaaaaah Not to far from here... Aaaaah Porc chops Aaaaahhh Beer (not Belgian but there are some fine German beers to, and as long it's cold it's ok for me) (did anyone recognised my Homer Simpson act?) Can't confirm now, don't know until its time. But I'm so jealous of those American Access D'rs that seam to BBQ every week in another state, that I only can aprove a European initiative. I put it in my agenda, but you will only be sure when I'm there... Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 17 juni 2003 22:19 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Thu Jun 19 15:49:44 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Fri, 20 Jun 2003 08:49:44 +1200 Subject: [AccessD] detect network References: <22F1CCD5171D17419CB37FEEE09D5F990173EEB8@TTNEXCHSRV1.hshhp.com> Message-ID: <004101c336a4$507ea780$0900a8c0@P1200n> Can one ask for the MAC address of the Server NIC? Will it always be the same one? Then tell it to connect if its there but not "connected". etc? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Jim DeMarco" To: Sent: Friday, June 20, 2003 3:22 AM Subject: RE: [AccessD] detect network Unfortunately this app will be used by a few outside organzitions as well so the routine needs to be generic. I'm looking into the APIs that I've seen mentioned but haven't found anything on them yet. Thanks, Jim DeMarco -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 19, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Thu Jun 19 15:55:37 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 19 Jun 2003 22:55:37 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> Message-ID: <24d801c336a5$230c7ab0$0300a8c0@S856> LOL beer and eat... how about a presentation? LOL but you are welcome Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: Sent: Thursday, June 19, 2003 10:44 PM Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > NO ARCHIVE > > Sounds very tempting.... > Aaaah > Must consider > Aaaaaah > Not to far from here... > Aaaaah > Porc chops > Aaaaahhh > Beer (not Belgian but there are some fine German beers to, and as long it's > cold it's ok for me) > > (did anyone recognised my Homer Simpson act?) > > > Can't confirm now, don't know until its time. > But I'm so jealous of those American Access D'rs that seam to BBQ every week > in another state, that I only can aprove a European initiative. > > I put it in my agenda, but you will only be sure when I'm there... > > Erwin > > > > > > -----Oorspronkelijk bericht----- > Van: Drew Wutka [mailto:DWUTKA at marlow.com] > Verzonden: dinsdag 17 juni 2003 22:19 > Aan: 'accessd at databaseadvisors.com' > Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > Sounds like fun, but definitely can't make it. To swamped with time, and > too broke from bills (and recent calamities). > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Tuesday, June 17, 2003 7:10 AM > To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com > Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller > Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > > Friday, Aug.-08 2003: > =============== > arrival of participants and in the evening > meeting at my house to socialize, > and have some beer or wine together. > > Saturday, Aug-09 2003: > ================ > Presentations at my house > > - Arthur Fuller: SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) > in the absence of Enterprise Manager > > - Gustav Brock: (to be determined) > > - Mark L. Breen: (to be determined) > > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access > > Evening: > --------- > for dinner at my house we enjoy grilling pork in the Atrium > and have lots of good German beer fresh from tap. > > Sunday, Aug-10 2003: > ================ > depending on your flight schedules and your interests > and weather: > > - visit Deutsches Museum in Munich (a real great technical > Museum, 100 year aniversary this year, > http://www.deutsches-museum.de/) > > - alternatively a sightseeing tour through Munich > > Please let me know soon who of you will participate, > and if there are additional presentations, > and if you need help with reservations > > Please respond to > dba-conf at databaseadvisors.com > or lembit.soobik at t-online.de > > thank you > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Thu Jun 19 16:06:30 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Thu, 19 Jun 2003 14:06:30 -0700 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> Message-ID: Every week? nah, some times 3 or 4 times a week, here in LA ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, June 19, 2003 1:45 PM To: 'accessd at databaseadvisors.com' Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** NO ARCHIVE Sounds very tempting.... Aaaah Must consider Aaaaaah Not to far from here... Aaaaah Porc chops Aaaaahhh Beer (not Belgian but there are some fine German beers to, and as long it's cold it's ok for me) (did anyone recognised my Homer Simpson act?) Can't confirm now, don't know until its time. But I'm so jealous of those American Access D'rs that seam to BBQ every week in another state, that I only can aprove a European initiative. I put it in my agenda, but you will only be sure when I'm there... Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 17 juni 2003 22:19 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Jun 19 16:19:10 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 19 Jun 2003 17:19:10 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: <000001c33679$7a70ee70$70310cd8@hargrove.internal> Message-ID: <02b401c336a8$6cfdbdc0$6501a8c0@Rock> Nice solution! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: June 19, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. From john at winhaven.net Thu Jun 19 16:45:34 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 16:45:34 -0500 Subject: [AccessD] Fw: Problem with Access In-Reply-To: Message-ID: Jim, Does the /y switch work with all M$ setups? JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, June 19, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Thu Jun 19 16:51:41 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 19 Jun 2003 14:51:41 -0700 Subject: [AccessD] Update query syntax Message-ID: I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: Current sample of Attend is: 35=2 30b=2 30a=2 25=2 If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 So, what would my query look like to do that? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From Lembit.Soobik at t-online.de Thu Jun 19 17:04:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 00:04:01 +0200 Subject: [AccessD] Access97 with WindowsXP References: Message-ID: <253c01c336af$5b26ec00$0300a8c0@S856> Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 19 17:15:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Jun 2003 15:15:32 -0700 Subject: [AccessD] Access97 with WindowsXP Message-ID: We have it on WinXP, along with Office XP, and still do some development in it. It sounds like something went haywire with your install. Try uninstalling it, clearing out the registry keys for it and reinstalling. Charlotte Foust -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Thursday, June 19, 2003 2:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Jun 19 17:20:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 15:20:26 -0700 Subject: [AccessD] Access97 with WindowsXP References: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: <021101c336b0$fc627200$6501a8c0@HAL9002> I don't have a problem here (XP Pro). But I don't know why you're getting the memory problem. Rocky ----- Original Message ----- From: Lembit Soobik To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 3:04 PM Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Jun 19 17:21:31 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 17:21:31 -0500 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: I have installed an A97 app with the runtime on WXP and it does just fine, so far... HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Thursday, June 19, 2003 5:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From chizotz at charter.net Thu Jun 19 17:25:29 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 19 Jun 2003 18:25:29 -0400 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: Absolutely yes. I run Acc97 under Windows XP Pro almost daily on my dev machine at work. Ron On Fri, 20 Jun 2003 00:04:01 +0200 Lembit.Soobik at t-online.de (Lembit Soobik) wrote: >does Access97 work on Windows XP? From selina at easydatabases.com.au Thu Jun 19 17:37:29 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 20 Jun 2003 08:37:29 +1000 Subject: [AccessD] Update query syntax References: Message-ID: <002401c336b3$5dd2d550$6465000a@venus> is it save to say whatever figure after the 35= is the figure you want to go in the 35 column? If so, this should do it. update tablename set [Attend35] = mid(attend,4) where left(attend,3) like "35=" HTH Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Friday, June 20, 2003 7:51 AM Subject: [AccessD] Update query syntax > I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lembit.Soobik at t-online.de Thu Jun 19 17:45:56 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 00:45:56 +0200 Subject: [AccessD] Access97 with WindowsXP References: Message-ID: <257301c336b4$8c454930$0300a8c0@S856> MessageCharlotte, Ron, John Rocky, thank you all, helps a lot Charlotte, is there a better way to clean aout the reg keys than manually serching and deleting all Access97? Lembit Soobik ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Friday, June 20, 2003 12:15 AM Subject: RE: [AccessD] Access97 with WindowsXP We have it on WinXP, along with Office XP, and still do some development in it. It sounds like something went haywire with your install. Try uninstalling it, clearing out the registry keys for it and reinstalling. Charlotte Foust -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Thursday, June 19, 2003 2:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 19 18:32:41 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 20 Jun 2003 09:32:41 +1000 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) References: <01C33659.A0BDAC00.bob@renaissancesiding.com> Message-ID: <00ae01c336bb$141f84a0$54dd31d2@OfficePC> Bob - just wondering.....do the users have a preference for the input box approach? Another idea is to have a form (bound to a report table) where the user gets to plug in the content to those fields and then click a preview button to produce the report with that data. I use that approach quite a lot - it can be very frustrating entering data into input boxes - one false move and you have to start over. With the form approach they can keep editing until they get it right and re-use common text. Kath ----- Original Message ----- From: Bob Gajewski To: 'accessd at databaseadvisors.com' Sent: Friday, June 20, 2003 1:55 AM Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Thu Jun 19 18:31:57 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:31:57 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <003f01c336ba$fa836d40$7f00a8c0@bbb888> Jim, The following is a quick hack of some AllAPI (R.I.P.) code you could use as a starting point. ==================================START Option Compare Database Option Explicit Private Declare Function InternetAttemptConnect Lib "wininet" ( _ ByVal dwReserved As Long) As Long 'Add this code to a module and set the Project's Startup Object to 'Sub Main' ' (-> Project Menu -> Project Properties -> General Tab) Private Const RESOURCE_CONNECTED As Long = &H1& Private Const RESOURCE_GLOBALNET As Long = &H2& Private Const RESOURCE_REMEMBERED As Long = &H3& Private Const RESOURCEDISPLAYTYPE_DIRECTORY& = &H9 Private Const RESOURCEDISPLAYTYPE_DOMAIN& = &H1 Private Const RESOURCEDISPLAYTYPE_FILE& = &H4 Private Const RESOURCEDISPLAYTYPE_GENERIC& = &H0 Private Const RESOURCEDISPLAYTYPE_GROUP& = &H5 Private Const RESOURCEDISPLAYTYPE_NETWORK& = &H6 Private Const RESOURCEDISPLAYTYPE_ROOT& = &H7 Private Const RESOURCEDISPLAYTYPE_SERVER& = &H2 Private Const RESOURCEDISPLAYTYPE_SHARE& = &H3 Private Const RESOURCEDISPLAYTYPE_SHAREADMIN& = &H8 Private Const RESOURCETYPE_ANY As Long = &H0& Private Const RESOURCETYPE_DISK As Long = &H1& Private Const RESOURCETYPE_PRINT As Long = &H2& Private Const RESOURCETYPE_UNKNOWN As Long = &HFFFF& Private Const RESOURCEUSAGE_ALL As Long = &H0& Private Const RESOURCEUSAGE_CONNECTABLE As Long = &H1& Private Const RESOURCEUSAGE_CONTAINER As Long = &H2& Private Const RESOURCEUSAGE_RESERVED As Long = &H80000000 Private Const NO_ERROR = 0 Private Const ERROR_MORE_DATA = 234 'L // dderror Private Const RESOURCE_ENUM_ALL As Long = &HFFFF Private Type NETRESOURCE dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long pLocalName As Long pRemoteName As Long pComment As Long pProvider As Long End Type Private Type NETRESOURCE_REAL dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long sLocalName As String sRemoteName As String sComment As String sProvider As String End Type Private Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" (lpNetResource As NETRESOURCE, ByVal lpPassword As String, ByVal lpUserName As String, ByVal dwFlags As Long) As Long Private Declare Function WNetOpenEnum Lib "mpr.dll" Alias "WNetOpenEnumA" (ByVal dwScope As Long, ByVal dwType As Long, ByVal dwUsage As Long, lpNetResource As Any, lphEnum As Long) As Long Private Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As NETRESOURCE, lpBufferSize As Long) As Long Private Declare Function WNetCloseEnum Lib "mpr.dll" (ByVal hEnum As Long) As Long Private Declare Function VarPtrAny Lib "vb40032.dll" Alias "VarPtr" (lpObject As Any) As Long Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (lpTo As Any, lpFrom As Any, ByVal lLen As Long) Private Declare Sub CopyMemByPtr Lib "kernel32" Alias "RtlMoveMemory" (ByVal lpTo As Long, ByVal lpFrom As Long, ByVal lLen As Long) Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpString1 As String, ByVal lpString2 As Any) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Any) As Long Private Declare Function getusername Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public strUserName As String Public strMachinerName As String Public Function IsWebConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick test to see if there is an available internet connection ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if there is an available connection ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 19-Jun-03 (c) 2003 Sargasso Pty Ltd Original. '============================================================ On Error GoTo IsWebConnected_ERR IsWebConnected = (InternetAttemptConnect(ByVal 0&) = 0) IsWebConnected_EXIT: On Error GoTo 0 Exit Function IsWebConnected_ERR: Dim pname As String pname = "IsWebConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" End Select GoTo IsWebConnected_EXIT End Function Public Function AreWeConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick hack of the AllAPI code for Jim ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if some code is added to detect what you want ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 20-Jun-03 (c) 2003 Sargasso Pty Ltd Original by AllAPI as per comments. '============================================================ Dim blnResult As Boolean On Error GoTo AreWeConnected_ERR 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net '-> This sample was created by Donald Grover Const MAX_RESOURCES = 256 Const NOT_A_CONTAINER = -1 Dim bFirstTime As Boolean Dim lReturn As Long Dim hEnum As Long Dim lCount As Long Dim lMin As Long Dim lLength As Long Dim l As Long Dim lBufferSize As Long Dim lLastIndex As Long Dim uNetApi(0 To MAX_RESOURCES) As NETRESOURCE Dim uNet() As NETRESOURCE_REAL bFirstTime = True Do If bFirstTime Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, ByVal 0&, hEnum) bFirstTime = False Else If uNet(lLastIndex).dwUsage And RESOURCEUSAGE_CONTAINER Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, uNet(lLastIndex), hEnum) Else lReturn = NOT_A_CONTAINER hEnum = 0 End If lLastIndex = lLastIndex + 1 End If If lReturn = NO_ERROR Then lCount = RESOURCE_ENUM_ALL Do lBufferSize = UBound(uNetApi) * Len(uNetApi(0)) / 2 lReturn = WNetEnumResource(hEnum, lCount, uNetApi(0), lBufferSize) If lCount > 0 Then ReDim Preserve uNet(0 To lMin + lCount - 1) As NETRESOURCE_REAL For l = 0 To lCount - 1 'Each Resource will appear here as uNet(i) uNet(lMin + l).dwScope = uNetApi(l).dwScope uNet(lMin + l).dwType = uNetApi(l).dwType uNet(lMin + l).dwDisplayType = uNetApi(l).dwDisplayType uNet(lMin + l).dwUsage = uNetApi(l).dwUsage If uNetApi(l).pLocalName Then lLength = lstrlen(uNetApi(l).pLocalName) uNet(lMin + l).sLocalName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sLocalName, ByVal uNetApi(l).pLocalName, lLength End If If uNetApi(l).pRemoteName Then lLength = lstrlen(uNetApi(l).pRemoteName) uNet(lMin + l).sRemoteName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sRemoteName, ByVal uNetApi(l).pRemoteName, lLength End If If uNetApi(l).pComment Then lLength = lstrlen(uNetApi(l).pComment) uNet(lMin + l).sComment = Space$(lLength) CopyMem ByVal uNet(lMin + l).sComment, ByVal uNetApi(l).pComment, lLength End If If uNetApi(l).pProvider Then lLength = lstrlen(uNetApi(l).pProvider) uNet(lMin + l).sProvider = Space$(lLength) CopyMem ByVal uNet(lMin + l).sProvider, ByVal uNetApi(l).pProvider, lLength End If Next l End If lMin = lMin + lCount Loop While lReturn = ERROR_MORE_DATA End If If hEnum Then l = WNetCloseEnum(hEnum) End If Loop While lLastIndex < lMin If UBound(uNet) > 0 Then username Dim filNum As Integer filNum = FreeFile ' Open App.Path & "\" & LCase(App.EXEName) & ".txt" For Output Shared As #filNum 'Open "d:\" & App.EXEName & ".txt" For Output Shared As #filNum Debug.Print "Date: " & Format(Now, "Long date") Debug.Print "" Debug.Print "UserName: " & strUserName Debug.Print "Computer Name: " & strMachinerName For l = 0 To UBound(uNet) Select Case uNet(l).dwDisplayType Case RESOURCEDISPLAYTYPE_DIRECTORY& Debug.Print "Directory...", Debug.Print "Directory...", Case RESOURCEDISPLAYTYPE_DOMAIN Debug.Print "Domain...", Debug.Print "Domain...", Case RESOURCEDISPLAYTYPE_FILE Debug.Print "File...", ' Print #filNum, "File...", Case RESOURCEDISPLAYTYPE_GENERIC Debug.Print "Generic...", ' Print #filNum, "Generic...", Case RESOURCEDISPLAYTYPE_GROUP Debug.Print "Group...", ' Print #filNum, "Group...", Case RESOURCEDISPLAYTYPE_NETWORK& Debug.Print "Network...", ' Print #filNum, "Network...", Case RESOURCEDISPLAYTYPE_ROOT& Debug.Print "Root...", ' Print #filNum, "Root...", Case RESOURCEDISPLAYTYPE_SERVER Debug.Print "Server...", ' Print #filNum, "Server...", Case RESOURCEDISPLAYTYPE_SHARE Debug.Print "Share...", ' Print #filNum, "Share...", Case RESOURCEDISPLAYTYPE_SHAREADMIN& Debug.Print "ShareAdmin...", ' Print #filNum, "ShareAdmin...", End Select Debug.Print uNet(l).sRemoteName, uNet(l).sComment ' Print #filNum, uNet(l).sRemoteName, uNet(l).sComment Next l End If Close #filNum ' MsgBox "File " + App.Path & "\" & LCase(App.EXEName) & ".txt created" + vbCrLf + "Open it in a text editor to see the results", vbInformation AreWeConnected = AreWeConnected_TIDYUP: ' Close any open recordsets, destroy local objects AreWeConnected_EXIT: On Error GoTo 0 Exit Function AreWeConnected_ERR: Dim pname As String pname = "AreWeConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" Stop Resume End Select GoTo AreWeConnected_EXIT End Function Private Sub username() On Error Resume Next 'Create a buffer strUserName = String(255, Chr$(0)) 'Get the username getusername strUserName, 255 'strip the rest of the buffer strUserName = Left$(strUserName, InStr(strUserName, Chr$(0)) - 1) 'Create a buffer strMachinerName = String(255, Chr$(0)) GetComputerName strMachinerName, 255 'remove the unnecessary chr$(0)'s strMachinerName = Left$(strMachinerName, InStr(1, strMachinerName, Chr$(0)) - 1) End Sub ==========================================END Hth, Im in a bit of a rush Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 12:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 18:33:53 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:33:53 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <004101c336bb$3f3c3340$7f00a8c0@bbb888> Jim Go here for more info http://www.mentalis.org/index2.shtml Bruce From bbruen at bigpond.com Thu Jun 19 18:35:02 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:35:02 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <00bd01c3367a$28fff940$6501a8c0@HAL9002> Message-ID: <004201c336bb$68d6fcd0$7f00a8c0@bbb888> Rocky, Bookmarks are invalid after a Requery Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 20, 2003 1:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Selina: When I need to do this I save a value or combination of values that makes the record unique. Then after the Requery I use RecordsetClone and Bookmark to move back to the desired record. If I delete a record, I save the fields of the previous or following record. HTH Rocky ----- Original Message ----- From: "Selina Iddon" To: Sent: Thursday, June 19, 2003 6:47 AM Subject: Re: [AccessD] Keeping place after requerying > Hi Gustav > When I delete a record it puts #DELETED# across all the fields. I > requery it so that they don't see this. Thanks > Selina > > ---------------------------------------------------------------------- > ---- -- > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > Access Databases > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, June 19, 2003 5:26 PM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Selina > > > > > I understandably annoyed customer because everytime they delete > something > > > from their very long list and the data is requeried (via code), > > > they end > up > > > at the top of their list again and have to scroll down. Can anyone > > > please help in how I keep the focus on the next record to the > one > > > they have just deleted? > > > > Why do you requery the form? That shouldn't be necessary - except > > for an unbound form ... > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 18:33:19 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:33:19 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <004001c336bb$2b44cfa0$7f00a8c0@bbb888> From davesharpe2 at cox.net Thu Jun 19 18:56:37 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Thu, 19 Jun 2003 19:56:37 -0400 Subject: [AccessD] Update query syntax References: Message-ID: <014501c336be$6bb9ca10$1d270a44@bcs006137> Kathryn I nomally use the query builder. If I read your request correctly,I'd use something like "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" as your condition and something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" as your replace statement for Attend35 Dave ----- Original Message ----- From: Kathryn Bassett To: dbAdvisors (AccessD) Sent: Thursday, June 19, 2003 5:51 PM Subject: [AccessD] Update query syntax I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: Current sample of Attend is: 35=2 30b=2 30a=2 25=2 If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 So, what would my query look like to do that? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Thu Jun 19 19:18:49 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 10:18:49 +1000 Subject: [AccessD] Calculating Time Cards In-Reply-To: <000001c33679$7a70ee70$70310cd8@hargrove.internal> Message-ID: <004d01c336c1$866219f0$7f00a8c0@bbb888> Without having looked too closely at this thread.... I had a similar problem several years ago. The answer we employed was to build a temporary analysis table with the times adjusted backwards by the starting time of the first shift of the day. That is, analysisStart=realStart-(#4:00am#/24) type of thing. Thus the first shift starts at a virtual 12:00am, second at virtual 8:00am etc. The analysis then became easy. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: Friday, June 20, 2003 1:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 22:18:57 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 13:18:57 +1000 Subject: [AccessD] Old help files Message-ID: <000001c336da$b0727f50$7f00a8c0@bbb888> Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce From actebs at actebs.com.au Thu Jun 19 22:29:02 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 13:29:02 +1000 Subject: [AccessD] Old help files In-Reply-To: <000001c336da$b0727f50$7f00a8c0@bbb888> Message-ID: <000901c336dc$1b633f60$0c05a8c0@earth.local> Bruce, Can't help you there, but just wanted to re-iterate the sorry excuse the AXP help files actually are. Why they have done what they have is beyond me as the previous search methods etc in the A97 product were awesome. I have given up even trying to use the AXP help it's a joke... Sorry for the rant!!!... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Friday, 20 June 2003 1:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old help files Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 22:44:17 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 20:44:17 -0700 Subject: [AccessD] Keeping place after requerying References: <004201c336bb$68d6fcd0$7f00a8c0@bbb888> Message-ID: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Bruce: I think I wrote too fast. I save the PK of the record before the one to be deleted. Then I do the delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. I think that works. Rocky ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 4:35 PM Subject: RE: [AccessD] Keeping place after requerying > Rocky, > > Bookmarks are invalid after a Requery > > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Selina: > > When I need to do this I save a value or combination of values that > makes the record unique. Then after the Requery I use RecordsetClone > and Bookmark to move back to the desired record. If I delete a record, I > save the fields of the previous or following record. > > HTH > > Rocky > > ----- Original Message ----- > From: "Selina Iddon" > To: > Sent: Thursday, June 19, 2003 6:47 AM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Gustav > > When I delete a record it puts #DELETED# across all the fields. I > > requery it so that they don't see this. Thanks > > Selina > > > > ---------------------------------------------------------------------- > > ---- > -- > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > Access Databases > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Thursday, June 19, 2003 5:26 PM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Selina > > > > > > > I understandably annoyed customer because everytime they delete > > something > > > > from their very long list and the data is requeried (via code), > > > > they > end > > up > > > > at the top of their list again and have to scroll down. Can anyone > > > > > please help in how I keep the focus on the next record to > the > > one > > > > they have just deleted? > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > for an unbound form ... > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From weeden1949 at hotmail.com Thu Jun 19 23:10:45 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Thu, 19 Jun 2003 23:10:45 -0500 Subject: [AccessD] Access97 with WindowsXP References: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: Lembit: I have both Access97 (sp2) and Access 2002 (XP or whatever) installed on WinXP without any problems. Greg Smith ----- Original Message ----- From: Lembit Soobik To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 5:04 PM Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Thu Jun 19 23:30:16 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 19 Jun 2003 21:30:16 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <014501c336be$6bb9ca10$1d270a44@bcs006137> Message-ID: I've never been able to figure how how to use the query builder. If I click on IIF and then click on Mid$, I get: IIf (?expr?, ?truepart?, ?falsepart?) ?Expr? Mid$ (?stringexpr?, ?start?, ?length?) Now, I know I have to replace things like ?expr? and ?truepart? etc, but I don't know how to go from there. I can't figure out how this: "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" fits in. Which part is the expression, which is the truepart and which is the falsepart, etc. I'd probably understand it better with a SQL statement, but... I don't need anything as complicated for updating the Attend35, as all I have to do is put a 1 in the "update to" box. And when I do the 35=2, I'll put a 2 in. They won't have both, so don't need to worry about overwriting. -- 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 dave sharpe > Sent: 19 Jun 2003 4:57:PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update query syntax > > > Kathryn > > I nomally use the query builder. If I read your request > correctly,I'd use something like > > "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" > as your condition and > something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" > as your replace statement for Attend35 > > Dave > > ----- Original Message ----- > From: Kathryn Bassett > To: dbAdvisors (AccessD) > Sent: Thursday, June 19, 2003 5:51 PM > Subject: [AccessD] Update query syntax > > > I have a field called Attend that is text 100 in length. I've added new fields called > Attend25, Attend35 etc and made then all long integers with zero decimal places. (The > numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using > the queries, to take the contents of Attend, and put it in Attend35. Before I just > try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then > put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 23:50:21 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 14:50:21 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Message-ID: <000501c336e7$75082840$7f00a8c0@bbb888> That makes sense. Thought you might be having a moment there :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 20, 2003 1:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Bruce: I think I wrote too fast. I save the PK of the record before the one to be deleted. Then I do the delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. I think that works. Rocky ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 4:35 PM Subject: RE: [AccessD] Keeping place after requerying > Rocky, > > Bookmarks are invalid after a Requery > > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Selina: > > When I need to do this I save a value or combination of values that > makes the record unique. Then after the Requery I use RecordsetClone > and Bookmark to move back to the desired record. If I delete a record, > I save the fields of the previous or following record. > > HTH > > Rocky > > ----- Original Message ----- > From: "Selina Iddon" > To: > Sent: Thursday, June 19, 2003 6:47 AM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Gustav > > When I delete a record it puts #DELETED# across all the fields. I > > requery it so that they don't see this. Thanks Selina > > > > -------------------------------------------------------------------- > > -- > > ---- > -- > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > Access Databases > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Thursday, June 19, 2003 5:26 PM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Selina > > > > > > > I understandably annoyed customer because everytime they delete > > something > > > > from their very long list and the data is requeried (via code), > > > > they > end > > up > > > > at the top of their list again and have to scroll down. Can > > > > anyone > > > > > please help in how I keep the focus on the next record to > the > > one > > > > they have just deleted? > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > for an unbound form ... > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Jun 20 00:19:16 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 22:19:16 -0700 Subject: [AccessD] Keeping place after requerying References: <000501c336e7$75082840$7f00a8c0@bbb888> Message-ID: <002001c336eb$7fcbc120$6501a8c0@HAL9002> I was. :)) ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 9:50 PM Subject: RE: [AccessD] Keeping place after requerying > That makes sense. Thought you might be having a moment there :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:44 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Bruce: > > I think I wrote too fast. > > I save the PK of the record before the one to be deleted. Then I do the > delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved > PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. > > I think that works. > > Rocky > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Thursday, June 19, 2003 4:35 PM > Subject: RE: [AccessD] Keeping place after requerying > > > > Rocky, > > > > Bookmarks are invalid after a Requery > > > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, June 20, 2003 1:48 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > Selina: > > > > When I need to do this I save a value or combination of values that > > makes the record unique. Then after the Requery I use RecordsetClone > > and Bookmark to move back to the desired record. If I delete a record, > > > I save the fields of the previous or following record. > > > > HTH > > > > Rocky > > > > ----- Original Message ----- > > From: "Selina Iddon" > > To: > > Sent: Thursday, June 19, 2003 6:47 AM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Gustav > > > When I delete a record it puts #DELETED# across all the fields. I > > > requery it so that they don't see this. Thanks Selina > > > > > > -------------------------------------------------------------------- > > > -- > > > ---- > > -- > > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > > Access Databases > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: > > > Sent: Thursday, June 19, 2003 5:26 PM > > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > > > > Hi Selina > > > > > > > > > I understandably annoyed customer because everytime they delete > > > something > > > > > from their very long list and the data is requeried (via code), > > > > > they > > end > > > up > > > > > at the top of their list again and have to scroll down. Can > > > > > anyone > > > > > > > please help in how I keep the focus on the next record to > > the > > > one > > > > > they have just deleted? > > > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > > for an unbound form ... > > > > > > > > /gustav > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Fri Jun 20 01:03:33 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 19 Jun 2003 23:03:33 -0700 Subject: [AccessD] Old help files In-Reply-To: <000001c336da$b0727f50$7f00a8c0@bbb888> Message-ID: <00a601c336f1$aee09d40$6401a8c0@papparuff> Bruce, I put together what I believe are most of the Access and VBA help files for Access 97 in a zip file. If you like, contact me off-line and I will send them to you. Also, you can download the Access97 Knowledgebase at: http://www.netfolk.co.uk/netfolk/access/msdown.html it's called acc97b.exe John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Bruce Bruen Sent: Thursday, June 19, 2003 8:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old help files Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Fri Jun 20 01:43:17 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 20 Jun 2003 16:43:17 +1000 Subject: [AccessD] A2K: Populate List Box Message-ID: <015101c336f7$4adcc430$3c619a89@DDICK> Hello all This should be simple. But it is p***ing me right off. I have an Events form called frmEvents. Bound to tblEvents. 2 list boxes on this form. The one on the left lists available clients The list box on the right is showing people who are registerd into this event. (Attendees) This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. (All the names of attendees are got from the tblAttendees table) - Pretty basic sofar. Double click on left box to 'Register in to the current Event' Double click on Right box to 'un regsiter' - Rocket science. The lists grow and shrink accordingly. But here is the problemn In the list on the left I only want to show people who are not registerd into the current event. I am having a 101 moment here (Drew) Any help?? Darren From andy at minstersystems.co.uk Fri Jun 20 01:43:16 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 20 Jun 2003 07:43:16 +0100 Subject: [AccessD] Keeping place after requerying In-Reply-To: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Message-ID: <004701c336f7$3a9d1160$b274d0d5@andypc> I do something similar but you also have to take account of situations like the record you're deleting is top of the list or is the only one in the list. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 20 June 2003 04:44 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Bruce: > > I think I wrote too fast. > > I save the PK of the record before the one to be deleted. > Then I do the delete and requery. Then I use > Me.RecordsetClone.FindFirst on the saved PK. Then do > Me.Bookmark = Me.RecordsetClone.Bookmark. > > I think that works. > > Rocky > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Thursday, June 19, 2003 4:35 PM > Subject: RE: [AccessD] Keeping place after requerying > > > > Rocky, > > > > Bookmarks are invalid after a Requery > > > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, June 20, 2003 1:48 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > Selina: > > > > When I need to do this I save a value or combination of values that > > makes the record unique. Then after the Requery I use > RecordsetClone > > and Bookmark to move back to the desired record. If I > delete a record, > > I save the fields of the previous or following record. > > > > HTH > > > > Rocky > > > > ----- Original Message ----- > > From: "Selina Iddon" > > To: > > Sent: Thursday, June 19, 2003 6:47 AM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Gustav > > > When I delete a record it puts #DELETED# across all the > fields. I > > > requery it so that they don't see this. Thanks Selina > > > > > > > -------------------------------------------------------------------- > > > -- > > > ---- > > -- > > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 > 225 265 Easy > > > Access Databases > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: > > > Sent: Thursday, June 19, 2003 5:26 PM > > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > > > > Hi Selina > > > > > > > > > I understandably annoyed customer because everytime > they delete > > > something > > > > > from their very long list and the data is requeried > (via code), > > > > > they > > end > > > up > > > > > at the top of their list again and have to scroll down. Can > > > > > anyone > > > > > > > please help in how I keep the focus on the next record to > > the > > > one > > > > > they have just deleted? > > > > > > > > Why do you requery the form? That shouldn't be > necessary - except > > > > for an unbound form ... > > > > > > > > /gustav > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From marcel.vreuls at oop.nl Fri Jun 20 02:01:54 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Fri, 20 Jun 2003 09:01:54 +0200 Subject: [AccessD] Rowcolor In-Reply-To: <3EEFEFD8.7010205@shaw.ca> Message-ID: <006201c336f9$d69a7830$c100a8c0@OOPMBO> Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls From lists at jbsolutions.com.au Fri Jun 20 02:51:17 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Fri, 20 Jun 2003 17:51:17 +1000 Subject: [AccessD] A2K: Populate List Box Message-ID: <200306200750.h5K7oMg28066@databaseadvisors.com> Hello Darren DICK, I think using the "NOT IN" syntax should do the job.. Without knowing the exact structure of your tables, I would say it would be something like... "SELECT * FROM tblAttendees WHERE AttendeeID NOT IN (SELECT AttendeeID FROM tblRegistration WHERE EventID = " & Forms!frmEvents.EventID & ")" ======= At 2003-06-20, 16:43:00 you wrote: ======= >Hello all >This should be simple. But it is p***ing me right off. >I have an Events form called frmEvents. Bound to tblEvents. >2 list boxes on this form. The one on the left lists available clients >The list box on the right is showing people who are registerd into this event. (Attendees) >This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. >(All the names of attendees are got from the tblAttendees table) > - Pretty basic sofar. >Double click on left box to 'Register in to the current Event' >Double click on Right box to 'un regsiter' - Rocket science. >The lists grow and shrink accordingly. > >But here is the problemn >In the list on the left I only want to show people who are not registerd into the current event. > >I am having a 101 moment here (Drew) > >Any help?? > >Darren > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-20 From gustav at cactus.dk Fri Jun 20 05:19:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 12:19:23 +0200 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> References: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> Message-ID: <6216788079.20030620121923@cactus.dk> Hi Vlad That's a long way to go as the built in function DatePart() returns this for any date of any year (within the date range of datatype DateTime, of course) in one line of code: intWeekNumber = DatePart("ww", datDate, vbMonday, vbFirstFourDays) It is a little buggy for leap years where it can mix up week 53 and week 1. That may be critical; for those cases we use this function: Public Function ISO_WeekNumber(ByVal datDate As Date) As Byte ' Calculates and returns week number for date datDate according to the ISO 8601:1988 standard. ' 1998-2000, Gustav Brock, Cactus Data ApS, Denmark. ' May be freely used and distributed. Dim bytWeek As Integer Dim intYear As Integer Dim bytISO_Thursday As Byte bytWeek = DatePart("ww", datDate, vbMonday, vbFirstFourDays) If bytWeek = 53 Then bytISO_Thursday = WeekDay(vbThursday, vbMonday) intYear = Year(datDate) If WeekDay(DateSerial(intYear, 12, 31), vbMonday) >= bytISO_Thursday Then ' OK, week count of 53 is caused by leap year. Else ' Correct for Access97/2000 bug. bytWeek = 1 End If End If ISO_WeekNumber = bytWeek End Function I wonder if this bug i still present in Access XP? /gustav > Sorry I should have explained myself better I was assuming that January > 1st was a Monday etc etc. Here is a cool solution I found at > http://www.cpearson.com/excel/DateTimeVBA.htm > Does what I need: > Public Function YearStart(WhichYear As Integer) As Date > Dim WeekDay As Integer > Dim NewYear As Date > NewYear = DateSerial(WhichYear, 1, 1) > WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 > If WeekDay < 4 Then > YearStart = NewYear - WeekDay > Else > YearStart = NewYear - WeekDay + 7 > End If > End Function > Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As > Variant) As Integer > ' WhichFormat: missing or <> 2 then returns week number, > ' = 2 then YYWW > ' > Dim ThisYear As Integer > Dim PreviousYearStart As Date > Dim ThisYearStart As Date > Dim NextYearStart As Date > Dim YearNum As Integer > ThisYear = Year(AnyDate) > ThisYearStart = YearStart(ThisYear) > PreviousYearStart = YearStart(ThisYear - 1) > NextYearStart = YearStart(ThisYear + 1) > Select Case AnyDate > Case Is >= NextYearStart > ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 > YearNum = Year(AnyDate) + 1 > Case Is < ThisYearStart > ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 > YearNum = Year(AnyDate) - 1 > Case Else > ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 > YearNum = Year(AnyDate) > End Select > If IsMissing(WhichFormat) Then Exit Function > If WhichFormat = 2 Then > ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ > Format(ISOWeekNum, "00")) > End If > End Function > Thanks for everyones suggestions... > Regards > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, 20 June 2003 1:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Week of the Month > Hi Vlad > Are you sure about this? Normally, an ISO standard, a week runs from > Monday to Sunday (except in the US where they start the week in the > middle of the weekend - go figure). > The DatePart() function and Weekday() will give the week and weekdays if > that is what you need (so you say). DatePart() is a little buggy around > week 52 but that won't probably be of importance to you. > /gustav >> Does anyone know of a method to work out what week it is of the month. >> For example, you have a range of dates 1st January to 31st March. The >> 1st to the 7th is the 1st week of January and the 8th to the 14th is >> the second etc etc... >> I have 2.5 years of data (about 1 Million rows) from an old main frame >> system and we are trying to determine the frequency of delivery to >> each customer on a per monthly basis. So effectively to say customer >> Jim Spanner the client delivers every second Thursday for February. Is >> there an elegant method of working this out? I have the date the >> delivery was carried out for the past 2.5 years, but am having >> difficulty working out how I could manufacture a frequency pattern. From jimdettman at earthlink.net Fri Jun 20 05:23:22 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 06:23:22 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: Julie, Here's how I do my time cards apps. Start/Stop times are kept as a numeric number, along with a separate field for work date. Generally the operators like to key it in as hhmm. Of course the other issues is 0005 five minutes or half an hour? You can do either with this technique. I also allow for adjustments where no start/stop time is entered, but simply an amount of time. I do this with a -1 in the start time control. The code for the Start time AfterUpdate event is below. The other issue when entering start/stop times is does the start/stop range entered overlap another card already entered. I've posted code below for that as well. This is done in the BeforeUpdate event of the start and stop time control. The last thing you talked about is shift. It's difficult to do in some cases because what's considered "normal" for each employee may be difficult to determine. Over the years, I've settled for the technique of setting up an employees work schedule, then flagging the time card as being "out of shift" if it doesn't match up to the schedule. The schedule records have the following fields: SchedDate Mon Tue Wed Thu Fri Sat Sun NoHours Start Stop The user can either indicate a specific date, or tick off the days of the week that this should apply to. If they tick no hours, it means the employee should not be working at all. Start/stop time indicates the normal shift for the employee. I've included code for everything I've mentioned above. May give you some ideas. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net Private Sub txtStart_AfterUpdate() Dim dblStartTime As Double Dim dblStopTime As Double If Me![txtStart] = 0 Or IsNull(Me![txtStart]) Then ' Line with no ET on it. Me![txtStop] = 0 Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = False Me![txtRegHrs].Locked = True Me![txtOTHTHrs].Enabled = False Me![txtOTHTHrs].Locked = True Me![txtOTDTHrs].Enabled = False Me![txtOTDTHrs].Locked = True ElseIf Me![txtStart] = -1 Then Me![txtStop] = "" Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False Else ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'dblStartTime = TimeSerial(Fix(Me![txtStart]), Round((Me![txtStart] - Fix(Me![txtStart])) * 60, 0), 0) 'If IsNull(Me![txtStop]) Then ' dblStopTime = 0 'Else ' dblStopTime = TimeSerial(Fix(Me![txtStop]), Round((Me![txtStop] - Fix(Me![txtStop])) * 60, 0), 0) 'End If ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes If IsNull(Me![txtStart]) Then dblStartTime = 0 Else dblStartTime = TimeSerial(Fix(Me![txtStart] / 100), Me![txtStart] - (Fix(Me![txtStart] / 100) * 100), 0) End If If IsNull(Me![txtStop]) Then dblStopTime = 0 Else dblStopTime = TimeSerial(Fix(Me![txtStop] / 100), Me![txtStop] - (Fix(Me![txtStop] / 100) * 100), 0) End If ' Since we only track the "start date", we need to add ' 24 hours to the stop time to indicate that the end ' time fell into another day. If dblStopTime <= dblStartTime Then dblStopTime = dblStopTime + 1 ' Calculate ET. Me![txtET] = Round(DateDiff("n", dblStartTime, dblStopTime) / 60, 2) Me![txtRegHrs] = Me![txtET] Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = True Me![txtStop].Locked = False Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False End If End Sub ========================= rivate Sub txtStart_BeforeUpdate(Cancel As Integer) Dim intHours As Integer Dim intMinutes As Integer If (Me![txtStart] <> 0) And (Me![txtStart] <> -1) Then ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then ' gstrMBTitle = "Time format error." ' gstrMBMsg = "Your start time is invalid - <0 or >2399." ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes intHours = Fix(Me![txtStart] / 100) intMinutes = Me![txtStart] - (Fix(Me![txtStart] / 100) * 100) If Me![txtStart] < 0 Or intMinutes > 59 Then gstrMBTitle = "Time format error." gstrMBMsg = "Your start time is invalid - Enter as hhmm." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 Else If (CheckForOverlap("B")) Then gstrMBTitle = "Time range error." gstrMBMsg = "Your start time is in another start/stop range." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 End If End If End If End Sub ================================== Private Function CheckForOverlap(strTime As String) As Integer Dim rst As Recordset Dim curStartTime As Currency Dim curStopTime As Currency Dim curRecordStartTime As Currency Dim curRecordStopTime As Currency Dim lngCurTranID As Long Dim fAtNewRecord As Integer ' Routine to check if new time entry overlaps an existing time card line. CheckForOverlap = False On Error Resume Next lngCurTranID = Me![TranID] fAtNewRecord = (Err = 3021) ' Get start and stop times for current line. curStartTime = ConvertNulls(Me![txtStart], "0") curStopTime = ConvertNulls(Me![txtStop], "0") If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Check all records in clone. Set rst = Me.RecordsetClone If rst.RecordCount > 0 Then rst.MoveLast Do Until rst.BOF If fAtNewRecord = False Then If lngCurTranID <> rst![TranID] Then If Not (ConvertNulls(rst![Start], "") = "") Then curRecordStartTime = ConvertNulls(rst![Start], "0") curRecordStopTime = ConvertNulls(rst![Stop], "0") If curRecordStopTime < curRecordStartTime Then curRecordStopTime = curRecordStopTime + 2400 ' Debug.Print curStartTime, curRecordStartTime ' Debug.Print curStopTime, curRecordStopTime If curRecordStartTime > 0 And curRecordStopTime > 0 Then If strTime = "B" Then If curStartTime >= curRecordStartTime And curStartTime < curRecordStopTime Then CheckForOverlap = True Exit Do End If If curStopTime <> 2400 Then If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If Else If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If End If End If End If End If rst.MovePrevious Loop End If rst.Close Set rst = Nothing End Function ================================== Public Sub LoadEmpSchedule() Dim qrydef As QueryDef Dim prm As Parameter Dim rst As Recordset Dim intK As Integer Set qrydef = dbCurrent.QueryDefs("qryfrmTimeCardLoadEmpSched") For intK = 0 To qrydef.Parameters.Count - 1 Set prm = qrydef.Parameters(intK) prm.Value = Eval(prm.Name) Next intK Set rst = qrydef.OpenRecordset() On Error Resume Next rst.MoveLast rst.MoveFirst Erase varSchedRecords If rst.RecordCount > 0 Then varSchedRecords = rst.GetRows(rst.RecordCount) lngUpperLimitofSchedRecs = UBound(varSchedRecords, 2) Else lngUpperLimitofSchedRecs = 0 End If rst.Close Set rst = Nothing End Sub =================================== Public Function CheckOutOfSchedule(dtWorkDate As Date, curStartTime As Currency, curStopTime As Currency) As Integer Dim intK As Integer Dim intFoundMatch As Integer Dim intDay As Integer ' Loop through schedule records checking if passed start/stop time ' is within a scheduled start/stop time. If lngUpperLimitofSchedRecs = 0 Then CheckOutOfSchedule = False Exit Function End If CheckOutOfSchedule = True If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Always check for specific dates first. ' If we hit a date that is where search date is > array date, ' or the date is null, then there is no match. intFoundMatch = False For intK = 0 To lngUpperLimitofSchedRecs If IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = lngUpperLimitofSchedRecs Else If dtWorkDate > varSchedRecords(0, intK) Then ' Hit entry with date that is < search date. No date specific ' match can be found. Quit loop. intK = lngUpperLimitofSchedRecs Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = lngUpperLimitofSchedRecs Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = lngUpperLimitofSchedRecs End If End If End If End If Next intK If intFoundMatch = True Then Exit Function ' Now check general days. intDay = WeekDay(dtWorkDate, vbMonday) For intK = lngUpperLimitofSchedRecs To 0 Step -1 If Not IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = 0 Else If varSchedRecords(intDay, intK) = False Then ' This sched rec does not apply to this day. Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = 0 Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = 0 End If End If End If End If Next intK If intFoundMatch = False Then CheckOutOfSchedule = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, <> From Erwin.Craps at ithelps.be Fri Jun 20 05:45:29 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 20 Jun 2003 12:45:29 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <104AB6116A2DD511A7580008C7097A98219907@AARDBEI> I know, I know about the presentation, that what I told my wife why I needed to go a weekend. I'm, personaly, very intrested in the EIBUS. We are busy to build our home in the forthcoming year. I looked around for some Domotica solutions, but noticed a lot of proprietary solution. And not really finished products. Very ugly screens to put in the walll etc... Or very expensive... And the software usaly s**cks... We are actualy in holiday in that week-end, but I'm not sure if we will be leaving or not. I'll let you know in time. Erwin -----Oorspronkelijk bericht----- Van: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Verzonden: donderdag 19 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: Re: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL beer and eat... how about a presentation? LOL but you are welcome Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: Sent: Thursday, June 19, 2003 10:44 PM Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > NO ARCHIVE > > Sounds very tempting.... > Aaaah > Must consider > Aaaaaah > Not to far from here... > Aaaaah > Porc chops > Aaaaahhh > Beer (not Belgian but there are some fine German beers to, and as long > it's cold it's ok for me) > > (did anyone recognised my Homer Simpson act?) > > > Can't confirm now, don't know until its time. > But I'm so jealous of those American Access D'rs that seam to BBQ > every week in another state, that I only can aprove a European > initiative. > > I put it in my agenda, but you will only be sure when I'm there... > > Erwin > > > > > > -----Oorspronkelijk bericht----- > Van: Drew Wutka [mailto:DWUTKA at marlow.com] > Verzonden: dinsdag 17 juni 2003 22:19 > Aan: 'accessd at databaseadvisors.com' > Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > Sounds like fun, but definitely can't make it. To swamped with time, > and too broke from bills (and recent calamities). > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Tuesday, June 17, 2003 7:10 AM > To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com > Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller > Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > > Friday, Aug.-08 2003: > =============== > arrival of participants and in the evening > meeting at my house to socialize, > and have some beer or wine together. > > Saturday, Aug-09 2003: > ================ > Presentations at my house > > - Arthur Fuller: SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) > in the absence of Enterprise Manager > > - Gustav Brock: (to be determined) > > - Mark L. Breen: (to be determined) > > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access > > Evening: > --------- > for dinner at my house we enjoy grilling pork in the Atrium and have > lots of good German beer fresh from tap. > > Sunday, Aug-10 2003: > ================ > depending on your flight schedules and your interests > and weather: > > - visit Deutsches Museum in Munich (a real great technical > Museum, 100 year aniversary this year, > http://www.deutsches-museum.de/) > > - alternatively a sightseeing tour through Munich > > Please let me know soon who of you will participate, > and if there are additional presentations, > and if you need help with reservations > > Please respond to > dba-conf at databaseadvisors.com > or lembit.soobik at t-online.de > > thank you > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jun 20 05:47:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 12:47:40 +0200 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <257301c336b4$8c454930$0300a8c0@S856> References: <257301c336b4$8c454930$0300a8c0@S856> Message-ID: <4818485260.20030620124740@cactus.dk> Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? From Jdemarco at hshhp.org Fri Jun 20 06:55:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 07:55:11 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EECC@TTNEXCHSRV1.hshhp.com> Thanks Bruce. I'll give it try over the weekend. Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 7:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, The following is a quick hack of some AllAPI (R.I.P.) code you could use as a starting point. ==================================START Option Compare Database Option Explicit Private Declare Function InternetAttemptConnect Lib "wininet" ( _ ByVal dwReserved As Long) As Long 'Add this code to a module and set the Project's Startup Object to 'Sub Main' ' (-> Project Menu -> Project Properties -> General Tab) Private Const RESOURCE_CONNECTED As Long = &H1& Private Const RESOURCE_GLOBALNET As Long = &H2& Private Const RESOURCE_REMEMBERED As Long = &H3& Private Const RESOURCEDISPLAYTYPE_DIRECTORY& = &H9 Private Const RESOURCEDISPLAYTYPE_DOMAIN& = &H1 Private Const RESOURCEDISPLAYTYPE_FILE& = &H4 Private Const RESOURCEDISPLAYTYPE_GENERIC& = &H0 Private Const RESOURCEDISPLAYTYPE_GROUP& = &H5 Private Const RESOURCEDISPLAYTYPE_NETWORK& = &H6 Private Const RESOURCEDISPLAYTYPE_ROOT& = &H7 Private Const RESOURCEDISPLAYTYPE_SERVER& = &H2 Private Const RESOURCEDISPLAYTYPE_SHARE& = &H3 Private Const RESOURCEDISPLAYTYPE_SHAREADMIN& = &H8 Private Const RESOURCETYPE_ANY As Long = &H0& Private Const RESOURCETYPE_DISK As Long = &H1& Private Const RESOURCETYPE_PRINT As Long = &H2& Private Const RESOURCETYPE_UNKNOWN As Long = &HFFFF& Private Const RESOURCEUSAGE_ALL As Long = &H0& Private Const RESOURCEUSAGE_CONNECTABLE As Long = &H1& Private Const RESOURCEUSAGE_CONTAINER As Long = &H2& Private Const RESOURCEUSAGE_RESERVED As Long = &H80000000 Private Const NO_ERROR = 0 Private Const ERROR_MORE_DATA = 234 'L // dderror Private Const RESOURCE_ENUM_ALL As Long = &HFFFF Private Type NETRESOURCE dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long pLocalName As Long pRemoteName As Long pComment As Long pProvider As Long End Type Private Type NETRESOURCE_REAL dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long sLocalName As String sRemoteName As String sComment As String sProvider As String End Type Private Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" (lpNetResource As NETRESOURCE, ByVal lpPassword As String, ByVal lpUserName As String, ByVal dwFlags As Long) As Long Private Declare Function WNetOpenEnum Lib "mpr.dll" Alias "WNetOpenEnumA" (ByVal dwScope As Long, ByVal dwType As Long, ByVal dwUsage As Long, lpNetResource As Any, lphEnum As Long) As Long Private Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As NETRESOURCE, lpBufferSize As Long) As Long Private Declare Function WNetCloseEnum Lib "mpr.dll" (ByVal hEnum As Long) As Long Private Declare Function VarPtrAny Lib "vb40032.dll" Alias "VarPtr" (lpObject As Any) As Long Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (lpTo As Any, lpFrom As Any, ByVal lLen As Long) Private Declare Sub CopyMemByPtr Lib "kernel32" Alias "RtlMoveMemory" (ByVal lpTo As Long, ByVal lpFrom As Long, ByVal lLen As Long) Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpString1 As String, ByVal lpString2 As Any) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Any) As Long Private Declare Function getusername Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public strUserName As String Public strMachinerName As String Public Function IsWebConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick test to see if there is an available internet connection ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if there is an available connection ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 19-Jun-03 (c) 2003 Sargasso Pty Ltd Original. '============================================================ On Error GoTo IsWebConnected_ERR IsWebConnected = (InternetAttemptConnect(ByVal 0&) = 0) IsWebConnected_EXIT: On Error GoTo 0 Exit Function IsWebConnected_ERR: Dim pname As String pname = "IsWebConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" End Select GoTo IsWebConnected_EXIT End Function Public Function AreWeConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick hack of the AllAPI code for Jim ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if some code is added to detect what you want ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 20-Jun-03 (c) 2003 Sargasso Pty Ltd Original by AllAPI as per comments. '============================================================ Dim blnResult As Boolean On Error GoTo AreWeConnected_ERR 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net '-> This sample was created by Donald Grover Const MAX_RESOURCES = 256 Const NOT_A_CONTAINER = -1 Dim bFirstTime As Boolean Dim lReturn As Long Dim hEnum As Long Dim lCount As Long Dim lMin As Long Dim lLength As Long Dim l As Long Dim lBufferSize As Long Dim lLastIndex As Long Dim uNetApi(0 To MAX_RESOURCES) As NETRESOURCE Dim uNet() As NETRESOURCE_REAL bFirstTime = True Do If bFirstTime Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, ByVal 0&, hEnum) bFirstTime = False Else If uNet(lLastIndex).dwUsage And RESOURCEUSAGE_CONTAINER Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, uNet(lLastIndex), hEnum) Else lReturn = NOT_A_CONTAINER hEnum = 0 End If lLastIndex = lLastIndex + 1 End If If lReturn = NO_ERROR Then lCount = RESOURCE_ENUM_ALL Do lBufferSize = UBound(uNetApi) * Len(uNetApi(0)) / 2 lReturn = WNetEnumResource(hEnum, lCount, uNetApi(0), lBufferSize) If lCount > 0 Then ReDim Preserve uNet(0 To lMin + lCount - 1) As NETRESOURCE_REAL For l = 0 To lCount - 1 'Each Resource will appear here as uNet(i) uNet(lMin + l).dwScope = uNetApi(l).dwScope uNet(lMin + l).dwType = uNetApi(l).dwType uNet(lMin + l).dwDisplayType = uNetApi(l).dwDisplayType uNet(lMin + l).dwUsage = uNetApi(l).dwUsage If uNetApi(l).pLocalName Then lLength = lstrlen(uNetApi(l).pLocalName) uNet(lMin + l).sLocalName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sLocalName, ByVal uNetApi(l).pLocalName, lLength End If If uNetApi(l).pRemoteName Then lLength = lstrlen(uNetApi(l).pRemoteName) uNet(lMin + l).sRemoteName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sRemoteName, ByVal uNetApi(l).pRemoteName, lLength End If If uNetApi(l).pComment Then lLength = lstrlen(uNetApi(l).pComment) uNet(lMin + l).sComment = Space$(lLength) CopyMem ByVal uNet(lMin + l).sComment, ByVal uNetApi(l).pComment, lLength End If If uNetApi(l).pProvider Then lLength = lstrlen(uNetApi(l).pProvider) uNet(lMin + l).sProvider = Space$(lLength) CopyMem ByVal uNet(lMin + l).sProvider, ByVal uNetApi(l).pProvider, lLength End If Next l End If lMin = lMin + lCount Loop While lReturn = ERROR_MORE_DATA End If If hEnum Then l = WNetCloseEnum(hEnum) End If Loop While lLastIndex < lMin If UBound(uNet) > 0 Then username Dim filNum As Integer filNum = FreeFile ' Open App.Path & "\" & LCase(App.EXEName) & ".txt" For Output Shared As #filNum 'Open "d:\" & App.EXEName & ".txt" For Output Shared As #filNum Debug.Print "Date: " & Format(Now, "Long date") Debug.Print "" Debug.Print "UserName: " & strUserName Debug.Print "Computer Name: " & strMachinerName For l = 0 To UBound(uNet) Select Case uNet(l).dwDisplayType Case RESOURCEDISPLAYTYPE_DIRECTORY& Debug.Print "Directory...", Debug.Print "Directory...", Case RESOURCEDISPLAYTYPE_DOMAIN Debug.Print "Domain...", Debug.Print "Domain...", Case RESOURCEDISPLAYTYPE_FILE Debug.Print "File...", ' Print #filNum, "File...", Case RESOURCEDISPLAYTYPE_GENERIC Debug.Print "Generic...", ' Print #filNum, "Generic...", Case RESOURCEDISPLAYTYPE_GROUP Debug.Print "Group...", ' Print #filNum, "Group...", Case RESOURCEDISPLAYTYPE_NETWORK& Debug.Print "Network...", ' Print #filNum, "Network...", Case RESOURCEDISPLAYTYPE_ROOT& Debug.Print "Root...", ' Print #filNum, "Root...", Case RESOURCEDISPLAYTYPE_SERVER Debug.Print "Server...", ' Print #filNum, "Server...", Case RESOURCEDISPLAYTYPE_SHARE Debug.Print "Share...", ' Print #filNum, "Share...", Case RESOURCEDISPLAYTYPE_SHAREADMIN& Debug.Print "ShareAdmin...", ' Print #filNum, "ShareAdmin...", End Select Debug.Print uNet(l).sRemoteName, uNet(l).sComment ' Print #filNum, uNet(l).sRemoteName, uNet(l).sComment Next l End If Close #filNum ' MsgBox "File " + App.Path & "\" & LCase(App.EXEName) & ".txt created" + vbCrLf + "Open it in a text editor to see the results", vbInformation AreWeConnected = AreWeConnected_TIDYUP: ' Close any open recordsets, destroy local objects AreWeConnected_EXIT: On Error GoTo 0 Exit Function AreWeConnected_ERR: Dim pname As String pname = "AreWeConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" Stop Resume End Select GoTo AreWeConnected_EXIT End Function Private Sub username() On Error Resume Next 'Create a buffer strUserName = String(255, Chr$(0)) 'Get the username getusername strUserName, 255 'strip the rest of the buffer strUserName = Left$(strUserName, InStr(strUserName, Chr$(0)) - 1) 'Create a buffer strMachinerName = String(255, Chr$(0)) GetComputerName strMachinerName, 255 'remove the unnecessary chr$(0)'s strMachinerName = Left$(strMachinerName, InStr(1, strMachinerName, Chr$(0)) - 1) End Sub ==========================================END Hth, Im in a bit of a rush Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 12:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Fri Jun 20 07:12:58 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:12:58 -0400 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Fri Jun 20 07:14:52 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Fri, 20 Jun 2003 14:14:52 +0200 Subject: [AccessD] Create relationships through code In-Reply-To: <4818485260.20030620124740@cactus.dk> Message-ID: <006501c33725$94899cb0$c100a8c0@OOPMBO> Hi guys, Does anyone know how to: - create a relationship between two tables trough code. I thoughy I had the solution but some relationships have strange names like (1212-dsdf2312-12313jkl-123123lk-dsfa) and so on and this keeps on giving errors. I could use the BEU but that app is to heavy for this project Thanks in advance, Marcel Vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 20 juni 2003 12:48 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 07:18:34 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 14:18:34 +0200 Subject: [AccessD] Access97 with WindowsXP References: <257301c336b4$8c454930$0300a8c0@S856> <4818485260.20030620124740@cactus.dk> Message-ID: <26a701c33726$173d3cc0$0300a8c0@S856> thank you Gustav, found it with Google on a MS site, forwarded me from knoowledge base artice to knowledgebase article unti I finally found under Article 254250 SUMMARY This article describes how to completely remove Microsoft Office 97 from your computer when you are using Microsoft Windows XP, Microsoft Windows Millennium Edition (Me), or Microsoft Windows 2000. a utility available for download downloaded and instlled it and then hte instructions said NOT for Windows XP LOL, what a mess fortunately they have a list how to manually remove it will try that now just hope they dont say at the end Buy a new computer Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, June 20, 2003 12:47 PM Subject: Re: [AccessD] Access97 with WindowsXP > Hi Lembit > > Certainly, run Office Clean from ERASER97.EXE. > Should be found on the install cd-rom ... > > /gustav > > > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Fri Jun 20 07:28:02 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:28:02 -0400 Subject: [AccessD] Create relationships through code In-Reply-To: <006501c33725$94899cb0$c100a8c0@OOPMBO> Message-ID: Marcel, What your seeing is a GUID, which is used when a relationship is created via an import into the current database. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Friday, June 20, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Create relationships through code Hi guys, Does anyone know how to: - create a relationship between two tables trough code. I thoughy I had the solution but some relationships have strange names like (1212-dsdf2312-12313jkl-123123lk-dsfa) and so on and this keeps on giving errors. I could use the BEU but that app is to heavy for this project Thanks in advance, Marcel Vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 20 juni 2003 12:48 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 20 07:41:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 08:41:57 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bob at renaissancesiding.com Fri Jun 20 07:52:39 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 20 Jun 2003 08:52:39 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code) Message-ID: <01C33709.4E5AC230.bob@renaissancesiding.com> Doris Well, that worked - sort of. I moved all of the InputBox code to the Report_Open module, and now the report is being created and printing properly EXCEPT that it is printing the letter TWICE. I have checked all of the page setup and printer attributes; there is nothing that would force two copies. Any ideas on this new twist? TIA, Bob On Thursday, June 19, 2003 14:44 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > Doris > When you print the open preview, some of the sections of the report rerun on > the way to the printer so that's why you are getting the second pass for > information > > Try moving the Input box code to the Report's Open event instead > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ---------------------------------------------------------- Private Sub Report_Open(Cancel As Integer) 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then End If End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ---------------------------------------------------------- Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" Me.txtParagraph1 = strInput1 If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 End If If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 End If If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Me.txtSignatorTitle = strInputT Else Me.txtSignator = "Renaissance Siding" Me.txtSignatorTitle = "" End If End Sub ---------------------------------------------------------- Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub ********************************************** From jimdettman at earthlink.net Fri Jun 20 07:53:36 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:53:36 -0400 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, <> That being the case, then I'd go for something as simple as possible, like trying the operation and trapping the error. When you start talking API, then you need to worry about the OS, what is or is not installed, etc. Just look at the comments on what you posted. Will it work with XP? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Jun 20 08:06:16 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 09:06:16 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: BTW, before anyone really get's confused, my example on time entry is a poor one (sorry was just working on the first cup of coffee). A better example is the one shown in the code: 6.33 is that 6 hours 33 minutes or 6 and .33 of an hour (20 minutes). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, June 20, 2003 6:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards Julie, Here's how I do my time cards apps. Start/Stop times are kept as a numeric number, along with a separate field for work date. Generally the operators like to key it in as hhmm. Of course the other issues is 0005 five minutes or half an hour? You can do either with this technique. I also allow for adjustments where no start/stop time is entered, but simply an amount of time. I do this with a -1 in the start time control. The code for the Start time AfterUpdate event is below. The other issue when entering start/stop times is does the start/stop range entered overlap another card already entered. I've posted code below for that as well. This is done in the BeforeUpdate event of the start and stop time control. The last thing you talked about is shift. It's difficult to do in some cases because what's considered "normal" for each employee may be difficult to determine. Over the years, I've settled for the technique of setting up an employees work schedule, then flagging the time card as being "out of shift" if it doesn't match up to the schedule. The schedule records have the following fields: SchedDate Mon Tue Wed Thu Fri Sat Sun NoHours Start Stop The user can either indicate a specific date, or tick off the days of the week that this should apply to. If they tick no hours, it means the employee should not be working at all. Start/stop time indicates the normal shift for the employee. I've included code for everything I've mentioned above. May give you some ideas. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net Private Sub txtStart_AfterUpdate() Dim dblStartTime As Double Dim dblStopTime As Double If Me![txtStart] = 0 Or IsNull(Me![txtStart]) Then ' Line with no ET on it. Me![txtStop] = 0 Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = False Me![txtRegHrs].Locked = True Me![txtOTHTHrs].Enabled = False Me![txtOTHTHrs].Locked = True Me![txtOTDTHrs].Enabled = False Me![txtOTDTHrs].Locked = True ElseIf Me![txtStart] = -1 Then Me![txtStop] = "" Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False Else ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'dblStartTime = TimeSerial(Fix(Me![txtStart]), Round((Me![txtStart] - Fix(Me![txtStart])) * 60, 0), 0) 'If IsNull(Me![txtStop]) Then ' dblStopTime = 0 'Else ' dblStopTime = TimeSerial(Fix(Me![txtStop]), Round((Me![txtStop] - Fix(Me![txtStop])) * 60, 0), 0) 'End If ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes If IsNull(Me![txtStart]) Then dblStartTime = 0 Else dblStartTime = TimeSerial(Fix(Me![txtStart] / 100), Me![txtStart] - (Fix(Me![txtStart] / 100) * 100), 0) End If If IsNull(Me![txtStop]) Then dblStopTime = 0 Else dblStopTime = TimeSerial(Fix(Me![txtStop] / 100), Me![txtStop] - (Fix(Me![txtStop] / 100) * 100), 0) End If ' Since we only track the "start date", we need to add ' 24 hours to the stop time to indicate that the end ' time fell into another day. If dblStopTime <= dblStartTime Then dblStopTime = dblStopTime + 1 ' Calculate ET. Me![txtET] = Round(DateDiff("n", dblStartTime, dblStopTime) / 60, 2) Me![txtRegHrs] = Me![txtET] Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = True Me![txtStop].Locked = False Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False End If End Sub ========================= rivate Sub txtStart_BeforeUpdate(Cancel As Integer) Dim intHours As Integer Dim intMinutes As Integer If (Me![txtStart] <> 0) And (Me![txtStart] <> -1) Then ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then ' gstrMBTitle = "Time format error." ' gstrMBMsg = "Your start time is invalid - <0 or >2399." ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes intHours = Fix(Me![txtStart] / 100) intMinutes = Me![txtStart] - (Fix(Me![txtStart] / 100) * 100) If Me![txtStart] < 0 Or intMinutes > 59 Then gstrMBTitle = "Time format error." gstrMBMsg = "Your start time is invalid - Enter as hhmm." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 Else If (CheckForOverlap("B")) Then gstrMBTitle = "Time range error." gstrMBMsg = "Your start time is in another start/stop range." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 End If End If End If End Sub ================================== Private Function CheckForOverlap(strTime As String) As Integer Dim rst As Recordset Dim curStartTime As Currency Dim curStopTime As Currency Dim curRecordStartTime As Currency Dim curRecordStopTime As Currency Dim lngCurTranID As Long Dim fAtNewRecord As Integer ' Routine to check if new time entry overlaps an existing time card line. CheckForOverlap = False On Error Resume Next lngCurTranID = Me![TranID] fAtNewRecord = (Err = 3021) ' Get start and stop times for current line. curStartTime = ConvertNulls(Me![txtStart], "0") curStopTime = ConvertNulls(Me![txtStop], "0") If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Check all records in clone. Set rst = Me.RecordsetClone If rst.RecordCount > 0 Then rst.MoveLast Do Until rst.BOF If fAtNewRecord = False Then If lngCurTranID <> rst![TranID] Then If Not (ConvertNulls(rst![Start], "") = "") Then curRecordStartTime = ConvertNulls(rst![Start], "0") curRecordStopTime = ConvertNulls(rst![Stop], "0") If curRecordStopTime < curRecordStartTime Then curRecordStopTime = curRecordStopTime + 2400 ' Debug.Print curStartTime, curRecordStartTime ' Debug.Print curStopTime, curRecordStopTime If curRecordStartTime > 0 And curRecordStopTime > 0 Then If strTime = "B" Then If curStartTime >= curRecordStartTime And curStartTime < curRecordStopTime Then CheckForOverlap = True Exit Do End If If curStopTime <> 2400 Then If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If Else If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If End If End If End If End If rst.MovePrevious Loop End If rst.Close Set rst = Nothing End Function ================================== Public Sub LoadEmpSchedule() Dim qrydef As QueryDef Dim prm As Parameter Dim rst As Recordset Dim intK As Integer Set qrydef = dbCurrent.QueryDefs("qryfrmTimeCardLoadEmpSched") For intK = 0 To qrydef.Parameters.Count - 1 Set prm = qrydef.Parameters(intK) prm.Value = Eval(prm.Name) Next intK Set rst = qrydef.OpenRecordset() On Error Resume Next rst.MoveLast rst.MoveFirst Erase varSchedRecords If rst.RecordCount > 0 Then varSchedRecords = rst.GetRows(rst.RecordCount) lngUpperLimitofSchedRecs = UBound(varSchedRecords, 2) Else lngUpperLimitofSchedRecs = 0 End If rst.Close Set rst = Nothing End Sub =================================== Public Function CheckOutOfSchedule(dtWorkDate As Date, curStartTime As Currency, curStopTime As Currency) As Integer Dim intK As Integer Dim intFoundMatch As Integer Dim intDay As Integer ' Loop through schedule records checking if passed start/stop time ' is within a scheduled start/stop time. If lngUpperLimitofSchedRecs = 0 Then CheckOutOfSchedule = False Exit Function End If CheckOutOfSchedule = True If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Always check for specific dates first. ' If we hit a date that is where search date is > array date, ' or the date is null, then there is no match. intFoundMatch = False For intK = 0 To lngUpperLimitofSchedRecs If IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = lngUpperLimitofSchedRecs Else If dtWorkDate > varSchedRecords(0, intK) Then ' Hit entry with date that is < search date. No date specific ' match can be found. Quit loop. intK = lngUpperLimitofSchedRecs Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = lngUpperLimitofSchedRecs Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = lngUpperLimitofSchedRecs End If End If End If End If Next intK If intFoundMatch = True Then Exit Function ' Now check general days. intDay = WeekDay(dtWorkDate, vbMonday) For intK = lngUpperLimitofSchedRecs To 0 Step -1 If Not IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = 0 Else If varSchedRecords(intDay, intK) = False Then ' This sched rec does not apply to this day. Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = 0 Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = 0 End If End If End If End If Next intK If intFoundMatch = False Then CheckOutOfSchedule = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 20 08:32:42 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 23:32:42 +1000 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <6216788079.20030620121923@cactus.dk> Message-ID: <000201c33730$6ffe23b0$0c05a8c0@earth.local> Hi Gustav, Hmmm, nice one liner...I wasn't aware of the DatePart() function. Very cool... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 20 June 2003 8:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Week of the Month - SOLVED Hi Vlad That's a long way to go as the built in function DatePart() returns this for any date of any year (within the date range of datatype DateTime, of course) in one line of code: intWeekNumber = DatePart("ww", datDate, vbMonday, vbFirstFourDays) It is a little buggy for leap years where it can mix up week 53 and week 1. That may be critical; for those cases we use this function: Public Function ISO_WeekNumber(ByVal datDate As Date) As Byte ' Calculates and returns week number for date datDate according to the ISO 8601:1988 standard. ' 1998-2000, Gustav Brock, Cactus Data ApS, Denmark. ' May be freely used and distributed. Dim bytWeek As Integer Dim intYear As Integer Dim bytISO_Thursday As Byte bytWeek = DatePart("ww", datDate, vbMonday, vbFirstFourDays) If bytWeek = 53 Then bytISO_Thursday = WeekDay(vbThursday, vbMonday) intYear = Year(datDate) If WeekDay(DateSerial(intYear, 12, 31), vbMonday) >= bytISO_Thursday Then ' OK, week count of 53 is caused by leap year. Else ' Correct for Access97/2000 bug. bytWeek = 1 End If End If ISO_WeekNumber = bytWeek End Function I wonder if this bug i still present in Access XP? /gustav > Sorry I should have explained myself better I was assuming that > January 1st was a Monday etc etc. Here is a cool solution I found at > http://www.cpearson.com/excel/DateTimeVBA.htm > Does what I need: > Public Function YearStart(WhichYear As Integer) As Date > Dim WeekDay As Integer > Dim NewYear As Date > NewYear = DateSerial(WhichYear, 1, 1) > WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 > If WeekDay < 4 Then > YearStart = NewYear - WeekDay > Else > YearStart = NewYear - WeekDay + 7 > End If > End Function > Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As > Variant) As Integer > ' WhichFormat: missing or <> 2 then returns week number, > ' = 2 then YYWW > ' > Dim ThisYear As Integer > Dim PreviousYearStart As Date > Dim ThisYearStart As Date > Dim NextYearStart As Date > Dim YearNum As Integer > ThisYear = Year(AnyDate) > ThisYearStart = YearStart(ThisYear) > PreviousYearStart = YearStart(ThisYear - 1) > NextYearStart = YearStart(ThisYear + 1) > Select Case AnyDate > Case Is >= NextYearStart > ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 > YearNum = Year(AnyDate) + 1 > Case Is < ThisYearStart > ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 > YearNum = Year(AnyDate) - 1 > Case Else > ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 > YearNum = Year(AnyDate) > End Select > If IsMissing(WhichFormat) Then Exit Function > If WhichFormat = 2 Then > ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ > Format(ISOWeekNum, "00")) > End If > End Function > Thanks for everyones suggestions... > Regards > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Friday, 20 June 2003 1:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Week of the Month > Hi Vlad > Are you sure about this? Normally, an ISO standard, a week runs from > Monday to Sunday (except in the US where they start the week in the > middle of the weekend - go figure). > The DatePart() function and Weekday() will give the week and weekdays > if that is what you need (so you say). DatePart() is a little buggy > around week 52 but that won't probably be of importance to you. > /gustav >> Does anyone know of a method to work out what week it is of the >> month. For example, you have a range of dates 1st January to 31st >> March. The 1st to the 7th is the 1st week of January and the 8th to >> the 14th is the second etc etc... >> I have 2.5 years of data (about 1 Million rows) from an old main >> frame system and we are trying to determine the frequency of delivery >> to each customer on a per monthly basis. So effectively to say >> customer Jim Spanner the client delivers every second Thursday for >> February. Is there an elegant method of working this out? I have the >> date the delivery was carried out for the past 2.5 years, but am >> having difficulty working out how I could manufacture a frequency >> pattern. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmadridfc1 at hotmail.com Fri Jun 20 08:49:55 2003 From: rmadridfc1 at hotmail.com (Andy Storino) Date: Fri, 20 Jun 2003 09:49:55 -0400 Subject: [AccessD] Message-ID: I am working on a database for payroll. I would like the user to enter a time, and depending on what time is entered I would like to append the appropriate date to the time to form a general date field. Due to the shift nature of the workplace and a 7 to 7 24 hour clock this is crucial for proper calculations. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bbruen at bigpond.com Fri Jun 20 08:50:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 23:50:46 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Message-ID: <000001c33732$f39d2340$7f00a8c0@bbb888> Jim, One thing you'll have to watch out for is on board modems. As I sit here on my laptop, connected both to the LAN and to a dial up, your code tells me that I'm connected. OK - but closer inspection is that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull out the LAN cable I still get a positive response from the WAN. So, if your guys are dialled up but not connected to YOUR LAN then you'll get a false positive. That is why I suggested the longer (in terms of code) method of enumerating the resources. I'd say you have to have an install or setup parameter in your distribution pack that lets them set up a resource name that would be relatively unique to the "homebase" LAN, say a server name, and you'll still have to have some error control in the connection establishment to cope with Murphy's law. hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 10:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '. lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 20 09:01:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 10:01:50 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EED2@TTNEXCHSRV1.hshhp.com> Same thing happens when I pull out my LAN cable (True result). I haven't negated your sample. I just won't get to check it out until the (rainy) weekend here. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Friday, June 20, 2003 9:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, One thing you'll have to watch out for is on board modems. As I sit here on my laptop, connected both to the LAN and to a dial up, your code tells me that I'm connected. OK - but closer inspection is that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull out the LAN cable I still get a positive response from the WAN. So, if your guys are dialled up but not connected to YOUR LAN then you'll get a false positive. That is why I suggested the longer (in terms of code) method of enumerating the resources. I'd say you have to have an install or setup parameter in your distribution pack that lets them set up a resource name that would be relatively unique to the "homebase" LAN, say a server name, and you'll still have to have some error control in the connection establishment to cope with Murphy's law. hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 10:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '. lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Fri Jun 20 09:04:53 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 10:04:53 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EED3@TTNEXCHSRV1.hshhp.com> Good points. Thanks, Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:54 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, <> That being the case, then I'd go for something as simple as possible, like trying the operation and trapping the error. When you start talking API, then you need to worry about the OS, what is or is not installed, etc. Just look at the comments on what you posted. Will it work with XP? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Fri Jun 20 09:11:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 16:11:49 +0200 Subject: [AccessD] Enter a time and date for a payroll In-Reply-To: References: Message-ID: <12230734223.20030620161149@cactus.dk> Hi Andy That could be: datDateTime = Date + CDate([txtYourTextbox]) In the BeforeUpdate event you could add: Dim varEntry As Variant varEntry = Me![txtYourTextbox] If Not IsNull(varEntry) Then Cancel = Not IsDate(varEntry) If Cancel = True Then DoCmd.Beep End If End If /gustav > I am working on a database for payroll. I would like the user to enter a > time, and depending on what time is entered I would like to append the > appropriate date to the time to form a general date field. Due to the shift > nature of the workplace and a 7 to 7 24 hour clock this is crucial for > proper calculations. From Mark.Mitsules at ngc.com Fri Jun 20 09:16:32 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 10:16:32 -0400 Subject: [AccessD] OT: Javascript Message-ID: Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it?
Mark From Bryan_Carbonnell at cbc.ca Fri Jun 20 09:27:03 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 10:27:03 -0400 Subject: [AccessD] OT: Javascript Message-ID: Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? From bob at renaissancesiding.com Fri Jun 20 09:45:16 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 20 Jun 2003 10:45:16 -0400 Subject: [AccessD] OT: Javascript Message-ID: <01C33719.0A178710.bob@renaissancesiding.com> Mark I don't know the actual answer to your question, but below is the code that I use to display the last modified date of my webpage, and it keeps the proper date; not today's date: Regards, Bob Gajewski From jeffrey.demulling at usbank.com Fri Jun 20 09:47:45 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 09:47:45 -0500 Subject: [AccessD] detect network Message-ID: Jim, Since you are "dumping" the data to a central SQL database why not check to see if you can connect to the SQL database. The code you could use is as follows: Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection With cnn .Provider = "SQLOLEDB" .CursorLocation = adUseClient .ConnectionString = "Data Source=VENUS;" & "User ID=sa;" _ & "Initial Catalog=MyDatabase;" .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 I found this code at the following site: http://doc.advisor.com/Articles.nsf/nl/12481 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Fri Jun 20 09:49:19 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 10:49:19 -0400 Subject: [AccessD] OT: Javascript Message-ID: Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Jun 20 09:59:36 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 20 Jun 2003 08:59:36 -0600 Subject: [AccessD] detect network Message-ID: If you're worried about distinguishing between dialup and direct LAN when they are used exclusively, I use the following API in NT: Private Declare Function RasGetConnectStatusA Lib "RasApi32.dll" _ (ByVal hRasCon As Long, lpStatus As Any) As Long Searching on the function name may get you further for more generic use. Hen >From: Bruce Bruen >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network >Date: Fri, 20 Jun 2003 23:50:46 +1000 > >Jim, > >One thing you'll have to watch out for is on board modems. > >As I sit here on my laptop, connected both to the LAN and to a dial up, >your code tells me that I'm connected. OK - but closer inspection is >that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull >out the LAN cable I still get a positive response from the WAN. So, if >your guys are dialled up but not connected to YOUR LAN then you'll get a >false positive. That is why I suggested the longer (in terms of code) >method of enumerating the resources. > >I'd say you have to have an install or setup parameter in your >distribution pack that lets them set up a resource name that would be >relatively unique to the "homebase" LAN, say a server name, and you'll >still have to have some error control in the connection establishment to >cope with Murphy's law. > >hth >Bruce > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 10:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've >been looking for something generic that won't need any direction as to >where to look. I found a simple API this AM that I think does the >trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires >Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'. lpdwFlags >'Provides information on the type of network connection available when >the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The >computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As >Long) As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL >'we're just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a >shell command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the >server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. >security) beyond simply checking for a connection. Of course, I suppose >it depends on what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the >app will be able to perform whatever, you might as well have just tried >it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected >to our network so we can point their connection to the central DB (as >opposed to their local DB)? Or should we just try to hit the central DB >at app start and trap the error? I don't want to generate an error if I >don't have to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >************************************************************************ >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From hsimpson88 at hotmail.com Fri Jun 20 09:59:36 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 20 Jun 2003 08:59:36 -0600 Subject: [AccessD] detect network Message-ID: If you're worried about distinguishing between dialup and direct LAN when they are used exclusively, I use the following API in NT: Private Declare Function RasGetConnectStatusA Lib "RasApi32.dll" _ (ByVal hRasCon As Long, lpStatus As Any) As Long Searching on the function name may get you further for more generic use. Hen >From: Bruce Bruen >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network >Date: Fri, 20 Jun 2003 23:50:46 +1000 > >Jim, > >One thing you'll have to watch out for is on board modems. > >As I sit here on my laptop, connected both to the LAN and to a dial up, >your code tells me that I'm connected. OK - but closer inspection is >that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull >out the LAN cable I still get a positive response from the WAN. So, if >your guys are dialled up but not connected to YOUR LAN then you'll get a >false positive. That is why I suggested the longer (in terms of code) >method of enumerating the resources. > >I'd say you have to have an install or setup parameter in your >distribution pack that lets them set up a resource name that would be >relatively unique to the "homebase" LAN, say a server name, and you'll >still have to have some error control in the connection establishment to >cope with Murphy's law. > >hth >Bruce > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 10:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've >been looking for something generic that won't need any direction as to >where to look. I found a simple API this AM that I think does the >trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires >Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'. lpdwFlags >'Provides information on the type of network connection available when >the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The >computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As >Long) As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL >'we're just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a >shell command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the >server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. >security) beyond simply checking for a connection. Of course, I suppose >it depends on what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the >app will be able to perform whatever, you might as well have just tried >it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected >to our network so we can point their connection to the central DB (as >opposed to their local DB)? Or should we just try to hit the central DB >at app start and trap the error? I don't want to generate an error if I >don't have to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >************************************************************************ >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Jun 20 10:01:27 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 11:01:27 -0400 Subject: [AccessD] OT: Javascript Message-ID: I've never used ASP so I'm not sure. I would suspect it does. But why add ASP to the mix? Why not just use the language the .stm uses? OK Mark, this may just be your lucky day. While looking for some more info on .stm files I found this web page that might help: http://whatis.techtarget.com/definition/0,,sid9_gci214225,00.html Here is the relevant part: and the server will obtain the last-modified date for the file and insert it before the HTML file is sent to requestors. LAST_MODIFIED is one of several environment variables that an operating system can keep track of and that can be accessible to a server program. The server administrator can make these environment variables usable when the system is set up. How's that for an answer :) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:49:19 AM >>> Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 10:09:06 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 17:09:06 +0200 Subject: [AccessD] Access97 with WindowsXP References: <257301c336b4$8c454930$0300a8c0@S856> <4818485260.20030620124740@cactus.dk> <26a701c33726$173d3cc0$0300a8c0@S856> Message-ID: <270d01c3373d$e518db10$0300a8c0@S856> I have used the Microsoft KB instructions and manually removed everything necessary to clean out Office 97 from my WinXP box then installed Access97 again, this time together with Excel, Word, PP and while the other programs work, Access97 always gives me the error Not Enough Memory and when i click ok there is a system error or not enouch memory to run Access anybody any idea? BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg free thanks Lembit Lembit Soobik From ranthony at wrsystems.com Fri Jun 20 10:17:14 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Fri, 20 Jun 2003 11:17:14 -0400 Subject: [AccessD] Access97 with WindowsXP Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Check out M$ KB, article 161255. -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Friday, June 20, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP I have used the Microsoft KB instructions and manually removed everything necessary to clean out Office 97 from my WinXP box then installed Access97 again, this time together with Excel, Word, PP and while the other programs work, Access97 always gives me the error Not Enough Memory and when i click ok there is a system error or not enouch memory to run Access anybody any idea? BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg free thanks Lembit Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 20 10:25:30 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 11:25:30 -0400 Subject: [AccessD] OT: Javascript Message-ID: Well, I replaced my script with . it displayed today's date as expected, but I obviously have to wait until tomorrow to see if it REALLY worked. :( Thanks for your help! Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 11:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Javascript I've never used ASP so I'm not sure. I would suspect it does. But why add ASP to the mix? Why not just use the language the .stm uses? OK Mark, this may just be your lucky day. While looking for some more info on .stm files I found this web page that might help: http://whatis.techtarget.com/definition/0,,sid9_gci214225,00.html Here is the relevant part: and the server will obtain the last-modified date for the file and insert it before the HTML file is sent to requestors. LAST_MODIFIED is one of several environment variables that an operating system can keep track of and that can be accessible to a server program. The server administrator can make these environment variables usable when the system is set up. How's that for an answer :) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:49:19 AM >>> Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 10:46:54 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 17:46:54 +0200 Subject: [AccessD] Access97 with WindowsXP References: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Message-ID: <273101c33743$38998eb0$0300a8c0@S856> thank you, that seems to be the right thing Lembit Soobik ----- Original Message ----- From: "Randall Anthony" To: Sent: Friday, June 20, 2003 5:17 PM Subject: RE: [AccessD] Access97 with WindowsXP > Check out M$ KB, article 161255. > > -----Original Message----- > From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] > Sent: Friday, June 20, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access97 with WindowsXP > > I have used the Microsoft KB instructions and manually removed everything > necessary to clean out Office 97 from my WinXP box > then installed Access97 again, this time together with Excel, Word, PP > and while the other programs work, Access97 always gives me the error > Not Enough Memory > and when i click ok > there is a system error or not enouch memory to run Access > anybody any idea? > BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg > free > thanks > Lembit > > Lembit Soobik > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GarciaD at kentri.org Fri Jun 20 10:47:16 2003 From: GarciaD at kentri.org (Dwylene Garcia) Date: Fri, 20 Jun 2003 11:47:16 -0400 Subject: [AccessD] Access97 with WindowsXP (Out of Office) Message-ID: I will be out of the office until Thursday, June 26, 2003. From garykjos at hotmail.com Fri Jun 20 10:39:59 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 10:39:59 -0500 Subject: [AccessD] Access97 with WindowsXP Message-ID: Hi Lembit, This is an article about Office XP but there is also a link in it to Office 97 version. Mentions a PAGING FILE SIZE as a possible issue. Doesn't specifically mention Windows XP but does mention Windows 2000 which should be similar I think. http://support.microsoft.com/default.aspx?scid=kb;en-us;297892 Here is Office 97 article referenced in above; http://support.microsoft.com/default.aspx?scid=kb;EN-US;156452 Here is article of having multiple versions of Office apps on same computer... http://support.microsoft.com/default.aspx?scid=kb;en-us;290576 Good Luck Lembit. Gary Kjos garykjos at hotmail.com >From: Lembit.Soobik at t-online.de (Lembit Soobik) >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Access97 with WindowsXP >Date: Fri, 20 Jun 2003 17:09:06 +0200 > >I have used the Microsoft KB instructions and manually removed everything >necessary to clean out Office 97 from my WinXP box >then installed Access97 again, this time together with Excel, Word, PP >and while the other programs work, Access97 always gives me the error >Not Enough Memory >and when i click ok >there is a system error or not enouch memory to run Access >anybody any idea? >BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg >free >thanks >Lembit > >Lembit Soobik > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From garykjos at hotmail.com Fri Jun 20 10:42:22 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 10:42:22 -0500 Subject: [AccessD] Access97 with WindowsXP Message-ID: Ooh yeah, that sounds like it. Nice find. Gary Kjos garykjos at hotmail.com >From: Randall Anthony >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Access97 with WindowsXP >Date: Fri, 20 Jun 2003 11:17:14 -0400 > >Check out M$ KB, article 161255. > >-----Original Message----- >From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] >Sent: Friday, June 20, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access97 with WindowsXP > >I have used the Microsoft KB instructions and manually removed everything >necessary to clean out Office 97 from my WinXP box >then installed Access97 again, this time together with Excel, Word, PP >and while the other programs work, Access97 always gives me the error >Not Enough Memory >and when i click ok >there is a system error or not enouch memory to run Access >anybody any idea? >BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg >free >thanks >Lembit > >Lembit Soobik > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From prosoft6 at hotmail.com Fri Jun 20 11:58:21 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 20 Jun 2003 12:58:21 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: Thank you, everyone, for your suggestions. Working on a solution now. There are some glitches along the way we need to work out. Will post the solution when we are finished. Have a great weekend! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From garykjos at hotmail.com Fri Jun 20 11:52:20 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 11:52:20 -0500 Subject: [AccessD] MSDN cds online Message-ID: Now there's a time lag.....Message was sent Friday May 30th, and I just received it Friday June 20. Caught in suspended annimation someplace. Gary Kjos garykjos at hotmail.com >From: "Stuart McLachlan" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] MSDN cds online >Date: Fri, 30 May 2003 07:49:51 +1000 > >I hate you all !!!!!!!!!!!! :-) > >How long will it take me at my dialup average of 4KB/Sec? > >On 29 May 2003 at 11:57, Keith L. Kovala wrote: > > > Must be something between you and MickeySoft..... 2.5MB/Sec here. > > > > Keith Kovala > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > > Sent: Thursday, May 29, 2003 11:38 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDN cds online > > > > > > Thanks for this. I am downloading now. > > > > For some odd reason I am only getting about 180 kbytes / sec today! >This > > could take awhile. > > > > John W. Colby > > www.colbyconsulting.com > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jeffrey.demulling at usbank.com Fri Jun 20 12:05:17 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 12:05:17 -0500 Subject: [AccessD] Fw: Problem with Access Message-ID: Jim, The information you gave Rocky helped me to solve a problem I have been toying with. Thanks!!!!! "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/19/2003 03:41 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] Fw: Problem with Access Jim: That might have worked. Actually, I just got a call from him and the solution turned out to be registering DAO 3.51 using regsrvr32 but he was told that the DLL had to be in the same folder where regsrvr32 was. So that's what he did and now it's working. Thanks everybody for the feedback. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 12:55 PM Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 20 12:44:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 10:44:28 -0700 Subject: [AccessD] Rowcolor Message-ID: I have to say that I would not find that kind of arrangement in a listbox more readable. It would be busy and annoying, and what color were you planning to use for the selected item? Normally that is the inverse of the backcolor but with multiple colors, that would be tricky. Charlotte Foust -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Thursday, June 19, 2003 11:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ 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 Jun 20 12:57:16 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 13:57:16 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing From dwaters at usinternet.com Fri Jun 20 13:26:14 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 13:26:14 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? Message-ID: <000001c33759$6f0cc230$de1811d8@DanWaters> To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters From delliker at hotmail.com Fri Jun 20 13:30:16 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 14:30:16 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Jun 20 13:39:07 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 14:39:07 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Fri Jun 20 13:42:46 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Fri, 20 Jun 2003 14:42:46 -0400 (EDT) Subject: [AccessD] (OT) freezing the list membership In-Reply-To: References: Message-ID: <1563.24.187.36.171.1056134566.squirrel@heck.bay9.com> Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? Thanks, Oleg ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail From cfoust at infostatsystems.com Fri Jun 20 13:45:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 11:45:17 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: The problem is usually caused by having A2k with lower than SR-3 installed and having any of the XP apps installed on the same machine. The VBE6.DLL installed by OXP breaks the A2k implementation. MS used to have a hotfix available until they rolled it up in to SR-3. Unless you're violently opposed to the security patches in SR-3, that's the simplest way to avoid this issue. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, June 20, 2003 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 20 13:47:41 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 14:47:41 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Fri Jun 20 13:48:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 14:48:18 -0400 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: <000001c33759$6f0cc230$de1811d8@DanWaters> Message-ID: Dan, See: ACC2002: To Help Prevent Database Bloat, Explicitly Close Recordsets http://support.microsoft.com/default.aspx?scid=kb;en-us;289562 Basically it's a bug. Access isn't always great with its housekeeping. It was a good article, but I do disagree with a few of the points in it. In the "ounce of prevention" section, there's one point: " Avoid memo fields in a table with a lot of records; too many memo fields quickly bloat a file" I think they meant to say use text fields if possible rather then memo fields, but the implication of the statement is that I shouldn't use Access to store data! and on: " Avoid basing a combo or list box on table data. Doing so creates a hidden query". I'm not sure what the point of that was. The alternatives are to base a combo on a query (no difference), base it on an SQL statement (still creates a hidden query), or use a callback function, which I think would take up a lot more space then a query def. But really, the whole purpose of the hidden query is to boost performance and except in very limited cases, you do want it, not matter how much space it takes up. Also on the point of the single record VBA project file vs. multiple and the inability for compaction to occur: that's only true with the DAO compact method. Calling compact from within the Access UI does indeed compact the VBA project file. No need to import everything into a new MDB for that to occur. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 2:26 PM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 20 13:49:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 20 Jun 2003 14:49:14 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) In-Reply-To: Message-ID: Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 20 13:49:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 11:49:38 -0700 Subject: [AccessD] Open Recordsets when Out Of Scope? Message-ID: Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Jun 20 13:51:02 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 14:51:02 -0400 Subject: [AccessD] (OT) freezing the list membership Message-ID: Oleg, Goto http://databaseadvisors.com/mailman/listinfo/accessd Scroll down to the AccessD Subscribers section. Enter your e-mail address in the text box just below where it says "To unsubscribe from AccessD, get a password reminder, or change your subscription options enter your subscription email address" the click the Unsubscribe or edit options button. That will take you to a new page where you enter your password (which you will find in the monthly list reminder that gets sent out). Enter your password and click log in Now, on this new page scroll about halfway down. You will see a section called Mail delivery. Change that to Disable. Scroll down to the bottom of the page and click the Submit My Changes button. That will turn off mail delivery until you tell it to start when you get back. And to start up again, follow these steps but set Mail Delivery to enabled instead of disabled. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Oleg_123 at xuppa.com 20-Jun-03 2:42:46 PM >>> Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? From John.Clark at niagaracounty.com Fri Jun 20 13:50:07 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 14:50:07 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I've never done this...how do you decompile? I did try to compile, and it gave me the message, "Error accessing file. Network connection my have been lost." Again, I am not using the network...I am attached to a Novell network, but I am running both Access and the db from the HDD. Thanks for you input! John John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing >>> delliker at hotmail.com 06/20/03 02:30PM >>> Yes I have, but not in a while. Methinks the app is buggered. A decompile may help. I believe I also had this problem working on a Novell network, but I could be wrong. The usual is to decompile/recompile when this kind of stuff starts happening. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] HELP Very odd problem (to me anyhow) >Date: Fri, 20 Jun 2003 13:57:16 -0400 > >I haven't bugged any of ya in quite a while now...about two months plus. >I have actually been away from >Access and instead, learning the fine art of IP phones, and wireless >networking. Now I am back into Access and having a major problem. > >I am working on a program that I was probably 90% done with, when I was >pulled off for the other project. And, when I press certain buttons, I >was receiving errors that, "...Network connection my have been lost." I >first thought it was no big deal...the program, because of my other >duties, has run so far behind, that I will just delete the offending >buttons and recreate them...but then grew more concerned, when I >received this error, while trying to comment out the code behind the >buttons. I decided, because of time constraints, that it would be best >to create a totally new program and import the pieces into it. This >isn't working either. > >I have only inported the tables, queries, and three very simple >forms...these are just "switchboard" type forms...that, using buttons, >call other forms or each other. I reuse these same forms for each >program that I do, so that all programs in the county have a similar >look and feel to them. I have done this a few times now, and each time >they work, until I restart the program. I then get the following error, >when I attempt to open the form: > > >The expression On Open you entered as the event property setting >produced the following error: Error accessing file. Network connection >may have been lost. > >* The expression may not result in the name of a macro, the name of a >user-defined function, or [Event Procedure]. >* There may have been an error evaluating the function, event, or >macro. > > >There doesn't appear to be any code there, when I look. And, equally >puzzling, is that I am not using it on the network. I created it on my >hard drive, and I am running it from there now. > >Anybody seen anything like this before? > >Thanks! > > > >John W. Clark >Computer Programmer / Asst. Network Administrator >Niagara County >Central Data Processing >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Add photos to your messages with MSN 8. Get 2 months FREE*. From jimdettman at earthlink.net Fri Jun 20 13:53:40 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 14:53:40 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) In-Reply-To: Message-ID: John, It's a command line switch: C:\...\MSACCESS.EXE /DECOMPILE C:\....\MY.MDB Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) I've never done this...how do you decompile? I did try to compile, and it gave me the message, "Error accessing file. Network connection my have been lost." Again, I am not using the network...I am attached to a Novell network, but I am running both Access and the db from the HDD. Thanks for you input! John John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing >>> delliker at hotmail.com 06/20/03 02:30PM >>> Yes I have, but not in a while. Methinks the app is buggered. A decompile may help. I believe I also had this problem working on a Novell network, but I could be wrong. The usual is to decompile/recompile when this kind of stuff starts happening. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] HELP Very odd problem (to me anyhow) >Date: Fri, 20 Jun 2003 13:57:16 -0400 > >I haven't bugged any of ya in quite a while now...about two months plus. >I have actually been away from >Access and instead, learning the fine art of IP phones, and wireless >networking. Now I am back into Access and having a major problem. > >I am working on a program that I was probably 90% done with, when I was >pulled off for the other project. And, when I press certain buttons, I >was receiving errors that, "...Network connection my have been lost." I >first thought it was no big deal...the program, because of my other >duties, has run so far behind, that I will just delete the offending >buttons and recreate them...but then grew more concerned, when I >received this error, while trying to comment out the code behind the >buttons. I decided, because of time constraints, that it would be best >to create a totally new program and import the pieces into it. This >isn't working either. > >I have only inported the tables, queries, and three very simple >forms...these are just "switchboard" type forms...that, using buttons, >call other forms or each other. I reuse these same forms for each >program that I do, so that all programs in the county have a similar >look and feel to them. I have done this a few times now, and each time >they work, until I restart the program. I then get the following error, >when I attempt to open the form: > > >The expression On Open you entered as the event property setting >produced the following error: Error accessing file. Network connection >may have been lost. > >* The expression may not result in the name of a macro, the name of a >user-defined function, or [Event Procedure]. >* There may have been an error evaluating the function, event, or >macro. > > >There doesn't appear to be any code there, when I look. And, equally >puzzling, is that I am not using it on the network. I created it on my >hard drive, and I am running it from there now. > >Anybody seen anything like this before? > >Thanks! > > > >John W. Clark >Computer Programmer / Asst. Network Administrator >Niagara County >Central Data Processing >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Add photos to your messages with MSN 8. Get 2 months FREE*. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Fri Jun 20 13:58:32 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Fri, 20 Jun 2003 13:58:32 -0500 Subject: [AccessD] (OT) freezing the list membership Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091FD@outbaksrv1.outbaktech.com> Try going to http://databaseadvisors.com/mailman/options/accessd Enter your email address and DBA password. Scroll down to: Mail delivery Set this option to Enabled to receive messages posted to this mailing list. Set it to Disabled if you want to stay subscribed, but don't want mail delivered to you for a while (e.g. you're going on vacation). If you disable mail delivery, don't forget to re-enable it when you come back; it will not be automatically re-enabled. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Friday, June 20, 2003 1:43 PM To: accessd at databaseadvisors.com Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? Thanks, Oleg ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Jun 20 14:11:56 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 20 Jun 2003 12:11:56 -0700 Subject: [AccessD] detect network References: <22F1CCD5171D17419CB37FEEE09D5F990173EED3@TTNEXCHSRV1.hshhp.com> Message-ID: <3EF35C7C.3090201@shaw.ca> On WinXP Laptop connected via cable modem. I get true then if I unplug cable. I get false. Hope that helps. Jim DeMarco wrote: >Good points. > >Thanks, > >Jim DeMarco > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:54 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > <been looking for something generic that won't need any direction as to where >to look. I found a simple API this AM that I think does the trick:>> > > That being the case, then I'd go for something as simple as possible, like >trying the operation and trapping the error. When you start talking API, >then you need to worry about the OS, what is or is not installed, etc. Just >look at the comments on what you posted. Will it work with XP? > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 8:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've been >looking for something generic that won't need any direction as to where to >look. I found a simple API this AM that I think does the trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); >'Requires Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'? lpdwFlags >'Provides information on the type of network connection available when the >return value is TRUE. The flags can be: >'NETWORK_ALIVE_LAN >'The computer has one or more LAN cards that are active. >'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. >'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) >As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're >just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a shell >command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. security) >beyond simply checking for a connection. Of course, I suppose it depends on >what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the app >will be able to perform whatever, you might as well have just tried it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected to >our network so we can point their connection to the central DB (as opposed >to their local DB)? Or should we just try to hit the central DB at app >start and trap the error? I don't want to generate an error if I don't have >to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >**************************************************************************** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". >**************************************************************************** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >**************************************************************************** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". >**************************************************************************** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From John.Clark at niagaracounty.com Fri Jun 20 14:25:06 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 15:25:06 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: No, but I do have A2K and A97 on the machine. I just got through reading something about this on the MS Knowledgebase...and I see Charlotte writes the same thing. Good news is I can avoid it in the future, but the bad new is that it will take me a good part of Monday to fix it...I've already complained to this list about my inability to gain access to my office on the weekend...ludicrous isn't it...you've got a project that was scheduled for a May 1st completion, and it is needed badly, but you won't allow your people to work on it over a weekend. Don't get me wrong, I love having my weekends free, but this also needs to be done, and it is harder to jump back into it after a couple days away...I'd rather get it over with and then enjoy my weekend, knowing that Monday won't be such a PITA. Take care everyone...thanks for the help...have a great weekend!!! John W Clark >>> jcolby at colbyconsulting.com 06/20/03 02:49PM >>> Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 20 14:41:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 12:41:27 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I doesn't take Access XP or Office XP to cause this. Any of the 2002 apps, including Visio, Project and Publisher will cause the same problem. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, June 20, 2003 11:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] HELP Very odd problem (to me anyhow) No, but I do have A2K and A97 on the machine. I just got through reading something about this on the MS Knowledgebase...and I see Charlotte writes the same thing. Good news is I can avoid it in the future, but the bad new is that it will take me a good part of Monday to fix it...I've already complained to this list about my inability to gain access to my office on the weekend...ludicrous isn't it...you've got a project that was scheduled for a May 1st completion, and it is needed badly, but you won't allow your people to work on it over a weekend. Don't get me wrong, I love having my weekends free, but this also needs to be done, and it is harder to jump back into it after a couple days away...I'd rather get it over with and then enjoy my weekend, knowing that Monday won't be such a PITA. Take care everyone...thanks for the help...have a great weekend!!! John W Clark >>> jcolby at colbyconsulting.com 06/20/03 02:49PM >>> Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Jun 20 14:40:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 20 Jun 2003 21:40:54 +0200 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: <104AB6116A2DD511A7580008C7097A9821990D@AARDBEI> Looks to me to be indeed the VBA6 problem due to A2K and AXP on same machine. When importing objects with code behind it or modules etc., the code itself is not saved but only the compiled code. Thus corruption the app. When importing object with code and/or modules inmediatly click on save in VBA. Thus saving the code manualy. When your app is already corrupt, you need to find the corrupt object. You can not delete it, so you need to import everything, except the corrupted object in to the new filed. Erwin -----Oorspronkelijk bericht----- Van: John Colby [mailto:jcolby at colbyconsulting.com] Verzonden: vrijdag 20 juni 2003 20:49 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] HELP Very odd problem (to me anyhow) Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 20 14:49:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 14:49:15 -0500 Subject: [AccessD] Update query syntax Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E88@main2.marlow.com> Um, after you click IIF, then click <>, so it's highlighted. THEN click Mid$. It will replace the <> with the Mid$ statement. The expression builder is not the worlds most advance tool, but it can be sort of handy, if you are using a lot of expressions in your queries. Drew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Thursday, June 19, 2003 11:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I've never been able to figure how how to use the query builder. If I click on IIF and then click on Mid$, I get: IIf (?expr?, ?truepart?, ?falsepart?) ?Expr? Mid$ (?stringexpr?, ?start?, ?length?) Now, I know I have to replace things like ?expr? and ?truepart? etc, but I don't know how to go from there. I can't figure out how this: "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" fits in. Which part is the expression, which is the truepart and which is the falsepart, etc. I'd probably understand it better with a SQL statement, but... I don't need anything as complicated for updating the Attend35, as all I have to do is put a 1 in the "update to" box. And when I do the 35=2, I'll put a 2 in. They won't have both, so don't need to worry about overwriting. -- 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 dave sharpe > Sent: 19 Jun 2003 4:57:PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update query syntax > > > Kathryn > > I nomally use the query builder. If I read your request > correctly,I'd use something like > > "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" > as your condition and > something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" > as your replace statement for Attend35 > > Dave > > ----- Original Message ----- > From: Kathryn Bassett > To: dbAdvisors (AccessD) > Sent: Thursday, June 19, 2003 5:51 PM > Subject: [AccessD] Update query syntax > > > I have a field called Attend that is text 100 in length. I've added new fields called > Attend25, Attend35 etc and made then all long integers with zero decimal places. (The > numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using > the queries, to take the contents of Attend, and put it in Attend35. Before I just > try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then > put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From smandel7 at yahoo.com Fri Jun 20 15:04:27 2003 From: smandel7 at yahoo.com (Steven Mandel) Date: Fri, 20 Jun 2003 15:04:27 -0500 Subject: [AccessD] msgbox appears when open form in design mode In-Reply-To: <000501c33636$790ec1d0$fb9487d9@laptop> References: Message-ID: <5.1.0.14.0.20030620150151.00a862e8@web2pop> Hi Mark, as it turned out , the problem was they had an image object on the form with a default image location that no longer existed and that is why the error message appeared when I opened the form in design view. Thanks for your help. Steve Mandel At 08:43 AM 6/19/2003 +0100, you wrote: >
> >
Try looking under TOOLS - REFERENCES when in the code window. You'll
>see
>a list with a few at the top having ticks. If one is missing it will
>say
>so next to it.
>
>Hth
>
>mark
>
>-----Original Message-----
>From: href="mailto:accessd-bounces at databaseadvisors.com&YY=47751&head=f">accessd-bounces at databaseadvisors.com
>[mailto:href="mailto:accessd-bounces at databaseadvisors.com&YY=47751&head=f">accessd-bounces at databaseadvisors.com] 
>On Behalf Of Steven
>Mandel
>Sent: 19 June 2003 08:19
>To: Accessd
>Subject: [AccessD] msgbox appears when open form in design mode
>
>
>Hi All,
>
>  I have a big question to ask. I am working on a database that I have
>to
>modify due to replacement of a server and changing directories.  There
>are several forms that when I open them either in design mode or
>runtime
>mode an error message in a msgbox pops up telling me that it cant find
>a
>certain file located in a certain directory . ( something like the
>database can't find file m:/somedirectory/somefile.txt ) That is
>exactly
>what I want to change but the code that does this is not in the form's
>open or load events ? is it possible that it is in a macro and if so
>how
>do I fix it ( I rarely if ever use macros ). Any help would be much
>appreciated.
>
>Thanks so much,
>
>Steve Mandel
>
>_______________________________________________
>AccessD mailing list
>href="mailto:AccessD at databaseadvisors.com&YY=47751&head=f">AccessD at databaseadvisors.com
>target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: target=_blank>http://www.databaseadvisors.com
>
>_______________________________________________
>AccessD mailing list
>href="mailto:AccessD at databaseadvisors.com&YY=47751&head=f">AccessD at databaseadvisors.com
>target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: target=_blank>http://www.databaseadvisors.com
From DWUTKA at marlow.com Fri Jun 20 15:04:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 15:04:06 -0500 Subject: [AccessD] A2K: Populate List Box Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8A@main2.marlow.com> I sent you a sample database offline. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Friday, June 20, 2003 1:43 AM To: AccessD List Subject: [AccessD] A2K: Populate List Box Hello all This should be simple. But it is p***ing me right off. I have an Events form called frmEvents. Bound to tblEvents. 2 list boxes on this form. The one on the left lists available clients The list box on the right is showing people who are registerd into this event. (Attendees) This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. (All the names of attendees are got from the tblAttendees table) - Pretty basic sofar. Double click on left box to 'Register in to the current Event' Double click on Right box to 'un regsiter' - Rocket science. The lists grow and shrink accordingly. But here is the problemn In the list on the left I only want to show people who are not registerd into the current event. I am having a 101 moment here (Drew) Any help?? Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Jun 20 15:04:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 15:04:51 -0500 Subject: [AccessD] Rowcolor Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8B@main2.marlow.com> The online archives work. http://www.wolfwares.com/AccessD Drew -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Friday, June 20, 2003 2:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Jun 20 15:14:16 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 20 Jun 2003 16:14:16 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389799C@xlivmbx12.aig.com> Just put a textbox in the header (or footer) with the data source set to... =Count(*) That should do it. Lambert > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Friday, June 20, 2003 2:48 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Getting the recordcount for a report > > Folks, > > Does anyone know of a good way to get the recordcount for a report? I have > a need to capture that and display it in the header. Aside from taking the > report recordsource and creating a recordset and getting the recordcount > from movelast method I can't find anything useful. The aforementioned > seems a little overhead intensive. > _d > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > _____ > > STOP MORE SPAM with the new MSN 8 > and get 2 months FREE* << File: ATT5737557.txt >> From dwaters at usinternet.com Fri Jun 20 15:21:15 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 15:21:15 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: Message-ID: <000a01c33769$83631b70$de1811d8@DanWaters> Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 20 15:39:18 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 16:39:18 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: Like it! It does work - now if it would only tell me how many records were accessed below the groupby. It gives back the count of records but it seems I need the count that went into the grouping. Thanks! (it's still a neat trick) _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Heenan, Lambert" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Getting the recordcount for a report Date: Fri, 20 >Jun 2003 16:14:16 -0400 > >Just put a textbox in the header (or footer) with the data source set to... > >=Count(*) > >That should do it. > >Lambert > > > -----Original Message----- > > From: Don Elliker [SMTP:delliker at hotmail.com] > > Sent: Friday, June 20, 2003 2:48 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Getting the recordcount for a report > > > > Folks, > > > > Does anyone know of a good way to get the recordcount for a report? I >have > > a need to capture that and display it in the header. Aside from taking >the > > report recordsource and creating a recordset and getting the recordcount > > from movelast method I can't find anything useful. The aforementioned > > seems a little overhead intensive. > > _d > > > > "Things are only free to the extent that you don't pay for them".-Don > > Elliker > > > > > > _____ > > > > STOP MORE SPAM with the new MSN 8 > > and get 2 months FREE* << File: ATT5737557.txt >> >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Fri Jun 20 15:49:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 20 Jun 2003 16:49:41 -0400 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: <000a01c33769$83631b70$de1811d8@DanWaters> Message-ID: BTW, the error handler builder that Seth and I wrote will insert code that finds all such objects and generate code to destroy them. It does this in the process of inserting error handlers in your functions so if you already have an error handler it will not insert this code. If you are interested in the error handler builder, go to the dba website. http://www.databaseadvisors.com/downloads.htm Download VBErrorHandler. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Fri Jun 20 16:03:53 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 20 Jun 2003 17:03:53 -0400 Subject: [AccessD] Copy and paste from clipboard Message-ID: This may seem like a strange request, but I've been asked by my boss to check with this list. She has a process that exports a 1-record table to a text file. This text file is then imported into a client's billing system. Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to create the text file. The problem comes about when the other system tries to read the text file. It kicks back an error stating that it can't find the end-of-file. Although, when she simply copies the text from the table, then pastes it into a text file, the client's system imports it without a problem. Is there a way (in code) to copy the data from the table to the clipboard, then paste it from the clipboard to a text file? I think I've seen this before, but am not sure. TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Fri Jun 20 16:08:47 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 16:08:47 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: Message-ID: <000401c33770$27654940$de1811d8@DanWaters> John, I read the description of the VBErrorHandler. Very Nice! But, I already use error handling throughout, so I'll be typing (cut/paste if I can). Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, June 20, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? BTW, the error handler builder that Seth and I wrote will insert code that finds all such objects and generate code to destroy them. It does this in the process of inserting error handlers in your functions so if you already have an error handler it will not insert this code. If you are interested in the error handler builder, go to the dba website. http://www.databaseadvisors.com/downloads.htm Download VBErrorHandler. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Jun 20 16:10:48 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 20 Jun 2003 17:10:48 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979A0@xlivmbx12.aig.com> =Count(*) works just as well in the group header/footer. So you CAN see the count per grouping. > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Friday, June 20, 2003 4:39 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Getting the recordcount for a report > > > Like it! It does work - now if it would only tell me how many records > were > accessed below the groupby. It gives back the count of records but it > seems > I need the count that went into the grouping. > Thanks! (it's still a neat trick) > _D > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: "Heenan, Lambert" > >Reply-To: accessd at databaseadvisors.com > >To: "'accessd at databaseadvisors.com'" > >Subject: RE: [AccessD] Getting the recordcount for a report Date: Fri, 20 > > >Jun 2003 16:14:16 -0400 > > > >Just put a textbox in the header (or footer) with the data source set > to... > > > >=Count(*) > > > >That should do it. > > > >Lambert > > > > > -----Original Message----- > > > From: Don Elliker [SMTP:delliker at hotmail.com] > > > Sent: Friday, June 20, 2003 2:48 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Getting the recordcount for a report > > > > > > Folks, > > > > > > Does anyone know of a good way to get the recordcount for a report? I > >have > > > a need to capture that and display it in the header. Aside from taking > > >the > > > report recordsource and creating a recordset and getting the > recordcount > > > from movelast method I can't find anything useful. The aforementioned > > > seems a little overhead intensive. > > > _d > > > > > > "Things are only free to the extent that you don't pay for them".-Don > > > Elliker > > > > > > > > > _____ > > > > > > STOP MORE SPAM with the new MSN 8 > > > > and get 2 months FREE* << File: ATT5737557.txt >> > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Fri Jun 20 16:17:46 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 16:17:46 -0500 Subject: [AccessD] Copy and paste from clipboard Message-ID: Instead of using the Docmd, why not just write the data using sequential access. If you need a code example please let me know. I have found it to work faster and easier instead of using the Docmd for exporting to text files. "Mark Boyd" Sent by: accessd-bounces at databaseadvisors.com 06/20/2003 04:03 PM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Copy and paste from clipboard This may seem like a strange request, but I've been asked by my boss to check with this list. She has a process that exports a 1-record table to a text file. This text file is then imported into a client's billing system. Currently, she is using 'DoCmd.TransferText, acExportDelim ?' to create the text file. The problem comes about when the other system tries to read the text file. It kicks back an error stating that it can't find the end-of-file. Although, when she simply copies the text from the table, then pastes it into a text file, the client's system imports it without a problem. Is there a way (in code) to copy the data from the table to the clipboard, then paste it from the clipboard to a text file? I think I've seen this before, but am not sure. TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Fri Jun 20 16:56:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Jun 2003 07:56:12 +1000 Subject: [AccessD] Copy and paste from clipboard In-Reply-To: Message-ID: <3EF40F9C.8499.2473EF@localhost> On 20 Jun 2003 at 17:03, Mark Boyd wrote: > This may seem like a strange request, but I've been asked by my boss to > check with this list. > > > > She has a process that exports a 1-record table to a text file. This > text file is then imported into a client's billing system. > > Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to > create the text file. The problem comes about when the other system > tries to read the text file. It kicks back an error stating that it > can't find the end-of-file. > > > > Although, when she simply copies the text from the table, then pastes it > into a text file, the client's system imports it without a problem. > > > > Is there a way (in code) to copy the data from the table to the > clipboard, then paste it from the clipboard to a text file? Why not just do something like the following: (Change the "," to Chr$(9) for Tab delimited) Dim strExport as String Dim rs as Recordset Dim loopcount as long Dim NoOfFields as long Set rs = currentdb.openrecordset("tblSimgleRecordTable") NoOfFields = rs.Fields.Count 'Build comma delimited export string For loopcount = 0 to NoOfFields - 2 strExport = strExport & rs(loopcount) & "," Next strExport = strExport & rs(NoOfFields) - 1) Open "transferfile.txt" for output as #1 Print#1, strExport Close #1 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Fri Jun 20 23:23:09 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 20 Jun 2003 21:23:09 -0700 Subject: [AccessD] Copy and paste from clipboard References: <3EF40F9C.8499.2473EF@localhost> Message-ID: <01fe01c337ac$d21e75a0$6501a8c0@HAL9002> Stuart: I once implemented a clipboard function in an app. It came from John Colby's site. Look for C2DbClipBoard. It has functions to copy, paste, and empty the clipboard. Rocky Smolin Beach Access Software ----- Original Message ----- From: "Stuart McLachlan" To: "Mark Boyd" ; Sent: Friday, June 20, 2003 2:56 PM Subject: Re: [AccessD] Copy and paste from clipboard > On 20 Jun 2003 at 17:03, Mark Boyd wrote: > > > This may seem like a strange request, but I've been asked by my boss to > > check with this list. > > > > > > > > She has a process that exports a 1-record table to a text file. This > > text file is then imported into a client's billing system. > > > > Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to > > create the text file. The problem comes about when the other system > > tries to read the text file. It kicks back an error stating that it > > can't find the end-of-file. > > > > > > > > Although, when she simply copies the text from the table, then pastes it > > into a text file, the client's system imports it without a problem. > > > > > > > > Is there a way (in code) to copy the data from the table to the > > clipboard, then paste it from the clipboard to a text file? > > > Why not just do something like the following: > (Change the "," to Chr$(9) for Tab delimited) > > > Dim strExport as String > Dim rs as Recordset > Dim loopcount as long > Dim NoOfFields as long > > Set rs = currentdb.openrecordset("tblSimgleRecordTable") > > NoOfFields = rs.Fields.Count > > 'Build comma delimited export string > For loopcount = 0 to NoOfFields - 2 > strExport = strExport & rs(loopcount) & "," > Next > strExport = strExport & rs(NoOfFields) - 1) > > Open "transferfile.txt" for output as #1 > Print#1, strExport > Close #1 > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at oop.nl Sat Jun 21 02:54:08 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Sat, 21 Jun 2003 09:54:08 +0200 Subject: [AccessD] Rowcolor In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E8B@main2.marlow.com> Message-ID: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> Hi Drew, I know, but very often I get page not found when going to the URL or when search results are to be displayed. First I thought it is from my firewall settings or IE version. But I get this message also from clients. That is why I said that the archyves did not work. Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: vrijdag 20 juni 2003 22:05 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Rowcolor The online archives work. http://www.wolfwares.com/AccessD Drew -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Friday, June 20, 2003 2:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Jun 21 04:56:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 10:56:06 +0100 Subject: [AccessD] Urgent SQL Server References: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> Message-ID: <000901c337db$56a22be0$e40b6351@martinreid> I need to permit Access to My sql server 2000 from a server in the USA. Cant seem to get SQL Server configured correctly. No firewall etc this end but very tight security from the USA server end but they say it dosnt matter. Anyone any ideas re settings from my side to open the server up for internet access. Will be using a mixture of XML and .NET in both directions if that matters. SQL Server must be using Mixed Security. Martin From mwp.reid at qub.ac.uk Sat Jun 21 05:06:48 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 11:06:48 +0100 Subject: [AccessD] MSDE References: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: <001401c337dc$d47758f0$e40b6351@martinreid> An interesting statement from MS MSDE cannot be used to create applications that substantially duplicate the capabilities of Microsoft Access or, in the reasonable opinion of Microsoft, compete with same. Martin From jimdettman at earthlink.net Sat Jun 21 06:34:53 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat, 21 Jun 2003 07:34:53 -0400 Subject: [AccessD] MSDE In-Reply-To: <001401c337dc$d47758f0$e40b6351@martinreid> Message-ID: Martin, That's been true with Access as well BTW right from day one. This was pointed out in the A1.1/2 days when folks started coming up with replacements for the DBC. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Saturday, June 21, 2003 6:07 AM To: accessd Subject: [AccessD] MSDE An interesting statement from MS MSDE cannot be used to create applications that substantially duplicate the capabilities of Microsoft Access or, in the reasonable opinion of Microsoft, compete with same. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Jun 21 08:51:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 21 Jun 2003 06:51:01 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) References: Message-ID: <004a01c337fc$26a8f880$6501a8c0@HAL9002> John: Here's an explanation. The fix ain't so pretty. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548 HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: "John Clark" To: Sent: Friday, June 20, 2003 11:50 AM Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) > I've never done this...how do you decompile? I did try to compile, and > it gave me the message, "Error accessing file. Network connection my > have been lost." Again, I am not using the network...I am attached to a > Novell network, but I am running both Access and the db from the HDD. > > Thanks for you input! > > John > > John W. Clark > Computer Programmer / Asst. Network Administrator > Niagara County > Central Data Processing > > >>> delliker at hotmail.com 06/20/03 02:30PM >>> > > Yes I have, but not in a while. Methinks the app is buggered. A > decompile may help. I believe I also had this problem working on a > Novell network, but I could be wrong. > The usual is to decompile/recompile when this kind of stuff starts > happening. > _d > > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > >From: "John Clark" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] HELP Very odd problem (to me anyhow) > >Date: Fri, 20 Jun 2003 13:57:16 -0400 > > > >I haven't bugged any of ya in quite a while now...about two months > plus. > >I have actually been away from > >Access and instead, learning the fine art of IP phones, and wireless > >networking. Now I am back into Access and having a major problem. > > > >I am working on a program that I was probably 90% done with, when I > was > >pulled off for the other project. And, when I press certain buttons, I > > >was receiving errors that, "...Network connection my have been lost." > I > >first thought it was no big deal...the program, because of my other > >duties, has run so far behind, that I will just delete the offending > >buttons and recreate them...but then grew more concerned, when I > >received this error, while trying to comment out the code behind the > >buttons. I decided, because of time constraints, that it would be best > > >to create a totally new program and import the pieces into it. This > >isn't working either. > > > >I have only inported the tables, queries, and three very simple > >forms...these are just "switchboard" type forms...that, using buttons, > > >call other forms or each other. I reuse these same forms for each > >program that I do, so that all programs in the county have a similar > >look and feel to them. I have done this a few times now, and each time > > >they work, until I restart the program. I then get the following > error, > >when I attempt to open the form: > > > > > >The expression On Open you entered as the event property setting > >produced the following error: Error accessing file. Network connection > > >may have been lost. > > > >* The expression may not result in the name of a macro, the name of a > > >user-defined function, or [Event Procedure]. > >* There may have been an error evaluating the function, event, or > >macro. > > > > > >There doesn't appear to be any code there, when I look. And, equally > >puzzling, is that I am not using it on the network. I created it on my > > >hard drive, and I am running it from there now. > > > >Anybody seen anything like this before? > > > >Thanks! > > > > > > > >John W. Clark > >Computer Programmer / Asst. Network Administrator > >Niagara County > >Central Data Processing > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > Add photos to your messages with MSN 8. Get 2 months FREE*. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Sat Jun 21 13:46:51 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 21 Jun 2003 20:46:51 +0200 Subject: [AccessD] Access97 with WindowsXP References: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Message-ID: <009901c33825$7fc63f30$0300a8c0@S856> Thank you that worked have just installed SP1 and SP2 and its working it was this 1GB memory - too much :) Lembit Soobik ----- Original Message ----- From: "Randall Anthony" To: Sent: Friday, June 20, 2003 5:17 PM Subject: RE: [AccessD] Access97 with WindowsXP > Check out M$ KB, article 161255. > > -----Original Message----- > From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] > Sent: Friday, June 20, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access97 with WindowsXP > > I have used the Microsoft KB instructions and manually removed everything > necessary to clean out Office 97 from my WinXP box > then installed Access97 again, this time together with Excel, Word, PP > and while the other programs work, Access97 always gives me the error > Not Enough Memory > and when i click ok > there is a system error or not enouch memory to run Access > anybody any idea? > BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg > free > thanks > Lembit > > Lembit Soobik > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Sat Jun 21 13:51:24 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 19:51:24 +0100 Subject: [AccessD] OT FrontPage References: <000001c33759$6f0cc230$de1811d8@DanWaters> Message-ID: <000901c33826$20b2b040$e40b6351@martinreid> Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin From davesharpe2 at cox.net Sat Jun 21 14:13:05 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 21 Jun 2003 15:13:05 -0400 Subject: [AccessD] OT FrontPage References: <000001c33759$6f0cc230$de1811d8@DanWaters> <000901c33826$20b2b040$e40b6351@martinreid> Message-ID: <004d01c33829$24f70950$1d270a44@bcs006137> Martin I know nothing about it, but there is a FrontPage group available for FrontPage assistance [ see URL below ] dave http://groups.yahoo.com/group/frontpage/ ----- Original Message ----- From: Martin Reid To: accessd Sent: Saturday, June 21, 2003 2:51 PM Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Sat Jun 21 15:09:03 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 21 Jun 2003 17:09:03 -0300 Subject: [AccessD] OT - Test Message-ID: Test -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From ebarro at afsweb.com Sat Jun 21 15:28:06 2003 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 21 Jun 2003 13:28:06 -0700 Subject: [AccessD] Urgent SQL Server In-Reply-To: <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: Martin, If you're talking about what connection string to use then this might be helpful... ConnectString As String = "Provider=SQLOLEDB.1" _ & ";User ID= userid" _ & ";Password= pwd" _ & ";Initial Catalog= tablename" _ & ";Data Source= IP_Address_of_SQL_Server" SQL server should be set up to listen on port 1433. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Saturday, June 21, 2003 2:56 AM To: accessd Subject: [AccessD] Urgent SQL Server I need to permit Access to My sql server 2000 from a server in the USA. Cant seem to get SQL Server configured correctly. No firewall etc this end but very tight security from the USA server end but they say it dosnt matter. Anyone any ideas re settings from my side to open the server up for internet access. Will be using a mixture of XML and .NET in both directions if that matters. SQL Server must be using Mixed Security. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 From doug at murphyscreativity.com Sat Jun 21 18:11:29 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 21 Jun 2003 16:11:29 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: <003201c3384a$72449b20$8500a8c0@CX615377a> List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug From harkins at iglou.com Sat Jun 21 19:15:07 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 21 Jun 2003 20:15:07 -0400 Subject: [AccessD] Subform Errors References: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: <001201c33853$b03a07e0$f2ecffcc@SusanOne> My guess is, you're buying a little calculating time. You may have more calculations than your subform can handle -- seen it happen before when counting records in a really large recordset -- can't count them fast enough, so it returns an error. Any way you can move some of those expressions to the query? Susan H. > > > List, > > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? > > Doug > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From doug at murphyscreativity.com Sat Jun 21 19:54:07 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 21 Jun 2003 17:54:07 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <001201c33853$b03a07e0$f2ecffcc@SusanOne> Message-ID: <000001c33858$c9137940$8500a8c0@CX615377a> Susan, I thought about that, but almost all the action is in the queries now and everything recalculates each time I change records from the record selector combo box on the form. The only thing that is different between the form working and it not working is that when I works I open it first in design view and then switch to form view. If I then select a record using the on-form combobox it works correctly and all numbers are calculated and displayed correctly. I can then select another record and it too is displayed correctly. If I open the main form directly in form view, and then select a record using the combobox I get the error text in the calculated controls. If I then change the misbehaving form to design view and then back to form view it works as above. Something seems to be different about how the form is originally opened. I tried the compile all modules, decompile, compact, and recompile procedure but that didn't make any difference. Weird. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, June 21, 2003 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors My guess is, you're buying a little calculating time. You may have more calculations than your subform can handle -- seen it happen before when counting records in a really large recordset -- can't count them fast enough, so it returns an error. Any way you can move some of those expressions to the query? Susan H. > > > List, > > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? > > Doug > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 21 22:14:41 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 21 Jun 2003 23:14:41 -0400 Subject: [AccessD] Subform Errors References: <000001c33858$c9137940$8500a8c0@CX615377a> Message-ID: <003d01c3386c$975ca340$f2ecffcc@SusanOne> Try adding a Me.Recalc to the form's Load event just in case. Susan H. > Susan, > > I thought about that, but almost all the action is in the queries now > and everything recalculates each time I change records from the record > selector combo box on the form. The only thing that is different > between the form working and it not working is that when I works I open > it first in design view and then switch to form view. If I then select > a record using the on-form combobox it works correctly and all numbers > are calculated and displayed correctly. I can then select another > record and it too is displayed correctly. > > If I open the main form directly in form view, and then select a record > using the combobox I get the error text in the calculated controls. If I > then change the misbehaving form to design view and then back to form > view it works as above. Something seems to be different about how the > form is originally opened. > > I tried the compile all modules, decompile, compact, and recompile > procedure but that didn't make any difference. > > Weird. > > Doug > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, June 21, 2003 5:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Subform Errors > > My guess is, you're buying a little calculating time. You may have more > calculations than your subform can handle -- seen it happen before when > counting records in a really large recordset -- can't count them fast > enough, so it returns an error. Any way you can move some of those > expressions to the query? > > Susan H. > > > > > > > > List, > > > > I have an Access 97 database and am having a problem with a > > form/subform. The main form holds data for the parent record and the > > subform shows data for the child records for the parent; a typical > > design. The subform is based on a semi complex query that has some > > calculations in it that sum some cost fields for each record. There > are > > several hidden calculated text boxes on the subform that perform > further > > data aggregations for several fields from each record. I refer to > these > > fields in controls on the parent form to show their value. Hopefully > > this description isn't too confusing. > > > > The problem is that the forms work correctly when the main form is > first > > opened in design view and then switched to form view. When the form > is > > opened in this fashion and a record selected from a selector combo box > > all fields function and calculate correctly. If the main form is > opened > > directly to form view and a record selected the calculated controls > > contain "error". If I then switch the form to design view and back to > > form view it works correctly. There is very little code behind these > > forms and nothing on a form event except docmd.maximize on form > > activate. This is the first time I have run into this situation. Why > > would the form behave differently based on whether it was first opened > > in design view or directly into form view? > > > > Doug > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Sun Jun 22 02:12:18 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Jun 2003 09:12:18 +0200 Subject: [AccessD] Subform Errors In-Reply-To: <003201c3384a$72449b20$8500a8c0@CX615377a> References: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: <883944381.20030622091218@cactus.dk> Hi Doug > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? I think Susan is on the track. And if you dig the archives, Mr. Colby once described something about the opening of a subform - that it happens twice when opening a form with a subform. Once I had a similar problem but that was a speed issue; the controls on the parent were recalced too slow. A "manual" recalculation in the Current event of the parent form solved it. Here's a snip: curSumLine = 0 curSumUsed = 0 ' Set rst = frmSub.RecordsetClone With rst If .RecordCount > 0 Then .MoveFirst Do Until .EOF curSumLine = curSumLine + (!Sold * !Cost) curSumUsed = curSumUsed + !Used .MoveNext Loop End If .Close End With ' Me!txtSumLine = curSumLine Me!txtSumUsed = curSumUsed However, if you update the records of the subform you'll have to have similar code in the subform to recalc the textboxes on the parent form. /gustav From jimdettman at earthlink.net Sun Jun 22 07:33:10 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 22 Jun 2003 08:33:10 -0400 Subject: [AccessD] Subform Errors In-Reply-To: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: Doug, Something else that you need to be aware of: When a subform (or report) returns no records, Error is displayed in all the controls that reference it. It's not clear from your description of the problem if your seeing records or not when you get the Error's Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Saturday, June 21, 2003 7:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] Subform Errors List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Sun Jun 22 10:06:46 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 22 Jun 2003 11:06:46 -0400 Subject: [AccessD] OT: Javascript In-Reply-To: Message-ID: <3EF58DC6.26248.6F8D46@localhost> On 20 Jun 2003 at 11:25, Mitsules, Mark wrote: > Well, I replaced my script with . it > displayed today's date as expected, but I obviously have to wait until > tomorrow to see if it REALLY worked. :( So Mark, Did this work? > Thanks for your help! Glad to help, if it did. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. From doug at murphyscreativity.com Sun Jun 22 13:30:53 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sun, 22 Jun 2003 11:30:53 -0700 Subject: [AccessD] Subform Errors In-Reply-To: Message-ID: <000401c338ec$69b7b3f0$8500a8c0@CX615377a> Hi Jim, There are records. I have been doing the tests on the same data. The only difference in is how I originally open the form, design view and then form view, or directly to form view. I am puzzled by the different behavior in what should be the same thing. I have gotten some ideas from the list to try. If all else fails may have to take Gustav's advice and do it all through calculation in code. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, June 22, 2003 5:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Subform Errors Doug, Something else that you need to be aware of: When a subform (or report) returns no records, Error is displayed in all the controls that reference it. It's not clear from your description of the problem if your seeing records or not when you get the Error's Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Saturday, June 21, 2003 7:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] Subform Errors List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jun 22 13:36:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 22 Jun 2003 11:36:36 -0700 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP References: <001301c33dac$187eac90$9865fea9@cook> Message-ID: <3EF5F734.40404@shaw.ca> I had problems tracking this down just in case anyone else does, here is url. SP7 is necessary to install prior to installing latest Office 2003 Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you include things like InfoPath. There are different installs for each OS. Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 Refresh http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7-ba4a-6eda4c468b9c&DisplayLang=en From mwp.reid at qub.ac.uk Sun Jun 22 13:49:23 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 22 Jun 2003 19:49:23 +0100 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP References: <001301c33dac$187eac90$9865fea9@cook> <3EF5F734.40404@shaw.ca> Message-ID: <000001c338f1$66374d80$e40b6351@martinreid> PC has been crashing all day as a result of the downloads/ Martin ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, June 22, 2003 7:36 PM Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > I had problems tracking this down just in case anyone else does, here is > url. SP7 is necessary to install prior to installing latest Office 2003 > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Sun Jun 22 16:25:17 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Sun, 22 Jun 2003 15:25:17 -0600 Subject: [AccessD] Populate a treeview via Self-SELECT? Message-ID: <410-220036022212517875@christopherhawkins.com> OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- From caa at highway.com.br Sun Jun 22 22:48:52 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Mon, 23 Jun 2003 00:48:52 -0300 Subject: [AccessD] Office Ownership Message-ID: Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From Mark.Mitsules at ngc.com Mon Jun 23 06:49:21 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 23 Jun 2003 07:49:21 -0400 Subject: [AccessD] OT: Javascript Message-ID: Bryan, Yes. Using worked perfectly. Now to update the rest of the pages;) Thanks again, Mark -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Sunday, June 22, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Javascript On 20 Jun 2003 at 11:25, Mitsules, Mark wrote: > Well, I replaced my script with . it > displayed today's date as expected, but I obviously have to wait until > tomorrow to see if it REALLY worked. :( So Mark, Did this work? > Thanks for your help! Glad to help, if it did. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 23 07:23:32 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 23 Jun 2003 08:23:32 -0400 Subject: [AccessD] OT FrontPage Message-ID: Martin, I was under the impression that FrontPage WAS the developer tool. If there are other packages available, I would be interested in learning about them. Mark -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Saturday, June 21, 2003 2:51 PM To: accessd Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Jun 23 07:43:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 23 Jun 2003 08:43:08 -0400 Subject: [AccessD] Populate a treeview via Self-SELECT? In-Reply-To: <410-220036022212517875@christopherhawkins.com> Message-ID: <000001c33985$03933b00$3e3c0cd8@hargrove.internal> Picture a spiral staircase in your mind. You are standing on the top step and way down at the bottom is that teeny tiny bottom step that you can barely see. As you walk down the steps, the bottom steps slowly come into focus... First Step: Create a query of all the people who have no one above them. Take a Step: As you add each name to the tree, you will call a function (passing in their EmployeeID) that selects all the people who report directly to them (MasterID = passed in EmployeeID). Continue to Step: As you add each of these names to the tree, you will recursively call that same function to select all the people who report directly to them. The DBA website has a treeview tutorial submitted by Arthur Fuller if you need further help... http://www.databaseadvisors.com/downloads.htm Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Sunday, June 22, 2003 5:25 PM To: accessd at databaseadvisors.com Subject: [AccessD] Populate a treeview via Self-SELECT? OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 23 08:13:31 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 09:13:31 -0400 Subject: [AccessD] Scroll mouse shortcut Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> I just stumbled on this function for a scroll mouse I've not seen written up anywhere so I thought I'd share it FWIW. In IE6 browse to a few pages then hit your Back button (this is just to demo this functionality). Now hold the Shift key down and roll the scroll button on your scroll mouse back and forth. It acts like the Back and Forward buttons. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Mon Jun 23 08:35:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 23 Jun 2003 09:35:54 -0400 Subject: [AccessD] Populate a treeview via Self-SELECT? In-Reply-To: <410-220036022212517875@christopherhawkins.com> Message-ID: Chris, The logic you refer to is typically used in BOM (Bill of Material) explosions. A straight SQL solution is difficult in that you need to know the number of levels before hand. I refer the VBA code approach, which allows for an unlimited number of levels. I have 2 SQL solutions; one by Joe Cleko (sp?) and one by a fellow expert on Experts Exchange with a different SQL approach, and my own VBA example. Although these don't deal specifically with employee's, the logic is the same. If you view the samples as the assembly being the supervisor, and the components as the employees that report to them. Drop me and e-mail off-list and I'll send them along. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Sunday, June 22, 2003 5:25 PM To: accessd at databaseadvisors.com Subject: [AccessD] Populate a treeview via Self-SELECT? OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Jun 23 09:30:58 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 15:30:58 +0100 (BST) Subject: [AccessD] OT Urgent Win XP Pro In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> Message-ID: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin From Jdemarco at hshhp.org Mon Jun 23 09:39:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 10:39:54 -0400 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEF1@TTNEXCHSRV1.hshhp.com> Can you press F4 or F8 and get to the system menu when you boot up? Jim DeMarco -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From EdTesiny at oasas.state.ny.us Mon Jun 23 09:40:03 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 23 Jun 2003 10:40:03 -0400 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: Did you try hitting the "F8" on the reboot which should open Windows in "Safe" mode. Worth a try? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 23 09:41:30 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 10:41:30 -0400 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> I shouldn't need this for a Win2K install then should I? Thanks, Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Sunday, June 22, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP I had problems tracking this down just in case anyone else does, here is url. SP7 is necessary to install prior to installing latest Office 2003 Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you include things like InfoPath. There are different installs for each OS. Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 Refresh http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7-ba4a-6eda4c468b9c&DisplayLang=en _______________________________________________ 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 Queens-Belfast.AC.UK Mon Jun 23 09:56:28 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 15:56:28 +0100 (BST) Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> Message-ID: <1056380188.3ef7151c35116@hosea.qub.ac.uk> Jim You need to update Jet due to the new Sandbox mode which will cause you problems with expressions and the new macro security stuff. Also impacts on older versions of Access. Martin Quoting Jim DeMarco : > I shouldn't need this for a Win2K install then should I? > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Sunday, June 22, 2003 2:37 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > > > I had problems tracking this down just in case anyone else does, here is > > url. SP7 is necessary to install prior to installing latest Office 2003 > > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each > OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ******************************************************************************** *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** *** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Bryan_Carbonnell at cbc.ca Mon Jun 23 10:10:01 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon, 23 Jun 2003 11:10:01 -0400 Subject: [AccessD] OT: Javascript Message-ID: Excelent. Glad to hear it. It's amazing what dumb luck can bring :-)) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 23-Jun-03 7:49:21 AM >>> Bryan, Yes. Using worked perfectly. Now to update the rest of the pages;) From cfoust at infostatsystems.com Mon Jun 23 10:13:46 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Jun 2003 08:13:46 -0700 Subject: [AccessD] Office Ownership Message-ID: -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June 22, 2003 7:49 PM To: AccessD List Subject: [AccessD] Office Ownership Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 23 10:14:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Jun 2003 08:14:51 -0700 Subject: [AccessD] Office Ownership Message-ID: According to the EULA in the USA, it's legal. I wouldn't know about Brazil. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June 22, 2003 7:49 PM To: AccessD List Subject: [AccessD] Office Ownership Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmadridfc1 at hotmail.com Mon Jun 23 10:37:05 2003 From: rmadridfc1 at hotmail.com (Andy Storino) Date: Mon, 23 Jun 2003 11:37:05 -0400 Subject: [AccessD] creating one field from two Message-ID: I am currently working on a database for payroll that involves drawing a known date together with a time, supplied by a user to create a general date field. Is it possible to combine these two fields and if so how? Thanks, Andy _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From Jdemarco at hshhp.org Mon Jun 23 10:42:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 11:42:37 -0400 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEFA@TTNEXCHSRV1.hshhp.com> Gotcha. Thanks, Jim -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Jim You need to update Jet due to the new Sandbox mode which will cause you problems with expressions and the new macro security stuff. Also impacts on older versions of Access. Martin Quoting Jim DeMarco : > I shouldn't need this for a Win2K install then should I? > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Sunday, June 22, 2003 2:37 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > > > I had problems tracking this down just in case anyone else does, here is > > url. SP7 is necessary to install prior to installing latest Office 2003 > > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each > OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ******************************************************************************** *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** *** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Mon Jun 23 10:51:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 23 Jun 2003 17:51:41 +0200 Subject: [AccessD] creating one field from two In-Reply-To: References: Message-ID: <18534891040.20030623175141@cactus.dk> Hi Andy Look up in the archives a suggestion for this under the subject: Re: [AccessD] Enter a time and date for a payroll For two textboxes, change this line datDateTime = Date + CDate([txtYourTextbox]) to datDateTime = CDate([txtDateTextbox]) + CDate([txtTimeTextbox]) /gustav > I am currently working on a database for payroll that > involves drawing a known date together with a time, supplied by a user to > create a general date field. Is it possible to combine these two fields and > if so how? Thanks, From Mwp.Reid at Queens-Belfast.AC.UK Mon Jun 23 11:54:49 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 17:54:49 +0100 (BST) Subject: [AccessD] Access 2003 Beta In-Reply-To: <18534891040.20030623175141@cactus.dk> References: <18534891040.20030623175141@cactus.dk> Message-ID: <1056387289.3ef730d98c992@hosea.qub.ac.uk> Anyone have any major problems following the install of the Tech Refresh i.e Beta 3? Martin From kaupca at chevrontexaco.com Mon Jun 23 14:45:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 23 Jun 2003 14:45:12 -0500 Subject: [AccessD] Invalid Operation - Query Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3DAA@bocnte2k4.boc.chevrontexaco.net> When I try to run the attached SQL I get a message of invalid operation. This query basically sums together 6 queries that each sum up some daily data. Any thoughts as to why the error? SELECT Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS AS [Total Gas] FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE = Halley_Emp.ACTVDATE) I NNER JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) INNER JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE) INNER JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) INNER JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE GROUP BY Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS ORDER BY Gomez_Fld.ACTVDATE; No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 23 15:23:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 23 Jun 2003 15:23:52 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8F@main2.marlow.com> What are you trying to do? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Saturday, June 21, 2003 1:51 PM To: accessd Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 23 15:33:54 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Jun 2003 13:33:54 -0700 Subject: [AccessD] Access 2003 Beta References: <18534891040.20030623175141@cactus.dk> <1056387289.3ef730d98c992@hosea.qub.ac.uk> Message-ID: <3EF76432.4060708@shaw.ca> I had none but only installed the Office Beta refresh section not FrontPage etc.Although this new single Office refresh install also adds Publisher and InfoPath. I saw some complaints about FrontPage causing crashes if it asked for an Activation Key, solution was to remove and do total reinstall of entire beta. Refresh shouldn't ask for activation key. I see they have changed the deactivation date to Jan 31 2004 from Nov 30th 2003 I just noticed that to deploy Access 2003 Runtimes, you may need to have Visual Studio Net 2003 and thus have IIS installed so you would need WinXP Pro. It appears to deploy in .MSI file format. The Property Scanner Add-In looks interesting to find object name occurances. Visual Studio .NET and Office Development http://msdn.microsoft.com/vstudio/office/ download the visual studio tools for Office Beta Access 2003 Developer Extensions Overview http://www.microsoft.com/office/preview/editions/accessdav.asp Package Wizard Access 2003 Developer Extensions include the Package Wizard that helps developers create professional setup routines for Access solutions. The wizard will automatically include the Access runtime files, if selected, along with the Access solution files that make up the solution. The resulting setup uses the Microsoft Windows?-standard Windows Installer (MSI) for the installation routine and will automatically create shortcuts for the solution that use the appropriate Access EXE in cases where two different versions of Access are installed. Mwp.Reid at Queens-Belfast.AC.UK wrote: >Anyone have any major problems following the install of the Tech Refresh i.e >Beta 3? > >Martin >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Mon Jun 23 15:46:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 23 Jun 2003 15:46:06 -0500 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E90@main2.marlow.com> If you have a Windows 2000 CD on hand, you're in luck. Just put it in, boot from CD, and go to the recovery console. You'll need to use the SET command to be able to copy files to a floppy. Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Mon Jun 23 17:22:54 2003 From: greggs at msn.com (Gregg Steinbrenner) Date: Mon, 23 Jun 2003 17:22:54 -0500 Subject: [AccessD] Subform in Datasheet View resets filters In-Reply-To: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Message-ID: When I have a form in datasheet view and reduce the data with right click filters and sorts, I can print the form and get the results I see on the screen. If I put that form into another form (making it a subform) and do the same, my filters are removed before printing. Is there some way to prevent that? Gregg Steinbrenner From doug at murphyscreativity.com Mon Jun 23 17:58:40 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 23 Jun 2003 15:58:40 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <003d01c3386c$975ca340$f2ecffcc@SusanOne> Message-ID: <000001c339da$fd30e680$8500a8c0@CX615377a> Hi Susan, The recalc worked. Thank you. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, June 21, 2003 8:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors Try adding a Me.Recalc to the form's Load event just in case. Susan H. > Susan, > > I thought about that, but almost all the action is in the queries now > and everything recalculates each time I change records from the record > selector combo box on the form. The only thing that is different > between the form working and it not working is that when I works I open > it first in design view and then switch to form view. If I then select > a record using the on-form combobox it works correctly and all numbers > are calculated and displayed correctly. I can then select another > record and it too is displayed correctly. > > If I open the main form directly in form view, and then select a record > using the combobox I get the error text in the calculated controls. If I > then change the misbehaving form to design view and then back to form > view it works as above. Something seems to be different about how the > form is originally opened. > > I tried the compile all modules, decompile, compact, and recompile > procedure but that didn't make any difference. > > Weird. > > Doug > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, June 21, 2003 5:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Subform Errors > > My guess is, you're buying a little calculating time. You may have more > calculations than your subform can handle -- seen it happen before when > counting records in a really large recordset -- can't count them fast > enough, so it returns an error. Any way you can move some of those > expressions to the query? > > Susan H. > > > > > > > > List, > > > > I have an Access 97 database and am having a problem with a > > form/subform. The main form holds data for the parent record and the > > subform shows data for the child records for the parent; a typical > > design. The subform is based on a semi complex query that has some > > calculations in it that sum some cost fields for each record. There > are > > several hidden calculated text boxes on the subform that perform > further > > data aggregations for several fields from each record. I refer to > these > > fields in controls on the parent form to show their value. Hopefully > > this description isn't too confusing. > > > > The problem is that the forms work correctly when the main form is > first > > opened in design view and then switched to form view. When the form > is > > opened in this fashion and a record selected from a selector combo box > > all fields function and calculate correctly. If the main form is > opened > > directly to form view and a record selected the calculated controls > > contain "error". If I then switch the form to design view and back to > > form view it works correctly. There is very little code behind these > > forms and nothing on a form event except docmd.maximize on form > > activate. This is the first time I have run into this situation. Why > > would the form behave differently based on whether it was first opened > > in design view or directly into form view? > > > > Doug > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 23 18:16:32 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 23 Jun 2003 19:16:32 -0400 Subject: [AccessD] Subform Errors References: <000001c339da$fd30e680$8500a8c0@CX615377a> Message-ID: <006801c339dd$7e15f630$d6ecffcc@SusanOne> Glad it worked -- isn't it great when the easy solutions work? :) Susan H. > Hi Susan, > > The recalc worked. > > Thank you. From accessd at shaw.ca Mon Jun 23 19:40:39 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 23 Jun 2003 17:40:39 -0700 Subject: [AccessD] OT Urgent Win XP Pro In-Reply-To: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Message-ID: Hi Martin: I have a file, about 5 MB zipped, that expands into a 5 floppy disk boot set, from Microsoft. If you can expand the zip, run the resultant executable, it will prompt for disks. When completed, boot from the first disk and you can reach set of tools that will repair your disk. I have brought back some pretty munched XP drives using this product. If you wish I can send it to you off-line. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of mwp.reid at queens-belfast.ac.uk Sent: Monday, June 23, 2003 7:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 23 21:53:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 23 Jun 2003 22:53:08 -0400 Subject: [AccessD] MSN 6.0 Message-ID: Any pros or cons to the new 6.0? It looks like pure fluff to me. John W. Colby www.colbyconsulting.com From jjwrite at earthlink.net Mon Jun 23 22:50:50 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Mon, 23 Jun 2003 23:50:50 -0400 Subject: [AccessD] Report Layout Message-ID: <412003622435050350@earthlink.net> An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Jun 23 23:05:54 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jun 2003 14:05:54 +1000 Subject: [AccessD] Report Layout In-Reply-To: <412003622435050350@earthlink.net> Message-ID: <3EF85AC2.5281.166A206@localhost> On 23 Jun 2003 at 23:50, Judy Johnson wrote: > > > I'm working in Access 97 and am stumped - > I need to force a new line in some concatenated output on a report. > I've tried chr(10) and chr(13) and all I get on the report are > littlesquares wherever the chr() was in the string - and my text > contines as a long, word wrapped string. > You need both of the above, in the correct order. Either use "Chr$(13) & Chr$(10)" or the built in constant vbCRLF > I have an unbound text field on the report (txtActivity). The text > I'm trying to enter is working fine, except no line breaks. > > Thanks. > Judy -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Mon Jun 23 23:08:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 23 Jun 2003 21:08:00 -0700 Subject: [AccessD] Time in milliseconds Message-ID: <006101c33a06$338fc220$6501a8c0@HAL9002> Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Jun 23 23:37:24 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Jun 2003 21:37:24 -0700 Subject: [AccessD] MSN 6.0 References: Message-ID: <3EF7D584.9080402@shaw.ca> Well the video chat might be interesting. John Colby wrote: >Any pros or cons to the new 6.0? It looks like pure fluff to me. > >John W. Colby >www.colbyconsulting.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Tue Jun 24 00:21:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jun 2003 15:21:03 +1000 Subject: [AccessD] Time in milliseconds In-Reply-To: <006101c33a06$338fc220$6501a8c0@HAL9002> Message-ID: <3EF86C5F.4876.3C3639@localhost> On 23 Jun 2003 at 21:08, Rocky Smolin - Beach Access S wrote: > Dear List: > > Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. > Short answer - Yes. Slightly longer answer - Yes but you can't use the built in formatting functions. Long answer - It depends on exactly what you are trying to do. Store: Dates and Times are actually stored as doubles with the time as the fractional part so times can certainly be stored to far greater accuracy than seconds. Display: To display fractional seconds within a date/time format, you will need to roll your own formatting function since there is no decimal seconds formatting character. If you just want to display a number of seconds, use a numeric variable for the number of seconds, then you can format it to any precision you want ( or again roll your own format by working in seconds and calcuating hours,minutes etc as required) Measure: If you are trying to time events of a reasonable duration. use the TIMER() function . It returns a double representing the number of "ticks" elapsed sinced midnight. A tick is approximately 1/18th sec. For higher resolution, use the GetTickCOunt() API function which *nominally* returns the number of milliseconds since the system started. The actual resolution is dependant on the particular system, you can determine what it is using the GetSystemTimeAdjustment() API call, but it's normally good to about 1/100th sec If you are timing short durations and need even high accuracy, you can use the high-resolution performance counter (if your machine has one) and get possibly better than millisecond and maybe even close to microsecond accuracy (let me know if you want a copy of an ElapsedMicroSeconds() function which uses the hrpc API calls. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From my.lists at verizon.net Tue Jun 24 02:24:46 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Tue, 24 Jun 2003 00:24:46 -0700 Subject: [AccessD] MSN 6.0 References: <3EF7D584.9080402@shaw.ca> Message-ID: <033901c33a21$b0823180$fd512304@amd2k> here's a con you might want to swallow, it currently takes an average of about 10-12 megs just to have MSN messenger 5.0 running on your Windows 2K box. Upgrading to MSN Messenger 6.0 you will now spend 40-42 megs of availalbe ram on chatting over the net. I tried it and found that besides a few neat icons, I really don't care much for the flashy backgrounds, tho I like that you can have your own pic on there (even w/o the webcam). but at 40megs just to run, I found myself going back to MSN 5 because of it. I don't have a weak system by far, I have 1GB of DDR ram on my pc running win2k. but I also develop on SqlServer right here on this box so I like to keep the memory clean, that w/ a front end of Access, and a vb session going for tests and other things I normally have well over 20 items open bringing my available ram down to something about 200-400 megs in general. so I say no thank you MS, I'll pass on the bloat for today. -Francisco http://rcm.netfirms.com/ On Monday, June 23, 2003 9:37 PM [GMT -8], MartyConnelly wrote: : Well the video chat might be interesting. : : John Colby wrote: : :: Any pros or cons to the new 6.0? It looks like pure fluff to me. :: :: John W. Colby :: www.colbyconsulting.com From roz.clarke at donnslaw.co.uk Tue Jun 24 03:04:33 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 24 Jun 2003 09:04:33 +0100 Subject: [AccessD] Invalid Operation - Query Message-ID: <61F915314798D311A2F800A0C9C83188047C5F24@dibble.observatory.donnslaw.co.uk> Hi It may simply be too complex - I have recently seen this error a couple of times when running queries based on other queries - switching some or all of the queries from select statements to make-tables and running the meta-query on the tables instead solved the problem. HTH Roz -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: 23 June 2003 20:45 To: accessd at databaseadvisors.com Subject: [AccessD] Invalid Operation - Query When I try to run the attached SQL I get a message of invalid operation. This query basically sums together 6 queries that each sum up some daily data. Any thoughts as to why the error? SELECT Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfV OLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink Fld]!SumOfVOLUME_SS AS [Total Gas] FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE = Halley_Emp.ACTVDATE) I NNER JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) INNER JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE) INNER JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) INNER JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE GROUP BY Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfV OLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink Fld]!SumOfVOLUME_SS ORDER BY Gomez_Fld.ACTVDATE; No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 24 04:04:42 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Jun 2003 10:04:42 +0100 Subject: [AccessD] OT FrontPage References: <2F8793082E00D4119A1700B0D0216BF802226E8F@main2.marlow.com> Message-ID: <001501c33a2f$a62348b0$9111758f@aine> Set security on individual web pages ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, June 23, 2003 9:23 PM Subject: RE: [AccessD] OT FrontPage > What are you trying to do? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Saturday, June 21, 2003 1:51 PM > To: accessd > Subject: [AccessD] OT FrontPage > > > Where Office Developer Tools on the lines of those for Access ever available > for FrontPage?? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Tue Jun 24 06:09:21 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 24 Jun 2003 07:09:21 -0400 Subject: [AccessD] Report Layout Message-ID: <916187228923D311A6FE00A0CC3FAA30527A14@ADGSERVER> And if this does not work, then you might want to try and build the string with the vbCRLF or Chr$(13) & Chr$(10) combo then put that into the textbox. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 24, 2003 12:06 AM To: Judy Johnson; accessd at databaseadvisors.com Subject: Re: [AccessD] Report Layout On 23 Jun 2003 at 23:50, Judy Johnson wrote: > > > I'm working in Access 97 and am stumped - > I need to force a new line in some concatenated output on a report. > I've tried chr(10) and chr(13) and all I get on the report are > littlesquares wherever the chr() was in the string - and my text > contines as a long, word wrapped string. > You need both of the above, in the correct order. Either use "Chr$(13) & Chr$(10)" or the built in constant vbCRLF > I have an unbound text field on the report (txtActivity). The text > I'm trying to enter is working fine, except no line breaks. > > Thanks. > Judy -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 24 07:25:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 24 Jun 2003 08:25:18 -0400 Subject: [AccessD] Report Layout In-Reply-To: <412003622435050350@earthlink.net> Message-ID: Judy, Is this within a control or are you saying that you want a blank line on the report between details sections? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Judy Johnson Sent: Monday, June 23, 2003 11:51 PM To: AccessD Subject: [AccessD] Report Layout I'm working in Access 97 and am stumped - I need to force a new line in some concatenated output on a report. I've tried chr(10) and chr(13) and all I get on the report are little squares wherever the chr() was in the string - and my text contines as a long, word wrapped string. I have an unbound text field on the report (txtActivity). The text I'm trying to enter is working fine, except no line breaks. Thanks. Judy -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.broesdorf at web.de Tue Jun 24 08:55:34 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 15:55:34 +0200 Subject: [AccessD] How to find out wether a form has been minimized In-Reply-To: Message-ID: Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 24 09:10:29 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 24 Jun 2003 09:10:29 -0500 Subject: [AccessD] How to find out wether a form has been minimized Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7FF@TAPPEEXCH01> Michael, Include this code in your form's module: Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As Long Private Sub Form_Resize() If IsIconic(Me.hwnd) <> 0 Then MsgBox "Minimized" Else MsgBox "Not minimized" End If End Sub -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 24, 2003 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to find out wether a form has been minimized Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.broesdorf at web.de Tue Jun 24 09:22:06 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 16:22:06 +0200 Subject: AW: [AccessD] How to find out wether a form has been minimized In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C7FF@TAPPEEXCH01> Message-ID: Thank you - just what I was looking for :-) Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Brett Barabash Gesendet: Dienstag, 24. Juni 2003 16:10 An: 'accessd at databaseadvisors.com' Betreff: RE: [AccessD] How to find out wether a form has been minimized Michael, Include this code in your form's module: Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As Long Private Sub Form_Resize() If IsIconic(Me.hwnd) <> 0 Then MsgBox "Minimized" Else MsgBox "Not minimized" End If End Sub -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 24, 2003 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to find out wether a form has been minimized Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------------------------------------------------------------------- ------------------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rich_Lavsa at pghcorning.com Tue Jun 24 09:30:27 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 24 Jun 2003 10:30:27 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <833956F5C117124A89417638FDB11290EBCED2@goexchange.pghcorning.com> Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Tue Jun 24 09:34:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 16:34:43 +0200 Subject: [AccessD] Microsoft's Web Matrix reloaded Message-ID: <16631830359.20030624163443@cactus.dk> Hi all Just noticed this which might be of interest for some: http://www.adtmag.com/article.asp?id=7849 /gustav From rusty.hammond at cpiqpc.com Tue Jun 24 09:47:51 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 24 Jun 2003 09:47:51 -0500 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DF2@cpixchng-1.cpiqpc.net> On my win2k machine, if I go to Control Panel, then System, then click on the Hardware tab, then the Device Manager button, expand the System Devices item and scroll down until I find System Speaker. You can righ click on System Speaker and there should be an option to disable it. HTH Rusty -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 9:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Tue Jun 24 09:46:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 10:46:51 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: On my Win2k machine, if you dbl-click the volume control in the systray, Options/Properties allows you to choose a multitude of audio components to control. One of these options should be "PC Speaker". You should be able to mute this control. HTH, Mark -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 10:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich From Rich_Lavsa at pghcorning.com Tue Jun 24 09:59:03 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 24 Jun 2003 10:59:03 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <833956F5C117124A89417638FDB11290EBCED4@goexchange.pghcorning.com> I've already been in the BIOS... NOTHING.... I tried the system speaker that Rusty has tried previous to my original post as well... NOTHING and the volume control "PC Speaker" Does not exist.... even under Advanced Options.... However I did find a way around it... if you plug your ear phones into the jack that you are supposed to plug external speakers into it automatically turns off the internal speaker... it would've been nice to find that in some documentation somewhere... anyway, thanks for the input... later, Rich -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Tuesday, June 24, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Compaq Evo Internal Speaker On my win2k machine, if I go to Control Panel, then System, then click on the Hardware tab, then the Device Manager button, expand the System Devices item and scroll down until I find System Speaker. You can righ click on System Speaker and there should be an option to disable it. HTH Rusty -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 9:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjwrite at earthlink.net Tue Jun 24 10:13:34 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Tue, 24 Jun 2003 11:13:34 -0400 Subject: [AccessD] Report Layout Message-ID: <4120036224151334940@earthlink.net> An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 24 10:32:32 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Jun 2003 16:32:32 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> Message-ID: <00fc01c33a65$d463e410$9111758f@aine> Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Jun 24 10:58:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 10:58:42 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> Ad hoc security, like a login page done in HTML, or IIS security, where the user is prompted with a dialog box? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 24, 2003 4:05 AM To: accessd Subject: Re: [AccessD] OT FrontPage Set security on individual web pages ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, June 23, 2003 9:23 PM Subject: RE: [AccessD] OT FrontPage > What are you trying to do? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Saturday, June 21, 2003 1:51 PM > To: accessd > Subject: [AccessD] OT FrontPage > > > Where Office Developer Tools on the lines of those for Access ever available > for FrontPage?? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 24 11:10:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Jun 2003 09:10:18 -0700 Subject: [AccessD] MSN 6.0 Message-ID: In my opinion MSN is *all* fluff, regardless of version. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 23, 2003 6:53 PM To: AccessD Subject: [AccessD] MSN 6.0 Any pros or cons to the new 6.0? It looks like pure fluff to me. 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 doug at murphyscreativity.com Tue Jun 24 11:20:39 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Tue, 24 Jun 2003 09:20:39 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <006801c339dd$7e15f630$d6ecffcc@SusanOne> Message-ID: <005201c33a6c$8d17c4d0$8500a8c0@CX615377a> Simple is good. Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, June 23, 2003 4:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors Glad it worked -- isn't it great when the easy solutions work? :) Susan H. > Hi Susan, > > The recalc worked. > > Thank you. _______________________________________________ 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 Tue Jun 24 11:53:13 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 24 Jun 2003 10:53:13 -0600 Subject: [AccessD] Unique Record Pull Message-ID: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> Hello All, I have run into a little snag on the project I am working on. I have a linked table from Oracle that contains records that have not passed a verify process because they have something wrong with them in one of the fields, in other words it does not meet the criteria. Each record has a unique ID number and the same person can be repeated many times. For example one person can have multiple records in the table with a different ID number but the same SSN number, last Name and First Name. Here is where I have run into a snag, I want to be able to only pull from the table one of these records for each SSN and I need it to show the ID number of this record and display this set of records in a form for the user to be able to scroll through. Any suggestions? Thanks, Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From harkins at iglou.com Tue Jun 24 11:54:59 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 24 Jun 2003 12:54:59 -0400 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <026501c33a71$66bcf1c0$164afccc@SusanOne> Martin, does this really have to be a "table" -- could you work with a report or form that looks like a table? I mean, are you really going to be storing the data in this format or do you just have some folks that want to see the data in this particular format? Susan H. ----- Original Message ----- From: Martin Reid To: accessd Sent: Tuesday, June 24, 2003 11:32 AM Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:06:46 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:06:46 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <026501c33a71$66bcf1c0$164afccc@SusanOne> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <026501c33a71$66bcf1c0$164afccc@SusanOne> Message-ID: <1056474406.3ef8852628a5f@hosea.qub.ac.uk> has to be a table. We are linkinginto a Hunam Resource system and building a security system. Martin Quoting Susan Harkins : > Martin, does this really have to be a "table" -- could you work with a > report or form that looks like a table? I mean, are you really going to > be storing the data in this format or do you just have some folks that > want to see the data in this particular format? > > Susan H. > ----- Original Message ----- > From: Martin Reid > To: accessd > Sent: Tuesday, June 24, 2003 11:32 AM > Subject: [AccessD] SQL Question > > > Have two tables > > Table A Contains staff data, Name etc > Table B contains contact data > > Results of join as expected > > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > > And so on > > What I need to do is to flatten this out and create a single table > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > 3 etc > Staff Member B Phone Number 1 Phone Number 2 > > We dont knwo how many numbers will exist for each member of staff but > the Max will be 5 and I must end up with a single table containing the > data. > > Need this to work in Access and SQL Server 2000 > > Martin > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:08:45 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:08:45 +0100 (BST) Subject: [AccessD] OT FrontPage In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> Message-ID: <1056474525.3ef8859dd625d@hosea.qub.ac.uk> I was looking for any options built into FP that would do this. But dont think there are any. Martin Quoting Drew Wutka : > Ad hoc security, like a login page done in HTML, or IIS security, where > the > user is prompted with a dialog box? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, June 24, 2003 4:05 AM > To: accessd > Subject: Re: [AccessD] OT FrontPage > > > Set security on individual web pages > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, June 23, 2003 9:23 PM > Subject: RE: [AccessD] OT FrontPage > > > > What are you trying to do? > > > > Drew > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Saturday, June 21, 2003 1:51 PM > > To: accessd > > Subject: [AccessD] OT FrontPage > > > > > > Where Office Developer Tools on the lines of those for Access ever > available > > for FrontPage?? > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Tue Jun 24 12:13:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 13:13:51 -0400 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark From gustav at cactus.dk Tue Jun 24 12:25:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 19:25:07 +0200 Subject: [AccessD] SQL Question In-Reply-To: <00fc01c33a65$d463e410$9111758f@aine> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <4742053900.20030624192507@cactus.dk> Hi Martin > Have two tables > Table A Contains staff data, Name etc > Table B contains contact data > Results of join as expected > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > And so on > What I need to do is to flatten this out and create a single table > Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc > Staff Member B Phone Number 1 Phone Number 2 > We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. > Need this to work in Access and SQL Server 2000 For Access you'll have to write a function which for each Staff record loops through the Contact records. Here's an example of the essential part (taken from a report, thus you'll have to modify it for writing/updating a table but you'll sure get the picture). The ID is lngID: strSQL = vbNullString strSQL = strSQL + "SELECT Phone " strSQL = strSQL + "FROM tblContacts " strSQL = strSQL + "WHERE (ID = " & lngID & ") " strSQL = strSQL + "ORDER BY Phone;" Set rst = dbs.OpenRecordset(strSQL) If rst.RecordCount = 0 Then ' Should not happen. Else ' Count records. lngRecords = rst.RecordCount rst.MoveFirst If lngRecords = 1 Then strPhone = "Telephone number: " Else strPhone = "Telephone numbers: " End If For lngLoop = 1 To lngRecords ' Build line with phone numbers. strPhone = strPhone & rst!Phone If lngLoop = lngRecords Then strPhone = strPhone & "." Else strPhone = strPhone & ", " End If rst.MoveNext Next lngLoop End If rst.Close Set rst = Nothing Set dbs = Nothing strPhoneNumbers = strPhone From BBarabash at TappeConstruction.com Tue Jun 24 12:29:36 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 24 Jun 2003 12:29:36 -0500 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C809@TAPPEEXCH01> Dim lngCtr As Long For lngCtr = 1 To 10 Me("Label" & lngCtr).Caption = "Hello, World!" Next lngCtr -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, June 24, 2003 12:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Tue Jun 24 12:30:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 24 Jun 2003 13:30:02 -0400 Subject: [AccessD] Control Naming Conventions - Looping In-Reply-To: Message-ID: form!controls("label" & intLblNo) where intLblNo is the variable you are sequencing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Tuesday, June 24, 2003 1:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 24 12:32:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 19:32:09 +0200 Subject: [AccessD] Unique Record Pull In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> Message-ID: <12842475967.20030624193209@cactus.dk> Hi Gowey If you need to edit/delete those pulled records, you'll probably have to fill a table with the unique records and then use a form bound to these and with a linked subform bound to the multiple records. Don't forget to disable deletion of records from the subform when recordcount reaches one. /gustav > I have run into a little snag on the project I am working on. I have a > linked table from Oracle that contains records that have not passed a > verify process because they have something wrong with them in one of the > fields, in other words it does not meet the criteria. > Each record has a unique ID number and the same person can be repeated > many times. For example one person can have multiple records in the > table with a different ID number but the same SSN number, last Name and > First Name. > Here is where I have run into a snag, I want to be able to only pull > from the table one of these records for each SSN and I need it to show > the ID number of this record and display this set of records in a form > for the user to be able to scroll through. From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:36:08 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:36:08 +0100 (BST) Subject: [AccessD] OT Win XP Pro In-Reply-To: References: Message-ID: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin From Lambert.Heenan at AIG.com Tue Jun 24 12:39:46 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 24 Jun 2003 13:39:46 -0400 Subject: [AccessD] SQL Question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> Well to get the data laid out the way you suggest should only need a simple Cross Tab query, but (like everyone else) I have to ask "Why?" It looks like your two source tables have nicely normalized the data, but now you (or whoever is doing this HR thing) want to un-normalize it. Also, why does the act of linking to another system require that you build this un-normalized table / query to work with it??? Lambert > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, June 24, 2003 1:07 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] SQL Question > > has to be a table. We are linkinginto a Hunam Resource system and building > a > security system. > > Martin > > Quoting Susan Harkins : > > > Martin, does this really have to be a "table" -- could you work with a > > report or form that looks like a table? I mean, are you really going to > > be storing the data in this format or do you just have some folks that > > want to see the data in this particular format? > > > > Susan H. > > ----- Original Message ----- > > From: Martin Reid > > To: accessd > > Sent: Tuesday, June 24, 2003 11:32 AM > > Subject: [AccessD] SQL Question > > > > > > Have two tables > > > > Table A Contains staff data, Name etc > > Table B contains contact data > > > > Results of join as expected > > > > Staff Member A Telephone Number 1 > > Staff Member A Telephone Number 2 > > Staff Member A Telephone Number 3 > > > > And so on > > > > What I need to do is to flatten this out and create a single table > > > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > > 3 etc > > Staff Member B Phone Number 1 Phone Number 2 > > > > We dont knwo how many numbers will exist for each member of staff but > > the Max will be 5 and I must end up with a single table containing the > > data. > > > > Need this to work in Access and SQL Server 2000 > > > > Martin > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > ---- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Jun 24 12:39:16 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 24 Jun 2003 18:39:16 +0100 Subject: [AccessD] Control Naming Conventions - Looping In-Reply-To: Message-ID: <007101c33a77$8902fee0$b274d0d5@andypc> Yes Mark me("Label" & intX) Just loop incrementing the variable Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mitsules, Mark > Sent: 24 June 2003 18:14 > To: 'AccessD' > Subject: [AccessD] Control Naming Conventions - Looping > > > Group, > > Please don't ask why...but if I use the default naming scheme > for labels (Label1,Label2,Label3,etc.), is there a syntax > available that allows looping through those controls using a > variable in that numerical sequence? > > Thanks, > > > Mark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From ebarro at afsweb.com Tue Jun 24 12:43:56 2003 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 24 Jun 2003 10:43:56 -0700 Subject: [AccessD] SQL Question In-Reply-To: <00fc01c33a65$d463e410$9111758f@aine> Message-ID: Martin, Create a recordset for the resulting join and then use the rs.Fields.Append operation on a new recordset to pull in the values from the resulting join. Put a trap to recognize if the Staff Member name has changed and also a trap to recognize phone1, phone2 etc... and create the new field names for each phone number this way. When you're done write the recordset to the new table with the data gathered. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Tuesday, June 24, 2003 8:33 AM To: accessd Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Tue Jun 24 12:42:13 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 13:42:13 -0400 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: Thank you Brett/John, For the life of me I kept trying all the wrong approaches. The parens were the pieces I was missing. That, and I was also placing an extra period after "Me". < Me("Label" & lngCtr).Caption Thanks again, Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 24, 2003 1:30 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Control Naming Conventions - Looping Dim lngCtr As Long For lngCtr = 1 To 10 Me("Label" & lngCtr).Caption = "Hello, World!" Next lngCtr -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, June 24, 2003 12:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Jun 24 12:42:58 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 24 Jun 2003 13:42:58 -0400 Subject: [AccessD] OT Win XP Pro Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B8@xlivmbx12.aig.com> Not using XP Pro, but the Win 2000 Pro CD is bootable and with it you can partition the drive. Does XP Pro not do that too? Also, is it really looking at the floppy, or is the HD the first boot drive, and that's where the 'Non System Disk' message is coming from? IOW - first stop at the BIOS to see what the boot devices are and what order they come in. > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, June 24, 2003 1:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT Win XP Pro > > Drew > > > XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC > will > not bbot fromteh FDD. Keeps coming up with Non System Disk etc > > Any ideas? > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 13:24:18 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 19:24:18 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> References: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> Message-ID: <1056479058.3ef8975231512@hosea.qub.ac.uk> We have no control over the source and thats the way it is. We are bulding an SQL database to work with Windows security. We have to get our data into a single table. One of those jobs that just has to be done the way the security guys want it. Martin Quoting "Heenan, Lambert" : > Well to get the data laid out the way you suggest should only need a > simple > Cross Tab query, but (like everyone else) I have to ask "Why?" It looks > like > your two source tables have nicely normalized the data, but now you > (or > whoever is doing this HR thing) want to un-normalize it. > > Also, why does the act of linking to another system require that you > build > this un-normalized table / query to work with it??? > > Lambert > > > -----Original Message----- > > From: Mwp.Reid at Queens-Belfast.AC.UK > [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > > Sent: Tuesday, June 24, 2003 1:07 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] SQL Question > > > > has to be a table. We are linkinginto a Hunam Resource system and > building > > a > > security system. > > > > Martin > > > > Quoting Susan Harkins : > > > > > Martin, does this really have to be a "table" -- could you work with > a > > > report or form that looks like a table? I mean, are you really going > to > > > be storing the data in this format or do you just have some folks > that > > > want to see the data in this particular format? > > > > > > Susan H. > > > ----- Original Message ----- > > > From: Martin Reid > > > To: accessd > > > Sent: Tuesday, June 24, 2003 11:32 AM > > > Subject: [AccessD] SQL Question > > > > > > > > > Have two tables > > > > > > Table A Contains staff data, Name etc > > > Table B contains contact data > > > > > > Results of join as expected > > > > > > Staff Member A Telephone Number 1 > > > Staff Member A Telephone Number 2 > > > Staff Member A Telephone Number 3 > > > > > > And so on > > > > > > What I need to do is to flatten this out and create a single > table > > > > > > Staff Member A Phone Number 1 Phone Number 2 Phone > Number > > > 3 etc > > > Staff Member B Phone Number 1 Phone Number 2 > > > > > > We dont knwo how many numbers will exist for each member of staff > but > > > the Max will be 5 and I must end up with a single table containing > the > > > data. > > > > > > Need this to work in Access and SQL Server 2000 > > > > > > Martin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > > ---- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.broesdorf at web.de Tue Jun 24 13:32:53 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 20:32:53 +0200 Subject: [AccessD] What is wrong with this code? In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B8@xlivmbx12.aig.com> Message-ID: Dear group, I am still having problems with my form resize code. I have a subform in the detail section of a form. The form header is ampty and the form footer contains a couple of command buttons. The main form is resizable and the size of the subform should be adjusted accordingly. That works fine for the most part. But: If a user drags the _upper_ edge of the window towards the bottom of the window, the window moves downward. If the upper edge reaches the initial position of the lower edge the window suddenly jumps around and I get an error message 2100 (Control or subform too big...). Any ideas are much appreciated! Here is the complete code of the form's resize event: Private Sub Form_Resize() On Error GoTo PROC_ERR Const clngMinH = 5600 Const clngMinW = 8500 'Debug.Print Me.InsideHeight, Me.WindowHeight, Me.InsideWidth, Me.WindowWidth 'Debug.Print IsIconic(Me.hwnd) 'Check if form has been minimized If IsIconic(Me.hwnd) <> 1 Then 'Enforce minimum height of form If Me.InsideHeight < clngMinH Then Me.InsideHeight = clngMinH End If 'Enforce minimum width of form If Me.InsideWidth < clngMinW Then Me.InsideWidth = clngMinW End If 'Set height of detail section Me.Section(0).Height = Me.InsideHeight - 800 'Set height/width of subform Me.sfrmList.Height = Me.InsideHeight - 800 - 2 * Me.sfrmList.Top Me.sfrmList.Width = Me.InsideWidth - (2 * Me.sfrmList.Left) End If PROC_EXIT: Exit Sub PROC_ERR: Select Case Err.Number Case 2100: 'Ignore this error Case Else myErrMsg Err, Me.Name & ":Form_Resize" End Select Resume PROC_EXIT End Sub From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 13:32:31 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 19:32:31 +0100 (BST) Subject: [AccessD] OT Win XP Pro In-Reply-To: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> References: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> Message-ID: <1056479551.3ef8993fe914b@hosea.qub.ac.uk> Just a final update Boot disk worked. Fdisk worked and drive reformmatted. Win XP Pro installed with a blue screen. I give up and will let one of our "experts " in work sort it out. Be easier to buy a new drive. Martin From MarkBoyd at McBeeAssociates.com Tue Jun 24 13:41:03 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 24 Jun 2003 14:41:03 -0400 Subject: [AccessD] Losing order when importing text Message-ID: When I import text using Docmd.TransferText, my records import out of order. It is very important that the records import in the exact same order that they appear in the file. Is there a way to control this so the table keeps the text file's exact layout? I am using AccessXP. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Tue Jun 24 13:45:22 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 24 Jun 2003 14:45:22 -0400 Subject: [AccessD] Microsoft's Web Matrix reloaded Message-ID: <806536912C472E4A9D6515DF2E57261E2393DC@mercury.tnco-inc.com> Wow! This looks really cool! I already downloaded it! Thanks for the link Gustav! Joe R. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, June 24, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Microsoft's Web Matrix reloaded Hi all Just noticed this which might be of interest for some: http://www.adtmag.com/article.asp?id=7849 /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Jun 24 13:49:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Jun 2003 11:49:51 -0700 Subject: [AccessD] Losing order when importing text Message-ID: Export from a query. Access doesn't really care about record order so you get the natural (i.e., entry order) of the records when you export the table, not the indexed order that they appear in when you look at the table in Access. Charlotte Foust -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Tuesday, June 24, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Losing order when importing text When I import text using Docmd.TransferText, my records import out of order. It is very important that the records import in the exact same order that they appear in the file. Is there a way to control this so the table keeps the text file's exact layout? I am using AccessXP. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Jun 24 14:02:10 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 24 Jun 2003 14:02:10 -0500 Subject: [AccessD] SQL Question Message-ID: Martin, >From your comments I gather that your Windows security folks do not know anything about database design or programming. So why are they allowed to dictate how your data is supposed to look? I know you work for a bureaucracy like I do, but that doesn't in and of itself mean that they all are stupid and unable to comprehend a rational argument for doing it some other way. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday 2003 Jun 24 13:24 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL Question We have no control over the source and thats the way it is. We are bulding an SQL database to work with Windows security. We have to get our data into a single table. One of those jobs that just has to be done the way the security guys want it. Martin Quoting "Heenan, Lambert" : > Well to get the data laid out the way you suggest should only need a > simple Cross Tab query, but (like everyone else) I have to ask "Why?" > It looks like > your two source tables have nicely normalized the data, but now you > (or > whoever is doing this HR thing) want to un-normalize it. > > Also, why does the act of linking to another system require that you > build this un-normalized table / query to work with it??? > > Lambert From gustav at cactus.dk Tue Jun 24 14:07:24 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 21:07:24 +0200 Subject: [AccessD] Losing order when importing text In-Reply-To: References: Message-ID: <10148190834.20030624210724@cactus.dk> Hi Mark You are touching one of the very fundamental rules of a relational database: records don't have an order. However, you may sort on one or more fields. If this is not possible you'll have to add sequential line numbers to the lines in your text file and import these as well, then order by those line numbers. Better yet is to skip the TransferText and write your own code to read the file line by line; then let your code add the record number as you go. Go to Seth's site: http://puma.agron.ksu.edu/~sgsax/ and look for "File I/O in VB" under "My Downloads" /gustav > When I import text using Docmd.TransferText, my records import out of > order. > It is very important that the records import in the exact same order > that they appear in the file. > Is there a way to control this so the table keeps the text file's exact > layout? From DWUTKA at marlow.com Tue Jun 24 14:39:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 14:39:02 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F20@main2.marlow.com> I think there are, but I honestly just do it directly on the IIS server. If you want to go the HTML route, I have some nifty routines to handle that too. Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:09 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT FrontPage I was looking for any options built into FP that would do this. But dont think there are any. Martin Quoting Drew Wutka : > Ad hoc security, like a login page done in HTML, or IIS security, where > the > user is prompted with a dialog box? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, June 24, 2003 4:05 AM > To: accessd > Subject: Re: [AccessD] OT FrontPage > > > Set security on individual web pages > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, June 23, 2003 9:23 PM > Subject: RE: [AccessD] OT FrontPage > > > > What are you trying to do? > > > > Drew > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Saturday, June 21, 2003 1:51 PM > > To: accessd > > Subject: [AccessD] OT FrontPage > > > > > > Where Office Developer Tools on the lines of those for Access ever > available > > for FrontPage?? > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 24 14:40:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 14:40:06 -0500 Subject: [AccessD] OT Win XP Pro Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F21@main2.marlow.com> Do you have a Windows 2000 Pro CD? Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Win XP Pro Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Tue Jun 24 15:05:26 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Tue, 24 Jun 2003 21:05:26 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Hello Martin, I am wondering whether this is a once off, or a query that you will have to run regularly. In other words, how much effort does it justify If it is once off, you may be able to synthisise another column that will allow the following which was copied from BOL SELECT Year, SUM(CASE Quarter WHEN 1 THEN Amount ELSE 0 END) AS Q1, SUM(CASE Quarter WHEN 2 THEN Amount ELSE 0 END) AS Q2, SUM(CASE Quarter WHEN 3 THEN Amount ELSE 0 END) AS Q3, SUM(CASE Quarter WHEN 4 THEN Amount ELSE 0 END) AS Q4 FROM Northwind.dbo.Pivot GROUP BY Year GO If the data is changing and you need it dynamic, you could create another column, or create a dynamic column count for each address to gain a 1,2,3,4,5 could. Again, without knowing how much data and how much time will be spent to solve it, it is hard to say whether it is worth creating temp tables, populating them and then selecting the data from them. You could do that and use an increment to help id the addresses Let us know more details, I guess that if it was Jet you would use a simple cross tab Mark ----- Original Message ----- From: Martin Reid To: accessd Sent: Tuesday, June 24, 2003 4:32 PM Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 24 15:37:08 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 24 Jun 2003 16:37:08 -0400 Subject: [AccessD] Subform Errors Message-ID: An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 16:13:37 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 22:13:37 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Message-ID: <1056489217.3ef8bf0116deb@hosea.qub.ac.uk> HI Mark 5500 employee records with up to 5 related records in the other table. Its a one of. We need the flat file becasue of the way we will be reading the data into the windows security system. That bit I dont fully understand and I dont have to, My job is to give the security guys the data the way they want it. Its impossible to do what they want to do with related tables. It has to be flat. They can only work with a single record and that record must be complete for each staff member with absolutly no duplication. PITA! Once this is done we will then look at scripting changes etc to the files. My main system at home is trash so I cant work on it til tomorrow. Martin Quoting "Mark L. Breen" : > Hello Martin, > > I am wondering whether this is a once off, or a query that you will have > to run regularly. In other words, how much effort does it justify > > If it is once off, you may be able to synthisise another column that > will allow the following which was copied from BOL > > SELECT Year, > SUM(CASE Quarter WHEN 1 THEN Amount ELSE 0 END) AS Q1, > SUM(CASE Quarter WHEN 2 THEN Amount ELSE 0 END) AS Q2, > SUM(CASE Quarter WHEN 3 THEN Amount ELSE 0 END) AS Q3, > SUM(CASE Quarter WHEN 4 THEN Amount ELSE 0 END) AS Q4 > FROM Northwind.dbo.Pivot > GROUP BY Year > GO > > If the data is changing and you need it dynamic, you could create > another column, or create a dynamic column count for each address to > gain a 1,2,3,4,5 could. > > Again, without knowing how much data and how much time will be spent to > solve it, it is hard to say whether it is worth creating temp tables, > populating them and then selecting the data from them. You could do > that and use an increment to help id the addresses > > Let us know more details, > > I guess that if it was Jet you would use a simple cross tab > > Mark > > > ----- Original Message ----- > From: Martin Reid > To: accessd > Sent: Tuesday, June 24, 2003 4:32 PM > Subject: [AccessD] SQL Question > > > Have two tables > > Table A Contains staff data, Name etc > Table B contains contact data > > Results of join as expected > > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > > And so on > > What I need to do is to flatten this out and create a single table > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > 3 etc > Staff Member B Phone Number 1 Phone Number 2 > > We dont knwo how many numbers will exist for each member of staff but > the Max will be 5 and I must end up with a single table containing the > data. > > Need this to work in Access and SQL Server 2000 > > Martin > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > 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 Jun 24 19:24:13 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 25 Jun 2003 10:24:13 +1000 Subject: [AccessD] Losing order when importing text In-Reply-To: Message-ID: <3EF9784D.2396.1A528E@localhost> On 24 Jun 2003 at 14:41, Mark Boyd wrote: > When I import text using Docmd.TransferText, my records import out of > order. > > It is very important that the records import in the exact same order > that they appear in the file. > > Is there a way to control this so the table keeps the text file's exact > layout? > > I am using AccessXP. > Are you creating a new table each time or adding the records to an existing table? If you are creating a new table each time, you first need to change your procedure so that you re-use the same table by deleting all existing records and then appending the new records. Now add an Autonumber field to the table you are importing into. When you display/extract the text rows, sort by the Autonumber field. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From ad_tp at hotmail.com Tue Jun 24 23:22:31 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Wed, 25 Jun 2003 09:52:31 +0530 Subject: [AccessD] Time in milliseconds References: <3EF86C5F.4876.3C3639@localhost> Message-ID: Stuart, Could you kindly send me a copy of ElapsedMicroSeconds() function mentioned by you? Regards, A.D.Tejpal (ad_tp at hotmail.com) ---------------------------- ----- Original Message ----- From: Stuart McLachlan To: Rocky Smolin - Beach Access Software ; accessd at databaseadvisors.com Sent: Tuesday, June 24, 2003 10:51 Subject: Re: [AccessD] Time in milliseconds On 23 Jun 2003 at 21:08, Rocky Smolin - Beach Access S wrote: > Dear List: > > Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. > Short answer - Yes. Slightly longer answer - Yes but you can't use the built in formatting functions. Long answer - It depends on exactly what you are trying to do. Store: Dates and Times are actually stored as doubles with the time as the fractional part so times can certainly be stored to far greater accuracy than seconds. Display: To display fractional seconds within a date/time format, you will need to roll your own formatting function since there is no decimal seconds formatting character. If you just want to display a number of seconds, use a numeric variable for the number of seconds, then you can format it to any precision you want ( or again roll your own format by working in seconds and calcuating hours,minutes etc as required) Measure: If you are trying to time events of a reasonable duration. use the TIMER() function . It returns a double representing the number of "ticks" elapsed sinced midnight. A tick is approximately 1/18th sec. For higher resolution, use the GetTickCOunt() API function which *nominally* returns the number of milliseconds since the system started. The actual resolution is dependant on the particular system, you can determine what it is using the GetSystemTimeAdjustment() API call, but it's normally good to about 1/100th sec If you are timing short durations and need even high accuracy, you can use the high-resolution performance counter (if your machine has one) and get possibly better than millisecond and maybe even close to microsecond accuracy (let me know if you want a copy of an ElapsedMicroSeconds() function which uses the hrpc API calls. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Jun 25 00:52:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 24 Jun 2003 22:52:18 -0700 Subject: [AccessD] Losing order when importing text References: <3EF9784D.2396.1A528E@localhost> Message-ID: <3EF93892.10405@shaw.ca> Quickest way for user to delete or append to table TempName is something like this. Choose an applicable field name in place of DirName. If MsgBox("Do you want to create a new file table (yes: create, no: append)", vbYesNo) = vbYes Then DoCmd.RunSQL "DELETE DISTINCTROW TempName.DirName FROM TempName;" End If Stuart McLachlan wrote: >On 24 Jun 2003 at 14:41, Mark Boyd wrote: > > > >>When I import text using Docmd.TransferText, my records import out of >>order. >> >>It is very important that the records import in the exact same order >>that they appear in the file. >> >>Is there a way to control this so the table keeps the text file's exact >>layout? >> >>I am using AccessXP. >> >> >> >Are you creating a new table each time or adding the records to an >existing table? > >If you are creating a new table each time, you first need to change >your procedure so that you re-use the same table by deleting all >existing records and then appending the new records. > >Now add an Autonumber field to the table you are importing into. >When you display/extract the text rows, sort by the Autonumber field. > > > > > From stuart at lexacorp.com.pg Wed Jun 25 01:48:40 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 25 Jun 2003 16:48:40 +1000 Subject: [AccessD] Losing order when importing text In-Reply-To: <3EF93892.10405@shaw.ca> Message-ID: <3EF9D268.29882.17A4DC7@localhost> On 24 Jun 2003 at 22:52, MartyConnelly wrote: > Quickest way for user to delete or append to table TempName is something > like this. > Choose an applicable field name in place of DirName. > > If MsgBox("Do you want to create a new file table (yes: create, no: > append)", vbYesNo) = vbYes Then > DoCmd.RunSQL "DELETE DISTINCTROW TempName.DirName FROM TempName;" > End If > I keep it even simpler: DoCmd.RunSQL "Delete * from Tempname" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kost36 at otenet.gr Wed Jun 25 02:59:24 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 25 Jun 2003 10:59:24 +0300 Subject: [AccessD] Compile error Message-ID: <002f01c33aef$b23fdb70$07a1fea9@director> Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Wed Jun 25 03:08:44 2003 From: Lists at theopg.com (Mark H) Date: Wed, 25 Jun 2003 09:08:44 +0100 Subject: [AccessD] Compile error In-Reply-To: <002f01c33aef$b23fdb70$07a1fea9@director> Message-ID: <001701c33af0$ff7251b0$bf39fc3e@netboxxp> you need to "Dim db as Database" somewhere... mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: 25 June 2003 08:59 To: accessd at databaseadvisors.com Subject: [AccessD] Compile error Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at jbsolutions.com.au Wed Jun 25 03:12:12 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 25 Jun 2003 18:12:12 +1000 Subject: [AccessD] Compile error Message-ID: <200306250812.h5P8C7g17590@databaseadvisors.com> Dear Kostas Konstantinidis: You havent declared your "db" and "rs" variables. Under "Dim strMsg as String", put Dim db as DAO.Database Dim rs as DAO.Recordset ======== At 2003-06-25, 10:59:00 you wrote: ======== Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-25 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kost36 at otenet.gr Wed Jun 25 04:04:38 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 25 Jun 2003 12:04:38 +0300 Subject: [AccessD] Compile error References: <200306250812.h5P8C7g17590@databaseadvisors.com> Message-ID: <003701c33af8$cf3d5730$07a1fea9@director> Mark and Josua Thank's a lot Kostas Konstantinidis ----- Original Message ----- From: Joshua B To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 11:12 AM Subject: Re: [AccessD] Compile error Dear Kostas Konstantinidis: You havent declared your "db" and "rs" variables. Under "Dim strMsg as String", put Dim db as DAO.Database Dim rs as DAO.Recordset ======== At 2003-06-25, 10:59:00 you wrote: ======== Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-25 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 08:47:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 09:47:12 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <006101c33a06$338fc220$6501a8c0@HAL9002> Message-ID: Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 25 10:37:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 08:37:18 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <008b01c33b2f$a996f450$6501a8c0@HAL9002> John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 10:36:59 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 08:36:59 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E88@main2.marlow.com> Message-ID: I'm starting to get there, but... After double clicking on IIF, I get: IIf (?expr?, ?truepart?, ?falsepart?) Then I highlighted ?expr? and clicked Mid$ so I now have: IIf ( Mid$ (?stringexpr?, ?start?, ?length?) , ?truepart?, ?falsepart?) Highlight ?stringexpr? and click on tables > Muir63 as the table and attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , ?start?, ?length?) , ?truepart?, ?falsepart?) >From there, I'm lost again. Since I'm deleting all the thread leading to this point, I'll recap. The field I'm selecting FROM is attend, and here is a typical content: 35=2 30b=2 30a=2 25=2 So, for my criteria, I want if [Muir63]![attend] contains 35=2 so, which of the ?start?, ?length?, ?truepart?, and ?falsepart?) gets what? It seems to me that there are too many parts. Keep in mind that 35=2 could be anywhere in the string, not just at the beginning. But there won't be any spaces like 35 = 2, or anything like that, always the exact phrase of 35=2. Thanks for helping, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From cfoust at infostatsystems.com Wed Jun 25 10:50:46 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 08:50:46 -0700 Subject: [AccessD] Update query syntax Message-ID: Kathryn, Now you're beginning to see why so few of us ever bother with the builder. It's far easier to use intellisense to create the expression or look at the object browser. Try IIF(Instr([Muir63]![attend],"35=2")>0,, ) Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I'm starting to get there, but... After double clicking on IIF, I get: IIf (, , ) Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ (, , ) , , ) Highlight and click on tables > Muir63 as the table and attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , , ) , , ) >From there, I'm lost again. Since I'm deleting all the thread leading >to this point, I'll recap. The field I'm selecting FROM is attend, and here is a typical content: 35=2 30b=2 30a=2 25=2 So, for my criteria, I want if [Muir63]![attend] contains 35=2 so, which of the , , , and ) gets what? It seems to me that there are too many parts. Keep in mind that 35=2 could be anywhere in the string, not just at the beginning. But there won't be any spaces like 35 = 2, or anything like that, always the exact phrase of 35=2. Thanks for helping, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 11:00:31 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:00:31 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at the > beginning. But there won't be any spaces like 35 = 2, or anything like > that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 25 11:14:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 25 Jun 2003 11:14:49 -0500 Subject: [AccessD] Update query syntax Message-ID: If the string was found, then Instr() gives you the position number of where it starts, else it returns 0. So, if that number is >0, you have found what you are looking for and the will be executed. Otherwise, you will execute the . Thus, is where you say what to do when the string is found, and is where you say what to do if the string is not found. If either takes more than one line of code, you should encapsulate it in a procedure and call the procedure in or . Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:01 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at > the beginning. But there won't be any spaces like 35 = 2, or anything > like that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net From cfoust at infostatsystems.com Wed Jun 25 11:24:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:24:26 -0700 Subject: [AccessD] Update query syntax Message-ID: The one thing you'll have to watch out for is if you had something in your table like "35=20", which will also trigger the of you Iif. That's one of the ugly reasons it is a BAD idea to put multiple pieces of information in the same field, it's sooooo hard to parse out reliably. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 25, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax If the string was found, then Instr() gives you the position number of where it starts, else it returns 0. So, if that number is >0, you have found what you are looking for and the will be executed. Otherwise, you will execute the . Thus, is where you say what to do when the string is found, and is where you say what to do if the string is not found. If either takes more than one line of code, you should encapsulate it in a procedure and call the procedure in or . Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:01 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at > the beginning. But there won't be any spaces like 35 = 2, or anything > like that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 11:43:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:43:22 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you have > found what you are looking for and the will be executed. > Otherwise, you will execute the . Thus, is where > you say what to do when the string is found, and is where > you say what to do if the string is not found. If either takes more > than one line of code, you should encapsulate it in a procedure and call > the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: > > IIf ( Mid$ (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread leading > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 25 11:43:19 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 25 Jun 2003 12:43:19 -0400 Subject: [AccessD] Update query syntax References: Message-ID: <017701c33b39$1dd9e620$284afccc@SusanOne> Why would 35 = 20 trigger the true action? Susan H. > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 25, 2003 8:15 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you have > found what you are looking for and the will be executed. > Otherwise, you will execute the . Thus, is where > you say what to do when the string is found, and is where > you say what to do if the string is not found. If either takes more > than one line of code, you should encapsulate it in a procedure and call > the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: > > IIf ( Mid$ (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread leading > > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Wed Jun 25 11:45:13 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:45:13 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: And of course, that's why I'm separating it out :) !!! Kathryn (and no, I don't have any 35=20, but good point to remember for future). > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:24:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust From cfoust at infostatsystems.com Wed Jun 25 11:50:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:50:22 -0700 Subject: [AccessD] Update query syntax Message-ID: Because it contains "35=2", so Instr() will return a value > 0. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, June 25, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update query syntax Why would 35 = 20 trigger the true action? Susan H. > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 25, 2003 8:15 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the > > expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading > > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or > > anything like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 25 11:53:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:53:16 -0700 Subject: [AccessD] Update query syntax Message-ID: You're still using Mid$, Kathryn, but mixing in Instr arguments. Change it to Instr. You don't want Mid at all except when you want to extract the value. In that case, Mid would come into the expression but not the IIf condition test. IIF(Instr([Muir63]![attend],"35=2")>0,, ) Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading to this point, I'll recap. The field I'm selecting FROM is > > >attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 25 11:55:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 25 Jun 2003 11:55:40 -0500 Subject: [AccessD] Update query syntax Message-ID: Kathryn, Use the Instr() function as shown in Charlotte's e-mail, not the Mid$() function. Check the on-line help for the differences. Susan, "35=2" is contained in "35=20" so it counts as true, whether you really want it or not. When both may be valid values, I would either first check for the "35=20" value and in the check for the "35=2" value, or first check for "35=2" and then in the check for "35=20" value. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading to this point, I'll recap. The field I'm selecting FROM is > > >attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net From jcolby at colbyconsulting.com Wed Jun 25 12:04:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 13:04:56 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <008b01c33b2f$a996f450$6501a8c0@HAL9002> Message-ID: Rocky, IINM, the load even of the main form happens AFTER all of the load events of all of the subforms. One way to do this would be to dim an instance of the timer class globally and have the switchboard click call mclsTimer.StartTimer. Then have the main form's load event call the MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIME FORM LOAD" Do this with an otherwise identical JIT form and a non JIT form. The difference in times would be the load time of the subforms. When I was timing form loading I actually set up a loop that opened the form, then closed it again, repeating that X times. This evened out the effects of caching etc. In that case, simply instantiate the class before entering the loop, then display the results after exiting the loop. I can modify your demo if you want to send it to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 12:11:05 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 10:11:05 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:53:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > You're still using Mid$, Kathryn, but mixing in Instr arguments. Change > it to Instr. You don't want Mid at all except when you want to extract > the value. In that case, Mid would come into the expression > but not the IIf condition test. > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I now have: > http://www.muir63.org/images/updatesyntaxquery.jpg > IIf(Mid$([Muir63]![attend],"35=2",>0),"","") > but when I try to run it, I get "data type mismatch in criteria > expression". I assume it has something to do with the true and false > parts. Don't understand what to do there, as if it's true, then I want > to update the other field as shown in the jpg. If it's not true, then > nothing should happen. > > Getting there, but... just call me dense today. On the other hand, if I > can ultimately "get" this, I should be able to figure out others in the > future. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > > Charles > > Sent: 25 Jun 2003 9:15:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > If the string was found, then Instr() gives you the position number of > > > where it starts, else it returns 0. So, if that number is >0, you > > have found what you are looking for and the will be > > executed. Otherwise, you will execute the . Thus, > > is where you say what to do when the string is found, and > > is where you say what to do if the string is not found. > > If either takes more than one line of code, you should encapsulate it > > in a procedure and call the procedure in or . > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday 2003 Jun 25 11:01 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > Problem is that I still don't understand the parts. What is >0 about? > > What goes in and what goes in ? Kathryn > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > Foust > > > Sent: 25 Jun 2003 8:51:AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > Kathryn, > > > > > > Now you're beginning to see why so few of us ever bother with the > > > builder. It's far easier to use intellisense to create the > expression > > > > > or look at the object browser. > > > > > > Try > > > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > > Sent: Wednesday, June 25, 2003 7:37 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > I'm starting to get there, but... > > > > > > After double clicking on IIF, I get: > > > IIf (, , ) > > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > > > (, , ) , , > > ) > > > Highlight and click on tables > Muir63 as the table and > > > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > > , ) , , ) > > > > > > >From there, I'm lost again. Since I'm deleting all the thread > > > >leading to this point, I'll recap. The field I'm selecting FROM is > > > >attend, > > and > > > here is a typical content: > > > 35=2 30b=2 30a=2 25=2 > > > So, for my criteria, I want > > > if [Muir63]![attend] contains 35=2 > > > so, which of the , , , and ) > > > gets what? It seems to me that there are too many parts. > > > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > > the beginning. But there won't be any spaces like 35 = 2, or > anything > > > like that, always the exact phrase of 35=2. > > > > > > Thanks for helping, > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 25 12:13:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 13:13:25 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <008b01c33b2f$a996f450$6501a8c0@HAL9002> Message-ID: Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Jun 25 12:30:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 10:30:54 -0700 Subject: [AccessD] Update query syntax Message-ID: I'd suggest you do a select query on the table and see what gets returned using an expression Instr([Muir63]![attend],"35=2") in a calcuated field and setting the criteria line to >0 and see what records and values you get. Then look at the values in that field in the individual records and see what's going on. If you aren't finding any records, then tell us more about that field so we can begin to guess what's happening. Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 9:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:53:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > You're still using Mid$, Kathryn, but mixing in Instr arguments. > Change it to Instr. You don't want Mid at all except when you want to > extract the value. In that case, Mid would come into the > expression but not the IIf condition test. > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I now have: http://www.muir63.org/images/updatesyntaxquery.jpg > IIf(Mid$([Muir63]![attend],"35=2",>0),"","") > but when I try to run it, I get "data type mismatch in criteria > expression". I assume it has something to do with the true and false > parts. Don't understand what to do there, as if it's true, then I want > to update the other field as shown in the jpg. If it's not true, then > nothing should happen. > > Getting there, but... just call me dense today. On the other hand, if > I can ultimately "get" this, I should be able to figure out others in > the future. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > > Charles > > Sent: 25 Jun 2003 9:15:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > If the string was found, then Instr() gives you the position number > > of > > > where it starts, else it returns 0. So, if that number is >0, you > > have found what you are looking for and the will be > > executed. Otherwise, you will execute the . Thus, > > is where you say what to do when the string is found, and > > is where you say what to do if the string is not found. > > If either takes more than one line of code, you should encapsulate it > > in a procedure and call the procedure in or . > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday 2003 Jun 25 11:01 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > Problem is that I still don't understand the parts. What is >0 > > about? > > What goes in and what goes in ? Kathryn > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Charlotte Foust > > > Sent: 25 Jun 2003 8:51:AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > Kathryn, > > > > > > Now you're beginning to see why so few of us ever bother with the > > > builder. It's far easier to use intellisense to create the > expression > > > > > or look at the object browser. > > > > > > Try > > > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > > Sent: Wednesday, June 25, 2003 7:37 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > I'm starting to get there, but... > > > > > > After double clicking on IIF, I get: > > > IIf (, , ) > > > Then I highlighted and clicked Mid$ so I now have: IIf ( > > > Mid$ > > > > (, , ) , , > > ) > > > Highlight and click on tables > Muir63 as the table > > > and > > > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] > > > , > > > , ) , , ) > > > > > > >From there, I'm lost again. Since I'm deleting all the thread > > > >leading to this point, I'll recap. The field I'm selecting FROM is > > > >attend, > > and > > > here is a typical content: > > > 35=2 30b=2 30a=2 25=2 > > > So, for my criteria, I want > > > if [Muir63]![attend] contains 35=2 > > > so, which of the , , , and ) > > > gets what? It seems to me that there are too many parts. > > > > > > Keep in mind that 35=2 could be anywhere in the string, not just > > > at the beginning. But there won't be any spaces like 35 = 2, or > anything > > > like that, always the exact phrase of 35=2. > > > > > > Thanks for helping, > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at STGSolutions.com Wed Jun 25 12:59:27 2003 From: steve.grant at STGSolutions.com (Steve Grant) Date: Wed, 25 Jun 2003 12:59:27 -0500 Subject: [AccessD] Update query syntax Message-ID: <200306251259.AA133431608@STGSolutions.com> Kathryn, To do what you want to do, the easiest is to: 1) Add a column (field to you query) like this Test: IIf(InStr([[attend],"35=2")>0,"Exist","NotExist") 2) In the criteria of the Test field put ="Exist" This should limit your query to records that contain "35=2" in the attend field. Another way (faster) is to use the LIKE command. 1) In the criteria section of your "attend" field put: LIKE *35=2* Hope this helps a little. Steve -----Message d'origine----- De : accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Kathryn Bassett Envoy? : 25 juin, 2003 13:11 ? : accessd at databaseadvisors.com Objet : RE: [AccessD] Update query syntax I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn From tortise at paradise.net.nz Wed Jun 25 13:35:22 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 26 Jun 2003 06:35:22 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: <09d601c3363c$06a17c90$0900a8c0@P1200n> Message-ID: <005801c33b48$89b91c80$0900a8c0@P1200n> It seems to be related to the clock / main form timer. If I set this to 1000 (1 sec) then the CPU can go for long periods @ 100%, if I set it to 60000 (1 min) then it jumps up for maybe 10 secs then drops back again. Although as John suggests the CPU seems to be available for other tasks still. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Tortise at Paradise" To: Sent: Thursday, June 19, 2003 8:23 PM Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 mmmm Well that could be it! I'll monitor and see if fits time periods. Many thanks John. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "John Bartow" To: Sent: Thursday, June 19, 2003 10:08 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Jun 25 15:41:35 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 25 Jun 2003 16:41:35 -0400 Subject: [AccessD] Documenter Message-ID: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 15:48:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 16:48:12 -0400 Subject: [AccessD] Documenter In-Reply-To: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Message-ID: I use Rick Fisher's Search and Replace John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Wednesday, June 25, 2003 4:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 15:47:33 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 13:47:33 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <200306251259.AA133431608@STGSolutions.com> Message-ID: Duh! I wonder why I made it so complicated. I've used LIKE a number of times, but it was always regular queries vs update ones. In any case this: Like "*35=*" did the trick! Still would be interesting to find out why the other ended up being zero records, but I'll wait to find out why since I need to get the db fixed up before the reunion. Thank you Steve, Charlotte, and Charles for the help. I do understand a little better about how it works, even though I didn't need to make it so complicated. -- 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 Steve Grant > Sent: 25 Jun 2003 10:59:AM > To: accessd at databaseadvisors.com > Cc: kathryn at bassett.net > Subject: RE: [AccessD] Update query syntax > > > IIf(InStr([Muir63]![attend],"35=2")>0,"","") > Kathryn, > > To do what you want to do, the easiest is to: > 1) Add a column (field to you query) like this > Test: IIf(InStr([[attend],"35=2")>0,"Exist","NotExist") > > 2) In the criteria of the Test field put ="Exist" > > This should limit your query to records that contain "35=2" in the attend field. > > > Another way (faster) is to use the LIKE command. > 1) In the criteria section of your "attend" field put: LIKE *35=2* > > > Hope this helps a little. > > > Steve > > -----Message d'origine----- > De : accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] De la part de Kathryn Bassett > Envoy? : 25 juin, 2003 13:11 > ? : accessd at databaseadvisors.com > Objet : RE: [AccessD] Update query syntax > > I tried a copy/paste of yours, but it didn't work, saying the were too many closing > parameters. Since there were quotes around the true and false with the builder, I copy/pasted > "","" > over > , so that I ended up with: > IIf(InStr([Muir63]![attend],"35=2")>0,"","") > Now it doesn't give me any errors, but it also says I will now update zero rows - > which I know is wrong as there are a bunch with 35=2 - now what? > > Kathryn > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Wed Jun 25 15:58:27 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 25 Jun 2003 15:58:27 -0500 Subject: [AccessD] Documenter Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305E01@cpixchng-1.cpiqpc.net> FMS ( www.fmsinc.com ) makes a pretty good product called Total Access Analyzer. Their latest version is for A2k and AXP but I'm fairly sure you can still get the A97 version from them. -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Wednesday, June 25, 2003 3:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Jun 25 15:58:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 15:58:13 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F29@main2.marlow.com> Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew From bobbedell15 at msn.com Wed Jun 25 16:17:07 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Wed, 25 Jun 2003 21:17:07 +0000 Subject: [AccessD] Documenter Message-ID: You might want to take a look at FMS's Total Access Analyzer (A97 version available). http://www.fmsinc.com/Products/analyzer/index.html I use it a bunch. It generates object, field and module cross reference reports. It also generates just about every report imaginable for all of the objects in a database (table and query dictionaries, form blueprints, listings of every VBA function used and where, etc.) Its pretty comprehensive. >From: "Barbara Ryan" >Reply-To: accessd at databaseadvisors.com >To: "Access List" >Subject: [AccessD] Documenter >Date: Wed, 25 Jun 2003 16:41:35 -0400 > >Can anyone suggest any good software that will document (i.e., cross >reference all objects) in an Access 97 database? >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From BarbaraRyan at cox.net Wed Jun 25 16:25:36 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 25 Jun 2003 17:25:36 -0400 Subject: [AccessD] Documenter -- Thanks guys, I will check these out. eom Message-ID: <00bf01c33b60$51c0e0c0$a2c50a44@hr.cox.net> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Jun 25 16:30:12 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 25 Jun 2003 16:30:12 -0500 Subject: [AccessD] Documenter In-Reply-To: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Message-ID: <002301c33b60$f90b1c60$de1811d8@DanWaters> Try FMS Access Analyzer - It's very thorough. http://www.fmsinc.com/Products/analyzer/pricing.html Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Wednesday, June 25, 2003 2:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 16:48:33 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 14:48:33 -0700 Subject: [AccessD] Field Totals In-Reply-To: Message-ID: OK, I've now been successful in parsing out my single attendance field into individual fields. http://www.muir63.org/images/attendancetotal.jpg I have database that gives me a total across, but not down, but I don't need that here. I need a total of all the attendance fields - for instance, the total number of people who attended the 25th. I don't even need a fancy report or anything, just something that gives me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to total the 50 records in column B. How do I get that figure here (where B is "attend25"). I've looked in the help file, and tried the pivot table query wizard but I get a block that looks like a spreadsheet but no further wizard to say what next. Hopefully, this has a simple answer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From stuart at lexacorp.com.pg Wed Jun 25 17:15:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:15:43 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: Message-ID: <3EFAABAF.23828.35727C@localhost> On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > OK, I've now been successful in parsing out my single attendance field into individual fields. > http://www.muir63.org/images/attendancetotal.jpg > > I have database that gives me a total across, but not down, but I > don't need that here. I need a total of all the attendance fields - > for instance, the total number of people who attended the 25th. I > don't even need a fancy report or anything, just something that gives > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > total the 50 records in column B. How do I get that figure here (where > B is "attend25"). > > I've looked in the help file, and tried the pivot table query wizard > but I get a block that looks like a spreadsheet but no further wizard > to say what next. > In the Query Builder, got to the menu and tick "View-Totals". You will then see another row in the grid labelled "Total:" All the entries initially will be "Group By". Delete the unique fields from the query (First, Last,Married) Change the entries for the Attendance fields to "Sum" . Voila! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 25 17:19:18 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:19:18 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: Message-ID: <3EFAAC86.20554.38B981@localhost> On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > OK, I've now been successful in parsing out my single attendance field into individual fields. > http://www.muir63.org/images/attendancetotal.jpg > > I have database that gives me a total across, but not down, but I > don't need that here. I need a total of all the attendance fields - > for instance, the total number of people who attended the 25th. I > don't even need a fancy report or anything, just something that gives > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > total the 50 records in column B. How do I get that figure here (where > B is "attend25"). > > I've looked in the help file, and tried the pivot table query wizard > but I get a block that looks like a spreadsheet but no further wizard > to say what next. > In the Query Builder, got to the menu and tick "View-Totals". You will then see another row in the grid labelled "Total:" All the entries initially will be "Group By". Delete the unique fields from the query (First, Last,Married) Change the entries for the Attendance fields to "Sum" . Voila! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Wed Jun 25 17:34:58 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 15:34:58 -0700 Subject: [AccessD] Field Totals In-Reply-To: <3EFAAC86.20554.38B981@localhost> Message-ID: I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it looks like after following your suggestions. However, when I try to execute, I get: "You tried to execute a query that does not include the specified expression 'last' as part of an aggregate function." What next? And thanks! Kathryn > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 25 Jun 2003 3:19:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] Field Totals > > > On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > > > OK, I've now been successful in parsing out my single attendance field into > individual fields. > > http://www.muir63.org/images/attendancetotal.jpg > > > > I have database that gives me a total across, but not down, but I > > don't need that here. I need a total of all the attendance fields - > > for instance, the total number of people who attended the 25th. I > > don't even need a fancy report or anything, just something that gives > > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > > total the 50 records in column B. How do I get that figure here (where > > B is "attend25"). > > > > I've looked in the help file, and tried the pivot table query wizard > > but I get a block that looks like a spreadsheet but no further wizard > > to say what next. > > > > In the Query Builder, got to the menu and tick "View-Totals". > > You will then see another row in the grid labelled "Total:" > > All the entries initially will be "Group By". > Delete the unique fields from the query (First, Last,Married) > Change the entries for the Attendance fields to "Sum" . > Voila! > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From stuart at lexacorp.com.pg Wed Jun 25 17:39:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:39:41 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: <3EFAAC86.20554.38B981@localhost> Message-ID: <3EFAB14D.91.4B660D@localhost> On 25 Jun 2003 at 15:34, Kathryn Bassett wrote: > I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it looks like after following your suggestions. However, when I try to execute, I get: > "You tried to execute a query that does not include the specified expression 'last' as part of an aggregate function." > > What next? > You forgot the other part of last message: "Delete the unique fields from the query (First, Last,Married)" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Wed Jun 25 17:44:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 15:44:52 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <02b901c33b6b$6422fd60$6501a8c0@HAL9002> John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 18:04:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 19:04:33 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02b901c33b6b$6422fd60$6501a8c0@HAL9002> Message-ID: You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Wed Jun 25 18:04:41 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Wed, 25 Jun 2003 20:04:41 -0300 Subject: [AccessD] OT - McAfee Internet Security Message-ID: Hi People! Might anybody who has had experience (drawbacks, known problems, etc) contact me offline??? I cannot decide between McAfee and Norton in a K6-III with 384 Mb of RAM. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From DMcAfee at haascnc.com Wed Jun 25 18:27:31 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 25 Jun 2003 16:27:31 -0700 Subject: [AccessD] Handy Listbox utility... Message-ID: <657FB70438B7D311AF320090279C1801026D7A5F@EXCHMAIL> Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 18:46:38 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 16:46:38 -0700 Subject: [AccessD] Field Totals In-Reply-To: <3EFAB14D.91.4B660D@localhost> Message-ID: Ah, I misunderstood. Thought you meant to delete the GroupBy vs changing to Sum. Yes, deleting the field entirely worked like a charm. I now have the four totals I need and will be able to quickly do the totals for the 40th next month. 176 25 177 85 Thanks again! -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 25 Jun 2003 3:40:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: RE: [AccessD] Field Totals > > > On 25 Jun 2003 at 15:34, Kathryn Bassett wrote: > > > I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it > looks like after following your suggestions. However, when I try to execute, I get: > > "You tried to execute a query that does not include the specified expression 'last' > as part of an aggregate function." > > > > What next? > > > You forgot the other part of last message: > "Delete the unique fields from the query (First, Last,Married)" > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From bchacc at san.rr.com Wed Jun 25 18:52:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 16:52:31 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 4:04 PM Subject: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Wed Jun 25 18:56:13 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 25 Jun 2003 16:56:13 -0700 Subject: [AccessD] Handy Listbox utility... Message-ID: <657FB70438B7D311AF320090279C1801026D7A64@EXCHMAIL> Sorry, working on only a few hours sleep. I re-read your post and realized that I didn't understand what I originally read :) I'm off to bed soon :) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Wednesday, June 25, 2003 4:28 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Handy Listbox utility... Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From jcolby at colbyconsulting.com Wed Jun 25 18:56:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 19:56:00 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> Message-ID: I'll send you a demo. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 4:04 PM Subject: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Jun 25 19:05:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 19:05:47 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F2C@main2.marlow.com> No, it only reads listbox class windows. Access doesn't display controls as true windows. Drew -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Wednesday, June 25, 2003 6:28 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Handy Listbox utility... Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From accessd at shaw.ca Wed Jun 25 20:54:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 25 Jun 2003 18:54:43 -0700 Subject: [AccessD] Handy Listbox utility... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226F29@main2.marlow.com> Message-ID: Hi Drew: Post me a copy and I will put it up on the DBA site, with appropriate instructions and credits. If you and anyone else has a neat stand-alone demo, class or code snippet, it would be great to post them then any member could easily access the same... If the code or description is starting to look substantial, then send a heads up to Susan Harkins, our intrepid Publications Director, at mailto:harkins at iglou.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 25 21:10:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 21:10:55 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F2F@main2.marlow.com> I'll do that tomorrow. Right now the hWnd property is hard coded (cause I just needed to use it once). I'll spiff it up a bit and send it to you. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 25, 2003 8:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Handy Listbox utility... Hi Drew: Post me a copy and I will put it up on the DBA site, with appropriate instructions and credits. If you and anyone else has a neat stand-alone demo, class or code snippet, it would be great to post them then any member could easily access the same... If the code or description is starting to look substantial, then send a heads up to Susan Harkins, our intrepid Publications Director, at mailto:harkins at iglou.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From d.dick at uws.edu.au Wed Jun 25 23:28:43 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 26 Jun 2003 14:28:43 +1000 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: <016301c33b9b$6d97f230$3c619a89@DDICK> Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren From Erwin.Craps at ithelps.be Thu Jun 26 01:26:07 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 26 Jun 2003 08:26:07 +0200 Subject: [AccessD] OT Win XP Pro Message-ID: <104AB6116A2DD511A7580008C7097A98219948@AARDBEI> Euh, I dont see wanna you wanna delete all your data for a simple crash. Or do you really mean XP = trash? XP pro is not better than W2K but it has more functionality (faster booting alone is woth the effort). Enfin. You don't need a boot disk with fdisk on it. Just boot from the WXP or W2K CD. But i believe you need to push a key when he asks if you wanna boot from your cd. When installing you can choose and change/delete the disk patitions. WARNING: Deleting a partition will delete all data on it. If you do not boot from the cd, than you have an old cd drive that is not bootable. Then you need to create the install disks from the cd. But you need a working system for that. If your computer does not boot from your FDD (the message not system disk does mean you do not inserted a bootable disk) Or your FDD is damaged/filty. I have this more and more because FDD are never used they get so filty inside they will no longer work... If you have a non bootable Cd drive and a faulty FDD, than you really have bad luck. You need to change or add a FDD/CD drive. Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 24 juni 2003 21:40 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] OT Win XP Pro Do you have a Windows 2000 Pro CD? Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Win XP Pro Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Jun 26 07:12:20 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 26 Jun 2003 08:12:20 -0400 Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to me anyhow) Message-ID: I would like to apologize to everyone. I asked for help last week, and as usual I got it, but since then I have been "missing." There was a death in my family over the weekend and I have been attending to family business. I am back at work now, and ready to attack this Access problem. I would like to say, Thank you to everyone that responded to my plea for help. Everything points to the Vbe6.dll problem, although I have no 2002 apps loaded on my PC. I do have A2k and A97, but perhaps I have another program that uses this dll. This was my first time using A2k, which is about time, but I am just regretting it at the moment. Thanks again everyone! John W Clark From Mark.Mitsules at ngc.com Thu Jun 26 07:30:42 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 26 Jun 2003 08:30:42 -0400 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: Darren, This may get you started. Excel 2002 has a built-in template called "Loan Amortization.xlt" (IIRC earlier versions may have had this as well). More templates can be found here. http://officeupdate.microsoft.com/templategallery/ Mark -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 26, 2003 12:29 AM To: AccessD List Subject: [AccessD] WAY OT: Excel and percentages and stuff Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Jun 26 07:34:35 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 26 Jun 2003 08:34:35 -0400 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EF49@TTNEXCHSRV1.hshhp.com> And if you need to roll your own look at Excel's PMT function in Help. I don't have it handy but I have seen an example of this used in an amortization schedule. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Thursday, June 26, 2003 8:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] WAY OT: Excel and percentages and stuff Darren, This may get you started. Excel 2002 has a built-in template called "Loan Amortization.xlt" (IIRC earlier versions may have had this as well). More templates can be found here. http://officeupdate.microsoft.com/templategallery/ Mark -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 26, 2003 12:29 AM To: AccessD List Subject: [AccessD] WAY OT: Excel and percentages and stuff Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you 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 dfenton at ozemail.com.au Thu Jun 26 00:44:14 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Thu, 26 Jun 2003 15:44:14 +1000 Subject: [AccessD] Subqueries assistance please Message-ID: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 26 07:59:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Jun 2003 14:59:59 +0200 Subject: [AccessD] Subqueries assistance please In-Reply-To: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> References: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> Message-ID: <14126953477.20030626145959@cactus.dk> Hi David To put one query into another, look up the archives for "SQL in-line subquery" The easiest way to extract the value to a textbox is to use DLookup: =DLookUp("[Weeks]","[qdyYourCombinedQuery]") /gustav From accessd at shaw.ca Thu Jun 26 09:52:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 26 Jun 2003 07:52:03 -0700 Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to meanyhow) In-Reply-To: Message-ID: Hi John: Under the circumstances there is nothing to apologize for. I am sorry to hear of your loss. Please take any time that is necessary. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, June 26, 2003 5:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to meanyhow) I would like to apologize to everyone. I asked for help last week, and as usual I got it, but since then I have been "missing." There was a death in my family over the weekend and I have been attending to family business. I am back at work now, and ready to attack this Access problem. I would like to say, Thank you to everyone that responded to my plea for help. Everything points to the Vbe6.dll problem, although I have no 2002 apps loaded on my PC. I do have A2k and A97, but perhaps I have another program that uses this dll. This was my first time using A2k, which is about time, but I am just regretting it at the moment. Thanks again everyone! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 26 10:31:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 26 Jun 2003 11:31:32 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> Message-ID: Rocky, How'd the demo go last night at the SD AUG? I just sent you a fully functioning demo of the JIT with a form to time the difference between JIT and non JIT. On my system here (1.4ghz amd with 512 mb ram), the times for a form with about 4 subforms drawing data from a small movie database were: JIT - 86.7 ms non JIT - 170 ms These are very small simple forms so if your forms get very complex, the difference will be more startling. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Jun 26 11:23:53 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 10:23:53 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: Yesterday some users ran some automation code that creates Word instances in a loop and kills them after printing but it turns out that the printer was so slow that the number or Word instances increased to the point that the NT Terminal Server ran out of some kinds of resources and started giving spurious error messages about not finding a printer, being unable to install a printer and then User32.dll errors and path not found errors. One user was eventually unable to open any applications except that which was already open. An admin cleared the excess Word instances, as many as 18 that outran the printer, and then the user was able to work for a while. Ultimately, afflicted users logged right out and back in again as a precaution. After that, more and more users began to have problems and ultimately, no one was able to log in to the server. Before it all completely failed, an admin took a look at resource and there was plenty of memory and low processor usage and all unnecessary instances of applications were cleared yet every single person started getting the user32.dll error and, after logging out, was unable to log back in due to a time out even though the Terminal Server was on a local LAN. The admin was able to see that all users were out and no user applications were running but he also got a user32.dll error from which there was no recovery. An attempt to restart from Task Manager gave the same user32.dll errors and after 45 minutes of recovery attempts, it was finally decided to interrupt the power off the server. Ultimately Access automation code took full responsibility for the fiasco and the Terminal Server was blameless. I'm not desperate for solutions as code can revert to a single Word instance - multi Document with 20 second time delay approach that worked in the past. I could use help with code that pauses the Access automation while it waits for a print job to complete. So far I've dabbled with objWord.Options.PrintBackground = False objDoc.PrintOut Background:=False What gets me is the Admin view that the Access code is responsible for their inability to release resources that were some how used but didn't show up in any resource monitors or error logging. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Thu Jun 26 11:41:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 26 Jun 2003 11:41:24 -0500 Subject: [AccessD] OT: TS and Automation Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F35@main2.marlow.com> Where was the printer running from, was it on a print server. There is a known print server bug between NT 4.0 print servers and Windows 2000 machines. It causes a massive amount of connections, which exceeds NT 4.0's limit.....which doesn't really show up as memory or CPU resources, however, it completely blocks access to the print server (so if it is also a PDC or BDC, you just locked a lot of people out of the network) Drew -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Thursday, June 26, 2003 11:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: TS and Automation Yesterday some users ran some automation code that creates Word instances in a loop and kills them after printing but it turns out that the printer was so slow that the number or Word instances increased to the point that the NT Terminal Server ran out of some kinds of resources and started giving spurious error messages about not finding a printer, being unable to install a printer and then User32.dll errors and path not found errors. One user was eventually unable to open any applications except that which was already open. An admin cleared the excess Word instances, as many as 18 that outran the printer, and then the user was able to work for a while. Ultimately, afflicted users logged right out and back in again as a precaution. After that, more and more users began to have problems and ultimately, no one was able to log in to the server. Before it all completely failed, an admin took a look at resource and there was plenty of memory and low processor usage and all unnecessary instances of applications were cleared yet every single person started getting the user32.dll error and, after logging out, was unable to log back in due to a time out even though the Terminal Server was on a local LAN. The admin was able to see that all users were out and no user applications were running but he also got a user32.dll error from which there was no recovery. An attempt to restart from Task Manager gave the same user32.dll errors and after 45 minutes of recovery attempts, it was finally decided to interrupt the power off the server. Ultimately Access automation code took full responsibility for the fiasco and the Terminal Server was blameless. I'm not desperate for solutions as code can revert to a single Word instance - multi Document with 20 second time delay approach that worked in the past. I could use help with code that pauses the Access automation while it waits for a print job to complete. So far I've dabbled with objWord.Options.PrintBackground = False objDoc.PrintOut Background:=False What gets me is the Admin view that the Access code is responsible for their inability to release resources that were some how used but didn't show up in any resource monitors or error logging. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Jun 26 12:40:14 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 11:40:14 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: I don't really know this outfit's architecture. They have a file server and a terminal server, a good number of Win CE terminals at the site plus off site terminals and three Lexmark laser printers with NICs connected to the LAN. There is also a single workstation running Win2k that was idle at the time as well as two or three Win2k laptops which were doing whatever they do. I have no priveleges at this security conscious site so do not have access to the Pinters in Win Explorer for properites, print queues, control panel or any other information. They have had spontaneous Terminal server reboots when large graphics files were sent to the color laser in high resolution modes and it has also rebooted once when it was sent a batch of 80 Word documents in a quick loop. These spontaneous reboots have only started since they switched to a thin client environment. The resource crash was clearly instigated by the multiple Word instances since clearing them allowed users to continue working for a time. There is no doubt that printing has been an issue in recent months. Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] OT: TS and Automation >Date: Thu, 26 Jun 2003 11:41:24 -0500 > >Where was the printer running from, was it on a print server. There is a >known print server bug between NT 4.0 print servers and Windows 2000 >machines. It causes a massive amount of connections, which exceeds NT >4.0's >limit.....which doesn't really show up as memory or CPU resources, however, >it completely blocks access to the print server (so if it is also a PDC or >BDC, you just locked a lot of people out of the network) > >Drew > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Thursday, June 26, 2003 11:24 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: TS and Automation > > >Yesterday some users ran some automation code that creates Word instances >in > >a loop and kills them after printing but it turns out that the printer was >so slow that the number or Word instances increased to the point that the >NT > >Terminal Server ran out of some kinds of resources and started giving >spurious error messages about not finding a printer, being unable to >install > >a printer and then User32.dll errors and path not found errors. One user >was eventually unable to open any applications except that which was >already > >open. An admin cleared the excess Word instances, as many as 18 that >outran > >the printer, and then the user was able to work for a while. Ultimately, >afflicted users logged right out and back in again as a precaution. > >After that, more and more users began to have problems and ultimately, no >one was able to log in to the server. Before it all completely failed, an >admin took a look at resource and there was plenty of memory and low >processor usage and all unnecessary instances of applications were cleared >yet every single person started getting the user32.dll error and, after >logging out, was unable to log back in due to a time out even though the >Terminal Server was on a local LAN. The admin was able to see that all >users were out and no user applications were running but he also got a >user32.dll error from which there was no recovery. An attempt to restart >from Task Manager gave the same user32.dll errors and after 45 minutes of >recovery attempts, it was finally decided to interrupt the power off the >server. > >Ultimately Access automation code took full responsibility for the fiasco >and the Terminal Server was blameless. > >I'm not desperate for solutions as code can revert to a single Word >instance > >- multi Document with 20 second time delay approach that worked in the >past. > > I could use help with code that pauses the Access automation while it >waits for a print job to complete. So far I've dabbled with > > objWord.Options.PrintBackground = False > objDoc.PrintOut Background:=False > > >What gets me is the Admin view that the Access code is responsible for >their > >inability to release resources that were some how used but didn't show up >in > >any resource monitors or error logging. > >Hen > >_________________________________________________________________ >Tired of spam? Get advanced junk mail protection with MSN 8. >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bchacc at san.rr.com Thu Jun 26 12:48:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 26 Jun 2003 10:48:55 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <011201c33c0b$368664f0$6501a8c0@HAL9002> John: Demo went well, although the timer I was using didn't show really startling differences, I think they believed me (and you) that it's a good approach when you have multiple sub-forms on a tab form. The demo you sent me shows about a 2-to-1 advantage and I assume that the advantage becomes more pronounced as the underlying recordsets get larger. Thanks gain for all your help - especially the last-minute stuff. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Thursday, June 26, 2003 8:31 AM Subject: RE: [AccessD] Time in milliseconds Rocky, How'd the demo go last night at the SD AUG? I just sent you a fully functioning demo of the JIT with a form to time the difference between JIT and non JIT. On my system here (1.4ghz amd with 512 mb ram), the times for a form with about 4 subforms drawing data from a small movie database were: JIT - 86.7 ms non JIT - 170 ms These are very small simple forms so if your forms get very complex, the difference will be more startling. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ggonzalez at cccis.com Thu Jun 26 12:49:47 2003 From: ggonzalez at cccis.com (ggonzalez at cccis.com) Date: Thu, 26 Jun 2003 12:49:47 -0500 Subject: [AccessD] Creating Oracle tables Message-ID: Hello, all I am trying to migrate an access database to Oracle and I was wondering if there was a way of using the make table query function in Access to create the tables in Oracle. TIA Gumaro From martyconnelly at shaw.ca Thu Jun 26 14:02:27 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 12:02:27 -0700 Subject: [AccessD] OT: TS and Automation References: Message-ID: <3EFB4343.9040304@shaw.ca> You might be able to interrogate the printer statuses via winspool.drv depending on how hard they have locked it down. Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ (ByVal hPrinter As Long, _ ByVal JobId As Long, _ ByVal Level As Long, _ buffer As Long, _ ByVal pbSize As Long, _ pbSizeNeeded As Long) As Long Private Declare Function SetJob Lib "winspool.drv" Alias _ "SetJobA" (ByVal hPrinter As Long, _ ByVal JobId As Long, _ ByVal Level As Long, _ pJob As Long, _ ByVal Command As Long) As Long Public Enum PrintJobStatuses JOB_STATUS_PAUSED = &H1 JOB_STATUS_ERROR = &H2 JOB_STATUS_DELETING = &H4 JOB_STATUS_SPOOLING = &H8 JOB_STATUS_PRINTING = &H10 JOB_STATUS_OFFLINE = &H20 JOB_STATUS_PAPEROUT = &H40 JOB_STATUS_PRINTER = &H80 JOB_STATUS_DELETED = &H100 JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 JOB_STATUS_USER_INTERVENTION = &H400 JOB_STATUS_RESTART = &H800 End Enum Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Private Type JOB_INFO_1 JobId As Long lpPrinterName As String lpMachinename As String lpUserName As String lpDocumentName As String lpDataType As String lpStatus As String Status As PrintJobStatuses Priority As Long Position As Long TotalPages As Long PagesPrinted As Long Submitted As SYSTEMTIME End Type Private Type JOB_INFO_2 JobId As Long lpPrinterName As String lpMachinename As String lpUserName As String lpDocumentName As String lpNotifyName As String lpDataType As String lpPrintProcessor As String lpParameters As String lpDriverName As String lpDevMode As Long 'Pointer to DevMode lpStatus As String lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR Status As PrintJobStatuses Priority As Long Position As Long StartTime As Long UntilTime As Long TotalPages As Long JobSize As Long Submitted As SYSTEMTIME time As Long PagesPrinted As Long End Type '\\ Included in WINNT4 and beyond Private Type JOB_INFO_3 JobId As Long NextJobId As Long Reserved As Long 'must be set to zero End Type Henry Simpson wrote: > I don't really know this outfit's architecture. They have a file > server and a terminal server, a good number of Win CE terminals at the > site plus off site terminals and three Lexmark laser printers with > NICs connected to the LAN. There is also a single workstation running > Win2k that was idle at the time as well as two or three Win2k laptops > which were doing whatever they do. I have no priveleges at this > security conscious site so do not have access to the Pinters in Win > Explorer for properites, print queues, control panel or any other > information. They have had spontaneous Terminal server reboots when > large graphics files were sent to the color laser in high resolution > modes and it has also rebooted once when it was sent a batch of 80 > Word documents in a quick loop. These spontaneous reboots have only > started since they switched to a thin client environment. The > resource crash was clearly instigated by the multiple Word instances > since clearing them allowed users to continue working for a time. > There is no doubt that printing has been an issue in recent months. > > Hen > > >> From: Drew Wutka >> Reply-To: accessd at databaseadvisors.com >> To: "'accessd at databaseadvisors.com'" >> Subject: RE: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 11:41:24 -0500 >> >> Where was the printer running from, was it on a print server. There >> is a >> known print server bug between NT 4.0 print servers and Windows 2000 >> machines. It causes a massive amount of connections, which exceeds >> NT 4.0's >> limit.....which doesn't really show up as memory or CPU resources, >> however, >> it completely blocks access to the print server (so if it is also a >> PDC or >> BDC, you just locked a lot of people out of the network) >> >> Drew >> >> -----Original Message----- >> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >> Sent: Thursday, June 26, 2003 11:24 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] OT: TS and Automation >> >> >> Yesterday some users ran some automation code that creates Word >> instances in >> >> a loop and kills them after printing but it turns out that the >> printer was >> so slow that the number or Word instances increased to the point that >> the NT >> >> Terminal Server ran out of some kinds of resources and started giving >> spurious error messages about not finding a printer, being unable to >> install >> >> a printer and then User32.dll errors and path not found errors. One >> user >> was eventually unable to open any applications except that which was >> already >> >> open. An admin cleared the excess Word instances, as many as 18 that >> outran >> >> the printer, and then the user was able to work for a while. >> Ultimately, >> afflicted users logged right out and back in again as a precaution. >> >> After that, more and more users began to have problems and >> ultimately, no >> one was able to log in to the server. Before it all completely >> failed, an >> admin took a look at resource and there was plenty of memory and low >> processor usage and all unnecessary instances of applications were >> cleared >> yet every single person started getting the user32.dll error and, after >> logging out, was unable to log back in due to a time out even though the >> Terminal Server was on a local LAN. The admin was able to see that all >> users were out and no user applications were running but he also got a >> user32.dll error from which there was no recovery. An attempt to >> restart >> from Task Manager gave the same user32.dll errors and after 45 >> minutes of >> recovery attempts, it was finally decided to interrupt the power off the >> server. >> >> Ultimately Access automation code took full responsibility for the >> fiasco >> and the Terminal Server was blameless. >> >> I'm not desperate for solutions as code can revert to a single Word >> instance >> >> - multi Document with 20 second time delay approach that worked in >> the past. >> >> I could use help with code that pauses the Access automation while it >> waits for a print job to complete. So far I've dabbled with >> >> objWord.Options.PrintBackground = False >> objDoc.PrintOut Background:=False >> >> >> What gets me is the Admin view that the Access code is responsible >> for their >> >> inability to release resources that were some how used but didn't >> show up in >> >> any resource monitors or error logging. >> >> Hen >> >> _________________________________________________________________ >> Tired of spam? Get advanced junk mail protection with MSN 8. >> http://join.msn.com/?page=features/junkmail >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From keysolns at lantic.net Thu Jun 26 14:35:05 2003 From: keysolns at lantic.net (Gary Lockett) Date: Thu, 26 Jun 2003 21:35:05 +0200 Subject: [AccessD] Microsoft Works WDB Files Message-ID: <045901c33c1a$0c60e9c0$0101a8c0@office> Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa From hsimpson88 at hotmail.com Thu Jun 26 14:52:51 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 13:52:51 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: That will take a bit of work. I'll have to figure out how to retrieve a handle to a printer and identify specific print jobs etc. I'd been looking at: http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm option #2 which tells me to poll on an interval the Word object BackgroundPrintingStatus which returns the number of print jobs in the background printing queue and that would be adequate except: 'Generally, option#1 is safer, because Word can sometimes get a bit confused if asked to background print too many documents at once." And option #1 is to use ActiveDocument.Printout Background:=False which is supposed to pause automation driver code until Word completes printing. Unfortunately, the code appears to run over this line without hesitation. Even if the jobs are enqueued, it appears as though the number of jobs alone may overwhelm the server. If either approach can be made to work reliably I will safely be able to close Word or it's documents as they are finished and not overrun the server. I suppose I'll look at the api calls if a test run while most of the staff are out this long weekend flops. Thanks. Hen >From: MartyConnelly >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: TS and Automation >Date: Thu, 26 Jun 2003 12:02:27 -0700 > >You might be able to interrogate the printer statuses via winspool.drv >depending on how hard they have locked it down. > >Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ > (ByVal hPrinter As Long, _ > ByVal JobId As Long, _ > ByVal Level As Long, _ > buffer As Long, _ > ByVal pbSize As Long, _ > pbSizeNeeded As Long) As Long > >Private Declare Function SetJob Lib "winspool.drv" Alias _ > "SetJobA" (ByVal hPrinter As Long, _ > ByVal JobId As Long, _ > ByVal Level As Long, _ > pJob As Long, _ > ByVal Command As Long) As Long > > >Public Enum PrintJobStatuses > JOB_STATUS_PAUSED = &H1 > JOB_STATUS_ERROR = &H2 > JOB_STATUS_DELETING = &H4 > JOB_STATUS_SPOOLING = &H8 > JOB_STATUS_PRINTING = &H10 > JOB_STATUS_OFFLINE = &H20 > JOB_STATUS_PAPEROUT = &H40 > JOB_STATUS_PRINTER = &H80 > JOB_STATUS_DELETED = &H100 > JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 > JOB_STATUS_USER_INTERVENTION = &H400 > JOB_STATUS_RESTART = &H800 >End Enum > >Private Type SYSTEMTIME > wYear As Integer > wMonth As Integer > wDayOfWeek As Integer > wDay As Integer > wHour As Integer > wMinute As Integer > wSecond As Integer > wMilliseconds As Integer >End Type > >Private Type JOB_INFO_1 > JobId As Long > lpPrinterName As String > lpMachinename As String > lpUserName As String > lpDocumentName As String > lpDataType As String > lpStatus As String > Status As PrintJobStatuses > Priority As Long > Position As Long > TotalPages As Long > PagesPrinted As Long > Submitted As SYSTEMTIME >End Type > >Private Type JOB_INFO_2 > JobId As Long > lpPrinterName As String > lpMachinename As String > lpUserName As String > lpDocumentName As String > lpNotifyName As String > lpDataType As String > lpPrintProcessor As String > lpParameters As String > lpDriverName As String > lpDevMode As Long 'Pointer to DevMode > lpStatus As String > lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR > Status As PrintJobStatuses > Priority As Long > Position As Long > StartTime As Long > UntilTime As Long > TotalPages As Long > JobSize As Long > Submitted As SYSTEMTIME > time As Long > PagesPrinted As Long >End Type > >'\\ Included in WINNT4 and beyond >Private Type JOB_INFO_3 > JobId As Long > NextJobId As Long > Reserved As Long 'must be set to zero >End Type > >Henry Simpson wrote: > >>I don't really know this outfit's architecture. They have a file server >>and a terminal server, a good number of Win CE terminals at the site plus >>off site terminals and three Lexmark laser printers with NICs connected to >>the LAN. There is also a single workstation running Win2k that was idle >>at the time as well as two or three Win2k laptops which were doing >>whatever they do. I have no priveleges at this security conscious site so >>do not have access to the Pinters in Win Explorer for properites, print >>queues, control panel or any other information. They have had spontaneous >>Terminal server reboots when large graphics files were sent to the color >>laser in high resolution modes and it has also rebooted once when it was >>sent a batch of 80 Word documents in a quick loop. These spontaneous >>reboots have only started since they switched to a thin client >>environment. The resource crash was clearly instigated by the multiple >>Word instances since clearing them allowed users to continue working for a >>time. There is no doubt that printing has been an issue in recent months. >> >>Hen >> >> >>>From: Drew Wutka >>>Reply-To: accessd at databaseadvisors.com >>>To: "'accessd at databaseadvisors.com'" >>>Subject: RE: [AccessD] OT: TS and Automation >>>Date: Thu, 26 Jun 2003 11:41:24 -0500 >>> >>>Where was the printer running from, was it on a print server. There is a >>>known print server bug between NT 4.0 print servers and Windows 2000 >>>machines. It causes a massive amount of connections, which exceeds NT >>>4.0's >>>limit.....which doesn't really show up as memory or CPU resources, >>>however, >>>it completely blocks access to the print server (so if it is also a PDC >>>or >>>BDC, you just locked a lot of people out of the network) >>> >>>Drew >>> >>>-----Original Message----- >>>From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>Sent: Thursday, June 26, 2003 11:24 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] OT: TS and Automation >>> >>> >>>Yesterday some users ran some automation code that creates Word instances >>>in >>> >>>a loop and kills them after printing but it turns out that the printer >>>was >>>so slow that the number or Word instances increased to the point that the >>>NT >>> >>>Terminal Server ran out of some kinds of resources and started giving >>>spurious error messages about not finding a printer, being unable to >>>install >>> >>>a printer and then User32.dll errors and path not found errors. One user >>>was eventually unable to open any applications except that which was >>>already >>> >>>open. An admin cleared the excess Word instances, as many as 18 that >>>outran >>> >>>the printer, and then the user was able to work for a while. Ultimately, >>>afflicted users logged right out and back in again as a precaution. >>> >>>After that, more and more users began to have problems and ultimately, no >>>one was able to log in to the server. Before it all completely failed, >>>an >>>admin took a look at resource and there was plenty of memory and low >>>processor usage and all unnecessary instances of applications were >>>cleared >>>yet every single person started getting the user32.dll error and, after >>>logging out, was unable to log back in due to a time out even though the >>>Terminal Server was on a local LAN. The admin was able to see that all >>>users were out and no user applications were running but he also got a >>>user32.dll error from which there was no recovery. An attempt to restart >>>from Task Manager gave the same user32.dll errors and after 45 minutes of >>>recovery attempts, it was finally decided to interrupt the power off the >>>server. >>> >>>Ultimately Access automation code took full responsibility for the fiasco >>>and the Terminal Server was blameless. >>> >>>I'm not desperate for solutions as code can revert to a single Word >>>instance >>> >>>- multi Document with 20 second time delay approach that worked in the >>>past. >>> >>> I could use help with code that pauses the Access automation while it >>>waits for a print job to complete. So far I've dabbled with >>> >>> objWord.Options.PrintBackground = False >>> objDoc.PrintOut Background:=False >>> >>> >>>What gets me is the Admin view that the Access code is responsible for >>>their >>> >>>inability to release resources that were some how used but didn't show up >>>in >>> >>>any resource monitors or error logging. >>> >>>Hen >>> >>>_________________________________________________________________ >>>Tired of spam? Get advanced junk mail protection with MSN 8. >>>http://join.msn.com/?page=features/junkmail >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >> >> >>_________________________________________________________________ >>The new MSN 8: advanced junk mail protection and 2 months FREE* >>http://join.msn.com/?page=features/junkmail >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jimdettman at earthlink.net Thu Jun 26 15:04:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 26 Jun 2003 16:04:57 -0400 Subject: [AccessD] Microsoft Works WDB Files In-Reply-To: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: Gary, Have a look at this: HOW TO: Import a Works Database into Microsoft Access 2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;197894 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett Sent: Thursday, June 26, 2003 3:35 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Microsoft Works WDB Files Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 26 15:07:06 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 26 Jun 2003 16:07:06 -0400 Subject: [AccessD] Microsoft Works WDB Files In-Reply-To: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: Gary, BTW, that's probably no a big help as you don't have Works. I have it here and can convert to a dBase format for you if need be. You can do the rest. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett Sent: Thursday, June 26, 2003 3:35 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Microsoft Works WDB Files Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 26 18:45:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 16:45:47 -0700 Subject: [AccessD] Microsoft Works WDB Files References: Message-ID: <3EFB85AB.6040003@shaw.ca> Just watch the dates in MS Works, you can have things like Feb 31, 2003. There is not a lot of error checking in MS Works. Jim Dettman wrote: >Gary, > > Have a look at this: > >HOW TO: Import a Works Database into Microsoft Access 2000 >http://support.microsoft.com/default.aspx?scid=kb;en-us;197894 > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett >Sent: Thursday, June 26, 2003 3:35 PM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Microsoft Works WDB Files > > >Does anyone know how I can convert a WDB file from Microsoft Works into >Access 2000? I do not have Works myself, and have been given a number of >files that my client wants importing into Access. The next step will be for >me to develop and application that uses this information. Can this be done >without going back to the client and asking them to save it in another >format? > >Any help greatly appreciated. > >Gary Lockett >Key Solutions >Port Elizabeth >South Africa > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Thu Jun 26 18:51:51 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 16:51:51 -0700 Subject: [AccessD] OT: TS and Automation References: Message-ID: <3EFB8717.4080709@shaw.ca> Look at http://www.merrioncomputing.com/Programming/WatchPrinter.htm and Example 5 - Listing all the print jobs queued by a given user http://www.merrioncomputing.com/EventVB/Example6.html They started to write this for VB6 and switched to vb.net Henry Simpson wrote: > That will take a bit of work. I'll have to figure out how to retrieve > a handle to a printer and identify specific print jobs etc. > > I'd been looking at: > > http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm > > option #2 which tells me to poll on an interval the Word object > BackgroundPrintingStatus which returns the number of print jobs in the > background printing queue and that would be adequate except: > > 'Generally, option#1 is safer, because Word can sometimes get a bit > confused if asked to background print too many documents at once." > > And option #1 is to use ActiveDocument.Printout Background:=False > which is supposed to pause automation driver code until Word completes > printing. Unfortunately, the code appears to run over this line > without hesitation. Even if the jobs are enqueued, it appears as > though the number of jobs alone may overwhelm the server. If either > approach can be made to work reliably I will safely be able to close > Word or it's documents as they are finished and not overrun the server. > > I suppose I'll look at the api calls if a test run while most of the > staff are out this long weekend flops. Thanks. > > Hen > > > >> From: MartyConnelly >> Reply-To: accessd at databaseadvisors.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 12:02:27 -0700 >> >> You might be able to interrogate the printer statuses via >> winspool.drv depending on how hard they have locked it down. >> >> Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ >> (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> buffer As Long, _ >> ByVal pbSize As Long, _ >> pbSizeNeeded As Long) As Long >> >> Private Declare Function SetJob Lib "winspool.drv" Alias _ >> "SetJobA" (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> pJob As Long, _ >> ByVal Command As Long) As Long >> >> >> Public Enum PrintJobStatuses >> JOB_STATUS_PAUSED = &H1 >> JOB_STATUS_ERROR = &H2 >> JOB_STATUS_DELETING = &H4 >> JOB_STATUS_SPOOLING = &H8 >> JOB_STATUS_PRINTING = &H10 >> JOB_STATUS_OFFLINE = &H20 >> JOB_STATUS_PAPEROUT = &H40 >> JOB_STATUS_PRINTER = &H80 >> JOB_STATUS_DELETED = &H100 >> JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 >> JOB_STATUS_USER_INTERVENTION = &H400 >> JOB_STATUS_RESTART = &H800 >> End Enum >> >> Private Type SYSTEMTIME >> wYear As Integer >> wMonth As Integer >> wDayOfWeek As Integer >> wDay As Integer >> wHour As Integer >> wMinute As Integer >> wSecond As Integer >> wMilliseconds As Integer >> End Type >> >> Private Type JOB_INFO_1 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpDataType As String >> lpStatus As String >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> TotalPages As Long >> PagesPrinted As Long >> Submitted As SYSTEMTIME >> End Type >> >> Private Type JOB_INFO_2 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpNotifyName As String >> lpDataType As String >> lpPrintProcessor As String >> lpParameters As String >> lpDriverName As String >> lpDevMode As Long 'Pointer to DevMode >> lpStatus As String >> lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> StartTime As Long >> UntilTime As Long >> TotalPages As Long >> JobSize As Long >> Submitted As SYSTEMTIME >> time As Long >> PagesPrinted As Long >> End Type >> >> '\\ Included in WINNT4 and beyond >> Private Type JOB_INFO_3 >> JobId As Long >> NextJobId As Long >> Reserved As Long 'must be set to zero >> End Type >> >> Henry Simpson wrote: >> >>> I don't really know this outfit's architecture. They have a file >>> server and a terminal server, a good number of Win CE terminals at >>> the site plus off site terminals and three Lexmark laser printers >>> with NICs connected to the LAN. There is also a single workstation >>> running Win2k that was idle at the time as well as two or three >>> Win2k laptops which were doing whatever they do. I have no >>> priveleges at this security conscious site so do not have access to >>> the Pinters in Win Explorer for properites, print queues, control >>> panel or any other information. They have had spontaneous Terminal >>> server reboots when large graphics files were sent to the color >>> laser in high resolution modes and it has also rebooted once when it >>> was sent a batch of 80 Word documents in a quick loop. These >>> spontaneous reboots have only started since they switched to a thin >>> client environment. The resource crash was clearly instigated by >>> the multiple Word instances since clearing them allowed users to >>> continue working for a time. There is no doubt that printing has >>> been an issue in recent months. >>> >>> Hen >>> >>> >>>> From: Drew Wutka >>>> Reply-To: accessd at databaseadvisors.com >>>> To: "'accessd at databaseadvisors.com'" >>>> Subject: RE: [AccessD] OT: TS and Automation >>>> Date: Thu, 26 Jun 2003 11:41:24 -0500 >>>> >>>> Where was the printer running from, was it on a print server. >>>> There is a >>>> known print server bug between NT 4.0 print servers and Windows 2000 >>>> machines. It causes a massive amount of connections, which exceeds >>>> NT 4.0's >>>> limit.....which doesn't really show up as memory or CPU resources, >>>> however, >>>> it completely blocks access to the print server (so if it is also a >>>> PDC or >>>> BDC, you just locked a lot of people out of the network) >>>> >>>> Drew >>>> >>>> -----Original Message----- >>>> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>> Sent: Thursday, June 26, 2003 11:24 AM >>>> To: accessd at databaseadvisors.com >>>> Subject: [AccessD] OT: TS and Automation >>>> >>>> >>>> Yesterday some users ran some automation code that creates Word >>>> instances in >>>> >>>> a loop and kills them after printing but it turns out that the >>>> printer was >>>> so slow that the number or Word instances increased to the point >>>> that the NT >>>> >>>> Terminal Server ran out of some kinds of resources and started giving >>>> spurious error messages about not finding a printer, being unable >>>> to install >>>> >>>> a printer and then User32.dll errors and path not found errors. >>>> One user >>>> was eventually unable to open any applications except that which >>>> was already >>>> >>>> open. An admin cleared the excess Word instances, as many as 18 >>>> that outran >>>> >>>> the printer, and then the user was able to work for a while. >>>> Ultimately, >>>> afflicted users logged right out and back in again as a precaution. >>>> >>>> After that, more and more users began to have problems and >>>> ultimately, no >>>> one was able to log in to the server. Before it all completely >>>> failed, an >>>> admin took a look at resource and there was plenty of memory and low >>>> processor usage and all unnecessary instances of applications were >>>> cleared >>>> yet every single person started getting the user32.dll error and, >>>> after >>>> logging out, was unable to log back in due to a time out even >>>> though the >>>> Terminal Server was on a local LAN. The admin was able to see that >>>> all >>>> users were out and no user applications were running but he also got a >>>> user32.dll error from which there was no recovery. An attempt to >>>> restart >>>> from Task Manager gave the same user32.dll errors and after 45 >>>> minutes of >>>> recovery attempts, it was finally decided to interrupt the power >>>> off the >>>> server. >>>> >>>> Ultimately Access automation code took full responsibility for the >>>> fiasco >>>> and the Terminal Server was blameless. >>>> >>>> I'm not desperate for solutions as code can revert to a single Word >>>> instance >>>> >>>> - multi Document with 20 second time delay approach that worked in >>>> the past. >>>> >>>> I could use help with code that pauses the Access automation >>>> while it >>>> waits for a print job to complete. So far I've dabbled with >>>> >>>> objWord.Options.PrintBackground = False >>>> objDoc.PrintOut Background:=False >>>> >>>> >>>> What gets me is the Admin view that the Access code is responsible >>>> for their >>>> >>>> inability to release resources that were some how used but didn't >>>> show up in >>>> >>>> any resource monitors or error logging. >>>> >>>> Hen >>>> >>>> _________________________________________________________________ >>>> Tired of spam? Get advanced junk mail protection with MSN 8. >>>> http://join.msn.com/?page=features/junkmail >>>> >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> _________________________________________________________________ >>> The new MSN 8: advanced junk mail protection and 2 months FREE* >>> http://join.msn.com/?page=features/junkmail >>> >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From SDSSoftware at Optusnet.com.au Thu Jun 26 20:29:22 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 27 Jun 2003 11:29:22 +1000 Subject: [AccessD] Common dialog control Message-ID: <000c01c33c4b$89a520a0$54dd31d2@OfficePC> Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Thu Jun 26 21:03:11 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 26 Jun 2003 22:03:11 -0400 Subject: [AccessD] Common dialog control In-Reply-To: <000c01c33c4b$89a520a0$54dd31d2@OfficePC> Message-ID: <001601c33c50$479e6900$1f330cd8@hargrove.internal> Common dialog solution will work in a runtime environment. FileDialog solution will not work in a runtime environment. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Software Design & Solutions Pty Ltd. Sent: Thursday, June 26, 2003 9:29 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Thu Jun 26 21:00:25 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 27 Jun 2003 14:00:25 +1200 Subject: [AccessD] Common dialog control Message-ID: <70F3D727890C784291D8433E9C418F29038B5F@server.bondsoftware.co.nz> Common Dialog control works OK here in runtime on Access 2000. Stephen Bond Otatara, NZ -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 27 June 2003 1:29 p.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 26 21:48:38 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 27 Jun 2003 12:48:38 +1000 Subject: [AccessD] Common dialog control References: <70F3D727890C784291D8433E9C418F29038B5F@server.bondsoftware.co.nz> Message-ID: <003301c33c56$9c67acc0$54dd31d2@OfficePC> OK - thanks Stephen. Kath ----- Original Message ----- From: Stephen Bond To: accessd at databaseadvisors.com Sent: Friday, June 27, 2003 12:00 PM Subject: RE: [AccessD] Common dialog control Common Dialog control works OK here in runtime on Access 2000. Stephen Bond Otatara, NZ -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 27 June 2003 1:29 p.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Fri Jun 27 00:58:17 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 27 Jun 2003 07:58:17 +0200 Subject: [AccessD] OT: TS and Automation Message-ID: <104AB6116A2DD511A7580008C7097A98219954@AARDBEI> I believe you should check the word object for some posibilities if printing is done or not. You will have a hard time gooing to the spooler directly. You will have no guaranty wich printer/document you did print from that word instance. There must be some code to evaluate if word has finished printing or not. Check that that value in a loop with a doevents statement in Access. -----Oorspronkelijk bericht----- Van: MartyConnelly [mailto:martyconnelly at shaw.ca] Verzonden: vrijdag 27 juni 2003 1:52 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] OT: TS and Automation Look at http://www.merrioncomputing.com/Programming/WatchPrinter.htm and Example 5 - Listing all the print jobs queued by a given user http://www.merrioncomputing.com/EventVB/Example6.html They started to write this for VB6 and switched to vb.net Henry Simpson wrote: > That will take a bit of work. I'll have to figure out how to retrieve > a handle to a printer and identify specific print jobs etc. > > I'd been looking at: > > http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm > > option #2 which tells me to poll on an interval the Word object > BackgroundPrintingStatus which returns the number of print jobs in the > background printing queue and that would be adequate except: > > 'Generally, option#1 is safer, because Word can sometimes get a bit > confused if asked to background print too many documents at once." > > And option #1 is to use ActiveDocument.Printout Background:=False > which is supposed to pause automation driver code until Word completes > printing. Unfortunately, the code appears to run over this line > without hesitation. Even if the jobs are enqueued, it appears as > though the number of jobs alone may overwhelm the server. If either > approach can be made to work reliably I will safely be able to close > Word or it's documents as they are finished and not overrun the server. > > I suppose I'll look at the api calls if a test run while most of the > staff are out this long weekend flops. Thanks. > > Hen > > > >> From: MartyConnelly >> Reply-To: accessd at databaseadvisors.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 12:02:27 -0700 >> >> You might be able to interrogate the printer statuses via >> winspool.drv depending on how hard they have locked it down. >> >> Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ >> (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> buffer As Long, _ >> ByVal pbSize As Long, _ >> pbSizeNeeded As Long) As Long >> >> Private Declare Function SetJob Lib "winspool.drv" Alias _ >> "SetJobA" (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> pJob As Long, _ >> ByVal Command As Long) As Long >> >> >> Public Enum PrintJobStatuses >> JOB_STATUS_PAUSED = &H1 >> JOB_STATUS_ERROR = &H2 >> JOB_STATUS_DELETING = &H4 >> JOB_STATUS_SPOOLING = &H8 >> JOB_STATUS_PRINTING = &H10 >> JOB_STATUS_OFFLINE = &H20 >> JOB_STATUS_PAPEROUT = &H40 >> JOB_STATUS_PRINTER = &H80 >> JOB_STATUS_DELETED = &H100 >> JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 >> JOB_STATUS_USER_INTERVENTION = &H400 >> JOB_STATUS_RESTART = &H800 >> End Enum >> >> Private Type SYSTEMTIME >> wYear As Integer >> wMonth As Integer >> wDayOfWeek As Integer >> wDay As Integer >> wHour As Integer >> wMinute As Integer >> wSecond As Integer >> wMilliseconds As Integer >> End Type >> >> Private Type JOB_INFO_1 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpDataType As String >> lpStatus As String >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> TotalPages As Long >> PagesPrinted As Long >> Submitted As SYSTEMTIME >> End Type >> >> Private Type JOB_INFO_2 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpNotifyName As String >> lpDataType As String >> lpPrintProcessor As String >> lpParameters As String >> lpDriverName As String >> lpDevMode As Long 'Pointer to DevMode >> lpStatus As String >> lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> StartTime As Long >> UntilTime As Long >> TotalPages As Long >> JobSize As Long >> Submitted As SYSTEMTIME >> time As Long >> PagesPrinted As Long >> End Type >> >> '\\ Included in WINNT4 and beyond >> Private Type JOB_INFO_3 >> JobId As Long >> NextJobId As Long >> Reserved As Long 'must be set to zero >> End Type >> >> Henry Simpson wrote: >> >>> I don't really know this outfit's architecture. They have a file >>> server and a terminal server, a good number of Win CE terminals at >>> the site plus off site terminals and three Lexmark laser printers >>> with NICs connected to the LAN. There is also a single workstation >>> running Win2k that was idle at the time as well as two or three >>> Win2k laptops which were doing whatever they do. I have no >>> priveleges at this security conscious site so do not have access to >>> the Pinters in Win Explorer for properites, print queues, control >>> panel or any other information. They have had spontaneous Terminal >>> server reboots when large graphics files were sent to the color >>> laser in high resolution modes and it has also rebooted once when it >>> was sent a batch of 80 Word documents in a quick loop. These >>> spontaneous reboots have only started since they switched to a thin >>> client environment. The resource crash was clearly instigated by >>> the multiple Word instances since clearing them allowed users to >>> continue working for a time. There is no doubt that printing has >>> been an issue in recent months. >>> >>> Hen >>> >>> >>>> From: Drew Wutka >>>> Reply-To: accessd at databaseadvisors.com >>>> To: "'accessd at databaseadvisors.com'" >>>> Subject: RE: [AccessD] OT: TS and Automation >>>> Date: Thu, 26 Jun 2003 11:41:24 -0500 >>>> >>>> Where was the printer running from, was it on a print server. >>>> There is a >>>> known print server bug between NT 4.0 print servers and Windows 2000 >>>> machines. It causes a massive amount of connections, which exceeds >>>> NT 4.0's >>>> limit.....which doesn't really show up as memory or CPU resources, >>>> however, >>>> it completely blocks access to the print server (so if it is also a >>>> PDC or >>>> BDC, you just locked a lot of people out of the network) >>>> >>>> Drew >>>> >>>> -----Original Message----- >>>> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>> Sent: Thursday, June 26, 2003 11:24 AM >>>> To: accessd at databaseadvisors.com >>>> Subject: [AccessD] OT: TS and Automation >>>> >>>> >>>> Yesterday some users ran some automation code that creates Word >>>> instances in >>>> >>>> a loop and kills them after printing but it turns out that the >>>> printer was >>>> so slow that the number or Word instances increased to the point >>>> that the NT >>>> >>>> Terminal Server ran out of some kinds of resources and started >>>> giving spurious error messages about not finding a printer, being >>>> unable to install >>>> >>>> a printer and then User32.dll errors and path not found errors. >>>> One user >>>> was eventually unable to open any applications except that which >>>> was already >>>> >>>> open. An admin cleared the excess Word instances, as many as 18 >>>> that outran >>>> >>>> the printer, and then the user was able to work for a while. >>>> Ultimately, >>>> afflicted users logged right out and back in again as a precaution. >>>> >>>> After that, more and more users began to have problems and >>>> ultimately, no >>>> one was able to log in to the server. Before it all completely >>>> failed, an >>>> admin took a look at resource and there was plenty of memory and low >>>> processor usage and all unnecessary instances of applications were >>>> cleared >>>> yet every single person started getting the user32.dll error and, >>>> after >>>> logging out, was unable to log back in due to a time out even >>>> though the >>>> Terminal Server was on a local LAN. The admin was able to see that >>>> all >>>> users were out and no user applications were running but he also got a >>>> user32.dll error from which there was no recovery. An attempt to >>>> restart >>>> from Task Manager gave the same user32.dll errors and after 45 >>>> minutes of >>>> recovery attempts, it was finally decided to interrupt the power >>>> off the >>>> server. >>>> >>>> Ultimately Access automation code took full responsibility for the >>>> fiasco >>>> and the Terminal Server was blameless. >>>> >>>> I'm not desperate for solutions as code can revert to a single Word >>>> instance >>>> >>>> - multi Document with 20 second time delay approach that worked in >>>> the past. >>>> >>>> I could use help with code that pauses the Access automation >>>> while it >>>> waits for a print job to complete. So far I've dabbled with >>>> >>>> objWord.Options.PrintBackground = False >>>> objDoc.PrintOut Background:=False >>>> >>>> >>>> What gets me is the Admin view that the Access code is responsible >>>> for their >>>> >>>> inability to release resources that were some how used but didn't >>>> show up in >>>> >>>> any resource monitors or error logging. >>>> >>>> Hen >>>> >>>> _________________________________________________________________ >>>> Tired of spam? Get advanced junk mail protection with MSN 8. >>>> http://join.msn.com/?page=features/junkmail >>>> >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> _________________________________________________________________ >>> The new MSN 8: advanced junk mail protection and 2 months FREE* >>> http://join.msn.com/?page=features/junkmail >>> >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Jun 27 01:04:23 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 27 Jun 2003 08:04:23 +0200 Subject: [AccessD] Time in milliseconds Message-ID: <104AB6116A2DD511A7580008C7097A98219955@AARDBEI> I don't know the status today on clocks in pc's but you must realize that clocks in pc's are pretty lousy. >From what I last recalled, pc clocks are only accurate to 1/3 of a second. And pc clocks do tend to run back or forward. You can minimize this by dooing a NET SET TIME in the logon scipt of a windows network, thus setting pc clocks just every logon. You can use a atomic clock program on the server with internet access. If you really need millisecond accuracy, you will need to buy you a hardware atomic clock (radio based) to put in your or all computers. Depends on how accurate it must be. Erwin -----Oorspronkelijk bericht----- Van: John Colby [mailto:jcolby at colbyconsulting.com] Verzonden: donderdag 26 juni 2003 1:05 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alun.Garraway at otto.de Fri Jun 27 05:38:46 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 27 Jun 2003 12:38:46 +0200 Subject: [AccessD] Access Run Time? Message-ID: <73584FDFECAAD611956A0000D11F919F013008D6@ntovmail06.ov.otto.de> Hallo, the network bods are talking about installing the Access Run Time for "Normal" users, I have a few questions, about this & its implications for me. 1. does the run time have to be installed on every maschine in an NT-Network? 2. can all users open .MDBs without any problems when the run time is installed? (are there anythings that maybe won't work?) 3. are there anythings I have to watchout for when programing an mdb used in the run time envirnment? (for ex. can an error in code cause a crash?) TIA for any tips alun Alun Garraway IM-IT Sonderprojekte LBB-D1 Tel. (040) 64 61 5573 Fax (040) 64 64 5573 mailto:alun.garraway at otto.de From carbonnb at sympatico.ca Fri Jun 27 21:03:48 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:03:48 -0400 Subject: [AccessD] Ping Message-ID: <3EFCBF44.18199.2893361@localhost> Pinging -- Bryan Carbonnell - carbonnb at sympatico.ca Learn from the mistakes of others. You can't live long enough to make them all yourself. From carbonnb at sympatico.ca Fri Jun 27 21:16:48 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:16:48 -0400 Subject: [AccessD] Ping In-Reply-To: <3EFCBF44.18199.2893361@localhost> Message-ID: <3EFCC250.17766.2951935@localhost> On 27 Jun 2003 at 22:03, Bryan Carbonnell wrote: > Pinging I think we may be back. -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That to ignore the facts does not change the facts. From carbonnb at sympatico.ca Fri Jun 27 21:29:37 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:29:37 -0400 Subject: [AccessD] Ping Again Message-ID: <3EFCC551.29241.2A0D811@localhost> Ping. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. From carbonnb at sympatico.ca Fri Jun 27 21:34:27 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:34:27 -0400 Subject: [AccessD] We're back Message-ID: <3EFCC673.31805.2A543C6@localhost> It looks like we are back. If you sent an e-mails to any of the DBA lists today, you will need to resend them. Thanks for your understanding. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From carbonnb at sympatico.ca Fri Jun 27 21:29:37 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:29:37 -0400 Subject: [AccessD] [dba-SQLServer]Ping Again Message-ID: <3EFCC551.29241.2A0D811@localhost> Ping. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From dbcfour at triad.rr.com Fri Jun 27 22:03:58 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Fri, 27 Jun 2003 23:03:58 -0400 Subject: [AccessD] Thank you to Bryan Carbonnell In-Reply-To: <200306270601.h5R61Xg22121@databaseadvisors.com> Message-ID: <000001c33d21$f0de4720$1208a8c0@CookLT> For his help in getting the lists back up and running. Thank you again for all of your efforts on our behalf! Donna --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From martyconnelly at shaw.ca Fri Jun 27 23:55:45 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 27 Jun 2003 21:55:45 -0700 Subject: [AccessD] Time in milliseconds References: <104AB6116A2DD511A7580008C7097A98219955@AARDBEI> Message-ID: <3EFD1FD1.4040406@shaw.ca> You can use the QueryPerformanceCounter API, and it ticks 1,193,180 times per second on some machine. You can use the frequency call to determine the specific frequency for your machine That should get you well into the microsecond range of accuarcy. See http://www.xbeat.net/vbspeed/details.htm#How%20I%20Time This site has a lot of sample code for speed testing Private Declare Function QueryPerformanceCounter Lib "kernel32" ( _ lpPerformanceCount As Currency) As Long Private Declare Function QueryPerformanceFrequency Lib "kernel32" ( _ lpFrequency As Currency) As Long Erwin Craps wrote: > > I don't know the status today on clocks in pc's but you must realize > that clocks in pc's are pretty lousy. > From what I last recalled, pc clocks are only accurate to 1/3 of a second. > And pc clocks do tend to run back or forward. > > You can minimize this by dooing a NET SET TIME in the logon scipt of a > windows network, thus setting pc clocks just every logon. > You can use a atomic clock program on the server with internet access. > > If you really need millisecond accuracy, you will need to buy you a > hardware atomic clock (radio based) to put in your or all computers. > > Depends on how accurate it must be. > > Erwin > > > -----Oorspronkelijk bericht----- > Van: John Colby [mailto:jcolby at colbyconsulting.com] > Verzonden: donderdag 26 juni 2003 1:05 > Aan: accessd at databaseadvisors.com > Onderwerp: RE: [AccessD] Time in milliseconds > > You pasted the code into a module instead of a class? Or you saved > the class code to a name other than clsTimer. > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 25, 2003 6:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Time in milliseconds > > John: > > That looks real good. The time kind of got away from me so if I > don't get a reply right away I can go with what I've got. But > this would be better. > > I'm getting a compile error on > > Dim mclsTimer As clsTimer > > User defined type not defined. > > What have I left out? > > Best, > > Rocky > > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > > Sent: Wednesday, June 25, 2003 10:13 AM > Subject: RE: [AccessD] Time in milliseconds > > Rocky, > > Below is a modification to the TestTimer to time your form > opening / closing 10 times. Obviously replace the form > name(s) with your own. > > Option Compare Database > Option Explicit > Dim mclsTimer As clsTimer > > Function TestTimer() > Dim intLoopCnt As Integer > Set mclsTimer = New clsTimer > For intLoopCnt = 1 To 10 > DoCmd.OpenForm "frm_MoviesTab" > DoCmd.Close acForm, "frm_MoviesTab" > Next intLoopCnt > MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any > key to continue", , "TIMER TEST 1" > mclsTimer.StartTimer > For intLoopCnt = 1 To 10 > DoCmd.OpenForm "frm_MoviesTab" > DoCmd.Close acForm, "frm_MoviesTab" > Next intLoopCnt > MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any > key to continue", , "TIMER TEST 1" > Set mclsTimer = Nothing > End Function > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Wednesday, June 25, 2003 11:37 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Time in milliseconds > > John: > > Will it work across forms? > > I'm demonstrating your Just-In-Time forms at the AUGSD > tonight and since it's a single user box the difference in > opening time is hard to see, even though it's a factor of 2-4. > > I think I need to start my timing from the Main Menu Click > event that opens the form with the sub-forms in it, as > some of the processing of loading the sub-form's > recordsets goes on even before the called form's OnOpen > event. > > Best, > > Rocky > > > > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > > Sent: Wednesday, June 25, 2003 6:47 AM > Subject: RE: [AccessD] Time in milliseconds > > Rocky, > > Here is the class I use for timing things such as the > opening of forms and such, with a timer test function > you can place in a module to play around with the > class. Dead simple to use. > > The nice thing about using a class is that you can > have as many instances as you need timing various > stuff since the variable tracking elapsed time is > private to the class instance. > > Option Compare Database > Option Explicit > Dim mclsTimer As clsTimer > > Function TestTimer() > Set mclsTimer = New clsTimer > MsgBox "Hit any key to continue", , "TIMER TEST 1" > MsgBox mclsTimer.EndTimer & " ms elapsed time - > Hit any key to continue", , "TIMER TEST 1" > MsgBox mclsTimer.EndTimer & " ms total elapsed > time - Hit any key to continue", , "TIMER TEST 2" > mclsTimer.StartTimer > MsgBox "Hit any key to continue", , "TIMER TEST 3" > MsgBox mclsTimer.EndTimer() & " ms elapsed time", > , "TIMER TEST3" > Set mclsTimer = Nothing > End Function > > Option Compare Database > Option Explicit > '.=============================================================== > '.Copyright 2001 Colby Consulting. All rights reserved. > '.E-mail : jcolby at colbyconsulting.com > > '.=============================================================== > ' DO NOT DELETE THE COMMENTS ABOVE. All other > comments in this module > ' may be deleted from production code, but lines above > must remain. > '--------------------------------------------------------------------- > '.Description : Implements the instantiated class > for: clsTimer > '. > '.Written By : John W. Colby > '.Date Created : 05/28/2001 > ' Rev. History : > ' > ' Comments : > '--------------------------------------------------------------------- > '. > ' ADDITIONAL NOTES: > ' > '--------------------------------------------------------------------- > ' > ' INSTRUCTIONS: > '--------------------------------------------------------------------- > '. > 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO > THE CLASS > '*+ Class constant declaration > '*- Class constants declaration > > '*+ Class variables declarations > '*- Class variables declarations > > 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO > 'IMPLEMENT CLASS FUNCTIONALITY > Private Declare Function apiGetTime Lib "winmm.dll" _ > Alias > "timeGetTime" () As Long > '*+ custom constants declaration > '*- Custom constants declaration > > '*+ custom variables declarations > Dim lngStartTime As Long > '*- custom variables declarations > > 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS > '*+ Private Init/Terminate Interface > Private Sub Class_Initialize() > StartTimer > End Sub > '*- Public Init/Terminate interface > '*- Parent/Child links interface > 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS > FUNCTIONALITY > '*+Class function / sub declaration > Function EndTimer() As Long > EndTimer = apiGetTime() - lngStartTime > End Function > > Sub StartTimer() > lngStartTime = apiGetTime() > End Sub > Function RawTime() As Long > RawTime = apiGetTime() > End Function > '*-Class function / sub declaration > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Rocky Smolin - Beach Access Software > Sent: Tuesday, June 24, 2003 12:08 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Time in milliseconds > > Dear List: > > Is it possible to access/store/display the time in > increments smaller than seconds. I need to time > something in fractions of a second. > > MTIA > > Rocky > > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From Lembit.Soobik at t-online.de Sat Jun 28 02:57:35 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 09:57:35 +0200 Subject: [AccessD] Access Run Time? References: <73584FDFECAAD611956A0000D11F919F013008D6@ntovmail06.ov.otto.de> Message-ID: <0ebc01c33d4d$34f6c6f0$0300a8c0@S856> This is my test - sending the answer which did not get through and made me aware that something was wrong with the list. Alun, the runtime is installed with the application, not as separate thing when you have developed an Access Application, you convert the MDB to an MDE then you set up an installation package which will install everything you need to run the mde without an installed full Access software. to do this, you need to have the Developer edition of Access (or Office) If youo have this developer ecition, then you may sell/install as many Access Applications on machines without preinstalled Access or Office as you like.. you can run an MDB or an MDE on any machine that has full Access installed, however on machines which dont have full Access, you need to build the install package and install your application. this will not let you run just any MDB. Just the ones you install withthe runtime One thing I am presently not sure about (since it is many many years ago that I did this) is whether you need to convert to MDE or can use MDB as well with the runtime installation. During development you can test how your application behaves with runtime, I think you use /runtime in the commandline my experienc on all of this is with Access97 and prior. not using it now. I am sure there will some other listers correct me where I was wrong or add about newer versions Lembit Lembit Soobik ----- Original Message ----- From: "Garraway, Alun" To: "Access DatabaseAdvisors (E-Mail)" Sent: Friday, June 27, 2003 12:38 PM Subject: [AccessD] Access Run Time? > Hallo, > the network bods are talking about installing the Access Run Time for > "Normal" users, > I have a few questions, about this & its implications for me. > > 1. does the run time have to be installed on every maschine in an > NT-Network? > > 2. can all users open .MDBs without any problems when the run time is > installed? > (are there anythings that maybe won't work?) > > 3. are there anythings I have to watchout for when programing an mdb used in > the > run time envirnment? (for ex. can an error in code cause a crash?) > > TIA for any tips > alun > > > Alun Garraway > IM-IT Sonderprojekte LBB-D1 > Tel. (040) 64 61 5573 > Fax (040) 64 64 5573 > mailto:alun.garraway at otto.de > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Sat Jun 28 05:06:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 12:06:01 +0200 Subject: [AccessD] Thank you to Bryan Carbonnell References: <000001c33d21$f0de4720$1208a8c0@CookLT> Message-ID: <0ef601c33d5d$54fa0470$0300a8c0@S856> Yes, great job, Bryan, also great thank you for jumping right in and helping us (Bryan is also a developer in our BackEndUpgrader team) But lets not forget Donna she helped me right away to get the troubleshooting started and kept everything running when I was not available, worked long overtime to make up for the time she spent on this troubleshooting, and when I got up this morning, the list was working again Great job, all who helped thank you Lembit Lembit Soobik ----- Original Message ----- From: "Donna Cook" To: Sent: Saturday, June 28, 2003 5:03 AM Subject: [AccessD] Thank you to Bryan Carbonnell > > For his help in getting the lists back up and running. > > Thank you again for all of your efforts on our behalf! > > Donna > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Sat Jun 28 05:47:44 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 28 Jun 2003 12:47:44 +0200 Subject: [AccessD] Access Run Time? Message-ID: <104AB6116A2DD511A7580008C7097A9821995E@AARDBEI> Hi Some "fast out of the fist" tips... 1) You can install the runtime without an app. Download the limited runtime from MS. (smaller package without IE5). 2) You can run MDE and MDB. 3) Multiple things to watch out for. a) You need a user interface (menu). b) Lot of basic functionality is not available, most buttons are not present in runtime like filter, sort etc. c) you need error trapping in EVERY function/sub routine. Every error that is not covered by a error trapping results in Access terminating (crash). d) You will get reference problems. If you notice that basic funtions like date() are not working you have a broken refenrence. For example your app was build with a reference to word 10 and the client pc has word 9. solve it to reference by default to word 9. if you have word 10, it still works. e) I had problems with rowsource properties. For example if you have a listbox for which you change the rowsource (sqlstring) dynamicly from code. If you leave the properties (when saving the form) empty then your listbow will not work. A valid rowsource needs to be present on listboxes, etc.. f) watch out for controls. If you use controls like the calender control you need to install/register those to. This can be easely solved by using the package wizard in the developer kit. And a good advice. First try on one (not already contaminated) pc. I mean a pc that has no development software etc. A pc that represants the biggest part of your computerpark. Test all special stuff like word/outlook/excel connections etc. Watch out for calculated errors /date function not working. Take a look at all forms/reports where you use controls (like calendar control, gauge bars etc..). Hope this helps. Erwin -----Oorspronkelijk bericht----- Van: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Verzonden: zaterdag 28 juni 2003 9:58 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Access Run Time? This is my test - sending the answer which did not get through and made me aware that something was wrong with the list. Alun, the runtime is installed with the application, not as separate thing when you have developed an Access Application, you convert the MDB to an MDE then you set up an installation package which will install everything you need to run the mde without an installed full Access software. to do this, you need to have the Developer edition of Access (or Office) If youo have this developer ecition, then you may sell/install as many Access Applications on machines without preinstalled Access or Office as you like.. you can run an MDB or an MDE on any machine that has full Access installed, however on machines which dont have full Access, you need to build the install package and install your application. this will not let you run just any MDB. Just the ones you install withthe runtime One thing I am presently not sure about (since it is many many years ago that I did this) is whether you need to convert to MDE or can use MDB as well with the runtime installation. During development you can test how your application behaves with runtime, I think you use /runtime in the commandline my experienc on all of this is with Access97 and prior. not using it now. I am sure there will some other listers correct me where I was wrong or add about newer versions Lembit Lembit Soobik ----- Original Message ----- From: "Garraway, Alun" To: "Access DatabaseAdvisors (E-Mail)" Sent: Friday, June 27, 2003 12:38 PM Subject: [AccessD] Access Run Time? > Hallo, > the network bods are talking about installing the Access Run Time for > "Normal" users, I have a few questions, about this & its implications > for me. > > 1. does the run time have to be installed on every maschine in an > NT-Network? > > 2. can all users open .MDBs without any problems when the run time is > installed? > (are there anythings that maybe won't work?) > > 3. are there anythings I have to watchout for when programing an mdb > used in the > run time envirnment? (for ex. can an error in code cause a crash?) > > TIA for any tips > alun > > > Alun Garraway > IM-IT Sonderprojekte LBB-D1 > Tel. (040) 64 61 5573 > Fax (040) 64 64 5573 > mailto:alun.garraway at otto.de > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat Jun 28 07:02:20 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 28 Jun 2003 08:02:20 -0400 Subject: [AccessD] Microsoft Works WDB Files References: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: <3EFD83CC.9000708@torchlake.com> Trying this post once more - came back failed mail last time with message "user unknown" - very strange Hi Gary, Since Works databases are just flat files, they can be easily saved as dBase tables or comma-delimited text files. I've played around with NotePad and Word, to see how hard editing the Works database would be. It can be done. It is time-consuming. Easiest answer I see is to ask your client to save the files as dBase files. Works does that easily. Hope this helps, Tina Gary Lockett wrote: >Does anyone know how I can convert a WDB file from Microsoft Works into >Access 2000? I do not have Works myself, and have been given a number of >files that my client wants importing into Access. The next step will be for >me to develop and application that uses this information. Can this be done >without going back to the client and asking them to save it in another >format? > >Any help greatly appreciated. > >Gary Lockett >Key Solutions >Port Elizabeth >South Africa > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Lembit.Soobik at t-online.de Sat Jun 28 07:45:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 14:45:23 +0200 Subject: [AccessD] Microsoft Works WDB Files References: <045901c33c1a$0c60e9c0$0101a8c0@office> <3EFD83CC.9000708@torchlake.com> Message-ID: <0f3d01c33d73$2536fd40$0300a8c0@S856> Sorry, Tina, the list was down Lembit Soobik ----- Original Message ----- From: "Tina Norris Fields" To: Sent: Saturday, June 28, 2003 2:02 PM Subject: Re: [AccessD] Microsoft Works WDB Files > Trying this post once more - came back failed mail last time with > message "user unknown" - very strange > > Hi Gary, > > Since Works databases are just flat files, they can be easily saved as > dBase tables or comma-delimited text files. > > I've played around with NotePad and Word, to see how hard editing the > Works database would be. It can be done. It is time-consuming. > > Easiest answer I see is to ask your client to save the files as dBase > files. Works does that easily. > > Hope this helps, > Tina > > Gary Lockett wrote: > > >Does anyone know how I can convert a WDB file from Microsoft Works into > >Access 2000? I do not have Works myself, and have been given a number of > >files that my client wants importing into Access. The next step will be for > >me to develop and application that uses this information. Can this be done > >without going back to the client and asking them to save it in another > >format? > > > >Any help greatly appreciated. > > > >Gary Lockett > >Key Solutions > >Port Elizabeth > >South Africa > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Jun 28 08:34:44 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat, 28 Jun 2003 14:34:44 +0100 (BST) Subject: [AccessD] OT SQL In-Reply-To: <0f3d01c33d73$2536fd40$0300a8c0@S856> References: <045901c33c1a$0c60e9c0$0101a8c0@office> <3EFD83CC.9000708@torchlake.com> <0f3d01c33d73$2536fd40$0300a8c0@S856> Message-ID: <1056807284.3efd997438e57@hosea.qub.ac.uk> SELECT * FROM database.INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE Thats in SQL Server. Is there a similar statement which can return similar information using MYSQL?? Martin From jcolby at colbyconsulting.com Sat Jun 28 12:30:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:30:52 -0400 Subject: [AccessD] FW: Query SQL Message-ID: Guys, I have figured out how to get the query names from an external database using something like: SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); Which returns only stored queries where the name begins with QMM (mail merge queries in my system). I can place this sql (built up on-the-fly) into a rowsource of a combo box and voila, my user can select a query out in an external db. Now I need to get the field names from this same query to populate another combo. If the query were local to the database I could just place the query name itself into the combo row source and set the rowsource type to Field list, which is indeed what I was doing in the past. Since the query is now not local to the mail merge database (I'm turning it into a wizard) I have to figure out another way. The SQL thing above is cool because I don't have to use automation to get the query names. Does anyone know how to view the fields in a querydef using sql? I kind of figured it would be in one of the msys tables but no joy there. Eventually I will also have to actually execute the query out in the external db to get a dataset with which to do the mail merge but if I can get the sql I can also splice in the IN clause to do this without automation. John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Jun 28 12:40:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 28 Jun 2003 19:40:58 +0200 Subject: [AccessD] FW: Query SQL In-Reply-To: References: Message-ID: <1146951122.20030628194058@cactus.dk> Hi John You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate Workspace. Then you have direct access to all objects as in a frontend. /gustav > I have figured out how to get the query names from an external database > using something like: > SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE > (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); > Which returns only stored queries where the name begins with QMM (mail merge > queries in my system). I can place this sql (built up on-the-fly) into a > rowsource of a combo box and voila, my user can select a query out in an > external db. > Now I need to get the field names from this same query to populate another > combo. If the query were local to the database I could just place the query > name itself into the combo row source and set the rowsource type to Field > list, which is indeed what I was doing in the past. Since the query is now > not local to the mail merge database (I'm turning it into a wizard) I have > to figure out another way. The SQL thing above is cool because I don't have > to use automation to get the query names. Does anyone know how to view the > fields in a querydef using sql? I kind of figured it would be in one of the > msys tables but no joy there. > Eventually I will also have to actually execute the query out in the > external db to get a dataset with which to do the mail merge but if I can > get the sql I can also splice in the IN clause to do this without > automation. From jcolby at colbyconsulting.com Sat Jun 28 12:49:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:49:43 -0400 Subject: [AccessD] FW: Query SQL In-Reply-To: <1146951122.20030628194058@cactus.dk> Message-ID: Gustav, I would like to do that but the FE has a switchboard that opens when the FE opens. I need a way to open the FE without the switchboard opening. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, June 28, 2003 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Query SQL Hi John You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate Workspace. Then you have direct access to all objects as in a frontend. /gustav > I have figured out how to get the query names from an external database > using something like: > SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE > (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); > Which returns only stored queries where the name begins with QMM (mail merge > queries in my system). I can place this sql (built up on-the-fly) into a > rowsource of a combo box and voila, my user can select a query out in an > external db. > Now I need to get the field names from this same query to populate another > combo. If the query were local to the database I could just place the query > name itself into the combo row source and set the rowsource type to Field > list, which is indeed what I was doing in the past. Since the query is now > not local to the mail merge database (I'm turning it into a wizard) I have > to figure out another way. The SQL thing above is cool because I don't have > to use automation to get the query names. Does anyone know how to view the > fields in a querydef using sql? I kind of figured it would be in one of the > msys tables but no joy there. > Eventually I will also have to actually execute the query out in the > external db to get a dataset with which to do the mail merge but if I can > get the sql I can also splice in the IN clause to do this without > automation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Jun 28 12:50:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:50:39 -0400 Subject: [AccessD] Internet header Message-ID: Does anyone know how to get at the entire internet header information via visual basic? Is it a property of an object? I can't find it anywhere. John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Jun 28 13:04:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 28 Jun 2003 20:04:49 +0200 Subject: [AccessD] FW: Query SQL In-Reply-To: References: Message-ID: <1248381589.20030628200449@cactus.dk> Hi John Are you sure about this? Or are you thinking of opening the other db by shell'ing it? I never use the switchboard thing but I can't imagine it will open as a standalone app just by opening it in a workspace. /gustav > I would like to do that but the FE has a switchboard that opens when the FE > opens. I need a way to open the FE without the switchboard opening. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, June 28, 2003 1:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Query SQL > Hi John > You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate > Workspace. > Then you have direct access to all objects as in a frontend. > /gustav >> I have figured out how to get the query names from an external database >> using something like: >> SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE >> (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); >> Which returns only stored queries where the name begins with QMM (mail >> merge >> queries in my system). I can place this sql (built up on-the-fly) into a >> rowsource of a combo box and voila, my user can select a query out in an >> external db. >> Now I need to get the field names from this same query to populate another >> combo. If the query were local to the database I could just place the >> query >> name itself into the combo row source and set the rowsource type to Field >> list, which is indeed what I was doing in the past. Since the query is >> now >> not local to the mail merge database (I'm turning it into a wizard) I have >> to figure out another way. The SQL thing above is cool because I don't >> have >> to use automation to get the query names. Does anyone know how to view >> the >> fields in a querydef using sql? I kind of figured it would be in one of >> the msys tables but no joy there. >> Eventually I will also have to actually execute the query out in the >> external db to get a dataset with which to do the mail merge but if I can >> get the sql I can also splice in the IN clause to do this without >> automation. From doug at murphyscreativity.com Sat Jun 28 13:14:14 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 28 Jun 2003 11:14:14 -0700 Subject: [AccessD] Internet header In-Reply-To: Message-ID: <001101c33da1$14ba2b80$8500a8c0@CX615377a> John, Check out an article titled Win32 Internet HTTP Functions in Visual Basic in the MSDN Library. My printed copy does not have the url. It discusses using the WinInet control. Sorry I don't have any specific code. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, June 28, 2003 10:51 AM To: AccessD Subject: [AccessD] Internet header Does anyone know how to get at the entire internet header information via visual basic? Is it a property of an object? I can't find it anywhere. 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 caa at highway.com.br Sat Jun 28 13:49:56 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 28 Jun 2003 15:49:56 -0300 Subject: [AccessD] Office Ownership In-Reply-To: References: Message-ID: On Mon, 23 Jun 2003 08:14:51 -0700, Charlotte Foust wrote: > According to the EULA in the USA, it's legal. I wouldn't know about > Brazil. > > Charlotte Foust > > -----Original Message----- > From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June > 22, 2003 7:49 PM > To: AccessD List > Subject: [AccessD] Office Ownership > > > Dear members, > I would like to have your opinion on this subject: I own a single > license of MS Office 2000 Professional Ed and MS is going to make Office > 2003 available soon. Is it legal to buy an upgrade license and install > Office > > 2003 in a different folder (other than the current Microsoft Office > 2000) and retain both versions for daily use and Access development??? > TIA, Shame on MS Brazil - it's not possible here!!! :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From jcolby at colbyconsulting.com Sat Jun 28 14:19:31 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 15:19:31 -0400 Subject: [AccessD] FW: Query SQL In-Reply-To: <1248381589.20030628200449@cactus.dk> Message-ID: yep, i tried it already John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, June 28, 2003 2:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Query SQL Hi John Are you sure about this? Or are you thinking of opening the other db by shell'ing it? I never use the switchboard thing but I can't imagine it will open as a standalone app just by opening it in a workspace. /gustav > I would like to do that but the FE has a switchboard that opens when the FE > opens. I need a way to open the FE without the switchboard opening. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, June 28, 2003 1:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Query SQL > Hi John > You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate > Workspace. > Then you have direct access to all objects as in a frontend. > /gustav >> I have figured out how to get the query names from an external database >> using something like: >> SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE >> (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); >> Which returns only stored queries where the name begins with QMM (mail >> merge >> queries in my system). I can place this sql (built up on-the-fly) into a >> rowsource of a combo box and voila, my user can select a query out in an >> external db. >> Now I need to get the field names from this same query to populate another >> combo. If the query were local to the database I could just place the >> query >> name itself into the combo row source and set the rowsource type to Field >> list, which is indeed what I was doing in the past. Since the query is >> now >> not local to the mail merge database (I'm turning it into a wizard) I have >> to figure out another way. The SQL thing above is cool because I don't >> have >> to use automation to get the query names. Does anyone know how to view >> the >> fields in a querydef using sql? I kind of figured it would be in one of >> the msys tables but no joy there. >> Eventually I will also have to actually execute the query out in the >> external db to get a dataset with which to do the mail merge but if I can >> get the sql I can also splice in the IN clause to do this without >> automation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 28 16:26:55 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 28 Jun 2003 17:26:55 -0400 Subject: [AccessD] AutoNumbers in historical tables Message-ID: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. From jcolby at colbyconsulting.com Sat Jun 28 16:50:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 17:50:07 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> Message-ID: could you be a little more specific in your question? Do you mean in the destination (archive) table? In the source table? In fact I don't change either. You just have to be sure that you leave the latest record in the source table so that compact and repair doesn't reset the autonumber. In the destination it would be a good idea to change the PK autonumber to a regular long to avoid the issue of compact resetting the autonumber, though since the only data going in is the data from the source, it seems unnecessary in any case. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, June 28, 2003 5:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AutoNumbers in historical tables When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 28 17:44:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 28 Jun 2003 18:44:00 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <2c5101c33dc6$dd1cb190$214afccc@SusanOne> I didn't mean to send that -- completely disregard it -- it's a silly question after reviewing it. I was thinking about something related and just started at the wrong spot I think. Susan H. ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, June 28, 2003 5:50 PM Subject: RE: [AccessD] AutoNumbers in historical tables > could you be a little more specific in your question? Do you mean in the > destination (archive) table? In the source table? In fact I don't change > either. You just have to be sure that you leave the latest record in the > source table so that compact and repair doesn't reset the autonumber. In > the destination it would be a good idea to change the PK autonumber to a > regular long to avoid the issue of compact resetting the autonumber, though > since the only data going in is the data from the source, it seems > unnecessary in any case. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Sun Jun 29 01:27:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 08:27:42 +0200 Subject: [AccessD] Query SQL In-Reply-To: <1248381589.20030628200449@cactus.dk> References: <1248381589.20030628200449@cactus.dk> Message-ID: <1692422513.20030629082742@cactus.dk> Hi John > .. the FE has a switchboard that opens when the FE opens. > I need a way to open the FE without the switchboard opening. What strange thing causes this switchboard to open? I don't know of other options than either to open it from an autoexec macro or setting it to open in the start options. Anyway, this works for me: Dim wks As DAO.Workspace Dim dbs As DAO.Database Dim fld As DAO.Field Set wks = DBEngine(0) Set dbs = wks.OpenDatabase("x:\path\any.mdb") Debug.Print dbs.QueryDefs.Count For Each fld In dbs.QueryDefs(0).Fields Debug.Print fld.Type, fld.Name Next dbs.Close wks.Close Set fld = Nothing Set dbs = Nothing Set wks = Nothing Neither the startup form or the autoexec macro is launched by this. /gustav From dfenton at ozemail.com.au Sun Jun 29 06:18:41 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Sun, 29 Jun 2003 21:18:41 +1000 Subject: [AccessD] Subqueries assistance please - Solved... Message-ID: <5.2.0.9.0.20030629211223.022deb70@mail.ozemail.com.au> Hello Gustav, Thanks for your advice. Another list member sent me some advice on subqueries which I will use later. The Dlookup suggestion gave me an idea and I ended up solving it by doing a DSum directly to QUERY A, since that was the purpose of combining them - it summed the results of one field from Query A. The DSum worked perfectly... TotalHolidayWeeks = DSum("Weeks", "qryMyFirstQuery", strWhere) and I used strWhere = "tblCourseHolidays.CampusID= CampusID) AND ((tblCourseHolidays.StartDate)> #StartDate#) AND ((tblCourseHolidays.EndDate)<#EndDate#)); I was then able to pass the three parameters into a function and return only the Holiday weeks. Thank you to all who considered my plight and offered solutions. Cheers David ....................................................................................... Date: Thu, 26 Jun 2003 14:59:59 +0200 From: Gustav Brock Subject: Re: [AccessD] Subqueries assistance please To: accessd at databaseadvisors.com Message-ID: <14126953477.20030626145959 at cactus.dk> Content-Type: text/plain; charset=us-ascii Hi David To put one query into another, look up the archives for "SQL in-line subquery" The easiest way to extract the value to a textbox is to use DLookup: =DLookUp("[Weeks]","[qryYourCombinedQuery]") /gustav From dfenton at ozemail.com.au Sun Jun 29 06:28:22 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Sun, 29 Jun 2003 21:28:22 +1000 Subject: [AccessD] DSUM - full solution for those interested - RE: subquery assistance Message-ID: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sun Jun 29 07:14:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 14:14:54 +0200 Subject: [AccessD] DSUM - full solution for those interested - RE: subquery assistance In-Reply-To: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> References: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> Message-ID: <12323254287.20030629141454@cactus.dk> Hi David As you have specified datStartDate and datEndDate as date/time there should really be no reason to use Format() wrapped in crosses (#) as that just leaves you with the date/time value again. If StartDate and EndDate are names of date/time fields of the table, this should do as you compare date/time values with date/time values: strCriteria = "(CampusID=" & intCampus _ & ") AND (StartDate > " datStartDate & ") " _ & "AND (EndDate < " & datEnddate & ")" /gustav Public Function TotalHolidayWeeks(intCampus As Integer, datStartDate As Date, datEnddate As Date) As Integer 'Calculates the number of weeks holiday for a campus between two given dates Dim strCriteria As String strCriteria = "(CampusID=" & intCampus _ & ") AND ((StartDate) > #" & Format(datStartDate, "dd/mmm/yyyy") & "#) " _ & "AND ((EndDate) < #" & Format(datEnddate, "dd/mmm/yyyy") & "#)" TotalHolidayWeeks = Nz(DSum("Weeks", "tblCourseHolidays", strCriteria), 0) End Function From jcolby at colbyconsulting.com Sun Jun 29 07:51:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 29 Jun 2003 08:51:30 -0400 Subject: [AccessD] Query SQL In-Reply-To: <1692422513.20030629082742@cactus.dk> Message-ID: Gustav, That works great, thanks. I was using opencurrentdatabase instead of opendatabase. You da man! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, June 29, 2003 2:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query SQL Hi John > .. the FE has a switchboard that opens when the FE opens. > I need a way to open the FE without the switchboard opening. What strange thing causes this switchboard to open? I don't know of other options than either to open it from an autoexec macro or setting it to open in the start options. Anyway, this works for me: Dim wks As DAO.Workspace Dim dbs As DAO.Database Dim fld As DAO.Field Set wks = DBEngine(0) Set dbs = wks.OpenDatabase("x:\path\any.mdb") Debug.Print dbs.QueryDefs.Count For Each fld In dbs.QueryDefs(0).Fields Debug.Print fld.Type, fld.Name Next dbs.Close wks.Close Set fld = Nothing Set dbs = Nothing Set wks = Nothing Neither the startup form or the autoexec macro is launched by this. /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 Jun 29 08:25:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 15:25:42 +0200 Subject: [AccessD] Query SQL In-Reply-To: References: Message-ID: <14327502256.20030629152542@cactus.dk> Hi John OK - that explains. /gustav > That works great, thanks. I was using opencurrentdatabase instead of > opendatabase. From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 08:57:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 14:57:07 +0100 (BST) Subject: [AccessD] Classes In-Reply-To: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Message-ID: <1056895027.3efef03331a7e@hosea.qub.ac.uk> John or anyone (<: Can you define a static class? The following is a bit of C Sharp. Directory is termed a static class as it is not destroyed when the code stops. For info the full code is below. public string FileName; void Page_Load(Object sender, EventArgs e) { if (!IsPostBack) { //set directory and array Directory myDirectory; ArrayList values = new ArrayList(); //get files String [] files = Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); Martin <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> Tables From jcolby at colbyconsulting.com Sun Jun 29 09:02:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 29 Jun 2003 10:02:54 -0400 Subject: [AccessD] Classes In-Reply-To: <1056895027.3efef03331a7e@hosea.qub.ac.uk> Message-ID: Martin, I'm not the expert in this but my take is that a static class is one that you don't have to instantiate in order to use it's methods. If I had to guess, I'd say there is already an instance that the framework instantiates, and you are using it's methods. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Sunday, June 29, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Classes John or anyone (<: Can you define a static class? The following is a bit of C Sharp. Directory is termed a static class as it is not destroyed when the code stops. For info the full code is below. public string FileName; void Page_Load(Object sender, EventArgs e) { if (!IsPostBack) { //set directory and array Directory myDirectory; ArrayList values = new ArrayList(); //get files String [] files = Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); Martin <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> Tables _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 09:29:57 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 15:29:57 +0100 (BST) Subject: [AccessD] Classes In-Reply-To: References: Message-ID: <1056896997.3efef7e5497d4@hosea.qub.ac.uk> Thanks John That sounds resonable in this case as you dont instatiate the directory. Martin Quoting John Colby : > Martin, > > I'm not the expert in this but my take is that a static class is one > that > you don't have to instantiate in order to use it's methods. If I had > to > guess, I'd say there is already an instance that the framework > instantiates, > and you are using it's methods. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Mwp.Reid at Queens-Belfast.AC.UK > Sent: Sunday, June 29, 2003 9:57 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Classes > > > John or anyone (<: > > > Can you define a static class? The following is a bit of C Sharp. > Directory > is > termed a static class as it is not destroyed when the code stops. For > info > the > full code is below. > > public string FileName; > void Page_Load(Object sender, EventArgs e) { > if (!IsPostBack) > { > //set directory and array > Directory myDirectory; > ArrayList values = new ArrayList(); > //get files > String [] files = > Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); > > Martin > > > <%@ Import Namespace="System.Collections" %> > <%@ Import Namespace="System.IO" %> > <%@ Page Language="C#" ContentType="text/html" > ResponseEncoding="iso-8859-1" > %> > > > Tables > content="text/html; charset=iso-8859-1"> > > > > Font- > Name="Verdana" Font-Size="10" HorizontalAlign="Left" ID="table" > runat="server" > Width="300"> runat="server"> ID="tHeader1" runat="server" Text="File > Name"> > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Sun Jun 29 14:03:42 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 29 Jun 2003 15:03:42 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> Message-ID: Susan, Depends on how much tractability you need/want. Typically in a data mart, you don't touch any of the original data including the keys, meaning that you add a new key structure outside of any existing. Also depends a lot on how your DB is structured: natural or surrogate. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, June 28, 2003 5:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AutoNumbers in historical tables When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 14:39:56 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 20:39:56 +0100 (BST) Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: References: Message-ID: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Just out of interest why would you want to? Martin Quoting Jim Dettman : > Susan, > > Depends on how much tractability you need/want. Typically in a data > mart, > you don't touch any of the original data including the keys, meaning > that > you add a new key structure outside of any existing. > > Also depends a lot on how your DB is structured: natural or > surrogate. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a > Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sun Jun 29 16:54:42 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 29 Jun 2003 17:54:42 -0400 Subject: [AccessD] AutoNumbers in historical tables References: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Message-ID: <004901c33e89$0dcd35e0$edecffcc@SusanOne> You guys responded before seeing the ".... neveermind..." I was doing something else and I just started in the wrong spot -- once I went back I realized it was kind of a stupid question. Susan H. > Just out of interest why would you want to? > > Martin > > Quoting Jim Dettman : > > > Susan, > > > > Depends on how much tractability you need/want. Typically in a data > > mart, > > you don't touch any of the original data including the keys, meaning > > that > > you add a new key structure outside of any existing. > > > > Also depends a lot on how your DB is structured: natural or > > surrogate. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Saturday, June 28, 2003 5:27 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > When archiving historical data do you change an AutoNumber field to a > > Number > > field? Like to hear pros and cons on the subject. > > > > Susan H. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From paul.hartland at fsmail.net Mon Jun 30 03:19:11 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 8:19:11 +0000 Subject: [AccessD] SQL Server 7.0 (Stored Procedure Help) Message-ID: <20030630081911.BLRV25735.fep08-svc.ttys.com@localhost> To all, I have two tables on a SQL Server(7.0), one is called tblSingleAvailability and the other tblAvailabilityAll. What I need to do is append records from tblSingleAvailability into tblAvailabilityAll where they do not already exist, e.g. see below : tblSingleAvailability Payroll AvailCode JobDate Type 99999 A 01/01/02 2 99999 N 04/02/02 0 tblAvailabilityAll Payroll AvailCode JobDate Type 99999 A 01/01/02 0 99999 A 01/01/02 1 99999 A 01/01/02 2 99999 N 04/02/02 1 99999 N 04/02/02 2 So I just need to append the record 99999, N, 04/02/02, 0 into tblAvailabilityAll because it does not already exist. So I have the following SQL Stored Procedure, can anyeon see where I am going wrong as it times out whilst trying to run this. CREATE PROCEDURE [genesis_insert_tblAvailabilityAll] AS INSERT INTO tblAvailabilityAll (PayrollNo, JobDate, AvailabilityCode, Type) SELECT PayrollNo, JobDate, AvailabilityCode, Type FROM tblSingleAvailability WHERE NOT EXISTS(SELECT PayrollNo, JobDate, AvailabilityCode,Type FROM tblAvailabilityAll WHERE (tblSingleAvailability.PayrollNo = tblAvailabilityAll.PayrollNo AND tblSingleAvailability.JobDate = tblAvailabilityAll.JobDate AND tblSingleAvailability.Type = tblAvailabilityAll.Type)) Any help appreciated thanks...... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 30 03:19:11 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 8:19:11 +0000 Subject: [AccessD] [dba-SQLServer]SQL Server 7.0 (Stored Procedure Help) Message-ID: <20030630081911.BLRV25735.fep08-svc.ttys.com@localhost> To all, I have two tables on a SQL Server(7.0), one is called tblSingleAvailability and the other tblAvailabilityAll. What I need to do is append records from tblSingleAvailability into tblAvailabilityAll where they do not already exist, e.g. see below : tblSingleAvailability Payroll AvailCode JobDate Type 99999 A 01/01/02 2 99999 N 04/02/02 0 tblAvailabilityAll Payroll AvailCode JobDate Type 99999 A 01/01/02 0 99999 A 01/01/02 1 99999 A 01/01/02 2 99999 N 04/02/02 1 99999 N 04/02/02 2 So I just need to append the record 99999, N, 04/02/02, 0 into tblAvailabilityAll because it does not already exist. So I have the following SQL Stored Procedure, can anyeon see where I am going wrong as it times out whilst trying to run this. CREATE PROCEDURE [genesis_insert_tblAvailabilityAll] AS INSERT INTO tblAvailabilityAll (PayrollNo, JobDate, AvailabilityCode, Type) SELECT PayrollNo, JobDate, AvailabilityCode, Type FROM tblSingleAvailability WHERE NOT EXISTS(SELECT PayrollNo, JobDate, AvailabilityCode,Type FROM tblAvailabilityAll WHERE (tblSingleAvailability.PayrollNo = tblAvailabilityAll.PayrollNo AND tblSingleAvailability.JobDate = tblAvailabilityAll.JobDate AND tblSingleAvailability.Type = tblAvailabilityAll.Type)) Any help appreciated thanks...... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 30 04:27:35 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 9:27:35 +0000 Subject: [AccessD] Sent Wrong Info Regarding Stored Procedure help URGENT. Message-ID: <20030630092735.JKIT5167.fep04-svc.ttys.com@localhost> To all, I have two tables tblAvailabilityAll and tblAvailabilityCodes, in tblAvailabilityAll I have a payroll number, availability code (A, N, S or H) and a jobdate, in tblAvailabilityCodes I have an availability code and a corresponding number i.e Code Number A 1 N 2 S 3 H 4 I have a VB6 form with an employees details on, and when a finish date is entered I need to convert the availability code in tblAvailabilityAll to the corresponding number in tblAvailabilityCodes. I have the following stored procedure (this is the one thats timing out, not the on in the previous email). CREATE PROCEDURE [genesis_update_AvailabilityCode] ( @Payroll_1 [nvarchar] (25), @MyDate_2 [datetime] ) AS UPDATE [Genesis].[dbo].[tblAvailabilityAll] SET AvailabilityCode = tblAvailabilityCodes.CancelledAvailabilityCode FROM tblAvailabilityAll INNER JOIN tblAvailabilityCodes ON AvailabilityCode = tblAvailabilityCodes.LiveAvailabilityCode WHERE (tblAvailabilityAll.PayrollNo = @Payroll_1 AND tblAvailabilityAll.JobDate >= @MyDate_2) can anyone see where the stored procedure may be going wrong......I could really do with some urgent help on this... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 30 04:27:35 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 9:27:35 +0000 Subject: [AccessD] [dba-SQLServer] Sent Wrong Info Regarding Stored Procedure help URGENT. Message-ID: <20030630092735.JKIT5167.fep04-svc.ttys.com@localhost> To all, I have two tables tblAvailabilityAll and tblAvailabilityCodes, in tblAvailabilityAll I have a payroll number, availability code (A, N, S or H) and a jobdate, in tblAvailabilityCodes I have an availability code and a corresponding number i.e Code Number A 1 N 2 S 3 H 4 I have a VB6 form with an employees details on, and when a finish date is entered I need to convert the availability code in tblAvailabilityAll to the corresponding number in tblAvailabilityCodes. I have the following stored procedure (this is the one thats timing out, not the on in the previous email). CREATE PROCEDURE [genesis_update_AvailabilityCode] ( @Payroll_1 [nvarchar] (25), @MyDate_2 [datetime] ) AS UPDATE [Genesis].[dbo].[tblAvailabilityAll] SET AvailabilityCode = tblAvailabilityCodes.CancelledAvailabilityCode FROM tblAvailabilityAll INNER JOIN tblAvailabilityCodes ON AvailabilityCode = tblAvailabilityCodes.LiveAvailabilityCode WHERE (tblAvailabilityAll.PayrollNo = @Payroll_1 AND tblAvailabilityAll.JobDate >= @MyDate_2) can anyone see where the stored procedure may be going wrong......I could really do with some urgent help on this... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 30 08:20:50 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 30 Jun 2003 09:20:50 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Message-ID: Martin, The reasons are varied, but in general, your trying to take a snapshot of the way the data existed. This includes not only the entities themselves, but the relationships as well. From a very purist point of view, that means not modifying the data in any way. For example; capturing an image of a hard disk for a criminal investigation. You must make a copy that is bit for bit identical to the original. The process of copying cannot have the potential to introduce errors or it will get tossed in court. Doesn't matter if the process did or didn't introduce errors, just that the possibility exists or not. IP tunneling is another example where the original packet of data cannot be touched, so it gets encapsulated. It's a very general concept that is applied in many situations. Then there are all the reasons why most relational systems today have gravitated towards the use of surrogate keys; isolation from the data, performance, decreased storage requirements, etc. These get to be critical when talking about large data marts/warehouses in the Tera/Peta byte range. Isolation from the data is an important one as the data mart may span a considerable time period. Some things that might happen: 1. Production DB keys might possibly be reused through normal operations. 2. Production DB may re-use keys even though it is not supposed to. 3. An entities attributes may change through time, but it's key may not. 4. Key formats in a production system may change. 5. Acquisition of another company may yield a situation where key sequences conflict or keys are of a different type. Some of these things are only valid if the existing system uses natural or surrogate keys. Some apply to both. As I said the reasons are varied. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Sunday, June 29, 2003 3:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AutoNumbers in historical tables Just out of interest why would you want to? Martin Quoting Jim Dettman : > Susan, > > Depends on how much tractability you need/want. Typically in a data > mart, > you don't touch any of the original data including the keys, meaning > that > you add a new key structure outside of any existing. > > Also depends a lot on how your DB is structured: natural or > surrogate. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a > Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 30 08:59:06 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 09:59:06 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <005101c33f0f$cd438740$1f4afccc@SusanOne> You present an interesting situation. Supposing you were required to preserve the Autonumber -- how would you go about appending records as you archive -- you couldn't I'm guessing -- would you archive to new tables each time? What a mess. In addition, if you were trying to archive records from similar but different databases and you had conflicting AutoNumbers, what would you do? In the latter case, I'd say you could simply add a new AutoNumber to the historical table and work from that value instead of the original, but still, sounds like it could lead to a lot of confusion and maybe problems. I hadn't really considered either possibility. Susan H. > Martin, > > The reasons are varied, but in general, your trying to take a snapshot of > the way the data existed. This includes not only the entities themselves, > but the relationships as well. From a very purist point of view, that means > not modifying the data in any way. For example; capturing an image of a > hard disk for a criminal investigation. You must make a copy that is bit > for bit identical to the original. The process of copying cannot have the > potential to introduce errors or it will get tossed in court. Doesn't > matter if the process did or didn't introduce errors, just that the > possibility exists or not. IP tunneling is another example where the > original packet of data cannot be touched, so it gets encapsulated. It's a > very general concept that is applied in many situations. > > Then there are all the reasons why most relational systems today have > gravitated towards the use of surrogate keys; isolation from the data, > performance, decreased storage requirements, etc. These get to be critical > when talking about large data marts/warehouses in the Tera/Peta byte range. > > Isolation from the data is an important one as the data mart may span a > considerable time period. Some things that might happen: > > 1. Production DB keys might possibly be reused through normal operations. > 2. Production DB may re-use keys even though it is not supposed to. > 3. An entities attributes may change through time, but it's key may not. > 4. Key formats in a production system may change. > 5. Acquisition of another company may yield a situation where key sequences > conflict or keys are of a different type. > > > Some of these things are only valid if the existing system uses natural or > surrogate keys. Some apply to both. As I said the reasons are varied. > > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Mwp.Reid at Queens-Belfast.AC.UK > Sent: Sunday, June 29, 2003 3:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AutoNumbers in historical tables > > > Just out of interest why would you want to? > > Martin > > Quoting Jim Dettman : > > > Susan, > > > > Depends on how much tractability you need/want. Typically in a data > > mart, > > you don't touch any of the original data including the keys, meaning > > that > > you add a new key structure outside of any existing. > > > > Also depends a lot on how your DB is structured: natural or > > surrogate. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Saturday, June 28, 2003 5:27 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > When archiving historical data do you change an AutoNumber field to a > > Number > > field? Like to hear pros and cons on the subject. > > > > Susan H. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwp.reid at qub.ac.uk Mon Jun 30 08:44:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 30 Jun 2003 14:44:19 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <4742053900.20030624192507@cactus.dk> Message-ID: <00a001c33f0d$b4dc3140$9111758f@aine> Test message. No email from this morning Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, June 24, 2003 6:25 PM Subject: Re: [AccessD] SQL Question > Hi Martin > > > Have two tables > > > Table A Contains staff data, Name etc > > Table B contains contact data > > > Results of join as expected > > > Staff Member A Telephone Number 1 > > Staff Member A Telephone Number 2 > > Staff Member A Telephone Number 3 > > > And so on > > > What I need to do is to flatten this out and create a single table > > > Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc > > Staff Member B Phone Number 1 Phone Number 2 > > > We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. > > > Need this to work in Access and SQL Server 2000 > > For Access you'll have to write a function which for each Staff record > loops through the Contact records. > Here's an example of the essential part (taken from a report, thus > you'll have to modify it for writing/updating a table but you'll sure > get the picture). The ID is lngID: > > > > strSQL = vbNullString > strSQL = strSQL + "SELECT Phone " > strSQL = strSQL + "FROM tblContacts " > strSQL = strSQL + "WHERE (ID = " & lngID & ") " > strSQL = strSQL + "ORDER BY Phone;" > Set rst = dbs.OpenRecordset(strSQL) > > If rst.RecordCount = 0 Then > ' Should not happen. > Else > ' Count records. > lngRecords = rst.RecordCount > rst.MoveFirst > If lngRecords = 1 Then > strPhone = "Telephone number: " > Else > strPhone = "Telephone numbers: " > End If > For lngLoop = 1 To lngRecords > ' Build line with phone numbers. > strPhone = strPhone & rst!Phone > If lngLoop = lngRecords Then > strPhone = strPhone & "." > Else > strPhone = strPhone & ", " > End If > rst.MoveNext > Next lngLoop > End If > > rst.Close > Set rst = Nothing > Set dbs = Nothing > > strPhoneNumbers = strPhone > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Mon Jun 30 09:04:19 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 09:04:19 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BE66@corp-es00> Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 30 09:34:47 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 08:34:47 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: You can set an autonumber field to any valid numeric value that doesn't pre-exist regardless of what the next number would otherwise be. Multiple conflicting numbers would have to be preserved in separate tables or it wouldn't be an accurate history. If you wanted to have a master reconcilliation, that would no longer be historical and there would be no point in keeping a unque index on the autonumber field. Hen >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 09:59:06 -0400 > >You present an interesting situation. Supposing you were required to >preserve the Autonumber -- how would you go about appending records as you >archive -- you couldn't I'm guessing -- would you archive to new tables >each >time? What a mess. In addition, if you were trying to archive records from >similar but different databases and you had conflicting AutoNumbers, what >would you do? In the latter case, I'd say you could simply add a new >AutoNumber to the historical table and work from that value instead of the >original, but still, sounds like it could lead to a lot of confusion and >maybe problems. I hadn't really considered either possibility. > >Susan H. > > > > Martin, > > > > The reasons are varied, but in general, your trying to take a snapshot >of > > the way the data existed. This includes not only the entities >themselves, > > but the relationships as well. From a very purist point of view, that >means > > not modifying the data in any way. For example; capturing an image of a > > hard disk for a criminal investigation. You must make a copy that is >bit > > for bit identical to the original. The process of copying cannot have >the > > potential to introduce errors or it will get tossed in court. Doesn't > > matter if the process did or didn't introduce errors, just that the > > possibility exists or not. IP tunneling is another example where the > > original packet of data cannot be touched, so it gets encapsulated. >It's >a > > very general concept that is applied in many situations. > > > > Then there are all the reasons why most relational systems today have > > gravitated towards the use of surrogate keys; isolation from the data, > > performance, decreased storage requirements, etc. These get to be >critical > > when talking about large data marts/warehouses in the Tera/Peta byte >range. > > > > Isolation from the data is an important one as the data mart may span >a > > considerable time period. Some things that might happen: > > > > 1. Production DB keys might possibly be reused through normal >operations. > > 2. Production DB may re-use keys even though it is not supposed to. > > 3. An entities attributes may change through time, but it's key may not. > > 4. Key formats in a production system may change. > > 5. Acquisition of another company may yield a situation where key >sequences > > conflict or keys are of a different type. > > > > > > Some of these things are only valid if the existing system uses >natural >or > > surrogate keys. Some apply to both. As I said the reasons are varied. > > > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Mwp.Reid at Queens-Belfast.AC.UK > > Sent: Sunday, June 29, 2003 3:40 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AutoNumbers in historical tables > > > > > > Just out of interest why would you want to? > > > > Martin > > > > Quoting Jim Dettman : > > > > > Susan, > > > > > > Depends on how much tractability you need/want. Typically in a data > > > mart, > > > you don't touch any of the original data including the keys, meaning > > > that > > > you add a new key structure outside of any existing. > > > > > > Also depends a lot on how your DB is structured: natural or > > > surrogate. > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > Sent: Saturday, June 28, 2003 5:27 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > > > > When archiving historical data do you change an AutoNumber field to a > > > Number > > > field? Like to hear pros and cons on the subject. > > > > > > Susan H. > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From harkins at iglou.com Mon Jun 30 09:46:47 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 10:46:47 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00a701c33f16$70274cc0$1f4afccc@SusanOne> > You can set an autonumber field to any valid numeric value that doesn't > pre-exist regardless of what the next number would otherwise be. Multiple > conflicting numbers would have to be preserved in separate tables or it > wouldn't be an accurate history. If you wanted to have a master > reconcilliation, that would no longer be historical and there would be no > point in keeping a unque index on the autonumber field. ==========But how would you interact with those different tables -- I mean -- if you had 3 historical tables and they all had a primary key value of 342, how would your application know which was the right record? Susan H. From jcolby at colbyconsulting.com Mon Jun 30 09:54:13 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 10:54:13 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: Message-ID: Remember though that the autonumber will continue from the last autonumber copied into the table, so if you do a restore you MUST go get the last number, add 1 to it, and insert a fake record with that number, then delete that fake record back out. At least that is how I handle it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Monday, June 30, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AutoNumbers in historical tables You can set an autonumber field to any valid numeric value that doesn't pre-exist regardless of what the next number would otherwise be. Multiple conflicting numbers would have to be preserved in separate tables or it wouldn't be an accurate history. If you wanted to have a master reconcilliation, that would no longer be historical and there would be no point in keeping a unque index on the autonumber field. Hen >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 09:59:06 -0400 > >You present an interesting situation. Supposing you were required to >preserve the Autonumber -- how would you go about appending records as you >archive -- you couldn't I'm guessing -- would you archive to new tables >each >time? What a mess. In addition, if you were trying to archive records from >similar but different databases and you had conflicting AutoNumbers, what >would you do? In the latter case, I'd say you could simply add a new >AutoNumber to the historical table and work from that value instead of the >original, but still, sounds like it could lead to a lot of confusion and >maybe problems. I hadn't really considered either possibility. > >Susan H. > > > > Martin, > > > > The reasons are varied, but in general, your trying to take a snapshot >of > > the way the data existed. This includes not only the entities >themselves, > > but the relationships as well. From a very purist point of view, that >means > > not modifying the data in any way. For example; capturing an image of a > > hard disk for a criminal investigation. You must make a copy that is >bit > > for bit identical to the original. The process of copying cannot have >the > > potential to introduce errors or it will get tossed in court. Doesn't > > matter if the process did or didn't introduce errors, just that the > > possibility exists or not. IP tunneling is another example where the > > original packet of data cannot be touched, so it gets encapsulated. >It's >a > > very general concept that is applied in many situations. > > > > Then there are all the reasons why most relational systems today have > > gravitated towards the use of surrogate keys; isolation from the data, > > performance, decreased storage requirements, etc. These get to be >critical > > when talking about large data marts/warehouses in the Tera/Peta byte >range. > > > > Isolation from the data is an important one as the data mart may span >a > > considerable time period. Some things that might happen: > > > > 1. Production DB keys might possibly be reused through normal >operations. > > 2. Production DB may re-use keys even though it is not supposed to. > > 3. An entities attributes may change through time, but it's key may not. > > 4. Key formats in a production system may change. > > 5. Acquisition of another company may yield a situation where key >sequences > > conflict or keys are of a different type. > > > > > > Some of these things are only valid if the existing system uses >natural >or > > surrogate keys. Some apply to both. As I said the reasons are varied. > > > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Mwp.Reid at Queens-Belfast.AC.UK > > Sent: Sunday, June 29, 2003 3:40 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AutoNumbers in historical tables > > > > > > Just out of interest why would you want to? > > > > Martin > > > > Quoting Jim Dettman : > > > > > Susan, > > > > > > Depends on how much tractability you need/want. Typically in a data > > > mart, > > > you don't touch any of the original data including the keys, meaning > > > that > > > you add a new key structure outside of any existing. > > > > > > Also depends a lot on how your DB is structured: natural or > > > surrogate. > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > Sent: Saturday, June 28, 2003 5:27 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > > > > When archiving historical data do you change an AutoNumber field to a > > > Number > > > field? Like to hear pros and cons on the subject. > > > > > > Susan H. > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 30 10:10:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 30 Jun 2003 11:10:12 -0400 Subject: [AccessD] How do I determine which form called? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EFB5@TTNEXCHSRV1.hshhp.com> One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jim.hale at fleetpride.com Mon Jun 30 11:13:25 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 11:13:25 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BEF1@corp-es00> Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 30 11:31:51 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 12:31:51 -0400 Subject: [AccessD] How do I determine which form called? In-Reply-To: <869379ABF177D4118D3100508B5EF8730676BEF1@corp-es00> Message-ID: RE: [AccessD] How do I determine which form called?You can't pass in the pointer to the calling form? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, June 30, 2003 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How do I determine which form called? Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 30 11:37:53 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 10:37:53 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: If a master table had records one thru 10 and records 3, 8 and 10 were deleted and it were necessary to duplicate the data for archive purposes and after those deletions it were necessary to record the state that the next autonumber would be 11 at that point in time, insert records 1 - 2, 4 through 7 and 9. You'd then have to add and delete a dummy record to the actual table to determine what the next autonumber would be thereby altering the table and then add and delete AN 11 in the archive so that both the master and archive table are identical at the time of the backup, with the next record for both to be AN 12. If it were possible to determine the next autonumber prior to compacting the database there would be no need to do the insert to determine its value. Purists might do the insert, compact and then insert one below in order to preserve the exact status of the table so both original and archive would yeild 11 at the next insert. The main point I was making was that I understood Susan to imply that one can not set the value of an autonumber field to any arbitrary valid value and that is not accurate. Any attempt to merge multiple tables that have differing field values for identical autonumber records can not be an accurate depiction of the state of all the data. It is not possible to retain identical table structure and reconcile duplicate autonumber records that have one or more other fields that do not match. I don't get the point about a fake record with restore. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 10:54:13 -0400 > >Remember though that the autonumber will continue from the last autonumber >copied into the table, so if you do a restore you MUST go get the last >number, add 1 to it, and insert a fake record with that number, then delete >that fake record back out. At least that is how I handle it. > >John W. Colby >www.colbyconsulting.com > _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Mon Jun 30 11:57:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 12:57:30 -0400 Subject: [AccessD] weird query def Message-ID: I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com From Lembit.Soobik at t-online.de Mon Jun 30 12:00:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 30 Jun 2003 19:00:53 +0200 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00fb01c33f29$2b0f7c30$0300a8c0@S856> and what is the problem with making the autonumber fields in the archive db long integers and then simply copy? Lembit Lembit Soobik ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 30, 2003 6:37 PM Subject: RE: [AccessD] AutoNumbers in historical tables > If a master table had records one thru 10 and records 3, 8 and 10 were > deleted and it were necessary to duplicate the data for archive purposes and > after those deletions it were necessary to record the state that the next > autonumber would be 11 at that point in time, insert records 1 - 2, 4 > through 7 and 9. You'd then have to add and delete a dummy record to the > actual table to determine what the next autonumber would be thereby altering > the table and then add and delete AN 11 in the archive so that both the > master and archive table are identical at the time of the backup, with the > next record for both to be AN 12. If it were possible to determine the next > autonumber prior to compacting the database there would be no need to do the > insert to determine its value. Purists might do the insert, compact and > then insert one below in order to preserve the exact status of the table so > both original and archive would yeild 11 at the next insert. > > The main point I was making was that I understood Susan to imply that one > can not set the value of an autonumber field to any arbitrary valid value > and that is not accurate. Any attempt to merge multiple tables that have > differing field values for identical autonumber records can not be an > accurate depiction of the state of all the data. It is not possible to > retain identical table structure and reconcile duplicate autonumber records > that have one or more other fields that do not match. > > I don't get the point about a fake record with restore. > > Hen > > >From: "John Colby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] AutoNumbers in historical tables > >Date: Mon, 30 Jun 2003 10:54:13 -0400 > > > >Remember though that the autonumber will continue from the last autonumber > >copied into the table, so if you do a restore you MUST go get the last > >number, add 1 to it, and insert a fake record with that number, then delete > >that fake record back out. At least that is how I handle it. > > > >John W. Colby > >www.colbyconsulting.com > > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeffrey.demulling at usbank.com Mon Jun 30 11:58:33 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 30 Jun 2003 11:58:33 -0500 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: I am getting the above message in an A97 FE connecting to a SQL Server BE. I do not get the error message when using A2K FE (both version of app have the same code.) This I found the record that is causing the problem along with the field. Once I remove the field from my pass-through query in A97 the results are returned. If I leave the problem field in the query I get the message above. The data in the field is: 12/2/02-TR rejected review needs documents and completed Master Initial Account Review Checklist. E-mail sent to Mike Herberger to notify him. BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. Sent IR checklist to Barbara. 1/8/03 MH The field on the BE is a nvarchar (255). Any ideas or helpful suggestions would be nice. TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Mon Jun 30 12:08:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 30 Jun 2003 13:08:31 -0400 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897A06@xlivmbx12.aig.com> Well I count 258 characters in the data, so the error message is totally on the mark (odd for Access). I suspect that SQL server is passing back all 258 ASCII characters, which is why A97 chokes. But A2K is Unicode character savvy, so I think it can handle 510 ASCII characters, or 255 Unicode ones. Lambert > -----Original Message----- > From: jeffrey.demulling at usbank.com [SMTP:jeffrey.demulling at usbank.com] > Sent: Monday, June 30, 2003 12:59 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Error Message: The field is to small to accept the > amount of data you tried to add. Try inserting or pasting less data > > > I am getting the above message in an A97 FE connecting to a SQL Server BE. > I do not get the error message when using A2K FE (both version of app have > the same code.) > > > This I found the record that is causing the problem along with the field. > Once I remove the field from my pass-through query in A97 the results are > returned. If I leave the problem field in the query I get the message > above. > > > The data in the field is: > > > > 12/2/02-TR rejected review needs documents and completed Master Initial > Account Review Checklist. E-mail sent to Mike Herberger to notify him. > BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. > Sent > IR checklist to Barbara. 1/8/03 MH > > > The field on the BE is a nvarchar (255). Any ideas or helpful suggestions > would be nice. > > TIA > -Jeff > << File: ATT8947467.txt >> From cfoust at infostatsystems.com Mon Jun 30 12:13:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Jun 2003 10:13:23 -0700 Subject: [AccessD] How do I determine which form called? Message-ID: I make CalledFrom a property of my forms. Then I can pass the calling form's name in the OpenArgs string and let the called form populate its own property. When I close the called form, it checks its CalledFrom property and goes back to that. In 2002 you can do this with Reports as well. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 6:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 30 12:16:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jun 2003 19:16:42 +0200 Subject: [AccessD] weird query def In-Reply-To: References: Message-ID: <6943986879.20030630191642@cactus.dk> Hi John Have you tried to recreate that query by copy/paste the SQL only into a new query? /gustav > I compacted / repaired both the wizard as well as the FE that actually holds > the query in question. Two other queries that I am performing this > operation on work perfectly. One apparently has no fields. From scapistrant at symphonyinfo.com Mon Jun 30 12:20:27 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 30 Jun 2003 12:20:27 -0500 Subject: [AccessD] weird query def In-Reply-To: Message-ID: Does your query have "output all fields" property set to Yes? The QBD view for these queries could show no fields, yet you'd still get results. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 30, 2003 11:58 AM To: AccessD Subject: [AccessD] weird query def I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Jun 30 13:04:24 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 13:04:24 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BF35@corp-es00> I am passing it by setting the callingform property (Set lb.Callingform = Me ). I guess my question boils down to are there niftier ways to pass the pointer? Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 30, 2003 11:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? You can't pass in the pointer to the calling form? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, June 30, 2003 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How do I determine which form called? Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [ mailto:Jdemarco at hshhp.org ] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [ mailto:jim.hale at fleetpride.com ] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 30 13:11:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:11:32 -0400 Subject: [AccessD] weird query def In-Reply-To: <6943986879.20030630191642@cactus.dk> Message-ID: Just tried that, same problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 30, 2003 1:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] weird query def Hi John Have you tried to recreate that query by copy/paste the SQL only into a new query? /gustav > I compacted / repaired both the wizard as well as the FE that actually holds > the query in question. Two other queries that I am performing this > operation on work perfectly. One apparently has no fields. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 30 13:11:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:11:55 -0400 Subject: [AccessD] weird query def In-Reply-To: Message-ID: Checked the properties for one that works and this one that doesn't and they are identical. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Capistrant Sent: Monday, June 30, 2003 1:20 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] weird query def Does your query have "output all fields" property set to Yes? The QBD view for these queries could show no fields, yet you'd still get results. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 30, 2003 11:58 AM To: AccessD Subject: [AccessD] weird query def I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 30 13:13:26 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 14:13:26 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <005c01c33f33$a1995b50$ace6ffcc@SusanOne> > > The main point I was making was that I understood Susan to imply that one > can not set the value of an autonumber field to any arbitrary valid value > and that is not accurate. ============== I don't remember what I said, but I'm sure that's not what I meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking about appending records that already have an AutoNumber... Susan H. From hsimpson88 at hotmail.com Mon Jun 30 13:21:44 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 12:21:44 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: I was addressing the manner in which autonumbers work and the issues and consequences that arise as there appear to be some misapprehensions being published as list lore. I would be content to simply take a full copy of a BE database in most cases. I could imagine that there might be a situation where some malicious employee deletes the last thousand records of a table but can't compact to reset the autonumber because a wise admin stayed logged in 100% of the time when users have access. In such a situation, the next autonumber might be a useful clue indicating how many records may have been lost. I am aware that if you only mark records as deleted and can restrict the user to application interface only access to the data and use a change logging methodology that this is less of an issue. I personally use a mark for deletion flag plus launch an automation admin session that merely locks a single record in a one record table when a first user logs in plus log 100% of all form edits with a date/time/user/tableName/record PK/changed field value in a log file in the before update and before insert events. The log is the basis of a custom field level reconciliation replication system and it works nicely for data security/integrity concerns. In that log, an autonumber is merely a long. Hen >From: Lembit.Soobik at t-online.de (Lembit Soobik) >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 19:00:53 +0200 > >and what is the problem with making the autonumber fields in the archive db >long >integers and then simply copy? >Lembit > >Lembit Soobik > >----- Original Message ----- >From: "Henry Simpson" >To: >Sent: Monday, June 30, 2003 6:37 PM >Subject: RE: [AccessD] AutoNumbers in historical tables > > > > If a master table had records one thru 10 and records 3, 8 and 10 were > > deleted and it were necessary to duplicate the data for archive purposes >and > > after those deletions it were necessary to record the state that the >next > > autonumber would be 11 at that point in time, insert records 1 - 2, 4 > > through 7 and 9. You'd then have to add and delete a dummy record to >the > > actual table to determine what the next autonumber would be thereby >altering > > the table and then add and delete AN 11 in the archive so that both the > > master and archive table are identical at the time of the backup, with >the > > next record for both to be AN 12. If it were possible to determine the >next > > autonumber prior to compacting the database there would be no need to do >the > > insert to determine its value. Purists might do the insert, compact and > > then insert one below in order to preserve the exact status of the table >so > > both original and archive would yeild 11 at the next insert. > > > > The main point I was making was that I understood Susan to imply that >one > > can not set the value of an autonumber field to any arbitrary valid >value > > and that is not accurate. Any attempt to merge multiple tables that >have > > differing field values for identical autonumber records can not be an > > accurate depiction of the state of all the data. It is not possible to > > retain identical table structure and reconcile duplicate autonumber >records > > that have one or more other fields that do not match. > > > > I don't get the point about a fake record with restore. > > > > Hen > > > > >From: "John Colby" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "Access Developers discussion and problem > > >solving" > > >Subject: RE: [AccessD] AutoNumbers in historical tables > > >Date: Mon, 30 Jun 2003 10:54:13 -0400 > > > > > >Remember though that the autonumber will continue from the last >autonumber > > >copied into the table, so if you do a restore you MUST go get the last > > >number, add 1 to it, and insert a fake record with that number, then >delete > > >that fake record back out. At least that is how I handle it. > > > > > >John W. Colby > > >www.colbyconsulting.com > > > > > > > _________________________________________________________________ > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From gustav at cactus.dk Mon Jun 30 13:27:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jun 2003 20:27:58 +0200 Subject: [AccessD] weird query def In-Reply-To: References: Message-ID: <11148262968.20030630202758@cactus.dk> Hi John Soo ... how does that SQL look like? And if it is a crosstab it wouldn't know the fields until it runs. /gustav > Just tried that, same problem. >> Have you tried to recreate that query by copy/paste the SQL only into >> a new query? From jcolby at colbyconsulting.com Mon Jun 30 13:59:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:59:30 -0400 Subject: [AccessD] weird query def In-Reply-To: <11148262968.20030630202758@cactus.dk> Message-ID: Nope, not a crosstab. However I went in and deleted all the fields except those from one table and all of a sudden it had a fields collection - or fields in that collection anyway. I think something in there is causing a problem. I'll troubleshoot (paste the fields back in one by one) and find which field is causing the problem and let you folks know what I find. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 30, 2003 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] weird query def Hi John Soo ... how does that SQL look like? And if it is a crosstab it wouldn't know the fields until it runs. /gustav > Just tried that, same problem. >> Have you tried to recreate that query by copy/paste the SQL only into >> a new query? _______________________________________________ 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 Mon Jun 30 14:01:45 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Mon, 30 Jun 2003 14:01:45 -0500 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon From MarkBoyd at McBeeAssociates.com Mon Jun 30 14:09:16 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 30 Jun 2003 15:09:16 -0400 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: Alan - If you only want to print the data that is displayed, why not take a screen print of the table's design view? Mark -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday, June 30, 2003 3:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 30 14:10:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 30 Jun 2003 14:10:38 -0500 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: Alan, I use a screen print program, PrintKey 2000 (approximately US$20), for such. If that is too high a price, you can use the PrtScn key and copy it into a paint program for manipulating. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday 2003 Jun 30 14:02 To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon From jarus at amerinet-gpo.com Mon Jun 30 14:13:39 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 30 Jun 2003 14:13:39 -0500 Subject: [AccessD] Wrap a Field in "" Message-ID: I want to take the information in Field2 and create another field with it wrapped in quotations marks. For example, if the data in Field2 is 12345, I want my new field to display "12345" I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" Any thoughts? Thanks for your help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Mon Jun 30 14:16:31 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 30 Jun 2003 14:16:31 -0500 Subject: [AccessD] Wrap a Field in "" Message-ID: Nevermind - right after I clicked Send, it occurred to me to concatenate what I needed. Got it - thanks anyway. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> jarus at amerinet-gpo.com 06/30/03 02:13PM >>> I want to take the information in Field2 and create another field with it wrapped in quotations marks. For example, if the data in Field2 is 12345, I want my new field to display "12345" I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" Any thoughts? Thanks for your help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alan.lawhon at us.army.mil Mon Jun 30 14:24:58 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Mon, 30 Jun 2003 14:24:58 -0500 Subject: [AccessD] Never Mind ... (Was: Simpleton Question ...) Message-ID: Charles, Mark: I figured out how to get the screen capture into a Word file. Thanks for your tips and info. Alan C. Lawhon -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday, June 30, 2003 2:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Mon Jun 30 14:30:26 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 30 Jun 2003 15:30:26 -0400 Subject: [AccessD] Wrap a Field in "" Message-ID: <01C33F1C.88B9FBB0.bob@renaissancesiding.com> Terri Since you didn't show your code, I'm not sure how you are trying to accomplish this. But, the following should work: NewField = ' " ' & [Field2] & ' " ' If you want literal double quotes, enclose them in single quotes and vice versa. Alternatively, you can just leave the original data stored without the quotes in Field2 and just concatenate the quotations marks on your forms and reports for display/print purposes; the code would be virtually the same. Regards, Bob Gajewski On Monday, June 30, 2003 15:14 PM, Terri Jarus [SMTP:jarus at amerinet-gpo.com] wrote: > I want to take the information in Field2 and create another field with it wrapped in quotations marks. > > For example, if the data in Field2 is 12345, I want my new field to display "12345" > > I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" > > Any thoughts? > > Thanks for your help. > > Terri Jarus > Director, Contract Support Services > jarus at amerinet-gpo.com > 314-542-1902 > > > --------------------------------------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 AmeriNet 1nc. << File: ATT00028.htm >> << File: ATT00029.txt >> From hsimpson88 at hotmail.com Mon Jun 30 15:57:08 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 14:57:08 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: I was responding to the statement: ...Supposing you were required to preserve the Autonumber -- how would you go about appending records as you archive -- you couldn't I'm guessing... And now you say: ...I wasn't talking about forcing a new AutoNumber -- I was talking about appending records that already have an AutoNumber... The implication in both cases is: you can't set a record's autonumber to an arbitrary value. That is not true. What you do is force the AN of the resulting archive record to the value in the originating table in the append. There is no need to add and delete blank records to force AN values which is the only interpretation I can place on what John said: ... if you do a restore you MUST go get the last number, add 1 to it, and insert a fake record with that number, then delete that fake record back out... John's suggestion could work for the situation where you were archiving additions to the end of a table and one or more consecutive records ending with the last were deleted but the approach reinforces the implication that one can't simply set the value as required. Good thing this issue is moot but a casual surveyor of the archive may pick up some misconceptions or may be led to believe that list members don't understand autonumbers. If you have a table tblArk with 10 records and a FirstName field and an Autonumber field named PK and you need to write a record that has an existing AN of 45: Dim db as Database Set db = CurrentDb db.Execute("Insert Into tblArk(PK, FirstName) Values(45, 'Joe')") MsgBox db.RecordsAffected If you add and delete a thousand records, you can still run the code above and you will have 1 record added provided that the number 45 isn't already taken and notwithstanding that the next automatic number would be over 1000. In any case where the AN 45 is not already used, the example code above will insert a record and set its autonumber value. If you have a record with an existing autonumber that needs to be changed, you can insert the field values into a new record and set the desired autonumber for the duplicate and then delete the old record. While you cannot directly edit an existing AN, you can readily achieve the result. There is no need to get into the question of why one would want to change or set an autonumber. I was merely attempting to prevent repetition of a too often repeated misconception. Hen > > > > The main point I was making was that I understood Susan to imply that >one > > can not set the value of an autonumber field to any arbitrary valid >value > > and that is not accurate. > >============== I don't remember what I said, but I'm sure that's not what I >meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking >about appending records that already have an AutoNumber... > >Susan H. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jeffrey.demulling at usbank.com Mon Jun 30 16:35:13 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 30 Jun 2003 16:35:13 -0500 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: I understand what you are saying. Now the question becomes, how can I determine how many ASCII characters are being returned? When I try using LEN(<>) in A2K it returns 255. I have not tried it using the Query Analyzer in SQL Server yet. "Heenan, Lambert" Sent by: accessd-bounces at databaseadvisors.com 06/30/2003 12:08 PM Please respond to "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Well I count 258 characters in the data, so the error message is totally on the mark (odd for Access). I suspect that SQL server is passing back all 258 ASCII characters, which is why A97 chokes. But A2K is Unicode character savvy, so I think it can handle 510 ASCII characters, or 255 Unicode ones. Lambert > -----Original Message----- > From: jeffrey.demulling at usbank.com [SMTP:jeffrey.demulling at usbank.com] > Sent: Monday, June 30, 2003 12:59 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Error Message: The field is to small to accept the > amount of data you tried to add. Try inserting or pasting less data > > > I am getting the above message in an A97 FE connecting to a SQL Server BE. > I do not get the error message when using A2K FE (both version of app have > the same code.) > > > This I found the record that is causing the problem along with the field. > Once I remove the field from my pass-through query in A97 the results are > returned. If I leave the problem field in the query I get the message > above. > > > The data in the field is: > > > > 12/2/02-TR rejected review needs documents and completed Master Initial > Account Review Checklist. E-mail sent to Mike Herberger to notify him. > BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. > Sent > IR checklist to Barbara. 1/8/03 MH > > > The field on the BE is a nvarchar (255). Any ideas or helpful suggestions > would be nice. > > TIA > -Jeff > << File: ATT8947467.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 30 16:43:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 17:43:05 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00ab01c33f50$97fc6520$b9e6ffcc@SusanOne> What about missing AutoNumber values in the records you're appending? What I'm saying is, you're not really appending the existing AutoNumber value, you're just allowing the historical table's AN to fill in that value. So, even though you can reset the AN seed value, how would you accommodate the "existing" values, whatever they are, as you're appending the remaining records? Susan H. > I was responding to the statement: > > ...Supposing you were required to preserve the Autonumber -- how would > you go about appending records as you archive -- you couldn't I'm > guessing... > > And now you say: > > ...I wasn't talking about forcing a new AutoNumber -- I was talking > about appending records that already have an AutoNumber... > > The implication in both cases is: you can't set a record's autonumber to an > arbitrary value. That is not true. What you do is force the AN of the > resulting archive record to the value in the originating table in the > append. There is no need to add and delete blank records to force AN values > which is the only interpretation I can place on what John said: > > ... if you do a restore you MUST go get the last number, add 1 to it, > and insert a fake record with that number, then delete that fake record back > out... > > John's suggestion could work for the situation where you were archiving > additions to the end of a table and one or more consecutive records ending > with the last were deleted but the approach reinforces the implication that > one can't simply set the value as required. > > Good thing this issue is moot but a casual surveyor of the archive may pick > up some misconceptions or may be led to believe that list members don't > understand autonumbers. > > If you have a table tblArk with 10 records and a FirstName field and an > Autonumber field named PK and you need to write a record that has an > existing AN of 45: > > Dim db as Database > Set db = CurrentDb > db.Execute("Insert Into tblArk(PK, FirstName) Values(45, 'Joe')") > MsgBox db.RecordsAffected > > If you add and delete a thousand records, you can still run the code above > and you will have 1 record added provided that the number 45 isn't already > taken and notwithstanding that the next automatic number would be over 1000. > In any case where the AN 45 is not already used, the example code above > will insert a record and set its autonumber value. If you have a record > with an existing autonumber that needs to be changed, you can insert the > field values into a new record and set the desired autonumber for the > duplicate and then delete the old record. While you cannot directly edit an > existing AN, you can readily achieve the result. > > There is no need to get into the question of why one would want to change or > set an autonumber. I was merely attempting to prevent repetition of a too > often repeated misconception. > > Hen > > > > > > > > The main point I was making was that I understood Susan to imply that > >one > > > can not set the value of an autonumber field to any arbitrary valid > >value > > > and that is not accurate. > > > >============== I don't remember what I said, but I'm sure that's not what I > >meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking > >about appending records that already have an AutoNumber... > > > >Susan H. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Jun 30 19:14:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 30 Jun 2003 20:14:30 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: Message-ID: <00bf01c33f65$bdadda00$8e01a8c0@Rock> If I follow this thread correctly, I detect a confusion between OLTP and OLAP systems. In a sense, the difference lies in whether you can insert rows under normal (i.e. interactive) circumstances. In the latter, the answer is No. Rows are inserted only programmatically. Therefore there is not only no need for autonumbers, but they intrude upon the design. IMO there should be no occurrences of autonumber in an OLAP database. On the other hand, if you're talking about backup/restore systems rather than archives, you have to preserve the autonumbers, but it's no problem because you're snapshotting the entire database, not its individual rows. At current prices, virtually any company can afford a CD burner, and few Access DBs are > 650MB, so it's a dollar a day to burn CD backups. My $.02, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Henry Simpson Sent: June 30, 2003 12:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoNumbers in historical tables If a master table had records one thru 10 and records 3, 8 and 10 were deleted and it were necessary to duplicate the data for archive purposes and after those deletions it were necessary to record the state that the next autonumber would be 11 at that point in time, insert records 1 - 2, 4 through 7 and 9. You'd then have to add and delete a dummy record to the actual table to determine what the next autonumber would be thereby altering the table and then add and delete AN 11 in the archive so that both the master and archive table are identical at the time of the backup, with the next record for both to be AN 12. If it were possible to determine the next autonumber prior to compacting the database there would be no need to do the insert to determine its value. Purists might do the insert, compact and then insert one below in order to preserve the exact status of the table so both original and archive would yeild 11 at the next insert. The main point I was making was that I understood Susan to imply that one can not set the value of an autonumber field to any arbitrary valid value and that is not accurate. Any attempt to merge multiple tables that have differing field values for identical autonumber records can not be an accurate depiction of the state of all the data. It is not possible to retain identical table structure and reconcile duplicate autonumber records that have one or more other fields that do not match. I don't get the point about a fake record with restore. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 10:54:13 -0400 > >Remember though that the autonumber will continue from the last >autonumber copied into the table, so if you do a restore you MUST go >get the last number, add 1 to it, and insert a fake record with that >number, then delete that fake record back out. At least that is how I >handle it. > >John W. Colby >www.colbyconsulting.com > _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 30 20:51:04 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 21:51:04 -0400 Subject: [AccessD] A79 - A2k conversion problem Message-ID: I have a strange one. I have a database that is in A97. One specific table can be opened in A97, but once converted to A2K, the table can't be opened. Converted to AXP, Access page faults if you try to open the table. I've done all of the typical, repair compact etc. No help. I suspect a memo data problem - it seems I remember stuff like this with memos back in A97. Any suggestions? John W. Colby www.colbyconsulting.com From stephen at bondsoftware.co.nz Mon Jun 30 22:02:10 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 01 Jul 2003 15:02:10 +1200 Subject: [AccessD] Invoking one Access app from another Message-ID: <70F3D727890C784291D8433E9C418F298EE6@server.bondsoftware.co.nz> I have two Access apps that have some shared tables. I have looked at completely incorporating #2 into #1, but the combined front end would be unwieldy and user-unfriendly if I did that, and the BE would be bigger than I want it to manageably be. So, I want to be able to have a command button on the master menu of FE#1 which would invoke FE#2. I'm sure this is simple - could someone start me off please. TIA Stephen Bond From martyconnelly at shaw.ca Mon Jun 30 22:04:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 30 Jun 2003 20:04:39 -0700 Subject: [AccessD] A79 - A2k conversion problem References: Message-ID: <3F00FA47.2020809@shaw.ca> Did you try a link or a single import.. Maybe that will throw a light on it. John Colby wrote: >I have a strange one. I have a database that is in A97. One specific table >can be opened in A97, but once converted to A2K, the table can't be opened. >Converted to AXP, Access page faults if you try to open the table. I've >done all of the typical, repair compact etc. No help. I suspect a memo >data problem - it seems I remember stuff like this with memos back in A97. >Any suggestions? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Jun 30 22:54:26 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 01 Jul 2003 15:54:26 +1200 Subject: [AccessD] Invoking one Access app from another Message-ID: <70F3D727890C784291D8433E9C418F298EE7@server.bondsoftware.co.nz> Think I've got it solved (it's still daytime in the Antipodes ). This code attached to a command button does the trick ... Now I should probably put in some error checking (If Dir$(filename)="" ....) etc Dim strAppName As String, strWorkgroupFilename As String Dim CommandLine As String, strDBFullname As String Dim strDBDir strAppName = SysCmd(acSysCmdAccessDir) & "MSACCESS.EXE" strWorkgroupFilename = SysCmd(acSysCmdGetWorkgroupFile) strDBDir = GetDBDir() ' an internal function which returns the dir of the present FE MDB strDBFullname = strDBDir & "FE2prog.MDB" CommandLine = SymbolDoubleQuote & _ strAppName & SymbolDoubleQuote & _ " /wrkgrp " & SymbolDoubleQuote & _ strWorkgroupFilename & SymbolDoubleQuote & _ " " & SymbolDoubleQuote & strDBFullname & _ SymbolDoubleQuote If CurrentUser() = "stephen" Then Debug.Print CommandLine Call Shell(CommandLine, vbMaximizedFocus) Cheers SB -----Original Message----- From: Stephen Bond Sent: Tuesday, 1 July 2003 3:02 p.m. To: accessd at databaseadvisors.com Subject: [AccessD] Invoking one Access app from another I have two Access apps that have some shared tables. I have looked at completely incorporating #2 into #1, but the combined front end would be unwieldy and user-unfriendly if I did that, and the BE would be bigger than I want it to manageably be. So, I want to be able to have a command button on the master menu of FE#1 which would invoke FE#2. I'm sure this is simple - could someone start me off please. TIA Stephen Bond _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From info at wfbutik.dk Sun Jun 1 02:05:21 2003 From: info at wfbutik.dk (Stemme Data) Date: Sun, 1 Jun 2003 09:05:21 +0200 Subject: [AccessD] Scheduler/Calendar form In-Reply-To: Message-ID: Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael From gustav at cactus.dk Sun Jun 1 03:23:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 1 Jun 2003 10:23:16 +0200 Subject: [AccessD] Distribution - a bit OT In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CB7@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802226CB7@main2.marlow.com> Message-ID: <1871050590.20030601102316@cactus.dk> Hi Drew > The big clash with Access is solved with VB. Installing a runtime version > of Access 97 will definitely clash with a previous installation of Access 2k > or XP, or any future version. .. This is not my experience, on the contrary. /gustav From DWUTKA at marlow.com Sun Jun 1 07:32:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 1 Jun 2003 07:32:19 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CB9@main2.marlow.com> I didn't realize that. Is that the Wise Installer? I thought using the PDW would cause conflicts during the Access runtime install. Drew -----Original Message----- From: John Colby To: accessd at databaseadvisors.com Sent: 5/31/03 6:13 PM Subject: RE: [AccessD] Distribution - a bit OT But if you use the installers, the "different version" is only used by your app, and isn't even visible to other apps. It's just "files needed" for your app. No need for lawsuits. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Saturday, May 31, 2003 6:58 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT It is NOT a Visual Basic Application though. Installing a VB application will not affect other installed software (unless you write you're own .dll's that overwrite common .dll's.). If I had a user install something that was documented as a 'Visual Basic Application', but it went and installed a different version of Access, there would be a lawsuit involved. Drew -----Original Message----- From: John Bartow To: accessd at databaseadvisors.com Sent: 5/31/03 3:28 PM Subject: RE: [AccessD] Distribution - a bit OT You will run into this all the time with the know it all (arrogant) IT types. First off don't tell them its Access if they don't want to hear it. Its a "Visual Basic Application which uses a standard Microsoft data file for storage. Give the app an icon using the tools | startup options menu options and hide everything else. Secondly, everything they want as far as installation demands can be done if you use a Wise or Install shield installation with the help of Sage Key scripts. This has been discussed a lot in the archives so I won't go into it. If they make a point of that you are not to use Access for anything jack the price up about triple and do it in VB or 1000% and do it in C++ HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black > Sent: Saturday, May 31, 2003 3:00 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Distribution - a bit OT > > > Hi > > I submitted a proposal to a client this week for a custom > application. Their > nose is a bit bent out of shape because they feel they should be able to > slap a CD in the drive click the install button and the app will > install in > a nice self-contained thing-a-ma-bob (that is what they said). > > Why do we have to have MS Access installed? You don't, I said, I > can supply > a runtime version. > > Why do we have to worry about what version of MS Access is installed > already? We did not ask for MS Access, we asked for a custom computer > application. > > Why do we have to worry about installing a runtime version on a > machine with > Access already on it and causing all kinds of problems (paraphrased)? > > Plain and simple they want an app that is a DBS management system > but they > want something that is completely autonomous. What do I do? What > would you > do? I may have already lost this deal but need to prepare for the > next time > this happens. > > Do I offer a solution that is all VB or C++ or some such thing or am I > missing the boat here. Please help. > > > Thanks > > PB > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 1 07:34:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 1 Jun 2003 07:34:28 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CBA@main2.marlow.com> I don't have a real 'trick' per se. I just brute force it I guess. Drew -----Original Message----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: 5/31/03 7:50 AM Subject: RE: [AccessD] Distribution - a bit OT Hi Guys: The one big problem I have always had converting Access to VB is the Access automated SubForm interface that is just great with Invoicing systems. With VB I have found of no easy way to duplicate these feature other than with brute force programming or getting the client to buy a TB Grid component for their site. I have some great interfaces, created, using a combination of DBgrid/Flexgrids, arrays and lots of programming. Do you have a better way or is there something I have been over-looking all these years? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Saturday, May 31, 2003 3:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 1 12:49:26 2003 From: john at winhaven.net (John Bartow) Date: Sun, 1 Jun 2003 12:49:26 -0500 Subject: [AccessD] Distribution - a bit OT In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CB8@main2.marlow.com> Message-ID: Unless you're creating it with Access wizards and macros it's VBA. If it's said in context it's correct if it's said out of context it not. VB is a very broad term these days. If the issue of type of VB and version comes up then it would be clear that it is Visual Basic for Applications bla, bla, bla. The issue generally isn't that it uses an Access .mdb file as the database its that "they" think if its Access it's a bunch of wizards and macros, i.e. not "real" programming. "They don't usually know the difference. And in my experience "they don't approve of anything that "they" don't have complete control over. Remember the IT mantra: "If we cannot adequately support you, we will at least control you" :o) Simply put its snobbery at its finest. Geting IT on the "side" of a project is the most important thing you can do to sustain a client. Get that you're in for a good ride, don't and you have a PITA client for the rest of you're measely time with them. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Saturday, May 31, 2003 5:58 PM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Distribution - a bit OT > > > It is NOT a Visual Basic Application though. Installing a VB application > will not affect other installed software (unless you write you're > own .dll's > that overwrite common .dll's.). > > If I had a user install something that was documented as a 'Visual Basic > Application', but it went and installed a different version of > Access, there > would be a lawsuit involved. > > Drew > > -----Original Message----- > From: John Bartow > To: accessd at databaseadvisors.com > Sent: 5/31/03 3:28 PM > Subject: RE: [AccessD] Distribution - a bit OT > > You will run into this all the time with the know it all (arrogant) IT > types. > > First off don't tell them its Access if they don't want to hear it. Its > a > "Visual Basic Application which uses a standard Microsoft data file for > storage. Give the app an icon using the tools | startup options menu > options > and hide everything else. > > Secondly, everything they want as far as installation demands can be > done if > you use a Wise or Install shield installation with the help of Sage Key > scripts. This has been discussed a lot in the archives so I won't go > into > it. > > If they make a point of that you are not to use Access for anything jack > the > price up about triple and do it in VB or 1000% and do it in C++ > > HTH > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black > > Sent: Saturday, May 31, 2003 3:00 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Distribution - a bit OT > > > > > > Hi > > > > I submitted a proposal to a client this week for a custom > > application. Their > > nose is a bit bent out of shape because they feel they should be able > to > > slap a CD in the drive click the install button and the app will > > install in > > a nice self-contained thing-a-ma-bob (that is what they said). > > > > Why do we have to have MS Access installed? You don't, I said, I > > can supply > > a runtime version. > > > > Why do we have to worry about what version of MS Access is installed > > already? We did not ask for MS Access, we asked for a custom computer > > application. > > > > Why do we have to worry about installing a runtime version on a > > machine with > > Access already on it and causing all kinds of problems (paraphrased)? > > > > Plain and simple they want an app that is a DBS management system > > but they > > want something that is completely autonomous. What do I do? What > > would you > > do? I may have already lost this deal but need to prepare for the > > next time > > this happens. > > > > Do I offer a solution that is all VB or C++ or some such thing or am I > > missing the boat here. Please help. > > > > > > Thanks > > > > PB > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jamie at kriegelpcsolutions.com Sun Jun 1 13:33:28 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 13:33:28 -0500 Subject: [AccessD] Hard Code Page Setup Info in Report In-Reply-To: Message-ID: Hi there, I have a simple report (size 10 envelopes) and for some reason it will not save my page setup information. For example, when I open my database, and choose the envelope report, I have to choose file, page setup and reset my page type (Envelope #10) and margins. Is there a way to hard code this info, or am I doing something wrong that it won't save the page setup info? Thanks, Jamie From bobbedell15 at msn.com Sun Jun 1 14:25:07 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Sun, 01 Jun 2003 19:25:07 +0000 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: Take a peak at http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. Documented bug. >From: "Jamie Kriegel" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Hard Code Page Setup Info in Report >Date: Sun, 1 Jun 2003 13:33:28 -0500 > >Hi there, > >I have a simple report (size 10 envelopes) and for some reason it will not >save my page setup information. For example, when I open my database, and >choose the envelope report, I have to choose file, page setup and reset my >page type (Envelope #10) and margins. Is there a way to hard code this >info, or am I doing something wrong that it won't save the page setup info? > >Thanks, >Jamie > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From d.dick at uws.edu.au Sun Jun 1 17:55:12 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 2 Jun 2003 08:55:12 +1000 Subject: [AccessD] Basic Form Questions References: Message-ID: <004f01c32890$dc78ece0$3c619a89@DDICK> Hi Jamie Just after you do something that needs to show the refreshed data. Say...in the After Update of the LastName field in Sub1 or something like that. or say...as the last line of any relevant event procedure in sub1 Have funn Darrn ----- Original Message ----- From: "Jamie Kriegel" To: Sent: Saturday, May 31, 2003 1:59 AM Subject: RE: [AccessD] Basic Form Questions > >>>>after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > Where do I put this code on SubForm 1? > > Thanks, > Jamie > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK > Sent: Friday, May 30, 2003 9:40 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Basic Form Questions > > > Jamie > RE Q1...small example db sent offline > RE Q2...Just like Charles said start refreshing your second sub > Something like > Assume sub 2 is called MySubForm2 > sub 1 is called MySubForm1 > Parent Form is called MyHostForm > eg... > after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > > Darren > > > ----- Original Message ----- > From: "Jamie Kriegel" > To: > Sent: Friday, May 30, 2003 12:50 PM > Subject: [AccessD] Basic Form Questions > > > > Hi there, > > > > I have 2 questions and I was hoping one of you generous and intelligent > > people could help me. > > > > 1. In a form I have a combo box that I use to as a lookup. For example, > my > > form holds customer information and I use the combo box to choose a > > paticular customer. When I choose this customer, it is his/her > information > > that I see in the form. How do I get this combo to default to a blank? > > Right now it shows the name of my previous search in the on screen control > > which can be confusing. I want it to remain blank until I choose a > customer > > from the list. > > > > 2. I have a form with 2 subforms. The main form is customer > information, > > subform 1 is insurance policies that customer holds, and subform 2 is any > > dependents that customer may have on a particular policy. When I add a > new > > policy for a customer (subform 1), I have to go to a different record and > > back before Access will allow me to enter data on subform 2 (dependents on > > that policy). > > > > Any ideas would be wonderful! Thank you, > > > > Jamie > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Jun 1 18:07:40 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 2 Jun 2003 09:07:40 +1000 Subject: [AccessD] Hard Code Page Setup Info in Report References: Message-ID: <004d01c32892$9ab40090$be0e90cb@prosys.local> The link below makes reference to Office 2000 SR 1 / SR1a . What is the number of the most recent Service Release of Office2000? ----- Original Message ----- From: "Bob Bedell" To: Sent: Monday, June 02, 2003 5:25 AM Subject: Re: [AccessD] Hard Code Page Setup Info in Report > Take a peak at > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > Documented bug. > > > >From: "Jamie Kriegel" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Hard Code Page Setup Info in Report > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > >Hi there, > > > >I have a simple report (size 10 envelopes) and for some reason it will not > >save my page setup information. For example, when I open my database, and > >choose the envelope report, I have to choose file, page setup and reset my > >page type (Envelope #10) and margins. Is there a way to hard code this > >info, or am I doing something wrong that it won't save the page setup info? > > > >Thanks, > >Jamie > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Sun Jun 1 19:45:04 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Mon, 02 Jun 2003 00:45:04 +0000 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Version=95|97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Document|Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . >What is the number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it will >not > > >save my page setup information. For example, when I open my database, >and > > >choose the envelope report, I have to choose file, page setup and reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code this > > >info, or am I doing something wrong that it won't save the page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jamie at kriegelpcsolutions.com Sun Jun 1 21:23:27 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 21:23:27 -0500 Subject: [AccessD] Basic Form Questions In-Reply-To: <004f01c32890$dc78ece0$3c619a89@DDICK> Message-ID: Thanks Darrn, That's just what I was looking for! Jamie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Sunday, June 01, 2003 5:55 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Basic Form Questions Hi Jamie Just after you do something that needs to show the refreshed data. Say...in the After Update of the LastName field in Sub1 or something like that. or say...as the last line of any relevant event procedure in sub1 Have funn Darrn ----- Original Message ----- From: "Jamie Kriegel" To: Sent: Saturday, May 31, 2003 1:59 AM Subject: RE: [AccessD] Basic Form Questions > >>>>after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > Where do I put this code on SubForm 1? > > Thanks, > Jamie > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK > Sent: Friday, May 30, 2003 9:40 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Basic Form Questions > > > Jamie > RE Q1...small example db sent offline > RE Q2...Just like Charles said start refreshing your second sub > Something like > Assume sub 2 is called MySubForm2 > sub 1 is called MySubForm1 > Parent Form is called MyHostForm > eg... > after your code on MySubForm1 does what you want... > Forms!MyHostForm!MySubForm2.form.refresh > > > Darren > > > ----- Original Message ----- > From: "Jamie Kriegel" > To: > Sent: Friday, May 30, 2003 12:50 PM > Subject: [AccessD] Basic Form Questions > > > > Hi there, > > > > I have 2 questions and I was hoping one of you generous and intelligent > > people could help me. > > > > 1. In a form I have a combo box that I use to as a lookup. For example, > my > > form holds customer information and I use the combo box to choose a > > paticular customer. When I choose this customer, it is his/her > information > > that I see in the form. How do I get this combo to default to a blank? > > Right now it shows the name of my previous search in the on screen control > > which can be confusing. I want it to remain blank until I choose a > customer > > from the list. > > > > 2. I have a form with 2 subforms. The main form is customer > information, > > subform 1 is insurance policies that customer holds, and subform 2 is any > > dependents that customer may have on a particular policy. When I add a > new > > policy for a customer (subform 1), I have to go to a different record and > > back before Access will allow me to enter data on subform 2 (dependents on > > that policy). > > > > Any ideas would be wonderful! Thank you, > > > > Jamie > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Sun Jun 1 21:23:57 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Sun, 1 Jun 2003 21:23:57 -0500 Subject: [AccessD] Hard Code Page Setup Info in Report In-Reply-To: Message-ID: Thanks for the help on this . . . does anyone know if this will be an issue with Access Runtime as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Sunday, June 01, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hard Code Page Setup Info in Report SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Version=95 |97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Document| Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . >What is the number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it will >not > > >save my page setup information. For example, when I open my database, >and > > >choose the envelope report, I have to choose file, page setup and reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code this > > >info, or am I doing something wrong that it won't save the page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jun 1 22:48:40 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 01 Jun 2003 20:48:40 -0700 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only References: Message-ID: <3EDAC918.3090403@shaw.ca> Get your complimentary copy of "Introducing Microsoft Windows Server 2003" valued at $43.99 CDN. This book provides a detailed, official first look at the new features and improvements in Windows Server 2003. From the Windows Launch tour. Worthwhile just for the Windows dotNet mobilty section explanation of how to handle multiple devices. I know this offer is for Canadians only but it is not bilingual. But it is free S&H. http:\\www.microsoft.ca/freebook or http://www.microsoft.com/canada/freebook/WS03offer/default.mspx I guess others could look around their countries Windows 2003 site. From stuart at lexacorp.com.pg Mon Jun 2 01:39:48 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 02 Jun 2003 16:39:48 +1000 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only In-Reply-To: <3EDAC918.3090403@shaw.ca> Message-ID: <3EDB7DD4.14552.1F0CF59@localhost> On 1 Jun 2003 at 20:48, MartyConnelly wrote: > http:\\www.microsoft.ca/freebook > or > http://www.microsoft.com/canada/freebook/WS03offer/default.mspx > > I guess others could look around their countries Windows 2003 site. > Yeah right. There doesn't seem to be any page at http://www.microsoft.com.papuanewguinea. And http://www.microsoft.com.pg doesn't seem to be working at the moment either . Maybe I should register it -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 06:52:50 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 12:52:50 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Mon Jun 2 06:58:10 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 2 Jun 2003 07:58:10 -0400 Subject: [AccessD] Scheduler/Calendar form In-Reply-To: Message-ID: <000f01c328fe$404f02f0$cf320cd8@hargrove.internal> Take a look at Datasphere's calendar controls (www.datasphere.com) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stemme Data Sent: Sunday, June 01, 2003 3:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] Scheduler/Calendar form Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 2 07:17:10 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 08:17:10 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> Message-ID: Snapshot ViewerSnapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 08:13:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 09:13:43 -0400 Subject: [AccessD] Distribution - a bit OT In-Reply-To: Message-ID: Paul, <> Don't forget to take a look at Visual FoxPro. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Saturday, May 31, 2003 4:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 2 08:33:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 02 Jun 2003 23:33:03 +1000 Subject: [AccessD] Distribution - a bit OT In-Reply-To: References: Message-ID: <3EDBDEAF.28949.674397@localhost> On 2 Jun 2003 at 9:13, Jim Dettman wrote: > Paul, > > < missing the boat here. Please help.>> > > Don't forget to take a look at Visual FoxPro. > Or PowerBasic :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 08:40:06 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 14:40:06 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032F@LNN052> Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 08:46:34 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 09:46:34 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032F@LNN052> Message-ID: Snapshot ViewerSnapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Mon Jun 2 08:56:48 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 09:56:48 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: Can someone see what I am missing here? I keep getting the error: "Too few Parameters: Expected 1" Dim intCounter As Integer Dim rstFunded As DAO.Recordset Dim dbFunded As DAO.Database Dim strFunded As String strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" strFunded = strFunded & " HAVING (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID ]))" Set dbFunded = CurrentDb() Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) TIA, Nancy L From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 08:58:19 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 14:58:19 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 09:06:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 10:06:52 -0400 Subject: [AccessD] corrupted database Message-ID: As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com From Lembit.Soobik at t-online.de Mon Jun 2 09:10:31 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 2 Jun 2003 16:10:31 +0200 Subject: [AccessD] Opening Recordset Error References: Message-ID: <06fc01c32910$ba7e49c0$0300a8c0@S856> semicolon at the end? Lembit Soobik ----- Original Message ----- From: "Nancy Lytle" To: "Accessd" Sent: Monday, June 02, 2003 3:56 PM Subject: [AccessD] Opening Recordset Error > Can someone see what I am missing here? I keep getting the error: "Too few > Parameters: Expected 1" > > Dim intCounter As Integer > Dim rstFunded As DAO.Recordset > Dim dbFunded As DAO.Database > Dim strFunded As String > strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" > strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM > tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" > strFunded = strFunded & " HAVING > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID > ]))" > Set dbFunded = CurrentDb() > Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) > > TIA, > Nancy L > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Jun 2 09:08:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 10:08:35 -0400 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Message-ID: Snapshot ViewerAhhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Mon Jun 2 09:17:55 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 10:17:55 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <06fc01c32910$ba7e49c0$0300a8c0@S856> Message-ID: Nope, I still get the same message. I have tried everything I can think of, I'm in a brain freeze, I guess. Thanks, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Monday, June 02, 2003 10:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error semicolon at the end? Lembit Soobik From Tony.Yeatman at creditlyonnais.co.uk Mon Jun 2 09:19:40 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Mon, 2 Jun 2003 15:19:40 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40332@LNN052> I have Access 97 installed on another machine, and all works fine, including the code to create and email the snapshot, it appears to be the combination of Access 97/2000 and Windows 2000 that prevents Access 97 from creating snapshots, whether from a menu or code. Thank you for your help. Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 15:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Ahhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 2 09:22:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 2 Jun 2003 16:22:16 +0200 Subject: [AccessD] Opening Recordset Error In-Reply-To: <06fc01c32910$ba7e49c0$0300a8c0@S856> References: <06fc01c32910$ba7e49c0$0300a8c0@S856> Message-ID: <13830859443.20030602162216@cactus.dk> No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L From CWortz at tea.state.tx.us Mon Jun 2 09:22:14 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 2 Jun 2003 09:22:14 -0500 Subject: [AccessD] Snapshot Viewer Message-ID: Tony, I haven't worked in A97 for a while, but IIRC the Snapshot is an Add-In for A97 that you need to install. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday 2003 Jun 02 09:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Importance: Low Ahhh... I'm afraid I can't help you there. I do know it is in a different place in the menu but I no longer even have A97 installed on my system so I can't help. Someone else will though, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 10:00:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:00:41 -0700 Subject: [AccessD] Snapshot Viewer Message-ID: You don't do it that way in A97. Use a function and something like this: DoCmd.OutputTo acOutputReport, , "Snapshot Format", strFile, False Charlotte Foust -----Original Message----- From: Yeatman, Tony [mailto:Tony.Yeatman at creditlyonnais.co.uk] Sent: Monday, June 02, 2003 3:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 10:02:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 11:02:18 -0400 Subject: [AccessD] Back End Updater Message-ID: Well, I just set up the BEU in a client database. It took about 20 minutes to set up, a few minutes to figure out how to get started, then about 5 minutes to apply the one change I need right now. Good job guys, it works great. John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Mon Jun 2 10:03:05 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:03:05 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: All VB or All C++ doesn't give you a DBMS. If they want a database, then they have to have a database. Even VB uses Access as a backend, although it doesn't require the Access runtime. You might point out to them that VB *also* requires a runtime, they just don't see it because it is usually already on their machines. Charlotte Foust -----Original Message----- From: Paul Black [mailto:pblack at hotmail.com] Sent: Saturday, May 31, 2003 12:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Jun 2 10:10:25 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 2 Jun 2003 11:10:25 -0400 Subject: [AccessD] Snapshot Viewer References: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40331@LNN052> Message-ID: <00a401c32919$18d158c0$a2c50a44@hr.cox.net> Snapshot ViewerTony.... Does your version of A97 contain Service Release 1 or greater ? It will be listed as SR-1 under the Help ---> About Microsoft Access..................Barb ----- Original Message ----- From: Yeatman, Tony To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 9:58 AM Subject: RE: [AccessD] Snapshot Viewer Sorry, I am not explaining myself properly. When viewing an Access Report, and selecting "Save as/Export", the list of available options does not include Snapshot. So it is the creating of the Snapshot that I am having problems with. Regards Tony. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 14:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer from A97 is not built into the menu anywhere. If I'm not mistaken, in A97 it has to be run from a desktop shortcut, or have the .snp extension bound to that program so that the user just loads the viewer when they try to open a snapshot. Snapshots after all are files which can be mailed to someone that doesn't even have Access installed. Send them the viewer and they can read your snapshot reports. A2K simply added a menu item that opens the viewer from inside Access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 9:40 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Snapshot Viewer Thank you John for the link. Snapshot Viewer is as already installed, previously it was version 9, so I installed the Version 8 on your site, with the same result. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 02 June 2003 13:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Snapshot viewer was not built-in for A97. It is an available for A97 however and can be downloaded from my site www.colbyconsulting.com by clicking useful files and looking at the bottom of the list of files. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 7:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 10:05:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:05:02 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: You would see a need if you ran into as many different versions of Windows and Office as we do, Arthur. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, May 31, 2003 2:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT I have only created two installations with the Developer stuff, and neither needed any fancy DLL installs or anything outside Access, but the rest was relatively simple, including installing MSDE and then restoring a database to said installation. The code to restore the db took the longest time of all the processes, but it ended up at about 50 lines of code. Sage and Wise doubtless have their place, but if you're not calling DLLs etc. I frankly don't see the need for them. The built-in stuff does everything I needed: create a directory, copy everything required into it, create a setup program that installs everything in the user-selected directory, then run a program (in my case a batch file) to do everything else that's necessary. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: May 31, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT Even a vb or C++ app has to store the data somewhere. Is that going to be an mdb? If so Jet has to be installed. As another lister said, a "slap a CD in and install" is possible, and it will NOT interfere with any other versions, if you use the sagekey etc stuff. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Saturday, May 31, 2003 4:00 PM To: accessd at databaseadvisors.com Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 10:06:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:06:35 -0700 Subject: [AccessD] Distribution - a bit OT Message-ID: That is NOT true, Drew. I'm sorry, but we have been doing this for years and an A97 runtime does not clash with a previous installation or a future version. Feel free to tout VB , but don't proclaim that A97 runtimes break existing installations. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Saturday, May 31, 2003 2:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Mon Jun 2 10:06:43 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 11:06:43 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <13830859443.20030602162216@cactus.dk> Message-ID: Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 2 10:12:05 2003 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 2 Jun 2003 11:12:05 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: <0EAA9F4906BA554FA26E6F9F2C5403022BD615@elmo.co.montgomery.ny.us> This line is also problematic. (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOIC E_ID]))" It is putting the actual text "[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID]" as part of the sql string when you want the value (((tblInvoiceFunding.InvoiceID)=" & Forms!frmInvoiceDataEntry!txtINVOICE_ID & "))" Neal Kling Lotus, isn't that some kind of fancy flower? -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Monday, June 02, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Recordset Error Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOIC E_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Mon Jun 2 10:14:26 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Mon, 2 Jun 2003 11:14:26 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128611@mail2.wrsystems.com> Shouldn't the brackets be like this? "SELECT Sum([tblInvoiceFunding].[FundsFromCode]) AS Funded" -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Monday, June 02, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Opening Recordset Error Nope, that's not working either, same error message, and the recordset is listed as "Expression not defined in context" or as "Out of Context". Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error No Lembit and Nancy, it's the brackets: >> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" /gustav > semicolon at the end? > Lembit Soobik > ----- Original Message ----- > From: "Nancy Lytle" > To: "Accessd" > Sent: Monday, June 02, 2003 3:56 PM > Subject: [AccessD] Opening Recordset Error >> Can someone see what I am missing here? I keep getting the error: "Too few >> Parameters: Expected 1" >> >> Dim intCounter As Integer >> Dim rstFunded As DAO.Recordset >> Dim dbFunded As DAO.Database >> Dim strFunded As String >> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >> strFunded = strFunded & " HAVING >> (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >> ]))" >> Set dbFunded = CurrentDb() >> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) >> >> TIA, >> Nancy L _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 10:17:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 08:17:14 -0700 Subject: [AccessD] corrupted database Message-ID: John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! 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 gustav at cactus.dk Mon Jun 2 10:25:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 2 Jun 2003 17:25:07 +0200 Subject: [AccessD] Opening Recordset Error In-Reply-To: References: Message-ID: <12134631176.20030602172507@cactus.dk> Hi Nancy When run from code the SQL doesn't know about forms. Try this: (tblInvoiceFunding.InvoiceID = " & [Forms]![frmInvoiceDataEntry]![txtINVOICE_ID] & ")" /gustav > Nope, that's not working either, same error message, and the recordset is > listed as "Expression not defined in context" or as "Out of Context". > Nancy L > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, June 02, 2003 10:22 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Opening Recordset Error > No Lembit and Nancy, it's the brackets: >>> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" > /gustav >> semicolon at the end? >> Lembit Soobik >> ----- Original Message ----- >> From: "Nancy Lytle" >> To: "Accessd" >> Sent: Monday, June 02, 2003 3:56 PM >> Subject: [AccessD] Opening Recordset Error >>> Can someone see what I am missing here? I keep getting the error: "Too > few >>> Parameters: Expected 1" >>> >>> Dim intCounter As Integer >>> Dim rstFunded As DAO.Recordset >>> Dim dbFunded As DAO.Database >>> Dim strFunded As String >>> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >>> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >>> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >>> strFunded = strFunded & " HAVING >>> > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >>> ]))" >>> Set dbFunded = CurrentDb() >>> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, > dbReadOnly) From jcolby at colbyconsulting.com Mon Jun 2 10:32:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 11:32:37 -0400 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Mon Jun 2 10:35:10 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Mon, 2 Jun 2003 11:35:10 -0400 Subject: [AccessD] Opening Recordset Error In-Reply-To: <12134631176.20030602172507@cactus.dk> Message-ID: BINGO! that got me on the right track, I had to add single quotes on either side of your string because the "ID" field is really a text not number field. Thanks everybody! I don't know why I was having such a hard time of it today. Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 02, 2003 11:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error Hi Nancy When run from code the SQL doesn't know about forms. Try this: (tblInvoiceFunding.InvoiceID = " & [Forms]![frmInvoiceDataEntry]![txtINVOICE_ID] & ")" /gustav > Nope, that's not working either, same error message, and the recordset is > listed as "Expression not defined in context" or as "Out of Context". > Nancy L > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Monday, June 02, 2003 10:22 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Opening Recordset Error > No Lembit and Nancy, it's the brackets: >>> strFunded = "SELECT Sum(tblInvoiceFunding.FundsFromCode) AS Funded" > /gustav >> semicolon at the end? >> Lembit Soobik >> ----- Original Message ----- >> From: "Nancy Lytle" >> To: "Accessd" >> Sent: Monday, June 02, 2003 3:56 PM >> Subject: [AccessD] Opening Recordset Error >>> Can someone see what I am missing here? I keep getting the error: "Too > few >>> Parameters: Expected 1" >>> >>> Dim intCounter As Integer >>> Dim rstFunded As DAO.Recordset >>> Dim dbFunded As DAO.Database >>> Dim strFunded As String >>> strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >>> strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >>> tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >>> strFunded = strFunded & " HAVING >>> > (((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOICE_ID >>> ]))" >>> Set dbFunded = CurrentDb() >>> Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, > dbReadOnly) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 2 10:55:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 10:55:42 -0500 Subject: [AccessD] Distribution - a bit OT Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CBE@main2.marlow.com> Yes, someone else posted that. I am sorry, I was assuming that it reacted the same as installing the full version. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Distribution - a bit OT That is NOT true, Drew. I'm sorry, but we have been doing this for years and an A97 runtime does not clash with a previous installation or a future version. Feel free to tout VB , but don't proclaim that A97 runtimes break existing installations. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Saturday, May 31, 2003 2:56 PM To: 'accessd at databaseadvisors.com ' Subject: RE: [AccessD] Distribution - a bit OT Paul, the problem you ran into was something that should occur at the beginning of a job proposal. If they don't want Access, you have two options. Sell it to them. That can be pretty difficult, but it's not necessarily impossible. Explain the benefits, etc. Two, build it in something else. Personally, I develop a lot of stuff in VB just as fast as I would in Access, or at least close. The big clash with Access is solved with VB. Installing a runtime version of Access 97 will definitely clash with a previous installation of Access 2k or XP, or any future version. That gives your Access applications a smudge, a special consideration smudge. Since bound applications can be built extremely fast in Access, the development expense should outway that issue. VB does not have the compatibility issue. Installing VB 5.0 applications on a machine that VB 6 applications have no issue, same with .Net. So you can install it and walk away. The only issue you may have is if a future OS does not support VB applications...but that is a long time away. VB can use .mdb's through ADO or DAO, which install on their own. Newer ADO/DAO versions can use previous .mdb versions, so that isn't an issue either. Drew -----Original Message----- From: Paul Black To: accessd at databaseadvisors.com Sent: 5/31/03 2:59 PM Subject: [AccessD] Distribution - a bit OT Hi I submitted a proposal to a client this week for a custom application. Their nose is a bit bent out of shape because they feel they should be able to slap a CD in the drive click the install button and the app will install in a nice self-contained thing-a-ma-bob (that is what they said). Why do we have to have MS Access installed? You don't, I said, I can supply a runtime version. Why do we have to worry about what version of MS Access is installed already? We did not ask for MS Access, we asked for a custom computer application. Why do we have to worry about installing a runtime version on a machine with Access already on it and causing all kinds of problems (paraphrased)? Plain and simple they want an app that is a DBS management system but they want something that is completely autonomous. What do I do? What would you do? I may have already lost this deal but need to prepare for the next time this happens. Do I offer a solution that is all VB or C++ or some such thing or am I missing the boat here. Please help. Thanks PB _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:01:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:01:51 -0700 Subject: [AccessD] corrupted database Message-ID: It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:04:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:04:14 -0700 Subject: [AccessD] Hard Code Page Setup Info in Report Message-ID: Yes. Charlotte Foust -----Original Message----- From: Jamie Kriegel [mailto:jamie at kriegelpcsolutions.com] Sent: Sunday, June 01, 2003 6:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Hard Code Page Setup Info in Report Thanks for the help on this . . . does anyone know if this will be an issue with Access Runtime as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Sunday, June 01, 2003 7:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hard Code Page Setup Info in Report SP3 I believe (October 2002). http://office.microsoft.com/downloads/default.aspx?Product=Office&Versio n=95 |97|98|2000|2002&Type=Update|Converter|Add-In|Assistant|Stationery|Docum |97|98|2000|ent| Viewer|Template|Anti-Virus|Updates >From: "Borge Steen Hansen" >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Hard Code Page Setup Info in Report >Date: Mon, 2 Jun 2003 09:07:40 +1000 > >The link below makes reference to Office 2000 SR 1 / SR1a . What is the >number of the most recent Service Release of Office2000? > > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Monday, June 02, 2003 5:25 AM >Subject: Re: [AccessD] Hard Code Page Setup Info in Report > > > > Take a peak at > > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B240826. > > Documented bug. > > > > > > >From: "Jamie Kriegel" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Hard Code Page Setup Info in Report > > >Date: Sun, 1 Jun 2003 13:33:28 -0500 > > > > > >Hi there, > > > > > >I have a simple report (size 10 envelopes) and for some reason it > > >will >not > > >save my page setup information. For example, when I open my > > >database, >and > > >choose the envelope report, I have to choose file, page setup and > > >reset >my > > >page type (Envelope #10) and margins. Is there a way to hard code > > >this info, or am I doing something wrong that it won't save the > > >page setup >info? > > > > > >Thanks, > > >Jamie > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 2 11:06:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 09:06:25 -0700 Subject: [AccessD] DAO Version Message-ID: That problem is peculiar to O2k because the version of vbe6.dll installed by OXP is "updated" and causes problems with A2k and can cause problems with other O2k apps as well, from what I've seen reported. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, May 30, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] DAO Version Charlotte, And that problem started with A2k, yes? So, to sum it up, if one installs the DAO and Jet version that is appropriate for the Access version, then the only problem is with ODBC drivers and vbe6.dll. Sound right? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Friday, May 30, 2003 12:05 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DAO Version > > > Yes and no. I have A97 and OXP on my work machine, and I have A97, > O2k and AXP on my laptop. No, I haven't had any problems with Jet and > DAO, only with the vbe6.dll. > > Charlotte Foust > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Friday, May 30, 2003 7:24 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] DAO Version > > > Charlotte: > Do you have the situation of having multiple versions of Access on the > same machines? > > If so do you have any problems with having the different versions of > DAO and JET being on the same machines? > > JB > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Thursday, May 29, 2003 4:52 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] DAO Version > > > > > > Jet 3.51 > > > > Charlotte Foust > > > > -----Original Message----- > > From: John Bartow [mailto:john at winhaven.net] > > Sent: Thursday, May 29, 2003 12:33 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] DAO Version > > > > > > Charlotte: > > Just out of curioustiy which version of JET are you using for A97? > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 2 11:17:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 12:17:55 -0400 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: Would you look please. I am using Office 2K and Office XP. Outlook is 2K, simply because the initial version of XP has all the security crap which prevents seeing some attachments. I am an adult and can decide for myself what attachments I wish to see, not to mention the fact that I run NAV which scans all attachments before it ever hits my mailbox. So I installed XP but not outlook XP, and I have A2K sitting at SR1a. So it appears that I have the problem still. I will not be upgrading O2K to SP3 so I pretty much need the patch. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 12:02 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at murphyscreativity.com Mon Jun 2 11:19:05 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 2 Jun 2003 09:19:05 -0700 Subject: [AccessD] Snapshot Viewer In-Reply-To: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E4032D@LNN052> Message-ID: <003a01c32922$b03cb020$8500a8c0@CX615377a> Hi Tony, I ran into this problem and posted a question a couple of years ago. The snapshot capability was not native to Access 97 but was added to in SR2 I believe. There is a problem with installing the service release and getting the snapshot functionality in some configurations of Office 97 and Windows and the patches that have been applied to them. Apparently when the update installer runs it looks a certain items on the computer and makes the decision on what to update. WindowsME was the one we were having trouble with. I found an acknowledgement of the problem on the MS Knowledge Base but no solution. Since we were distributing the app as a runtime it had to work in all situations so I updated it to AccessXP and built the runtime around that and now we have no problems. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 4:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************ * The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************ * -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Mon Jun 2 11:54:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 12:54:33 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
From bob at renaissancesiding.com Mon Jun 2 12:33:09 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 2 Jun 2003 13:33:09 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <01C3290B.82558E50.bob@renaissancesiding.com> Mark If all that you are looking for is the "onChange" code ...
Set the default printer: 
Regards, Bob Gajewski On Monday, June 02, 2003 12:55 PM, Mitsules, Mark [SMTP:Mark.Mitsules at ngc.com] wrote: > Group, > > This is my first real attempt at developing an HTML application (.HTA) using > VB Script. Given that the user makes a selection from this element: > >
> >
> > ....?how do I pass their selection to a button element, > > > > > ....that will utilize a routine like: > > Sub Button001_OnClick() > End Sub > > > I provided an example below that uses separate buttons (with an associated > separate function) for each printer (...which works), but this approach is > not very elegant > > > TIA, > > Mark > > > > Function InstallPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.AddWindowsPrinterConnection PrinterPath > End Function > > Function SetDefaultPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.SetDefaultPrinter PrinterPath > End Function > > Function Button001_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > End Function > > Function Button001A_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > SetDefaultPrinter(PrinterPath) > End Function > >
>
> >
> >
> _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Mon Jun 2 12:42:26 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 2 Jun 2003 10:42:26 -0700 Subject: [AccessD] corrupted database In-Reply-To: Message-ID: <009201c3292e$551d8be0$6401a8c0@papparuff> John, You can download and install Ken Slovak's attachmentoptions Com Add-In for Outlook 2000, 2002, and now 2003. Check it out at: http://www.slovaktech.com/attachmentoptions.htm John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 02, 2003 9:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Would you look please. I am using Office 2K and Office XP. Outlook is 2K, simply because the initial version of XP has all the security crap which prevents seeing some attachments. I am an adult and can decide for myself what attachments I wish to see, not to mention the fact that I run NAV which scans all attachments before it ever hits my mailbox. So I installed XP but not outlook XP, and I have A2K sitting at SR1a. So it appears that I have the problem still. I will not be upgrading O2K to SP3 so I pretty much need the patch. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 12:02 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database It used to be available upon request to MS, but they discontinued that when SR-3 was released. But if you're using OXP, what difference do the O2k security patches make to you? They won't be installed anyhow unless you're still using O2k. If you ARE still using O2k, you've got a problem. I might have a download of the patch floating around somewhere, but I may have ditched it after installing SR-3. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 7:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database Is the patch for this specific problem available separately? I hate the SP2 and beyond security crap for Outlook. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 02, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] corrupted database John, It's the latest Service Release for O2k you need installed, and that's SR-3. The patches are not in the OXP service packs because it's A2k that has to be patched, not AXP. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 02, 2003 6:07 AM To: AccessD Subject: [AccessD] corrupted database As we all know, there is an issue where having A2K and AXP installed on the computer at the same time, then using A2K can, in some instances, corrupt the database. It has to do with a VBA.dll being installed by AXP that is not correct for A2K's use. It was my understanding (based on messages from list members) that if you had the latest service packs applied to AXP, the problem went away. AFAIK I have the latest SP applied to officeXP (SP2.X). Today I was operating in A2K and tried to import forms from another database and got the corruption. It hosed the db. I was able to get where I needed to go by: Deleting the imported forms / reports from the corrupted db. Creating a new database using AXP Using XP, importing all the objects from the corrupted database. Using XP, importing the forms from the second db that caused the corruption when imported using A2K So... is the bug still there? I have to assume it is! John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 2 12:55:13 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 13:55:13 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Thank you for your JavaScript response. I'm not familiar with either scripting language enough to be able to convert it though. Would you be able to help with the VBScript syntax as well? An alternative could be to point me towards an online reference that contains useful VBScript examples of passing variables between form elements. Thanks again, Mark -----Original Message----- From: Bob Gajewski [mailto:bob at renaissancesiding.com] Sent: Monday, June 02, 2003 1:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Mark If all that you are looking for is the "onChange" code ...
Set the default printer: 
Regards, Bob Gajewski On Monday, June 02, 2003 12:55 PM, Mitsules, Mark [SMTP:Mark.Mitsules at ngc.com] wrote: > Group, > > This is my first real attempt at developing an HTML application (.HTA) > using VB Script. Given that the user makes a selection from this > element: > >
> >
> > ....?how do I pass their selection to a button element, > > > > > ....that will utilize a routine like: > > Sub Button001_OnClick() > End Sub > > > I provided an example below that uses separate buttons (with an > associated separate function) for each printer (...which works), but > this approach is not very elegant > > > TIA, > > Mark > > > > Function InstallPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.AddWindowsPrinterConnection PrinterPath > End Function > > Function SetDefaultPrinter(PrinterPath) > Set WshNetwork = CreateObject("WScript.Network") > WshNetwork.SetDefaultPrinter PrinterPath > End Function > > Function Button001_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > End Function > > Function Button001A_OnClick() > PrinterPath = "\\ServerName\PrinterName1" > InstallPrinter(PrinterPath) > SetDefaultPrinter(PrinterPath) > End Function > >
> >
> >
>
_______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Jun 2 13:04:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 02 Jun 2003 19:04:25 +0100 Subject: [AccessD] Distribution - a bit OT Message-ID: <200306021804.TAA04288@hosea.qub.ac.uk> Dont sell Access sell JET. Thats the common link whatever solution you use be it VBA, VB or C++ thats your data store will be the JET Engine the rest is good programming and design. Martin On Jun 2 2003, Drew Wutka wrote: > Yes, someone else posted that. I am sorry, I was assuming that it reacted > the same as installing the full version. > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Monday, June 02, 2003 10:07 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Distribution - a bit OT > > > That is NOT true, Drew. I'm sorry, but we have been doing this for > years and an A97 runtime does not clash with a previous installation or > a future version. Feel free to tout VB , but don't proclaim that A97 > runtimes break existing installations. > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Saturday, May 31, 2003 2:56 PM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Distribution - a bit OT > > > Paul, the problem you ran into was something that should occur at the > beginning of a job proposal. If they don't want Access, you have two > options. Sell it to them. That can be pretty difficult, but it's not > necessarily impossible. Explain the benefits, etc. Two, build it in > something else. Personally, I develop a lot of stuff in VB just as fast > as I would in Access, or at least close. > > The big clash with Access is solved with VB. Installing a runtime > version of Access 97 will definitely clash with a previous installation > of Access 2k or XP, or any future version. That gives your Access > applications a smudge, a special consideration smudge. Since bound > applications can be built extremely fast in Access, the development > expense should outway that issue. > > VB does not have the compatibility issue. Installing VB 5.0 > applications on a machine that VB 6 applications have no issue, same > with .Net. So you can install it and walk away. The only issue you may > have is if a future OS does not support VB applications...but that is a > long time away. VB can use .mdb's through ADO or DAO, which install on > their own. Newer ADO/DAO versions can use previous .mdb versions, so > that isn't an issue either. > > Drew > > -----Original Message----- > From: Paul Black > To: accessd at databaseadvisors.com > Sent: 5/31/03 2:59 PM > Subject: [AccessD] Distribution - a bit OT > > Hi > > I submitted a proposal to a client this week for a custom application. > Their > nose is a bit bent out of shape because they feel they should be able to > > slap a CD in the drive click the install button and the app will install > in > a nice self-contained thing-a-ma-bob (that is what they said). > > Why do we have to have MS Access installed? You don't, I said, I can > supply > a runtime version. > > Why do we have to worry about what version of MS Access is installed > already? We did not ask for MS Access, we asked for a custom computer > application. > > Why do we have to worry about installing a runtime version on a machine > with > Access already on it and causing all kinds of problems (paraphrased)? > > Plain and simple they want an app that is a DBS management system but > they > want something that is completely autonomous. What do I do? What would > you > do? I may have already lost this deal but need to prepare for the next > time > this happens. > > Do I offer a solution that is all VB or C++ or some such thing or am I > missing the boat here. Please help. > > > Thanks > > PB > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Martin WP Reid Analyst Information Services Queens University Belfast From jim.hale at fleetpride.com Mon Jun 2 13:24:25 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 2 Jun 2003 13:24:25 -0500 Subject: [AccessD] Scheduler/Calendar form Message-ID: <869379ABF177D4118D3100508B5EF87306177277@corp-es00> I believe the working link is http://www.dataspherellc.com/ (For some reason the other one is no longer working) FWIW I have used their calendar and have been very satisfied. Jim Hale -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday, June 02, 2003 6:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Scheduler/Calendar form Take a look at Datasphere's calendar controls (www.datasphere.com) Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stemme Data Sent: Sunday, June 01, 2003 3:05 AM To: accessd at databaseadvisors.com Subject: [AccessD] Scheduler/Calendar form Hi Guys I have a client looking an outlook like calendar i.e. with dates on top and users on the left or vise versa, does any of you have such a thing developed in access, I wonder and hope ;-) I have developed my own but it is just toooooo slow, so if any of you have such a thing I would love to check it out, thanks in advance Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Mon Jun 2 13:34:06 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 02 Jun 2003 14:34:06 -0400 Subject: [AccessD] Opening Recordset Error Message-ID: An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 2 14:08:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 14:08:52 -0500 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC3@main2.marlow.com> Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 2 14:23:27 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 2 Jun 2003 15:23:27 -0400 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: Thanks Drew, I had just found an example of the FormName.SelectName.Value syntax on pscode.com and implemented it (it worked), however the example did not include the "document" part. Would this part only be necessary if I was passing values between frames? ...and to address your FYI, yes, this is for a corporate intranet with ~98% using IE and ~93% using IE 6.0. Thanks again, Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 02, 2003 3:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 2 14:46:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 14:46:40 -0500 Subject: [AccessD] OT: Passing Variables - VBScript Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC4@main2.marlow.com> Sticking with IE on an Intranet is going to use VBScript all over the place. Just remember that moving to an INTERNET system is going to require other tactics. You don't need to use Document, it's just a matter of referencing. As long as it's unique enough that the Scripting engine knows what you are talking about, you are in business. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 2:23 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Thanks Drew, I had just found an example of the FormName.SelectName.Value syntax on pscode.com and implemented it (it worked), however the example did not include the "document" part. Would this part only be necessary if I was passing values between frames? ...and to address your FYI, yes, this is for a corporate intranet with ~98% using IE and ~93% using IE 6.0. Thanks again, Mark -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 02, 2003 3:09 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Passing Variables - VBScript Then put DoSomething() in place of the ???What goes here??? spot.(Keep the double quotes around it.) Just an FYI, using VBScript is going to limit your clients to using IE in most cases. I personally use a lot of VBScript on our Intranet, because all Intranet clients use IE. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, June 02, 2003 11:55 AM To: 'AccessD' Subject: [AccessD] OT: Passing Variables - VBScript Group, This is my first real attempt at developing an HTML application (.HTA) using VB Script. Given that the user makes a selection from this element:
...?how do I pass their selection to a button element, ...that will utilize a routine like: Sub Button001_OnClick() End Sub I provided an example below that uses separate buttons (with an associated separate function) for each printer (...which works), but this approach is not very elegant. TIA, Mark Function InstallPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection PrinterPath End Function Function SetDefaultPrinter(PrinterPath) Set WshNetwork = CreateObject("WScript.Network") WshNetwork.SetDefaultPrinter PrinterPath End Function Function Button001_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) End Function Function Button001A_OnClick() PrinterPath = "\\ServerName\PrinterName1" InstallPrinter(PrinterPath) SetDefaultPrinter(PrinterPath) End Function
_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 2 15:47:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 13:47:27 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <006701c32948$2dd53f00$6501a8c0@HAL9002> Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 15:56:00 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 16:56:00 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Mon Jun 2 16:06:37 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 2 Jun 2003 23:06:37 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 2 16:08:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 2 Jun 2003 17:08:22 -0400 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: <003201c3294b$216837b0$b8e6ffcc@SusanOne> How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 2 16:14:12 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 2 Jun 2003 17:14:12 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: BerichtThat might actually slow things down depending on the cardinality (measure of the uniqueness) of the index. If there are only a few values (like a yes/no field), it's faster to scan the table. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, June 02, 2003 5:07 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Jun 2 16:22:29 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 02 Jun 2003 14:22:29 -0700 Subject: [AccessD] Windows Server 2003 Book MSPress Canada Only References: <3EDB7DD4.14552.1F0CF59@localhost> Message-ID: <3EDBC015.9020904@shaw.ca> Guess you are stuck with http:\\www.microsoft.com\australia But here is a neat little gem from Win 2003 documents. Host: Brian (Microsoft) Q: when / will there be the next version of IE? A: As part of the OS, IE will continue to evolve, but there will be no future standalone installations. IE6 SP1 is the final standalone installation. Host: Brian (Microsoft) Q: Why is this? the anti-trust? (no further standalone) A: Although this is off topic, I will answer briefly: Legacy OSes have reached their zenith with the addition of IE 6 SP1. Further improvements to IE will require enhancements to the underlying OS. Changes in Internet Explorer for Windows Server 2003 http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itcommunity/chats/trans/ie/ie0507.asp Stuart McLachlan wrote: >On 1 Jun 2003 at 20:48, MartyConnelly wrote: > > > >>http:\\www.microsoft.ca/freebook >>or >>http://www.microsoft.com/canada/freebook/WS03offer/default.mspx >> >>I guess others could look around their countries Windows 2003 site. >> >> >> > >Yeah right. There doesn't seem to be any page at >http://www.microsoft.com.papuanewguinea. > >And http://www.microsoft.com.pg doesn't seem to be working at the >moment either . Maybe I should register it > > > > > > > > From cfoust at infostatsystems.com Mon Jun 2 16:23:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 14:23:06 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:32:53 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:32:53 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <008d01c3294e$8688dc50$6501a8c0@HAL9002> A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:34:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:34:20 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00af01c3294e$ba36b040$6501a8c0@HAL9002> MessageIt runs okay, just a little pokey. I've run bigger datasets with Jet. Rocky ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:23 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 2 16:42:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Jun 2003 14:42:43 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Better you than me, my friend. I had enough problems running against 500,000 records on a dual processor machine. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up It runs okay, just a little pokey. I've run bigger datasets with Jet. Rocky ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:23 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 2 16:45:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 2 Jun 2003 16:45:46 -0500 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CC5@main2.marlow.com> I don't think there is a limit on the number of records, just on the database size. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 16:50:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 17:50:32 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CC5@main2.marlow.com> Message-ID: MessageOf course there's a limit on the number of records. Everything is based around long integers (for counting things) so if nothing else the number of records would be 2^31 which can't be realized anyway since the file size limit would already be reached. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 02, 2003 5:46 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Update Query - Need to Speed It Up I don't think there is a limit on the number of records, just on the database size. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 02, 2003 4:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update Query - Need to Speed It Up Um, isn't that outside the specifications on maximum size for a Jet table? Or are you running this against a SQL Server BE? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, June 02, 2003 12:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:58:43 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:58:43 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <003201c3294b$216837b0$b8e6ffcc@SusanOne> Message-ID: <00e201c32952$222c6de0$6501a8c0@HAL9002> 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:59:26 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: <00f501c32952$3c475230$6501a8c0@HAL9002> BerichtErwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 16:59:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 14:59:26 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <104AB6116A2DD511A7580008C7097A98219845@AARDBEI> Message-ID: <00f501c32952$3c475230$6501a8c0@HAL9002> BerichtErwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 2 17:04:20 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 15:04:20 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <003201c3294b$216837b0$b8e6ffcc@SusanOne> Message-ID: <013f01c32952$eb11b850$6501a8c0@HAL9002> Zero length string is okay. I could live with null if it went faster. Otherwise it makes no difference. ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Subscriptions at servicexp.com Mon Jun 2 17:38:44 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 2 Jun 2003 18:38:44 -0400 Subject: [AccessD] Back End Updater In-Reply-To: Message-ID: It does Indeed!!! Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 02, 2003 11:02 AM To: AccessD Subject: [AccessD] Back End Updater Well, I just set up the BEU in a client database. It took about 20 minutes to set up, a few minutes to figure out how to get started, then about 5 minutes to apply the one change I need right now. Good job guys, it works great. 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 rfv at entelix.com Mon Jun 2 17:48:17 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Mon, 2 Jun 2003 17:48:17 -0500 Subject: [AccessD] Tool Bar Message-ID: <200306021548670.SM02360@LapRFV> Hi, Has anybody had success with a third party Active X Toolbar from MS Access 2k? I already purchased DBI ctToolbar Active X, but it gave me a lot of trouble with my application. Thanks in advance! Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 18:03:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 19:03:15 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <00e201c32952$222c6de0$6501a8c0@HAL9002> Message-ID: Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Mon Jun 2 18:24:37 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 03 Jun 2003 11:24:37 +1200 Subject: [AccessD] Query reference to screen control Message-ID: <70F3D727890C784291D8433E9C418F29038AEA@server.bondsoftware.co.nz> Arthur, can you please put up a quick overview of what's needed to replace form parameters with Static functions? TIA Stephen Bond -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, 30 May 2003 11:23 p.m. To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query reference to screen control That's an additional reason why I dislike going that route. The query then becomes useless in the absence of said form being open. Static functions are IMO a much better way to go. Just my $.02, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: May 29, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query reference to screen control Parameters referring to form controls work just fine. Only make sure you put in the square brackets around each part of the parameter yourself. Otherwise, when/if you convert to 2002, you can run into problems when the query engine kindly inserts its own brackets around the whole blasted parameter. Hello? This is the voice of experience speaking ... Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, May 29, 2003 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query reference to screen control Hmmmm, that's a twist. Does it then not pop up the parameter dialog because I would be referring to the screen control?...I will give it a go, and thanks Gustav. _d "Things are only free to the extent that you don't pay for them." >From: Gustav Brock >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Query reference to screen control >Date: Thu, 29 May 2003 12:53:47 +0200 > >Hi Don > >Try specifying in the query [forms]![frmtestcases]![cmbproject] as a >parameter. > >/gustav > > >I have this odd occurrance in A2K. I have a combo that has criteria > >referencing two screen controls, like this > >[forms]![frmtestcases]![cmbproject]. Many times (but not always) it > >returns nothing when I click it. Then if I go into the grid for the > >underlying query and make it > >=[forms]![frmtestcases]![cmbproject] it works, however it does not keep > >the equal sign, it discards it - works for a while then craps out. What > >gives?? Just another wierd Accessism? > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 2 18:31:33 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 02 Jun 2003 17:31:33 -0600 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Delete the fields and add them back. Default value "" and 0. Hen >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's >taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bchacc at san.rr.com Mon Jun 2 19:06:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 17:06:06 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <019301c32963$edd73130$6501a8c0@HAL9002> Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.powell at bbm.wapl.com.au Mon Jun 2 20:42:12 2003 From: david.powell at bbm.wapl.com.au (Powell, David (BBM)) Date: Tue, 3 Jun 2003 09:42:12 +0800 Subject: [AccessD] Opening Recordset Error Message-ID: <1C66E1A38F4E22499CE329884E3FA8B10207F1BD@WAPLMAIL.wapl.com.au> Great *simple* idea Don. I will take that one on board too. Regards David -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, 3 June 2003 2:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Opening Recordset Error I don't know if you solved this already, but I would do a debug.print to see the SQL thats getting created before it executes -then it will jump out at you. _d "Things are only free to the extent that you don't pay for them." >From: "Nancy Lytle" >Reply-To: accessd at databaseadvisors.com >To: "Accessd" >Subject: [AccessD] Opening Recordset Error >Date: Mon, 2 Jun 2003 09:56:48 -0400 > >Can someone see what I am missing here? I keep getting the error: "Too few >Parameters: Expected 1" > >Dim intCounter As Integer >Dim rstFunded As DAO.Recordset >Dim dbFunded As DAO.Database >Dim strFunded As String >strFunded = "SELECT Sum([tblInvoiceFunding.FundsFromCode]) AS Funded" >strFunded = strFunded & " , tblInvoiceFunding.InvoiceID FROM >tblInvoiceFunding GROUP BY tblInvoiceFunding.InvoiceID" >strFunded = strFunded & " HAVING >(((tblInvoiceFunding.InvoiceID)=[Forms]![frmInvoiceDataEntry]![txtINVOI CE_ID >]))" >Set dbFunded = CurrentDb() >Set rstFunded = dbFunded.OpenRecordset(strFunded, dbOpenDynaset, dbReadOnly) > >TIA, >Nancy L > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ Protect your PC - Click here for McAfee.com VirusScan Online NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message Worsley Alumina Pty Ltd ABN 58 008 905 155 is the manager of the Worsley Joint Venture - Bauxite/Alumina Operation. Liability and responsibility of the Joint Venturers is several in accordance with the following schedule of participating interests: Billiton Aluminium (RAA) Pty Ltd 56 percent, Billiton Aluminium (Worsley) Pty Ltd 30 percent, Kobe Alumina Associates (Australia) Pty Limited 10 percent, Nissho Iwai Alumina Pty Limited 4 percent. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 22:24:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 20:24:31 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <019301c32963$edd73130$6501a8c0@HAL9002> Message-ID: <022101c3297f$a5f81430$6501a8c0@HAL9002> John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 2 22:43:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 2 Jun 2003 23:43:46 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <022101c3297f$a5f81430$6501a8c0@HAL9002> Message-ID: Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 23:04:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 21:04:31 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <025501c32985$3c658060$6501a8c0@HAL9002> Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Jun 2 23:05:14 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 21:05:14 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <025d01c32985$55d72c60$6501a8c0@HAL9002> That might cut it down to 5 seconds. Have to get out the old ADH and look up that adding and dropping fields code. Thanks for the idea. Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and it's > >taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Jun 3 00:51:07 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 2 Jun 2003 22:51:07 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <003201c32994$20fd36b0$6501a8c0@HAL9002> Henry: I'm trying to implement this method but don't see the way to set the default value using the CreateField method. Is there another way? I tried: Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" tdf.Fields.Append fld Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 tdf.Fields.Append fld which works without the .DefaultValue clause. WQIth the cluase I get an error 'Object Required'. Thanks and regards, Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and it's > >taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Tue Jun 3 00:54:45 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:54:45 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219846@AARDBEI> That sounds like a good improvement.... Have some experiance with large record tables too, using jet. I don't believe MSDE will be a solution when MSDE is installed on local machine... But maybe you should give it a try.. Don't forget you will need changing your code... Nothing beats Jet in speed when using 1 user on 1 computer... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: maandag 2 juni 2003 23:59 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 00:58:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:58:14 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219847@AARDBEI> Had same prob, less records (700.000) Keep the golden rule in mind. Update/change as less as you can. Updating means locking and writing. Writing is always slower than reading. And its less dangerous in a multi user environment... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: maandag 2 juni 2003 23:59 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up Erwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 00:59:57 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 07:59:57 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219848@AARDBEI> I had many occasions that NULL is faster when using as a filter in a querie. You must set field option empty string to disabled because otherwise you need to filter on both.... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 0:04 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up Zero length string is okay. I could live with null if it went faster. Otherwise it makes no difference. ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 01:04:51 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 08:04:51 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A98219849@AARDBEI> I believe John is right, but it will depend on how many records will need updating.... If you only have two records to update, deleting and creating the indexes will take more time... No indexes will slow down the filter.. -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 5:25 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Tue Jun 3 01:05:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 3 Jun 2003 08:05:54 +0200 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: <104AB6116A2DD511A7580008C7097A9821984A@AARDBEI> Only in a single user environment.... In multi user your app can crash... -----Oorspronkelijk bericht----- Van: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Verzonden: dinsdag 3 juni 2003 6:05 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Update Query - Need to Speed It Up That might cut it down to 5 seconds. Have to get out the old ADH and look up that adding and dropping fields code. Thanks for the idea. Rocky ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 02, 2003 4:31 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Delete the fields and add them back. Default value "" and 0. > > Hen > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] Update Query - Need to Speed It Up > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > >Dear List: > > > >I am running an update query on a table with 2,500,000 records and > >it's taking just a bit too long for the my and the client's liking. > >The SQL is: > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = > >"""", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > >It's setting one field to blank the other to 0. > > > >Is there a way to make it run any faster? > > > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 3 01:27:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 3 Jun 2003 08:27:45 +0200 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <006701c32948$2dd53f00$6501a8c0@HAL9002> References: <006701c32948$2dd53f00$6501a8c0@HAL9002> Message-ID: <743027593.20030603082745@cactus.dk> Hi Rocky Why are you doing this regular clean-up thing (which I guess it is)? Wouldn't it be wiser to set these values when you append or manipulate those records? /gustav > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > The SQL is: > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > It's setting one field to blank the other to 0. > Is there a way to make it run any faster? From subs at solution-providers.ie Tue Jun 3 03:55:22 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Tue, 3 Jun 2003 09:55:22 +0100 Subject: [AccessD] Update Query - Need to Speed It Up References: <003201c32994$20fd36b0$6501a8c0@HAL9002> Message-ID: <00af01c329ad$e2aaa0e0$6a1118ac@D8TZHN0J> Hello Rocky, Here is a snipit of code I wrote a few years ago that appends default values amongst other things. All I can say is 'it works', it was A97 but as far as I know it also works in A2K. I know that you do not want to hear it, but I have terrible problems with databases over 1M records. You have to consider compacting and rebuilding regularly, and I often got databases that would just go corrupt. A backup from yesterday evening sometimes does not cut it. A one user, one machine system may work fine, but that same db now has put 18 M records through over three years on SQL 7 / MSDE 1.0 and it has never ever crashed and performance it still tip top. You can not agrue with that. The dropping and re-creating is quick but consider the compact and rebuild regularly. On the other hand, it is much more fun that a little db with only a few hundred records, even if you make more money on the small app. Enjoy, Mark ...snip Set fld = tdf.CreateField(strFieldName) fld.Type = intDataType If intDataType = dbText Or intDataType = dbNumeric Then fld.Size = intDataSize End If If Right(fld.Name, 3) = "_ID" Then fld.Attributes = dbAutoIncrField End If If Len(strDefaultValue & "") > 0 Then fld.DefaultValue = strDefaultValue End If If strReq = "y" Then fld.Required = True End If tdf.Fields.Append fld ...end snip ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Tuesday, June 03, 2003 6:51 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Henry: > > I'm trying to implement this method but don't see the way to set the default > value using the CreateField method. Is there another way? > > I tried: > > Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" > tdf.Fields.Append fld > Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 > tdf.Fields.Append fld > > which works without the .DefaultValue clause. WQIth the cluase I get an > error 'Object Required'. > > Thanks and regards, > > Rocky > > ----- Original Message ----- > From: "Henry Simpson" > To: > Sent: Monday, June 02, 2003 4:31 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > Delete the fields and add them back. Default value "" and 0. > > > > Hen > > > > > > >From: "Rocky Smolin - Beach Access Software" > > >Reply-To: accessd at databaseadvisors.com > > >To: > > >Subject: [AccessD] Update Query - Need to Speed It Up > > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > > > >Dear List: > > > > > >I am running an update query on a table with 2,500,000 records and it's > > >taking just a bit too long for the my and the client's liking. > > >The SQL is: > > > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > > > >It's setting one field to blank the other to 0. > > > > > >Is there a way to make it run any faster? > > > > > > > > >MTIA, > > > > > >Rocky Smolin > > >Beach Access Software > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Tony.Yeatman at creditlyonnais.co.uk Tue Jun 3 05:27:26 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Tue, 3 Jun 2003 11:27:26 +0100 Subject: [AccessD] Snapshot Viewer Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E40340@LNN052> Thank you Doug, Barbara, Charles and John. It appears that the new PC's are not being supplied with the Office 97 Service packs, as soon as I installed the Service Packs all was worked well. Regards Tony. -----Original Message----- From: Doug Murphy [mailto:doug at murphyscreativity.com] Sent: 02 June 2003 17:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Snapshot Viewer Hi Tony, I ran into this problem and posted a question a couple of years ago. The snapshot capability was not native to Access 97 but was added to in SR2 I believe. There is a problem with installing the service release and getting the snapshot functionality in some configurations of Office 97 and Windows and the patches that have been applied to them. Apparently when the update installer runs it looks a certain items on the computer and makes the decision on what to update. WindowsME was the one we were having trouble with. I found an acknowledgement of the problem on the MS Knowledge Base but no solution. Since we were distributing the app as a runtime it had to work in all situations so I updated it to AccessXP and built the runtime around that and now we have no problems. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Yeatman, Tony Sent: Monday, June 02, 2003 4:53 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Snapshot Viewer I have Access 97, and Access 2000 installed on the same machine, with Windows 2000. The database I have written is in 97, even though snapshot viewer is installed and can be viewed/used from Access 2000, it cannot be used from Access 97, not even manually. It is not listed as an option. Has anybody seen this problem ? or know of some possible solutions. Thank you in advance for any help you can give. Tony. ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Tue Jun 3 03:18:49 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 03 Jun 2003 20:18:49 +1200 Subject: [AccessD] Microsoft Data Outline Control Message-ID: <70F3D727890C784291D8433E9C418F298ED5@server.bondsoftware.co.nz> I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 From jcolby at colbyconsulting.com Tue Jun 3 06:40:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 07:40:22 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <025501c32985$3c658060$6501a8c0@HAL9002> Message-ID: What I'm trying to say is that if you just needed to update ALL the records in the dataset (add 5% to a cost for example), then dropping the index, updating, then adding the index back would probably be faster. In your case, if you have a filter that says "only those not 0" (for example) and you drop the index, then it takes LONGER to find those records that are "not 0" and thus dropping the index SLOWS the thing down (as you observed). If in one case (with an index) you say "update all records <> 0" and in the other case you just drop the index on the column that might be 0 and then just update ALL the records to be zero... then which is faster? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 12:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Jun 3 07:34:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 3 Jun 2003 07:34:06 -0500 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Rocky, Since it doesn't make sense to me to try to change the PPV and Variance's of all InvoiceDetail records, why don't you have a Where clause to select only those that need changing? Presumably some Invoice record changed, so only its InvoiceDetail records now need updating. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday 2003 Jun 02 23:05 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software From jimdettman at earthlink.net Tue Jun 3 07:55:11 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 08:55:11 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <008d01c3294e$8688dc50$6501a8c0@HAL9002> Message-ID: Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Tue Jun 3 08:07:32 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 14:07:32 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <000001c329d1$1823aa00$cb0d6bd5@netboxxp> Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark From michael.broesdorf at web.de Tue Jun 3 08:15:59 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 3 Jun 2003 15:15:59 +0200 Subject: AW: [AccessD] Microsoft Data Outline Control In-Reply-To: <70F3D727890C784291D8433E9C418F298ED5@server.bondsoftware.co.nz> Message-ID: Hi Stephen, the data outline control was a databound control that was able to display data in a hierachical manner (similar to the treeview control).It was part of the Office Developer Tools. MS did not include it in later versions of the developer tools. You probably will have to replace it by either a treeview control (and do the databinding using VBA) or by 3rd party controls (Flexgrid?). Or you could try to get an old version of ODE and extract the neccessary files from there (which might be a good idea anyway, since you probably want to know, what was inside the control [SQL code]). HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stephen Bond Gesendet: Dienstag, 3. Juni 2003 10:19 An: accessd at databaseadvisors.com Betreff: [AccessD] Microsoft Data Outline Control I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 3 08:18:58 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 03 Jun 2003 09:18:58 -0400 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 08:33:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:33:51 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <006701c32948$2dd53f00$6501a8c0@HAL9002> <743027593.20030603082745@cactus.dk> Message-ID: <005001c329d4$c5983cc0$6501a8c0@HAL9002> Gustav: It's not really a clean-up. It's zeroing out these two fields preparatory to doing a purchase price variance analysis for a report. The underlying data is very stable but not completely static and the user can specify the level of PPV to be noted on the report. So after the fields are reset, I retrieve the data set in product number/Invoice date sequence and look for variances in the purchase price over time for each product, noting where the price of a purchase varies more than the user defined limit from the previous purchase and that gets flagged in the record (also on the previous and following records) which makes it easy to run the report. I suppose I could put these two fields in a separate table with a one-to-one relationship. But then I have a join to deal with when running the report which might take a long time. Since the UPDATE query runs acceptably fast now the pacing item is the sequential search through the 2.5 mil records for purchase price variances. BTW, I found in very ling reports that its the Page Number that slows down the first page appearing in preview, if you use the 'page xxx of yyyy' approach. If you drop the 'of yyy' part the first page comes up right away. With an 800 page report it can take minutes for the first page to appear with the 'of yyy' in the page footer. Regards, Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, June 02, 2003 11:27 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hi Rocky > > Why are you doing this regular clean-up thing (which I guess it is)? > Wouldn't it be wiser to set these values when you append or manipulate > those records? > > /gustav > > > > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > > The SQL is: > > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > It's setting one field to blank the other to 0. > > > Is there a way to make it run any faster? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Jun 3 08:38:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:38:23 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: <003201c32994$20fd36b0$6501a8c0@HAL9002> <00af01c329ad$e2aaa0e0$6a1118ac@D8TZHN0J> Message-ID: <005601c329d5$67a05700$6501a8c0@HAL9002> Mark: Thanks for the snippet. I know you're right about MSDE or SQL. If this business of my client takes off we'll have to move there eventually. Right now it's single user so the delete and re-create field approach will be okay. You're monitoring the list. Are you back in the Access business? Have you become a phenomenally wealthy and powerful software entrepreneur? Staying away from China these days? How's the little girl? (excuse the OT, please) Rocky ----- Original Message ----- From: "Mark L. Breen" To: Sent: Tuesday, June 03, 2003 1:55 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hello Rocky, > > Here is a snipit of code I wrote a few years ago that appends default values > amongst other things. All I can say is 'it works', it was A97 but as far as > I know it also works in A2K. > > I know that you do not want to hear it, but I have terrible problems with > databases over 1M records. You have to consider compacting and rebuilding > regularly, and I often got databases that would just go corrupt. A backup > from yesterday evening sometimes does not cut it. A one user, one machine > system may work fine, but that same db now has put 18 M records through over > three years on SQL 7 / MSDE 1.0 and it has never ever crashed and > performance it still tip top. You can not agrue with that. > > The dropping and re-creating is quick but consider the compact and rebuild > regularly. > > On the other hand, it is much more fun that a little db with only a few > hundred records, even if you make more money on the small app. > > Enjoy, > > Mark > > ...snip > > Set fld = tdf.CreateField(strFieldName) > > fld.Type = intDataType > > If intDataType = dbText Or intDataType = dbNumeric Then > fld.Size = intDataSize > End If > > If Right(fld.Name, 3) = "_ID" Then > fld.Attributes = dbAutoIncrField > End If > > If Len(strDefaultValue & "") > 0 Then > fld.DefaultValue = strDefaultValue > End If > > If strReq = "y" Then > fld.Required = True > End If > > tdf.Fields.Append fld > > ...end snip > > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Tuesday, June 03, 2003 6:51 AM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > Henry: > > > > I'm trying to implement this method but don't see the way to set the > default > > value using the CreateField method. Is there another way? > > > > I tried: > > > > Set fld = tdf.CreateField("fldNew", dbText, 44).DefaultValue = "" > > tdf.Fields.Append fld > > Set fld = tdf.CreateField("fldNew2", dbDouble).DefaultValue = 0 > > tdf.Fields.Append fld > > > > which works without the .DefaultValue clause. WQIth the cluase I get an > > error 'Object Required'. > > > > Thanks and regards, > > > > Rocky > > > > ----- Original Message ----- > > From: "Henry Simpson" > > To: > > Sent: Monday, June 02, 2003 4:31 PM > > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > > > > > Delete the fields and add them back. Default value "" and 0. > > > > > > Hen > > > > > > > > > >From: "Rocky Smolin - Beach Access Software" > > > >Reply-To: accessd at databaseadvisors.com > > > >To: > > > >Subject: [AccessD] Update Query - Need to Speed It Up > > > >Date: Mon, 2 Jun 2003 13:47:27 -0700 > > > > > > > >Dear List: > > > > > > > >I am running an update query on a table with 2,500,000 records and it's > > > >taking just a bit too long for the my and the client's liking. > > > >The SQL is: > > > > > > > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = > """", > > > >tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > > > > > >It's setting one field to blank the other to 0. > > > > > > > >Is there a way to make it run any faster? > > > > > > > > > > > >MTIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > > > > > >_______________________________________________ > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Jun 3 08:40:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:40:12 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <006901c329d5$a87e2cc0$6501a8c0@HAL9002> Updating all the records without the index would be slow. I was originally doing it that way, then added the indexes to see if the update would run faster. It didn't appreciably. But updating all records without the index would probably be faster. OTOH there seems to be a bit of time consumed by creating the indexes as well. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 4:40 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up What I'm trying to say is that if you just needed to update ALL the records in the dataset (add 5% to a cost for example), then dropping the index, updating, then adding the index back would probably be faster. In your case, if you have a filter that says "only those not 0" (for example) and you drop the index, then it takes LONGER to find those records that are "not 0" and thus dropping the index SLOWS the thing down (as you observed). If in one case (with an index) you say "update all records <> 0" and in the other case you just drop the index on the column that might be 0 and then just update ALL the records to be zero... then which is faster? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 12:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Not sure I understand 'different data sets'. The test I ran was run on the same data - same conditions, etc. of the 2.5 million records, there were only a handful anyway in which the fields were not "" and 0. So it's mostly the filtered retrieval not the update that's being measured. But in both cases, I'm updating the same records. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 8:43 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Yes, but are you updating different data sets? With indexes are you only updating those needing updating, without indexes updating all? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 11:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up John: 1:44 without indexes; 1:17 with indexes. Go figure Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 5:06 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up Well I'll try a benchmark with no indexes - see if it's faster. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 4:03 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, Part of the problem is that the fields are indexed. Using the indexes to select only the fields that need updating is appropriate of course if it's not all the records that need updating. The other option is to delete the index, update, then rebuild the index. Apparently after each update (each record) Access foes in and adjusts the index. Removing the index entirely, doing the updates, then rebuilding the index from scratch is SUPPOSED to be faster. never actually tried it tho. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. Rocky ----- Original Message ----- From: Susan Harkins To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 2:08 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up How long is too long? With 2 million records, and Jet, just how fast do you want it to be??? :) And about that blank -- do you really mean a zero-length string or did you really want Null? Susan H. Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 08:41:13 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 06:41:13 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <007401c329d5$cd075ad0$6501a8c0@HAL9002> Charles: That's what I did and it reduced the time from 8+ minutes to less than 1 1/2 minutes. Rocky ----- Original Message ----- From: "Wortz, Charles" To: Sent: Tuesday, June 03, 2003 5:34 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up > Rocky, > > Since it doesn't make sense to me to try to change the PPV and > Variance's of all InvoiceDetail records, why don't you have a Where > clause to select only those that need changing? Presumably some Invoice > record changed, so only its InvoiceDetail records now need updating. > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday 2003 Jun 02 23:05 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > Not sure I understand 'different data sets'. The test I ran was run on > the same data - same conditions, etc. of the 2.5 million records, there > were only a handful anyway in which the fields were not "" and 0. So > it's mostly the filtered retrieval not the update that's being measured. > But in both cases, I'm updating the same records. > > Rocky > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 8:43 PM > Subject: RE: [AccessD] Update Query - Need to Speed It Up > > > Yes, but are you updating different data sets? With indexes are you > only updating those needing updating, without indexes updating all? > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, June 02, 2003 11:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > John: > > 1:44 without indexes; 1:17 with indexes. Go figure > > Rocky > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 5:06 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > Well I'll try a benchmark with no indexes - see if it's faster. > > Rocky > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 4:03 PM > Subject: RE: [AccessD] Update Query - Need to Speed It Up > > > Rocky, > > Part of the problem is that the fields are indexed. Using the indexes > to select only the fields that need updating is appropriate of course if > it's not all the records that need updating. The other option is to > delete the index, update, then rebuild the index. Apparently after each > update (each record) Access foes in and adjusts the index. Removing the > index entirely, doing the updates, then rebuilding the index from > scratch is SUPPOSED to be faster. never actually tried it tho. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, June 02, 2003 5:59 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > 8:10. But with Erwin's filter 1:28. Next stop, I guess is MSDE. > > Rocky > > ----- Original Message ----- > From: Susan Harkins > To: accessd at databaseadvisors.com > Sent: Monday, June 02, 2003 2:08 PM > Subject: Re: [AccessD] Update Query - Need to Speed It Up > > > How long is too long? With 2 million records, and Jet, just how fast do > you want it to be??? :) > > And about that blank -- do you really mean a zero-length string or did > you really want Null? > > Susan H. > > > Dear List: > > I am running an update query on a table with 2,500,000 records and it's > taking just a bit too long for the my and the client's liking. > The SQL is: > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", > tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > It's setting one field to blank the other to 0. > > Is there a way to make it run any faster? > > > MTIA, > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 3 08:56:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 09:56:34 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <005001c329d4$c5983cc0$6501a8c0@HAL9002> Message-ID: Rocky, <> That's because when you add the 'yyy', you force Access to run the report twice. The first pass it does to determine the last page number. The output is sent to the Null device. When that's complete, it then starts over and prints the report. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 9:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Gustav: It's not really a clean-up. It's zeroing out these two fields preparatory to doing a purchase price variance analysis for a report. The underlying data is very stable but not completely static and the user can specify the level of PPV to be noted on the report. So after the fields are reset, I retrieve the data set in product number/Invoice date sequence and look for variances in the purchase price over time for each product, noting where the price of a purchase varies more than the user defined limit from the previous purchase and that gets flagged in the record (also on the previous and following records) which makes it easy to run the report. I suppose I could put these two fields in a separate table with a one-to-one relationship. But then I have a join to deal with when running the report which might take a long time. Since the UPDATE query runs acceptably fast now the pacing item is the sequential search through the 2.5 mil records for purchase price variances. BTW, I found in very ling reports that its the Page Number that slows down the first page appearing in preview, if you use the 'page xxx of yyyy' approach. If you drop the 'of yyy' part the first page comes up right away. With an 800 page report it can take minutes for the first page to appear with the 'of yyy' in the page footer. Regards, Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, June 02, 2003 11:27 PM Subject: Re: [AccessD] Update Query - Need to Speed It Up > Hi Rocky > > Why are you doing this regular clean-up thing (which I guess it is)? > Wouldn't it be wiser to set these values when you append or manipulate > those records? > > /gustav > > > > I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. > > The SQL is: > > > UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > > > It's setting one field to blank the other to 0. > > > Is there a way to make it run any faster? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Jun 3 09:12:53 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 10:12:53 -0400 Subject: [AccessD] VBAErrorHandler Message-ID: <000d01c329da$3b62dcd0$6401a8c0@default> I am unclear on the following and could use some instruction: Public gProcStack As New adhProcedureStack is inside the class that is added to my project, but not defined outside the class when I set Conditional Compilation arg boolElE = 1. WriteErrorLog is also not defined. How am I to use these variables? Michael R. Mattys www.mattysconsulting.com From bchacc at san.rr.com Tue Jun 3 09:11:40 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:11:40 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00a701c329da$0dd8d7b0$6501a8c0@HAL9002> Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 09:15:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:15:38 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <00b901c329da$9ba420e0$6501a8c0@HAL9002> Don: I thought about doing it for the two fields I'm updating. But then the report would have to do a one-to-one join on the table with the two fields instead of just printing the two bound fields on the report. Not sure I'd save anything that way. Right now the UPDATE time is tolerable. There's another chunk of code after that which compares the detail records to find the variances which can take several minutes to run. That's where I'm going to look for a different technique. For the moment - client is happy!! Thanks to all who gave me input on this problem. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Don Elliker To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 6:18 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up whew...2.5million records- there's your problem! Have you tried a maketable (create a new one delete the old) setting those fields when you do it? WAG..I know. Other than that how about setting some temporary indices (indexes) on those fields...might help. _D "Things are only free to the extent that you don't pay for them." >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ MSN 8 with e-mail virus protection service: 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 09:21:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 10:21:54 -0400 Subject: [AccessD] VBAErrorHandler In-Reply-To: <000d01c329da$3b62dcd0$6401a8c0@default> Message-ID: Michael, The stack stuff is code that tracks calls to functions. If you turn on a property in the error handler setup then code to do te call trace will be inserted in the error handlers created. In that case, the procedure stack code will be used. I'm not sure what the conditional compilation variable is. Is it mentioned in the doc anywhere? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Tuesday, June 03, 2003 10:13 AM To: AccessD Subject: [AccessD] VBAErrorHandler I am unclear on the following and could use some instruction: Public gProcStack As New adhProcedureStack is inside the class that is added to my project, but not defined outside the class when I set Conditional Compilation arg boolElE = 1. WriteErrorLog is also not defined. How am I to use these variables? Michael R. Mattys www.mattysconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Jun 3 09:31:04 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 10:31:04 -0400 Subject: [AccessD] VBAErrorHandler References: Message-ID: <003101c329dc$c4542a60$6401a8c0@default> No, that's just the thing... It's not mentioned and if I don't set the project properties Cond.Comp. to boolElE = 1, then it skips right over and I don't get an error log or debug.print. I think? Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "John Colby" To: Sent: Tuesday, June 03, 2003 10:21 AM Subject: RE: [AccessD] VBAErrorHandler > Michael, > > The stack stuff is code that tracks calls to functions. If you turn on a > property in the error handler setup then code to do te call trace will be > inserted in the error handlers created. In that case, the procedure stack > code will be used. I'm not sure what the conditional compilation variable > is. Is it mentioned in the doc anywhere? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > Mattys > Sent: Tuesday, June 03, 2003 10:13 AM > To: AccessD > Subject: [AccessD] VBAErrorHandler > > > I am unclear on the following and could > use some instruction: > > > Public gProcStack As New adhProcedureStack > is inside the class that is added to my project, but > not defined outside the class when I set Conditional > Compilation arg boolElE = 1. WriteErrorLog is also > not defined. > > How am I to use these variables? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Tue Jun 3 09:32:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 3 Jun 2003 10:32:43 -0400 Subject: [AccessD] Update Query - Need to Speed It Up In-Reply-To: <00a701c329da$0dd8d7b0$6501a8c0@HAL9002> Message-ID: Rocky, That's weird. When's the last time you compacted? The stats must be way off. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 10:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 09:48:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 07:48:55 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <020201c329df$41e88870$6501a8c0@HAL9002> Compact? :) Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 7:32 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, That's weird. When's the last time you compacted? The stats must be way off. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 03, 2003 10:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Curiously, the stored query took almost twice as long as the SQL in code. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 5:55 AM Subject: RE: [AccessD] Update Query - Need to Speed It Up Rocky, I've see you've already made progress, but you might also want to try saving the SQL as a querydef, then setting the UseTransaction property to no. Depending on the number of records that are being changed, this may or may not yield an improvement. Beyond that, if your still looking for more performance, you can use the SetOption method of DAO to modify some of the JET engine settings (i.e.. MaxBuffers or PageTimeout). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 5:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up A2K ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Monday, June 02, 2003 1:56 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 3 09:51:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 07:51:58 -0700 Subject: [AccessD] Microsoft Data Outline Control Message-ID: Depending on which version of the ODE it came with, you may not be able to use it in later versions. Charlotte Foust -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 03, 2003 5:16 AM To: accessd at databaseadvisors.com Subject: AW: [AccessD] Microsoft Data Outline Control Hi Stephen, the data outline control was a databound control that was able to display data in a hierachical manner (similar to the treeview control).It was part of the Office Developer Tools. MS did not include it in later versions of the developer tools. You probably will have to replace it by either a treeview control (and do the databinding using VBA) or by 3rd party controls (Flexgrid?). Or you could try to get an old version of ODE and extract the neccessary files from there (which might be a good idea anyway, since you probably want to know, what was inside the control [SQL code]). HTH, Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stephen Bond Gesendet: Dienstag, 3. Juni 2003 10:19 An: accessd at databaseadvisors.com Betreff: [AccessD] Microsoft Data Outline Control I am trying to resurrect a A95 mdb I did years ago. It contains a dinosaur called 'Microsoft Data Outline Control 1.1' (MSDBOUTL.OCX). Of course the reference is missing. Because I can't get a look at it, I have to assume that the TreeView control is the latest incarnation of this beast? Can someone comment please ... Stephen Bond Otatara, South Island, New Zealand tel 03 213 1256 fax 03 213 0123 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 3 09:53:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 07:53:04 -0700 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: Which version of Access are you running it with. I had problems with the A97 version, but it works fine with A2k and later, including saving color preferences. Charlotte Foust -----Original Message----- From: Mark H [mailto:Lists at theopg.com] Sent: Tuesday, June 03, 2003 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] [OT] Anyone used VBA Code Print Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Tue Jun 3 09:57:11 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 15:57:11 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <001c01c329e0$697208c0$cb0d6bd5@netboxxp> I'm using XP. I have tried uninstalling etc. and even tried another machone with the same set up. Still got the same problem. Cheers Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 03 June 2003 15:53 To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Which version of Access are you running it with. I had problems with the A97 version, but it works fine with A2k and later, including saving color preferences. Charlotte Foust -----Original Message----- From: Mark H [mailto:Lists at theopg.com] Sent: Tuesday, June 03, 2003 5:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] [OT] Anyone used VBA Code Print Hello I just got a copy of VBA Code Print... V nice it is too but I can't save any preferences (e.g. font coloour etc). Does anyone know if this add-in allows preferences to be saved Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Tue Jun 3 10:30:29 2003 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 3 Jun 2003 11:30:29 -0400 Subject: [AccessD] Access Problems on Citrix Message-ID: <009d01c329e5$10376020$6701a8c0@tbig3> I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Tue Jun 3 10:34:42 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 03 Jun 2003 09:34:42 -0600 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Tue Jun 3 10:40:26 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 3 Jun 2003 07:40:26 -0800 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: OK, I've got to see this. Any way that you can send me an example of Access manipluating a media file offline? Mark -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, June 03, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Tue Jun 3 10:43:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 08:43:11 -0700 Subject: [AccessD] Update Query - Need to Speed It Up Message-ID: You can drive nails with a rock too, but it still makes more sense to use a hammer. Charlotte Foust -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Tuesday, June 03, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From bobbedell15 at msn.com Tue Jun 3 10:48:12 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Tue, 03 Jun 2003 15:48:12 +0000 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't save >any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From Lists at theopg.com Tue Jun 3 10:52:14 2003 From: Lists at theopg.com (Mark H) Date: Tue, 3 Jun 2003 16:52:14 +0100 Subject: [AccessD] [OT] Anyone used VBA Code Print In-Reply-To: Message-ID: <003601c329e8$1a728490$cb0d6bd5@netboxxp> Thanks Bob Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Bedell Sent: 03 June 2003 16:48 To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't >save any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 3 10:53:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 3 Jun 2003 08:53:31 -0700 Subject: [AccessD] [OT] Anyone used VBA Code Print Message-ID: I have had no problems with it in either A2k or AXP. I like it for VB6 and SQL Server as well. The A97 version was the only one I had difficulties with because of bugs (it would NOT print a section of a module, only the whole thing), but I haven't tried the .Net version yet. Charlotte Foust -----Original Message----- From: Bob Bedell [mailto:bobbedell15 at msn.com] Sent: Tuesday, June 03, 2003 7:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] [OT] Anyone used VBA Code Print Hi Mark, I use Version 6.13.62 with XP and have no problems with it. Joginder is constantly putting out upgrades for this product, and has been really good about responding to e-mails about bugs, generally. I also use CodePrint for VB6, SQL Server (great for printing stored procedures), and VB.NET. The VB.NET version has been really rough going. Very buggy initially, but Joginder has put out several new versions since the first try, and its working pretty well now (just a couple of bugs around setting margins). I did have a problem with the VB.NET version not saving the color settings for String text. Seems to be fixed in the latest version I downloaded last week (definitely a work in progress). Maybe that problem has migrated into the VBA version somehow. Send Joginder an e-mail. He'll get back to you shortly (or at least be extremely apologetic and very helpful if it takes him a week or so). His standard recommendation is download the latest version from the web site, though he may have you send him a configuration file or two from your machine. All in all I find CodePrint to be well worth the occassional bug hastle. Bob >From: "Mark H" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print >Date: Tue, 3 Jun 2003 15:57:11 +0100 > >I'm using XP. I have tried uninstalling etc. and even tried another >machone with the same set up. Still got the same problem. > >Cheers > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: 03 June 2003 15:53 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] [OT] Anyone used VBA Code Print > > >Which version of Access are you running it with. I had problems with >the A97 version, but it works fine with A2k and later, including saving >color preferences. > >Charlotte Foust > >-----Original Message----- >From: Mark H [mailto:Lists at theopg.com] >Sent: Tuesday, June 03, 2003 5:08 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] [OT] Anyone used VBA Code Print > > >Hello > >I just got a copy of VBA Code Print... V nice it is too but I can't >save any preferences (e.g. font coloour etc). > >Does anyone know if this add-in allows preferences to be saved > >Cheers > >Mark > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Tue Jun 3 10:58:56 2003 From: greggs at msn.com (Gregg Steinbrenner) Date: Tue, 3 Jun 2003 10:58:56 -0500 Subject: [AccessD] Access Problems on Citrix In-Reply-To: <009d01c329e5$10376020$6701a8c0@tbig3> Message-ID: MessageWe ran into problems early on especially with printing. We increased the PageFile (my computer, properties, performance tab) to 4096 and that helped a lot. Now we have some 300 MB apps running OK with 10 to 15 users. Also, we find Importing everything into a clean database on the Citrix server helps when nothing else seems to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Myke Myers Sent: Tuesday, June 03, 2003 10:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Problems on Citrix I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 3 11:08:41 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 3 Jun 2003 09:08:41 -0700 Subject: [AccessD] Update Query - Need to Speed It Up References: Message-ID: <028c01c329ea$66e278b0$6501a8c0@HAL9002> If it makes any difference to the thread it is currently single user. If the business takes off it could become multi-user. So I'm glad to know that the Delete/Add field approach has risks in a multi-user environment. Can the risk be eliminated by getting exclusive access to the table before doing the Delete/Add? Rocky ----- Original Message ----- From: Henry Simpson To: accessd at databaseadvisors.com Sent: Tuesday, June 03, 2003 8:34 AM Subject: Re: [AccessD] Update Query - Need to Speed It Up Access is not used exclusively in multi user environments and for those without fancy image processing or signal processing software, it can be used to store and process 30 bit image scans and wav files quite nicely as well as log all kinds of high frequency sampled data. For example, if you want to drop a green cast out of the shadows and don't have photoshop, it's a terrific tool, but you can do it in Access too. If you want to reduce or increase the dynamic range of an audio file that was poorly recorded, all you need to do is apply a scaling factor to some numbers with an update query. My Canon D60 with a 5 megapixel ccd shoots typically 20 megabyte raw images and the Olympus P400 dye sub printer prints 7.7 megapixels on A4 paper. Although Access is not as convenient as photoshop, a tool like Access is just another means to manipulate data that encompasses more than merely Names, addresses and phone numbers. No doubt Rocky wouldn't be messing with 2.5 million records without reason and there is no reason to assume that this would necessarily be a multi user environment. Such an assumption in the face of the information given was improbable. Hen _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------------------------------ whew...2.5million records- there's your problem! Have you tried a maketable (create a new one delete the old) setting those fields when you do it? WAG..I know. Other than that how about setting some temporary indices (indexes) on those fields...might help. _D "Things are only free to the extent that you don't pay for them." >From: "Rocky Smolin - Beach Access Software" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Update Query - Need to Speed It Up >Date: Mon, 2 Jun 2003 13:47:27 -0700 > >Dear List: > >I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. >The SQL is: > >UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; > >It's setting one field to blank the other to 0. > >Is there a way to make it run any faster? > > >MTIA, > >Rocky Smolin >Beach Access Software > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ MSN 8 with e-mail virus protection service: 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Tue Jun 3 11:19:09 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 3 Jun 2003 10:19:09 -0600 Subject: [AccessD] Access Problems on Citrix Message-ID: <190690-2200362316199821@christopherhawkins.com> I had a similar problem a couple years ago, implementing an Access app at Unocal that was being accessed via Citrix. If memory serves, it's a known issue that can be found in Microsoft's KBase. I don't remember any more detail than that. Sorry. But perhaps you'll be able to find the KBase article. The fix was somewhat trivial. -C- ---- Original Message ---- From: mmmtbig at bellsouth.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Access Problems on Citrix Date: Tue, 3 Jun 2003 11:30:29 -0400 >I have a client who has about 12 users (several remote) running an >Access application via Citrix that I developed. > >Last night I put a new front end application with significant >enhancements on their server. > >This morning the application is very flaky, locking up and closing. >On >my development system it is fine. > >My theory is that the new FE exceeds the allocated memory in Citrix. > >Does a Citrix session have a memory limitation that, when exceeded, >makes an Access application lock up or exit? > >Any other possibilities? > >TIA, > >Myke Myers > >The Better Information Group > From michael.mattys at adelphia.net Tue Jun 3 11:28:23 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 3 Jun 2003 12:28:23 -0400 Subject: [AccessD] VBAErrorHandler References: <003101c329dc$c4542a60$6401a8c0@default> Message-ID: <00b501c329ed$2d2edde0$6401a8c0@default> I have gone through and replaced WriteErrorLog with gProcStack.WriteErrorLog and have the cond. comp. set to boolElE = 1. It compiles and it works. Now I just need to know what the path to the error log is. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: Sent: Tuesday, June 03, 2003 10:31 AM Subject: Re: [AccessD] VBAErrorHandler > No, that's just the thing... > > It's not mentioned and if I don't set the project > properties Cond.Comp. to boolElE = 1, then > it skips right over and I don't get an error log > or debug.print. > > I think? > > Michael R. Mattys > www.mattysconsulting.com > ----- Original Message ----- > From: "John Colby" > To: > Sent: Tuesday, June 03, 2003 10:21 AM > Subject: RE: [AccessD] VBAErrorHandler > > > > Michael, > > > > The stack stuff is code that tracks calls to functions. If you turn on a > > property in the error handler setup then code to do te call trace will be > > inserted in the error handlers created. In that case, the procedure stack > > code will be used. I'm not sure what the conditional compilation variable > > is. Is it mentioned in the doc anywhere? > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R > > Mattys > > Sent: Tuesday, June 03, 2003 10:13 AM > > To: AccessD > > Subject: [AccessD] VBAErrorHandler > > > > > > I am unclear on the following and could > > use some instruction: > > > > > > Public gProcStack As New adhProcedureStack > > is inside the class that is added to my project, but > > not defined outside the class when I set Conditional > > Compilation arg boolElE = 1. WriteErrorLog is also > > not defined. > > > > How am I to use these variables? > > > > Michael R. Mattys > > www.mattysconsulting.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Tue Jun 3 11:29:51 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Tue, 3 Jun 2003 11:29:51 -0500 Subject: [AccessD] Access Problems on Citrix Message-ID: <00e201c329ed$72fa4c60$6601a8c0@joe.indy.rr.com> Myke, For the past 4 years my users have been running an Access application on Citrix with no major problems. We max out at 25 users. What is "flaky"? What does "locking up and closing" mean? Are your users accessing any resources on their local machines? Have you checked with the Citrix administrator to see if there are any locally imposed limitations? Joe O'Connell joconnell at indy.rr.com -----Original Message----- From: Myke Myers To: accessd at databaseadvisors.com Date: Tuesday, June 03, 2003 10:42 AM Subject: [AccessD] Access Problems on Citrix I have a client who has about 12 users (several remote) running an Access application via Citrix that I developed. Last night I put a new front end application with significant enhancements on their server. This morning the application is very flaky, locking up and closing. On my development system it is fine. My theory is that the new FE exceeds the allocated memory in Citrix. Does a Citrix session have a memory limitation that, when exceeded, makes an Access application lock up or exit? Any other possibilities? TIA, Myke Myers The Better Information Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 20:51:47 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 21:51:47 -0400 Subject: [AccessD] OT: photo size on web site Message-ID: I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Tue Jun 3 21:05:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 3 Jun 2003 21:05:08 -0500 Subject: [AccessD] OT: photo size on web site Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CD0@main2.marlow.com> Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jun 3 21:09:53 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jun 2003 12:09:53 +1000 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: <3EDDE191.26542.F4193A@localhost> On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Tue Jun 3 21:21:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:21:12 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <3EDDE191.26542.F4193A@localhost> Message-ID: LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Jun 3 21:23:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:23:12 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CD0@main2.marlow.com> Message-ID: I clicked on a random picture and the same thing is happening. The picture (of your daughter?) is downloaded to my computer and displayed in IE at it's original resolution, which is so large that scroll bars appear and you have to scroll around to see the whole picture. It then resizes to fit in a portion of the screen (which mine doesn't do). John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 03, 2003 10:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: photo size on web site Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rbgajewski at adelphia.net Tue Jun 3 21:35:21 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 3 Jun 2003 22:35:21 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Jun 3 21:38:42 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jun 2003 12:38:42 +1000 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: <3EDDE191.26542.F4193A@localhost> Message-ID: <3EDDE852.30238.10E7A56@localhost> On 3 Jun 2003 at 22:21, John Colby wrote: > LOL. I saved them as JPEG, compressed waaaay down from the original (about > 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 > mbyte. The pictures on the site are about 150 kbytes. Any more compression > and they look horrible. The compression and file size has nothing to do > with the pixels though. > The way it was explained in something I read is that since the image is 2048 > x 1536 pixels, if the user downloading the picture is displaying 800x600, > only a very small part is going to display on the screen, requiring > scrolling. Thus I need a method of constraining the display in a frame > inside my site, where the entire image will be automatically sized to fit > inside the frame. > As I said, you can set the width and height of the image and it will be scaled to fit. BUT you are still storing/downloading a 2048 x 1536 pixel image and squeezing it into a box. The methods used to scale an image in an HTML browser are designed to be quick, not good. They are only displaying about 1 pixel in 13 and not doing a very good job of selecting how to display that one. All they do is generally is resize by throwing away 12/13 pixels. If you resample using a good program which will apply an appropriate resampling filter, you end up with a much better result. As a rule of thumb. Resize/resample first to an appropriate size for your application, then compress. You will get far better results in much smaller files than by compressing first and then trying to resize. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Tue Jun 3 21:43:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 22:43:43 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: I don't think I understand. In fact I am sure I don't understand. All there is is an album of thumbnails. What happens when you click on a thumbnail is a mystery to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Gajewski Sent: Tuesday, June 03, 2003 10:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rbgajewski at adelphia.net Tue Jun 3 21:58:56 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 3 Jun 2003 22:58:56 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: John There are two ways to handle this. 1) Have only one image file for each picture. In your thumbnail image, set the height and width to a small size, such as 72 x 60 (or whatever presents a suitable thumbnail on your site. Enclose the tag within a link () tag set and have the link reference the full image file. (Watch for line wrap) Ex: Thumbnail: 2) Have two image files for each picture. In your thumbnail image, display the small version. Enclose the tag within a link tag set to reference the large image. (Watch for line wrap) Ex: Thumbnail: Even though the thumbnail version of the image is already small, it is good coding practice to always explicitly declare the image size. Many users set their preferences to display image placeholders, which assist readability during page loading. If you want, I can send you some JavaScript code that handles multiple images with similar name structure (i.e.: img001, img002, img003, etc) in a single line of code for the element and just a few lines in the element. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site I don't think I understand. In fact I am sure I don't understand. All there is is an album of thumbnails. What happens when you click on a thumbnail is a mystery to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Gajewski Sent: Tuesday, June 03, 2003 10:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site John As long as you define the image tag with height and width properties (as Stuart suggested), the image will be displayed in full, scaled appropriately. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 22:21 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Jun 3 22:02:26 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 23:02:26 -0400 Subject: [AccessD] OT: photo size on web site In-Reply-To: <3EDDE852.30238.10E7A56@localhost> Message-ID: OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did the last three images (791a, 792a and 793a). It seems to be what I was after. What a PITA though! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site On 3 Jun 2003 at 22:21, John Colby wrote: > LOL. I saved them as JPEG, compressed waaaay down from the original (about > 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 > mbyte. The pictures on the site are about 150 kbytes. Any more compression > and they look horrible. The compression and file size has nothing to do > with the pixels though. > The way it was explained in something I read is that since the image is 2048 > x 1536 pixels, if the user downloading the picture is displaying 800x600, > only a very small part is going to display on the screen, requiring > scrolling. Thus I need a method of constraining the display in a frame > inside my site, where the entire image will be automatically sized to fit > inside the frame. > As I said, you can set the width and height of the image and it will be scaled to fit. BUT you are still storing/downloading a 2048 x 1536 pixel image and squeezing it into a box. The methods used to scale an image in an HTML browser are designed to be quick, not good. They are only displaying about 1 pixel in 13 and not doing a very good job of selecting how to display that one. All they do is generally is resize by throwing away 12/13 pixels. If you resample using a good program which will apply an appropriate resampling filter, you end up with a much better result. As a rule of thumb. Resize/resample first to an appropriate size for your application, then compress. You will get far better results in much smaller files than by compressing first and then trying to resize. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Tue Jun 3 22:05:20 2003 From: chizotz at charter.net (Ron Allen) Date: Tue, 3 Jun 2003 22:05:20 -0500 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: Message-ID: <192435317734.20030603220520@charter.net> Hello John, Wow, maybe I can finally do a little something for you after all the help you've given me over the past few years. In the HTML, you can specify the height and width of the image in pixels, like po-up text here Now, oftentimes the width and height are just the actual width and height of the image, which is efficient because it lets the browser correctly format the page before it downloads the images. But if the image is larger, by specifying the width and height the image should be scaled down to the specified size for display. Thumbnails are just small versions of the image that are set up as links, usually to the full-size image. If the images are nearly as small as the thumbnails you want to use, you can use the re-sizing trick to make the thumbnails with little loss of efficiency. If the full-sized images are large, a better way is to use a graphics program to resample the images down to the size you want for thumbnails and save them as separate thumbnail files. You can see examples by taking a look at the source at http://webpages.charter.net/chizotz/zootrip/zootrip.html which is pictures from a trip to the zoo I took with my ladyfriend a few weeks ago. I put the images up on the web for her to dl, thumbnails with links to the full-sized images. Yeah, the one picture is of me :) Hope this helps in some small way, and thanks for all the help you've given me. Ron Tuesday, June 3, 2003, 9:43:43 PM, you wrote: JC> I don't think I understand. In fact I am sure I don't understand. All JC> there is is an album of thumbnails. What happens when you click on a JC> thumbnail is a mystery to me. From chizotz at charter.net Tue Jun 3 22:10:40 2003 From: chizotz at charter.net (Ron Allen) Date: Tue, 3 Jun 2003 22:10:40 -0500 Subject: [AccessD] OT: photo size on web site In-Reply-To: References: Message-ID: <11435637890.20030603221040@charter.net> Hello John, I don't know Photoshop, but CompuPic Pro (http://www.photodex.com) and Paint Shop Pro (http://www.jasc.com) both have automation features that can be used to make the process less painful. Paint Shop Pro 8 has a full-blown macro recorder and scripting language built in to do any manipulation you need to do. I have and use both of these programs and can tell you that they are both good. Paint Shop Pro, I am told, is nearly on a par with Photoshop in all ways except the specialized functionality for interfacing with printing shops. HTH, Ron Tuesday, June 3, 2003, 10:02:26 PM, you wrote: JC> OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did JC> the last three images (791a, 792a and 793a). It seems to be what I was JC> after. What a PITA though! From SDSSoftware at optusnet.com.au Tue Jun 3 21:08:42 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 4 Jun 2003 12:08:42 +1000 Subject: [AccessD] OT: photo size on web site References: Message-ID: <001001c32a3e$38f90a50$54dd31d2@OfficePC> What a cutie.... ----- Original Message ----- From: John Colby To: AccessD Sent: Wednesday, June 04, 2003 11:51 AM Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 3 22:40:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 3 Jun 2003 23:40:58 -0400 Subject: [AccessD] OT: Mission accomplished Message-ID: Thanks all, I took the course of resizing all the photos in Photoshop to 600x800. That makes the photo mostly visible, at least on my machine. On a machine setup for 800x600 you still have to scroll around but only a little. Thanks for all the input. John W. Colby www.colbyconsulting.com From hsimpson88 at hotmail.com Tue Jun 3 23:31:15 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 03 Jun 2003 22:31:15 -0600 Subject: [AccessD] OT: photo size on web site Message-ID: Using Photoshop after I complained about the price. You may try manipulating the image data yourself. The data rows are mod image width in pixels times 3 for 24 bit 3 byte color assuming bit map source data. Things get messy when you work with jpegs though. You can resize by a factor of 2 (4 in area) by averaging blocks of 4 adjacent pixels with source data. This may be an issue with your camera image data, but the Canon D60 gives me 3072 by 2048 pixels that can be acquired as raw data. Scaling by a factor such as 99% yeilds a visible degradation of print quality in edge sharpness. If you ever work with raw data you'll get a better understanding of what programs like Photoshop can do for you and how to work with the program rather than against it. A reasonable solution, though without batch capabilities, is to use the freebie that came with Office 97 - Microsoft Photo Editor. With an open file, from the image menu, choose resize and then choose a nice integral factor like 25% so as not to compromise image clarity unnecessarily and then, from the File Save As menu, hit the More button and select what they call an image quality factor which is more accurately a compression ratio. As you already have discovered, the image size is independent of the browser display size and you need to balance image pixel size and jpeg compression for a reasonable file size and clarity suitable for web usage. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Jun 3 12:38:24 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 03 Jun 2003 10:38:24 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: Hi John: It all depends on the speed and quality you are expecting. If the photo is larger than will fit on a computer screen it will load slowly because of the size. There are a few ways to work with this issue. 1. Have the large size file download for viewing...change to a zip file. 2. Force the picture size by setting the size you want the picture to appear within the image tag within the HTML code. This is not recommended because the whole picture is still required to downloaded and then an extensive amount of time is required to render the picture to forced height and width sizes. 3. Reduce the pictures to the appropriate size. This is the best way but it requires a bit of preparation of the image. The dpi should be reduced to 72 because this is the maximum quality of an image of the screen. The colours should be slightly pushed and pictures very slightly off-focused. Check out the source code on the DBA site for examples of how to use and make blowups or access large images from small thumbnails. There are about five different methods used and one will be best for you. Note: all the coding was completed with Dreamweaver, though most of it was manually done and not through the graphic interface. If you need any specifics drop me a note off-line and I can assist. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 6:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jun 3 12:48:26 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 03 Jun 2003 10:48:26 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: Message-ID: Hi John: Do you have any photo-editing programs. Adobe Photoshop, Corel, Photo Paint, Fireworks etc?? In these type of programs are the only place properly edit these pictures. First reduce the picture dpi to 72 anything larger is a waste. That will reduce most of the size. If the picture is still too large reduce it appropriately by using the 'canvas' option. There should be no loss in quality! If you have access to a program like Adobe ImageReady or again Fireworks you now have access to any excellent set of routines for expertly reducing the images for web display. No thumb-nail image should exceed 10K and no full-size image should exceed 50K. The recommended maximum for any one web page is 50 to 60K. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, June 03, 2003 7:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site LOL. I saved them as JPEG, compressed waaaay down from the original (about 1/10th the original file size). The original was a 3.2 mpixel at about 1.5 mbyte. The pictures on the site are about 150 kbytes. Any more compression and they look horrible. The compression and file size has nothing to do with the pixels though. The image is still a 3.2 mpixel image, it's just highly compressed. The way it was explained in something I read is that since the image is 2048 x 1536 pixels, if the user downloading the picture is displaying 800x600, only a very small part is going to display on the screen, requiring scrolling. Thus I need a method of constraining the display in a frame inside my site, where the entire image will be automatically sized to fit inside the frame. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 03, 2003 10:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: photo size on web site On 3 Jun 2003 at 21:51, John Colby wrote: > I am trying to work with photos on a web site. I have created a flash photo > album with a bunch of thumbnails. When you click on any thumbnail, the > photo is loaded into the browser. Because of the resolution of my camera > (apparently), the picture is huge, with most of the picture off of the page. > Is there any way short of saving the file back out as (perhaps) a 640 x 480 > file to cause the photo to load with the whole thing viewable on the screen. > > I am trying to do this on my web site, to display photos of my son I have > taken with my digital camera. It seems that one could use an image object, > and load the picture into that image object (control) on a web page. I am > using Dreamweaver. > > You can see what I am talking about by visiting my site and clicking the > bottom button - "Meet my son". > No way am I going to try it if you have photos that size on the site :-) You *could* make it viewable on screen by setting the properties of the img like this: But that would be VERY rude to the people using the site who would suffer from long slow downloads and waste a h*ll of a lot of bandwidth since they would still be downloading the huge files. The simple answer is that web graphics should be optimized for web view before you put them on the web site. There is no point on downloading a 500KB file at 1800 x 1200 or whatever and squeezing it into a 600 x 400 frame when you could just download a 50KB 600 x 400 file in 1/10th of the time. In this case, grab a copy of Irfanview and resize/resample the pictures down to the size you want them to be with a jpg compression of about about 70%. The pictures will look great on screen but will be quick to load and won't use a lot of bandwidth/web server storage space. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ray282828 at yahoo.com.hk Wed Jun 4 00:52:43 2003 From: ray282828 at yahoo.com.hk (Ray Li) Date: Wed, 4 Jun 2003 13:52:43 +0800 Subject: [AccessD] Failure to open database file In-Reply-To: Message-ID: <000b01c32a5d$85bb0fe0$0501a8c0@SonyRX660> Thanks for all responses that are useful to me resolving the problem. I did discover a missing reference of Microsoft DAO 3.51 Object Library in references. The dll file is in the folder. I unchecked the reference and re-registered it. Thus, it works now. I have inquired the user who said no program installed recently and any crash on the pc. However, I noticed that the Windows 98 could not shut down properly and there was below error message when I clicked Properties of printer or randomly clicked any menus. Internet Explorer Script Error An error has occurred in the script on this page. Line: 53 Char: 4 Error: Library not registered. Code: 0 URL: file://C:\WINDOWS\web\printers.htt Do you want to continue running scripts on this page? Yes No Although I fixed up the problem, I still do not know why it happened. Is there any member to have identified the causes of this problem? Thanks, Ray Li -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 30 May, 2003 11:31 p To: accessd at databaseadvisors.com Subject: RE: [AccessD] Failure to open database file Don, Funny, I've been more or less stating it that way for years and never thought anyone would check them all. NO you you only need to do it with ONE reference to force the reference cleanup. Your just trying to get the list to change. Just as easily, you could uncheck one reference and then recheck it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Friday, May 30, 2003 10:46 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Failure to open database file Is it really necessary to check them ALL to do this 'kick-in-the-pants" reference repair ? Won't adding a couple do the trick, supposing that the needed refs are there in the first place, of course. _D "Things are only free to the extent that you don't pay for them." >From: "Jim Dettman" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Failure to open database file >Date: Fri, 30 May 2003 08:29:28 -0400 > >Ray, > > As Charlotte said, it's a broken reference. However in some cases, they >may not be listed as "missing" or "broken". If that is the case, open up >tools/references, check any reference that is not checked, then close the >MDB and Access. Reopen Access and the MDB and uncheck the reference you >just checked. This forces Access to refresh the reference information. Do >a compile save all and everything should be OK. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ray Li > Sent: Thursday, May 29, 2003 7:17 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Failure to open database file > > > When I open a database on a pc running Access 97, the following errors >message came out and > failed in opening. > > Function isn't available in expressions in query expression '........ > > The report name 'rptScoreOfAllFactories' you entered is misspelled or >refers > to a report that isn't open or doesn't exist. > > The program opened correctly in the past but suddenly it happened today. >Same > program opens correctly on other pcs. Can someone encountered similar >problem before > share with your fixes to me. > > Thanks, > > Ray >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _____ Add photos to your e-mail with MSN 8. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 03:03:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 09:03:33 +0100 Subject: [AccessD] OT Courses References: <200305272043.VAA26213@hosea.qub.ac.uk> <3ED3F116.8070005@shaw.ca> Message-ID: <000901c32a6f$cafb5030$9111758f@aine> Folks Anyone out there running a web based course administration system, database driven using SQL Server or Access. Front end written in either PHP or any of the .NET languages. We will have approx 2000 registrations per academic year. We are designing a fully automated training course registration system which will be web based. Was wondering whats out there before I begin reinventing the wheel. System should be fully automatic capable of sending multiple emails on course registration, automatic placing and removal of individuals from waiting lists when courses are full etc Very little interaction with administration staff i.e look overheads in terms of upkeep. Martin From roz.clarke at donnslaw.co.uk Wed Jun 4 05:19:46 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 4 Jun 2003 11:19:46 +0100 Subject: [AccessD] Vacancy - Manchester (UK) Message-ID: <61F915314798D311A2F800A0C9C83188047C5DFF@dibble.observatory.donnslaw.co.uk> As many of you are aware, I am trying to recruit someone to join my team of software tweakers. We have been struggling to find anyone suitable so I thought I'd see if any of you might be interested, or know anyone else who would. The firm is a solicitor's practise based in central Manchester - www.donnslaw.co.uk The role is quite varied. My team maintains and augments the large 3rd party database applications which basically run the firm, particularly the Case Management system and a call centre system. These systems have their own development environments which we do not expect to find anyone experienced in. In addition to developing within these systems, the team manages a SQL Server 7 database which provides data to the firm's website (e-file-access) and data warehousing for reports. We provide all the company's MIS using Access and whatever else comes to hand. We develop Access databases to provide additional functionality, for example we have recently rolled out an HR database and are currently working on a call logging database for the IT Support desk. We also develop & maintain the company Intranet, currently in php but we're flexible on that. A lot of our ad-hoc work involves Office integration, working with Word, Excel and Outlook. We also use VB to write mini-apps to assist the network manager, e.g. macros for printing. We can offer in the region of ?22k p.a. to someone with relevant commercial experience + a degree, or equivalent comm. exp. If you would like the full details please contact me offline. Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 05:31:59 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 11:31:59 +0100 Subject: [AccessD] Vacancy - Manchester (UK) References: <61F915314798D311A2F800A0C9C83188047C5DFF@dibble.observatory.donnslaw.co.uk> Message-ID: <001601c32a84$87a1e690$9111758f@aine> Vacancy - Manchester (UK)Roz I have passed this to a guy in here. he will be in touch of line. Martin ----- Original Message ----- From: Roz Clarke To: AccessD (AccessD at databaseadvisors.com) Sent: Wednesday, June 04, 2003 11:19 AM Subject: [AccessD] Vacancy - Manchester (UK) As many of you are aware, I am trying to recruit someone to join my team of software tweakers. We have been struggling to find anyone suitable so I thought I'd see if any of you might be interested, or know anyone else who would. The firm is a solicitor's practise based in central Manchester - www.donnslaw.co.uk The role is quite varied. My team maintains and augments the large 3rd party database applications which basically run the firm, particularly the Case Management system and a call centre system. These systems have their own development environments which we do not expect to find anyone experienced in. In addition to developing within these systems, the team manages a SQL Server 7 database which provides data to the firm's website (e-file-access) and data warehousing for reports. We provide all the company's MIS using Access and whatever else comes to hand. We develop Access databases to provide additional functionality, for example we have recently rolled out an HR database and are currently working on a call logging database for the IT Support desk. We also develop & maintain the company Intranet, currently in php but we're flexible on that. A lot of our ad-hoc work involves Office integration, working with Word, Excel and Outlook. We also use VB to write mini-apps to assist the network manager, e.g. macros for printing. We can offer in the region of ?22k p.a. to someone with relevant commercial experience + a degree, or equivalent comm. exp. If you would like the full details please contact me offline. Roz ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Jun 4 06:08:48 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 4 Jun 2003 07:08:48 -0400 Subject: [AccessD] OT: Canon BJC 4200 printer problems Message-ID: <028701c32a89$ac0c28b0$8e01a8c0@Rock> Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. From marcel.vreuls at oop.nl Wed Jun 4 07:56:36 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 14:56:36 +0200 Subject: [AccessD] relations in which database In-Reply-To: <028701c32a89$ac0c28b0$8e01a8c0@Rock> Message-ID: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 4 08:05:27 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 08:05:27 -0500 Subject: [AccessD] relations in which database Message-ID: Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls From gustav at cactus.dk Wed Jun 4 08:12:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:12:45 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> References: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: <17027976187.20030604151245@cactus.dk> Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE and a > BE database. The relationships are currently stored in the BE database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can change, > add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? From mikedorism at ntelos.net Wed Jun 4 08:23:17 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 4 Jun 2003 09:23:17 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Wed Jun 4 08:25:14 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:25:14 +0200 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2872 bytes Desc: not available URL: From marcel.vreuls at oop.nl Wed Jun 4 08:26:35 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:26:35 +0200 Subject: [AccessD] relations in which database In-Reply-To: <17027976187.20030604151245@cactus.dk> Message-ID: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> Gustav, And what if I have four BE with different tables that have to be related to each other. The only solution is the releationships in the FE? or am i missing something. Why do you think it won't work? Gr Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: woensdag 4 juni 2003 15:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE and a > BE database. The relationships are currently stored in the BE database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can change, > add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Wed Jun 4 08:31:19 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 15:31:19 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> Message-ID: <000f01c32a9d$95d19bc0$c100a8c0@OOPMBO> Doris, Wow, for sure? In the current situation we do not have any releationships in the FE. Do you think it will improve performance if we import a copy in the FE. What if a relation between two tables differ in the BE from the FE? which one is leading? Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: woensdag 4 juni 2003 15:23 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 08:38:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 09:38:35 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000f01c32a9d$95d19bc0$c100a8c0@OOPMBO> Message-ID: Nope, relationships in the FE serve no purpose that I am aware of other than display for the programmer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Doris, Wow, for sure? In the current situation we do not have any releationships in the FE. Do you think it will improve performance if we import a copy in the FE. What if a relation between two tables differ in the BE from the FE? which one is leading? Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: woensdag 4 juni 2003 15:23 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database In a split Access FE/BE world, the Access BE is nothing but a container of tables. You can keep a copy of the relationships in the BE for reference but in order for the FE to do its job properly you have to have a copy of the relationships in there too. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 4 08:38:49 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 04 Jun 2003 23:38:49 +1000 Subject: [AccessD] OT Review if time permits Message-ID: <004001c32a9e$a4722810$0c05a8c0@earth.local> Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 4 08:39:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 09:39:32 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Message-ID: I have never heard of this. Keep us informed on whether this is true. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Wednesday, June 04, 2003 9:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1056 bytes Desc: not available URL: From gustav at cactus.dk Wed Jun 4 08:41:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:41:23 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> References: <000901c32a9c$ec5d5430$c100a8c0@OOPMBO> Message-ID: <8029693476.20030604154123@cactus.dk> Hi Marcel You didn't mention you have several BEs. These can not see each other, thus you'll have to maintain referential integrity via code in your frontend. Relations by themselves won't do anything other than show you how tables are supposed to relate ... It will be potentially disastrous to have Excel users to fiddle with several BEs. To service these, create a new database with queries linking to the related tables. /gustav > And what if I have four BE with different tables that have to be related to > each other. The only solution is the releationships in the FE? or am i > missing something. Why do you think it won't work? > Gr Marcel > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: woensdag 4 juni 2003 15:13 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] relations in which database > Hi Marcel > The main disadvantage is that it won't work. > As Charles wrote, relations have to reside in the backend. > Sometimes relations increase speed. > If Excel users should access the BE, relations can make this safe. If > not, create queries they can and must use. > If you need to adjust relations, open the BE exclusively and perform > the changes and close. > /gustav >> I am stugling with the following. In our current situation I have a FE and >> a >> BE database. The relationships are currently stored in the BE database. >> Now >> the question is why not put them in the FE database and just leave the >> plain tables in the be database. >> Advantages should be >> - performance in multiuser env. >> - more control over the database because with each update you can change, >> add a relationship >> - peoplo who want to access the database through excel, and so on have >> more trouble in comprending the database. >> - field updates, new tables are easily to create instead of using 3rd >> party backend updaters >> Are there disadvantages??? From gustav at cactus.dk Wed Jun 4 08:49:15 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:49:15 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> References: <000501c32a9c$bc075dd0$c100a8c0@OOPMBO> Message-ID: <8130165736.20030604154915@cactus.dk> Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. > We have > noticed that the performance of our application is slowing down. In our > search to solutions we have found some usefull things. > One of the solutions is moving the relationships from the be to the fe. The > jet engine can do it joining, selecting and interpreting localy in it own > database instead of over the network in another (BE) database. So only > storage is in the BE all the intelligence is in the FE > In mine humble opinion this sounds logical and in situations when you have > more than one BE I think this is the only solution to relate tables to each > other. So why not do this, it seems to work and available in Access. Am I > not sure how JET acts when there are the same relationships in the FE and BE You'll have to read up on this. One hint: you can choose to access one BE only. Doing so doesn't leave neither Access nor Jet a chance to know what's going on in another BE, not to say "synchronize" these behind the scene. /gustav From gustav at cactus.dk Wed Jun 4 08:53:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 15:53:43 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> References: <000901c32a9c$79848aa0$c2360cd8@hargrove.internal> Message-ID: <17330433801.20030604155343@cactus.dk> Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a container of > tables. You can keep a copy of the relationships in the BE for reference > but in order for the FE to do its job properly you have to have a copy of > the relationships in there too. From actebs at actebs.com.au Wed Jun 4 09:04:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 5 Jun 2003 00:04:20 +1000 Subject: [AccessD] Record Locking Strategy or Error Trapping Message-ID: <005701c32aa2$34ce7500$0c05a8c0@earth.local> Guys, We have developed an app for a client that was to be used for only 3-4 people. Now it's up to 14 and growing. The client does not want to migrate to SQL so we need to come up with a viable solution using the tools we have available Access XP on a Citrix Network. The app is pretty simple, call centre operators at one end of the building take orders input the information through unbound forms...(Hmmm, lets not get into that discussion) and the Schedulers/Dispatchers at the other end, once again Unbound Forms. Our problem is that the BE keeps getting corrupted and I have a sneaking suspicion it's to do with concurrent writes to tblOrderHeader, but can't figure out how to trap this. The reason I say tblOrderHeader is because it's the only table both Call Centre and Schedulers would write to. Basically, the Call Centre staff create orders with the field "Sheduled" defaulted to N and when the schedulers despatch the order this field is updated to Y. Obviously, this can occur simultaneously. My question is how best to handle this situation or to trap the error when another user is writing to the table and prompt them to try again shortly. I have read extensive info on the MSDN site regarding record locking strategies and the database is currently set to "No Locks" which is basically Optimistic Locking (Tools|Options|Advanced). What impact does it have if I change this to Edited Record or All Records. Is there a performance hit or gain and what additional headaches does it create? Will it all solve my problem? Should I change the Update Retires to 10? Or is there another alternative? Sorry for the long winded post... Any assistance will be greatly appreciated... Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 4 09:04:43 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 4 Jun 2003 10:04:43 -0400 Subject: [AccessD] relations in which database In-Reply-To: <000001c32a98$bbcc2660$c100a8c0@OOPMBO> Message-ID: Marcel, It depends on what you mean by "relationship". If your not enforcing RI, then the relationships can be anywhere. Their basically a shortcut for creating joins when you use the query designer. If you are enforcing RI, then they *must* be in the backend to work. Putting them in the front end achieves nothing additional other then what I stated above. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: woensdag 4 juni 2003 13:09 To: AccessD Subject: [AccessD] OT: Canon BJC 4200 printer problems Does anyone have the printer mentioned? If so, would you e-me off-list please? Thanks. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 4 09:08:13 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 09:08:13 -0500 Subject: [AccessD] relations in which database Message-ID: Marcel, I have to agree with Gustav about his advise to sign off on some of those other forums. Of the various Access forums that I sampled, this is one of only two I stay with. Many of the others have a very low signal-to-noise ratio. And on some outright falsehoods go unchallenged. On this list there are many people able and willing to clarify any misconceptions anybody may have about Access, Jet, VBA, and various other related subjects. The only requirement for staying on this list is that you don't let your ego get hurt by criticism. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday 2003 Jun 04 08:49 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. From marcel.vreuls at oop.nl Wed Jun 4 09:21:27 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Wed, 4 Jun 2003 16:21:27 +0200 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <002401c32aa4$964c45d0$c100a8c0@OOPMBO> Charles, That is the reason I ask the question in this list before implementing a solution.:-). I have learned to handle criticism :-) the hard way. I think i can handle anything unless I get falsy aquised (hope I wrote this right) of something I did not do...ha.ha..but that is probably for everybody the same. Gr marcel "I cannot know and remember everything" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 16:08 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, I have to agree with Gustav about his advise to sign off on some of those other forums. Of the various Access forums that I sampled, this is one of only two I stay with. Many of the others have a very low signal-to-noise ratio. And on some outright falsehoods go unchallenged. On this list there are many people able and willing to clarify any misconceptions anybody may have about Access, Jet, VBA, and various other related subjects. The only requirement for staying on this list is that you don't let your ego get hurt by criticism. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday 2003 Jun 04 08:49 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel > Hi Charles, > The advantages are not mine but I got them from several forums. Oops! I would consider signing off from such forums. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2588 bytes Desc: not available URL: From mikedorism at ntelos.net Wed Jun 4 09:41:24 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 4 Jun 2003 10:41:24 -0400 Subject: [AccessD] relations in which database In-Reply-To: <17330433801.20030604155343@cactus.dk> Message-ID: <001501c32aa7$63224080$c2360cd8@hargrove.internal> No, I've actually run into cases where I had to have the relationships in the FE because it didn't seem to "inherit" them through the BE link. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 04, 2003 9:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a > container of tables. You can keep a copy of the relationships in the > BE for reference but in order for the FE to do its job properly you > have to have a copy of the relationships in there too. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 4 09:33:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 10:33:20 -0400 Subject: [AccessD] relations in which database References: Message-ID: <00cc01c32aa7$28a84fd0$f3e6ffcc@SusanOne> Besides, you can't enforce referential integrity from another database. Well, I suppose you could if you're willing to write the right code, but you can't use the built-in ri feature. Susan H. > Marcel, > > Since relationships are between and among tables, and since the tables > reside in the BE, why do you think the relationships should be in the FE > and not the BE? Also, I do not understand your so-called advantages? > Please explain. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] > Sent: Wednesday 2003 Jun 04 07:57 > To: accessd at databaseadvisors.com > Subject: [AccessD] relations in which database > > Dear group, > > I am stugling with the following. In our current situation I have a FE > and a BE database. The relationships are currently stored in the BE > database. Now the question is why not put them in the FE database and > just leave the plain tables in the be database. > > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can > change, add a relationship > - peoplo who want to access the database through excel, and so on have > more trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd > party backend updaters > > Are there disadvantages??? > > Thanks, > > marcel vreuls > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Wed Jun 4 09:48:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:48:55 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com From JOHNWARDBELL at aol.com Wed Jun 4 09:49:40 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Wed, 4 Jun 2003 10:49:40 EDT Subject: [AccessD] OT Review if time permits Message-ID: <1ec.a253061.2c0f6104@aol.com> Good looking site. Loved the map. Could not find a delivery address for Lancashire UK! Or did I miss something? johnb -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 4 09:50:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:50:42 -0400 Subject: [AccessD] relations in which database In-Reply-To: <001501c32aa7$63224080$c2360cd8@hargrove.internal> Message-ID: I have also seen cases where the "auto join" function didn't work in queries without the relationships in the FE. Not often but I have seen it. And that seemed to be an A97 thing. I haven't seen it in A2K or later. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Wednesday, June 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database No, I've actually run into cases where I had to have the relationships in the FE because it didn't seem to "inherit" them through the BE link. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 04, 2003 9:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Oh Doris, please tell you did mix some things up here, right? /gustav > In a split Access FE/BE world, the Access BE is nothing but a > container of tables. You can keep a copy of the relationships in the > BE for reference but in order for the FE to do its job properly you > have to have a copy of the relationships in there too. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 09:59:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 10:59:54 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 gustav at cactus.dk Wed Jun 4 10:02:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 4 Jun 2003 17:02:52 +0200 Subject: [AccessD] relations in which database In-Reply-To: <001501c32aa7$63224080$c2360cd8@hargrove.internal> References: <001501c32aa7$63224080$c2360cd8@hargrove.internal> Message-ID: <15434582837.20030604170252@cactus.dk> Hi Doris Oh, that's what you are talking about. Haven't had that experience though. /gustav > No, I've actually run into cases where I had to have the relationships in > the FE because it didn't seem to "inherit" them through the BE link. From roz.clarke at donnslaw.co.uk Wed Jun 4 10:04:05 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 4 Jun 2003 16:04:05 +0100 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: <61F915314798D311A2F800A0C9C83188047C5E0D@dibble.observatory.donnslaw.co.uk> Well I've never been to Connecticut but I'm certainly willing to believe you! He's adorable :) Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 04 June 2003 15:49 To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 PBudge at cbsol.com Wed Jun 4 10:07:39 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Wed, 4 Jun 2003 10:07:39 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John - He's cute enough to give my niecephews a run for their money, and as I have *the* most adorable set of niecephews going, that's saying something! ; -)))) Although I do like your website better than my brother in law's - loads faster! ;-) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "John Colby" om> cc: Sent by: Subject: [AccessD] OT: The cutest little guy (no not me!) accessd-bounces at databasea dvisors.com 06/04/2003 09:48 AM Please respond to accessd Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 CWortz at tea.state.tx.us Wed Jun 4 10:15:35 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 10:15:35 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: Spellcheckers do not help when you use one word in place of another word. Armature and amateur are both valid words in the English language. A grammar checker probably would have caught this mistake, but how many e-mail editors include grammar checkers? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 04 10:00 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com From actebs at actebs.com.au Wed Jun 4 10:21:15 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 05 Jun 2003 01:21:15 +1000 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: <008501c32aac$f36c7a20$0c05a8c0@earth.local> Hmmm, Does this mean Mr Colby has a heart after all? John, you should be proud!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, 5 June 2003 1:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 10:25:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 11:25:37 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E0D@dibble.observatory.donnslaw.co.uk> Message-ID: Luckily there aren't too many list members in Connecticut so I can reasonably hope to avoid a "my kid's cuter than your kid" war. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Wednesday, June 04, 2003 11:04 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: The cutest little guy (no not me!) Well I've never been to Connecticut but I'm certainly willing to believe you! He's adorable :) Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 04 June 2003 15:49 To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 4 10:27:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 08:27:21 -0700 Subject: [AccessD] relations in which database Message-ID: Relationships do not have to reside in the BE. However, you can only enforce referential integrity between tables in the same database unless you want to do a lot of coding to create the Access/Jet equivalent of triggers. The best arguments for putting relationships in the back end is 1) You can create any kind of temporary relationship you want in the front end on the fly as you need it. They don't have to be stored there, and 2) If you front end becomes toast, you still have the relationships in the back end where they belong. Charlotte Foust -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday, June 04, 2003 5:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Gustav, And what if I have four BE with different tables that have to be related to each other. The only solution is the releationships in the FE? or am i missing something. Why do you think it won't work? Gr Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: woensdag 4 juni 2003 15:13 To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Marcel The main disadvantage is that it won't work. As Charles wrote, relations have to reside in the backend. Sometimes relations increase speed. If Excel users should access the BE, relations can make this safe. If not, create queries they can and must use. If you need to adjust relations, open the BE exclusively and perform the changes and close. /gustav > I am stugling with the following. In our current situation I have a FE > and a > BE database. The relationships are currently stored in the BE > database. Now > the question is why not put them in the FE database and just leave the plain > tables in the be database. > Advantages should be > - performance in multiuser env. > - more control over the database because with each update you can > change, add a relationship > - peoplo who want to access the database through excel, and so on have more > trouble in comprending the database. > - field updates, new tables are easily to create instead of using 3rd party > backend updaters > Are there disadvantages??? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 4 10:28:38 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 11:28:38 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John, He is cute! But best of all he looks like a HAPPY kid. Doesn't that camera allow you to crop and zoom? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. 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 cfoust at infostatsystems.com Wed Jun 4 10:29:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 08:29:17 -0700 Subject: [AccessD] relations in which database Message-ID: That sounds screwy to me, not logical. The front end has to deal with the backend tables anyhow, so I don't really see what difference the location of the relationship is going to make in performance. All the queries are processed in the front end regardless. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Marcel Vreuls Sent: Wednesday, June 04, 2003 5:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Hi Charles, The advantages are not mine but I got them from several forums. We have noticed that the performance of our application is slowing down. In our search to solutions we have found some usefull things. One of the solutions is moving the relationships from the be to the fe. The jet engine can do it joining, selecting and interpreting localy in it own database instead of over the network in another (BE) database. So only storage is in the BE all the intelligence is in the FE In mine humble opinion this sounds logical and in situations when you have more than one BE I think this is the only solution to relate tables to each other. So why not do this, it seems to work and available in Access. Am I not sure how JET acts when there are the same relationships in the FE and BE gr marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: woensdag 4 juni 2003 15:05 To: accessd at databaseadvisors.com Subject: RE: [AccessD] relations in which database Marcel, Since relationships are between and among tables, and since the tables reside in the BE, why do you think the relationships should be in the FE and not the BE? Also, I do not understand your so-called advantages? Please explain. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Wednesday 2003 Jun 04 07:57 To: accessd at databaseadvisors.com Subject: [AccessD] relations in which database Dear group, I am stugling with the following. In our current situation I have a FE and a BE database. The relationships are currently stored in the BE database. Now the question is why not put them in the FE database and just leave the plain tables in the be database. Advantages should be - performance in multiuser env. - more control over the database because with each update you can change, add a relationship - peoplo who want to access the database through excel, and so on have more trouble in comprending the database. - field updates, new tables are easily to create instead of using 3rd party backend updaters Are there disadvantages??? Thanks, marcel vreuls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Jun 4 10:08:03 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Jun 2003 16:08:03 +0100 Subject: [AccessD] OT: The cutest little guy (no not me!) References: Message-ID: <003501c32aab$18848ca0$9111758f@aine> lovely kid john martin ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 04, 2003 3:48 PM Subject: [AccessD] OT: The cutest little guy (no not me!) > Just thought you folks might like to meet my son Robbie. As many of you > know I am a foster dad. I have put up pictures of him on my web site. > Click on the "Meet my son" button. The thumbnails are very small so they > should load quickly. The actual pics are 800x600 and average about 175k so > if you are on dialup, beware. It will probably take about 30 seconds to > load a pic over dialup, over cable or DSL probably just a couple of seconds. > > This may be the cutest kid in Connecticut so take a gander. > > Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution > (2048 x 1536), placed in JPEG format by the camera at a "very fine" > compression level. To drop the file size for the Web, as well as solve a > problem with the display image being huge, I then used Photoshop to drop the > pixel count to 800 x 600, keeping the auto resolution at "best". The > resulting image is pretty good considering the machinations it has gone > through. > > A digital camera is a great investment if you like to take photographs. I > also bought a cannon S820 photo printer and I must say the printed > photographs are stunning on Cannon high gloss paper. I can print 8x10s that > look like they came from a photo lab. > > Taken together, the printer, a 128 mbyte memory card to replace the pitiful > 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah > batteries to feed the beast, I must say it isn't cheap. However I can now > take ~76 photos at the highest resolution, and print them immediately if > they are good enough to put on paper. > > Someday I may get my investment back, but just the ability to get the photos > in my computer, email them to friends, share them with you guys via my web > page, and print them for the odd person with no computer (mom?) makes it all > worth while. I took a ton of photos of a friend's child's birthday and just > dropped them on a CD. Most photo labs can print from CDs now. > > Anyway, check the little boy out and tell me what you think - of him and of > the photos. And yes, I am just an armature photographer. > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Wed Jun 4 10:34:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 11:34:52 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: It does allow me to zoom. I don't know about crop. It has all this fancy stuff that you have to have the user's manual along to use (or take a class?). Photoshop certainly has all that stuff as well I'm sure. Again, take a class? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Wednesday, June 04, 2003 11:29 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) John, He is cute! But best of all he looks like a HAPPY kid. Doesn't that camera allow you to crop and zoom? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From todd_5036 at msn.com Wed Jun 4 10:45:21 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 04 Jun 2003 10:45:21 -0500 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: ar?ma?ture n. Electricity. The rotating part of a dynamo, consisting essentially of copper wire wound around an iron core. The moving part of an electromagnetic device such as a relay, buzzer, or loudspeaker. A piece of soft iron connecting the poles of a magnet. Biology. A protective covering, structure, or organ of an animal or a plant, such as teeth, claws, thorns, or the shell of a turtle. A framework serving as a supporting core for clay sculpture. ----Original Message Follows---- From: "John Colby" Reply-To: accessd at databaseadvisors.com To: Subject: RE: [AccessD] OT: The cutest little guy (no not me!) Date: Wed, 4 Jun 2003 10:59:54 -0400 >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From EdTesiny at oasas.state.ny.us Wed Jun 4 10:49:56 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 11:49:56 -0400 Subject: [AccessD] Field cannot be updated Message-ID: Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Jun 4 10:58:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 4 Jun 2003 10:58:49 -0500 Subject: [AccessD] Field cannot be updated Message-ID: Ed, Need a lot more info. Did this 'minor' change to the form have anything to do with the datasource for the form? Is the datasource for the form based on a 1-M relationship? Is the field that cannot be updated on the one side of a 1-M relationship? What does your cbo do besides select a value from a table? What value is saved to what table by the cbo? What version of Access? Is the app monolithic or split into FE/BE? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Wednesday 2003 Jun 04 10:50 To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us From stuart at lexacorp.com.pg Wed Jun 4 11:03:26 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 02:03:26 +1000 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: References: Message-ID: <3EDEA4EE.11306.80A7E9@localhost> On 4 Jun 2003 at 11:34, John Colby wrote: > It does allow me to zoom. I don't know about crop. It has all this fancy > stuff that you have to have the user's manual along to use (or take a > class?). Photoshop certainly has all that stuff as well I'm sure. Again, > take a class? > Take a look at the freeware Irfanview at http://www.irfanview.com It is not a full blown graphics application like Photoshop etc. It is primarily a graphics viewer, but it is VERY simple to learn and use to crop and resize images and to do basic manipuation like adjust colour balance, rotate image, apply various special effects and compress jpgs. I use it all the time to clean up the photos from my digital camera. You can see a selection of the results from my trip to InterHash 2002 in Goa (The biennial world wide Hash House Harriers gathering) at http://www.lexacorp.com.pg/Goa/ . It only took me a few minutes to crop and compress them all from uploading. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Wed Jun 4 11:07:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 12:07:51 -0400 Subject: [AccessD] Field cannot be updated References: Message-ID: <009a01c32ab3$75fccc00$134afccc@SusanOne> MessageWhat kind of changes -- I'm guessing you changed the structure of the underlying query and affected the relationships -- not all queries are updateable. Is there a query involved? Susan H. Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From EdTesiny at oasas.state.ny.us Wed Jun 4 11:22:03 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 12:22:03 -0400 Subject: [AccessD] Field cannot be updated Message-ID: Charles, The datasource for the form is a query, the change involved adding two tables to the design and six fields to the query and the form: 2 names, 2 phone numbers and 2 extensions. Datasource based on a 1-M relationship, cbo is on the '1' side. You select a name (RecordedByName)in the cbo and it saves the code number (RecoredByCode) for the name to a table on the 'M' side. A2002, app is just on my PC. As I said you get the error msg but it displays and saves the correct data. Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 04, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Field cannot be updated Ed, Need a lot more info. Did this 'minor' change to the form have anything to do with the datasource for the form? Is the datasource for the form based on a 1-M relationship? Is the field that cannot be updated on the one side of a 1-M relationship? What does your cbo do besides select a value from a table? What value is saved to what table by the cbo? What version of Access? Is the app monolithic or split into FE/BE? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Wednesday 2003 Jun 04 10:50 To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjones at btl.net Wed Jun 4 11:29:47 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 10:29:47 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: <003601c329e8$1a728490$cb0d6bd5@netboxxp> References: Message-ID: <5.1.0.14.2.20030604100839.029e5d50@btlmail.btl.net> I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. From DWUTKA at marlow.com Wed Jun 4 11:44:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 4 Jun 2003 11:44:40 -0500 Subject: [AccessD] OT: photo size on web site Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CD4@main2.marlow.com> Oh, I don't have the img tags set to specific widths....I was just saying that was an example of FP's Photo Albums. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 9:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: photo size on web site I clicked on a random picture and the same thing is happening. The picture (of your daughter?) is downloaded to my computer and displayed in IE at it's original resolution, which is so large that scroll bars appear and you have to scroll around to see the whole picture. It then resizes to fit in a portion of the screen (which mine doesn't do). John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 03, 2003 10:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: photo size on web site Hmmmm. Yes, the img HTML marker has height and width properties, so you can set an image to appear a certain size (pixels or percent). However, the user still downloads the entire file. So technically you could make thumbnail sized images that are really full images, taking a few megs. I used FrontPage XP for my family photos. It took about an hour to build this: http://www.wolfwares.com/familyphotos. FrontPage will let you 'resize' images within it. (ie, you can resize and image, and then have FP resample the image, to save it to the write file size to match the display size.). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 03, 2003 8:52 PM To: AccessD Subject: [AccessD] OT: photo size on web site I am trying to work with photos on a web site. I have created a flash photo album with a bunch of thumbnails. When you click on any thumbnail, the photo is loaded into the browser. Because of the resolution of my camera (apparently), the picture is huge, with most of the picture off of the page. Is there any way short of saving the file back out as (perhaps) a 640 x 480 file to cause the photo to load with the whole thing viewable on the screen. I am trying to do this on my web site, to display photos of my son I have taken with my digital camera. It seems that one could use an image object, and load the picture into that image object (control) on a web page. I am using Dreamweaver. You can see what I am talking about by visiting my site and clicking the bottom button - "Meet my son". John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Wed Jun 4 11:41:14 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 4 Jun 2003 11:41:14 -0500 Subject: [AccessD] A97 to A2K conversion issues Message-ID: Since you converted to A2K why not use the power of SQL Server and create stored procedure for your application to use? "Paul M. Jones" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:29 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] A97 to A2K conversion issues I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 11:46:44 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 12:46:44 -0400 Subject: [AccessD] OT Review if time permits Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DE5@TTNEXCHSRV1.hshhp.com> Vlad, Nice clean look and easy to navigate. Can I ask how much time it took to develop and go live? We're still evaluating .NET and I'm having a love/hate relationship with it. Had you had any previous experience with ASP before you built this? Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, June 04, 2003 9:39 AM To: access group Subject: [AccessD] OT Review if time permits Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 11:49:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 09:49:52 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: <008f01c32ab9$52104460$6501a8c0@HAL9002> Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Wed Jun 4 12:09:10 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 4 Jun 2003 12:09:10 -0500 Subject: [AccessD] Dang Bound Forms Again Message-ID: Why not check the number of records in the record source first and if there are none then set the recordsource to nothing otherwise have the recordsource set to your recordsource. If you want some sample code I can give it to you. "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:49 AM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 12:18:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 10:18:30 -0700 Subject: [AccessD] OT: The cutest little guy (no not me!) References: Message-ID: <00b901c32abd$522c8220$6501a8c0@HAL9002> John: I think you just got your investment back. :) I (like most parents) have hundred of pics of my boys going back literally to the moment of their birth. You will be surprised at how precious those pics will become in ten years. Rocky ----- Original Message ----- From: "John Colby" To: Sent: Wednesday, June 04, 2003 7:59 AM Subject: RE: [AccessD] OT: The cutest little guy (no not me!) > >And yes, I am just an armature photographer. > > What, you haven't heard of armature photographers? > > Spellcheckers! 8-( > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Wednesday, June 04, 2003 10:49 AM > To: AccessD > Subject: [AccessD] OT: The cutest little guy (no not me!) > > > Just thought you folks might like to meet my son Robbie. As many of you > know I am a foster dad. I have put up pictures of him on my web site. > Click on the "Meet my son" button. The thumbnails are very small so they > should load quickly. The actual pics are 800x600 and average about 175k so > if you are on dialup, beware. It will probably take about 30 seconds to > load a pic over dialup, over cable or DSL probably just a couple of seconds. > > This may be the cutest kid in Connecticut so take a gander. > > Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution > (2048 x 1536), placed in JPEG format by the camera at a "very fine" > compression level. To drop the file size for the Web, as well as solve a > problem with the display image being huge, I then used Photoshop to drop the > pixel count to 800 x 600, keeping the auto resolution at "best". The > resulting image is pretty good considering the machinations it has gone > through. > > A digital camera is a great investment if you like to take photographs. I > also bought a cannon S820 photo printer and I must say the printed > photographs are stunning on Cannon high gloss paper. I can print 8x10s that > look like they came from a photo lab. > > Taken together, the printer, a 128 mbyte memory card to replace the pitiful > 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah > batteries to feed the beast, I must say it isn't cheap. However I can now > take ~76 photos at the highest resolution, and print them immediately if > they are good enough to put on paper. > > Someday I may get my investment back, but just the ability to get the photos > in my computer, email them to friends, share them with you guys via my web > page, and print them for the odd person with no computer (mom?) makes it all > worth while. I took a ton of photos of a friend's child's birthday and just > dropped them on a CD. Most photo labs can print from CDs now. > > Anyway, check the little boy out and tell me what you think - of him and of > the photos. And yes, I am just an armature photographer. > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ryansmethurst at tiscali.co.uk Wed Jun 4 12:20:59 2003 From: ryansmethurst at tiscali.co.uk (ryansmethurst at tiscali.co.uk) Date: Wed, 4 Jun 2003 18:20:59 +0100 Subject: [AccessD] SQL OLAP In-Reply-To: Message-ID: <3ED766560000839E@mk-cpfrontend-3.mail.uk.tiscali.com> Hi All, I'm messing around with SQL OLAP and was wondering if there was any way I could connect to the core data held within the cubes using ADO? Any ideas? TIA RyanS From cfoust at infostatsystems.com Wed Jun 4 12:28:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 10:28:04 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Why would you get #Name? Stuff with an empty table? If the form is bound, it's bound to the fields, whether there is anything in them or not. If you are binding the form when you open it, use a default empty recordset (i.e., WHERE 1=2), which will eliminate the #Name error but still give you empty bound fields. You would have to change the recordsource in code, but I generally use an empty recordset as the default recordsource to make my forms load faster. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, June 04, 2003 8:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software From martyconnelly at shaw.ca Wed Jun 4 12:36:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Jun 2003 10:36:57 -0700 Subject: [AccessD] OT Review if time permits References: <1ec.a253061.2c0f6104@aol.com> Message-ID: <3EDE2E39.5050600@shaw.ca> Gave it a shot with Netscape 7 As guest clicked on Menu Reviews and got an unknown certificate authority message refused the certificate and got a 8179 error about an encrypted connection. johnwardbell at aol.com wrote: > Good looking site. Loved the map. > > Could not find a delivery address for Lancashire UK! > > Or did I miss something? > > johnb > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From artful at rogers.com Wed Jun 4 12:46:41 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 4 Jun 2003 13:46:41 -0400 Subject: [AccessD] Weird problem suddenly on TS Message-ID: <031d01c32ac1$41b74390$8e01a8c0@Rock> For a couple of years we have been running an Access ADE file on Terminal Services with no problems. Recently I modified the ADP, strictly some cosmetic stuff, changed a couple of logos and company addresses. When one person runs the ADE, it works as expected. However, the 2nd through nth person all experience the same thing -- the startup code fails to run. The switchboard doesn't open. Access opens ok, and the ADE is actually open, but the database window is hidden so all the user sees is the grey background. To work around it, I made a copy of the ADE file for each user, each file having a slightly different name. They're back up and running, so the workaround was successful, but it strikes me as very bizarre. Nothing on the TS machine has changed. I can't think of any reason that this should occur. Can you? Arthur From Mark.Mitsules at ngc.com Wed Jun 4 12:49:33 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 4 Jun 2003 13:49:33 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) Message-ID: John, There are other armature photographers out there;) (Immensely huge line wrap) http://images.google.com/imgres?imgurl=www.greeleynet.com/~cmorrison/finishe d-armature.jpg&imgrefurl=http://www.greeleynet.com/~cmorrison/final-generato r.html&h=480&w=640&prev=/images%3Fq%3Darmature%26svnum%3D100%26hl%3Den%26lr% 3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26safe%3Doff Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 04, 2003 10:49 AM To: AccessD Subject: [AccessD] OT: The cutest little guy (no not me!) Just thought you folks might like to meet my son Robbie. As many of you know I am a foster dad. I have put up pictures of him on my web site. Click on the "Meet my son" button. The thumbnails are very small so they should load quickly. The actual pics are 800x600 and average about 175k so if you are on dialup, beware. It will probably take about 30 seconds to load a pic over dialup, over cable or DSL probably just a couple of seconds. This may be the cutest kid in Connecticut so take a gander. Taken with a Cannon A70 3.2 mpixel digital camera at the highest resolution (2048 x 1536), placed in JPEG format by the camera at a "very fine" compression level. To drop the file size for the Web, as well as solve a problem with the display image being huge, I then used Photoshop to drop the pixel count to 800 x 600, keeping the auto resolution at "best". The resulting image is pretty good considering the machinations it has gone through. A digital camera is a great investment if you like to take photographs. I also bought a cannon S820 photo printer and I must say the printed photographs are stunning on Cannon high gloss paper. I can print 8x10s that look like they came from a photo lab. Taken together, the printer, a 128 mbyte memory card to replace the pitiful 8 mbyte card that comes with the camera, and a Maha charger and 8 2200 mah batteries to feed the beast, I must say it isn't cheap. However I can now take ~76 photos at the highest resolution, and print them immediately if they are good enough to put on paper. Someday I may get my investment back, but just the ability to get the photos in my computer, email them to friends, share them with you guys via my web page, and print them for the odd person with no computer (mom?) makes it all worth while. I took a ton of photos of a friend's child's birthday and just dropped them on a CD. Most photo labs can print from CDs now. Anyway, check the little boy out and tell me what you think - of him and of the photos. And yes, I am just an armature photographer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 4 12:55:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 4 Jun 2003 13:55:33 -0400 Subject: [AccessD] OT: The cutest little guy (no not me!) In-Reply-To: Message-ID: Yea, they'll let anybody in this business! ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 04, 2003 1:50 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: The cutest little guy (no not me!) John, There are other armature photographers out there;) (Immensely huge line wrap) http://images.google.com/imgres?imgurl=www.greeleynet.com/~cmorrison/finishe d-armature.jpg&imgrefurl=http://www.greeleynet.com/~cmorrison/final-generato r.html&h=480&w=640&prev=/images%3Fq%3Darmature%26svnum%3D100%26hl%3Den%26lr% 3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26safe%3Doff Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 04, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: The cutest little guy (no not me!) >And yes, I am just an armature photographer. What, you haven't heard of armature photographers? Spellcheckers! 8-( John W. Colby www.colbyconsulting.com From pjones at btl.net Wed Jun 4 13:02:04 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 12:02:04 -0600 Subject: [AccessD] Weird problem suddenly on TS In-Reply-To: <031d01c32ac1$41b74390$8e01a8c0@Rock> Message-ID: <5.1.0.14.2.20030604115739.029ecd08@btlmail.btl.net> I recently saw something like this. It was TS somehow gave the first user ownership of the lock file and no one else was able to work after that. Paul At 01:46 PM 6/4/2003 -0400, you wrote: >For a couple of years we have been running an Access ADE file on Terminal >Services with no problems. Recently I modified the ADP, strictly some >cosmetic stuff, changed a couple of logos and company addresses. When one >person runs the ADE, it works as expected. However, the 2nd through nth >person all experience the same thing -- the startup code fails to run. The >switchboard doesn't open. Access opens ok, and the ADE is actually open, but >the database window is hidden so all the user sees is the grey background. >To work around it, I made a copy of the ADE file for each user, each file >having a slightly different name. They're back up and running, so the >workaround was successful, but it strikes me as very bizarre. Nothing on the >TS machine has changed. > >I can't think of any reason that this should occur. Can you? > >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pjones at btl.net Wed Jun 4 13:09:00 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 12:09:00 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: Message-ID: <5.1.0.14.2.20030604120317.029a94d0@btlmail.btl.net> At 11:41 AM 6/4/2003 -0500, you wrote: >Since you converted to A2K why not use the power of SQL Server and create >stored procedure for your application to use? I am currently using stored procedures for a lot of the heavy processing but I have used queries for reporting. I plan to eventually convert the entire application to an ADP but that will be a fairly heavy undertaking. The hope was to do a quick upgrade to A2K. Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 13:17:58 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:17:58 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <00e701c32ac5$a085e800$6501a8c0@HAL9002> Jeffery: I tried that. The problem is that if I set the recordsource to nothing the form comes up with all those #Name thingies. And then if I do a NewRec I get and error that says I can't assign a value to a bound text box. :( Rocky . ----- Original Message ----- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com Sent: Wednesday, June 04, 2003 10:09 AM Subject: Re: [AccessD] Dang Bound Forms Again Why not check the number of records in the record source first and if there are none then set the recordsource to nothing otherwise have the recordsource set to your recordsource. If you want some sample code I can give it to you. "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/04/2003 11:49 AM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 13:28:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:28:00 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <00f701c32ac7$0776cab0$6501a8c0@HAL9002> Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default empty > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > still give you empty bound fields. You would have to change the > recordsource in code, but I generally use an empty recordset as the > default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Jun 4 13:33:14 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 11:33:14 -0700 Subject: [AccessD] Field cannot be updated References: Message-ID: <011901c32ac7$c24276a0$6501a8c0@HAL9002> Ed: If you open the query and run it can you add a record to it? IOW is it updateable? This has tripped me up more than once. Rocky ----- Original Message ----- From: "Tesiny, Ed" To: Sent: Wednesday, June 04, 2003 9:22 AM Subject: RE: [AccessD] Field cannot be updated > Charles, > The datasource for the form is a query, the change involved adding two > tables to the design and six fields to the query and the form: 2 names, > 2 phone numbers and 2 extensions. Datasource based on a 1-M > relationship, cbo is on the '1' side. You select a name > (RecordedByName)in the cbo and it saves the code number (RecoredByCode) > for the name to a table on the 'M' side. A2002, app is just on my PC. > As I said you get the error msg but it displays and saves the correct > data. > > Ed Tesiny > EdTesiny at oasas.state.ny.us > > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 04, 2003 11:59 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Field cannot be updated > > > Ed, > > Need a lot more info. Did this 'minor' change to the form have anything > to do with the datasource for the form? Is the datasource for the form > based on a 1-M relationship? Is the field that cannot be updated on the > one side of a 1-M relationship? What does your cbo do besides select a > value from a table? What value is saved to what table by the cbo? What > version of Access? Is the app monolithic or split into FE/BE? > > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > -----Original Message----- > From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] > Sent: Wednesday 2003 Jun 04 10:50 > To: accessd at databaseadvisors.com > Subject: [AccessD] Field cannot be updated > > Hi All, > I have a form that I made minor changes to (no changes to the cbo) and > now when I go to make a selection in a combo box, I get the message > "Field cannot be Updated" I click on OK and the correct selection shows > up in the cbo and the correct value is saved to a table. Tried deleting > and recreating the cbo and I get the same msg. Nothing fancy, the cbo > is based on a table with autonumber PK and a text field contains a name. > Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed > > Edward P. Tesiny > New York State OASAS > Evaluation and Program Monitoring > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > EdTesiny at oasas.state.ny.us > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 4 13:37:36 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 04 Jun 2003 14:37:36 -0400 Subject: [AccessD] Field cannot be updated Message-ID: An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Wed Jun 4 13:41:38 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 4 Jun 2003 13:41:38 -0500 Subject: [AccessD] A97 to A2K conversion issues Message-ID: <869379ABF177D4118D3100508B5EF873063AACCF@corp-es00> Some thoughts: 1) You might try deleting the linked table and relinking. This has often solved mystery ODBC problems for me. 2) The ODBC driver may be timing out. Increase the timeout value in the query. 3) In many instances setting up multiple key indexes to linked tables dramatically slows downs queries to where they timeout. HTH Jim Hale -----Original Message----- From: Paul M. Jones [mailto:pjones at btl.net] Sent: Wednesday, June 04, 2003 11:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] A97 to A2K conversion issues I have an A97 application that connects to SQL Server 2000 via ODBC that has been running for the last couple of years. I recently converted it to A2K. I have since found a lot of quirky things that has led me to rewrite certain parts of my code that functions perfectly well under A97. My latest problem is that I have a fairly complex query that selects information from several other queries. This query now gives me an 'ODBC--called' failed error under A2k even though all the smaller queries that it selects from work ok. I am now thinking I might need to create temporary tables rather than using queries as the source of the final query. Without getting into the details of the various queries, anyone has any ideas on parameters or configurations that can be made with A2K before I take the route of redoing a ton of work? On another note, for anyone planning to do this type of upgrade on Windows 2000 systems, please be sure that they all have SP3 installed. A2K did not work properly on any of the Win2K systems that had SP1 or SP2. Only with SP3 did I get consistency I expected from what was supposed to be a simple upgrade. Paul M. Jones Spire Services Ltd. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 4 14:07:32 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 4 Jun 2003 15:07:32 -0400 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <00f701c32ac7$0776cab0$6501a8c0@HAL9002> Message-ID: Rocky, <> Well don't do that. If you want the form blank, either put a filter condition on it that returns no records or set the DataEntry property to True. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 04, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default empty > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > still give you empty bound fields. You would have to change the > recordsource in code, but I generally use an empty recordset as the > default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 4 14:13:36 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 4 Jun 2003 15:13:36 -0400 Subject: [AccessD] Field cannot be updated (Solved) Message-ID: Thanks for all your responses, the problem was ME, I set the DefaultValue property of a field which in this case is a no no. If anyone wants the full explanation, Don was right, M$KB: 289659. Weird though, throws you an error but saves correct data?? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Tesiny, Ed Sent: Wednesday, June 04, 2003 11:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] Field cannot be updated Hi All, I have a form that I made minor changes to (no changes to the cbo) and now when I go to make a selection in a combo box, I get the message "Field cannot be Updated" I click on OK and the correct selection shows up in the cbo and the correct value is saved to a table. Tried deleting and recreating the cbo and I get the same msg. Nothing fancy, the cbo is based on a table with autonumber PK and a text field contains a name. Enabled property is set to Yes and Locked is set to No. Any Ideas? Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaupca at chevrontexaco.com Wed Jun 4 14:19:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 4 Jun 2003 14:19:12 -0500 Subject: [AccessD] Month name in list box to number Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 14:32:15 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 15:32:15 -0400 Subject: [AccessD] Month name in list box to number Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DF5@TTNEXCHSRV1.hshhp.com> Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Jun 4 14:38:45 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 4 Jun 2003 15:38:45 -0400 Subject: [AccessD] Month name in list box to number Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85DF9@TTNEXCHSRV1.hshhp.com> >> sDummy = lstMonth.Value & " 1, 20003"<< Whoa, I went way into the future here. Sorry meant 2003 for the year! Jim DeMarco -----Original Message----- From: Jim DeMarco Sent: Wednesday, June 04, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Month name in list box to number Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Jun 4 15:16:28 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 04 Jun 2003 21:16:28 +0100 Subject: [AccessD] OT FrontPage 2003 Message-ID: <200306042016.VAA06905@hosea.qub.ac.uk> Anyone out there beta testing FrontPage 2003? Interested in any comments you may have especially those using the XML Data Driven Web stuff? Martin From kaupca at chevrontexaco.com Wed Jun 4 15:36:32 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 4 Jun 2003 15:36:32 -0500 Subject: [AccessD] Month name in list box to number Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D64@bocnte2k4.boc.chevrontexaco.net> Worked great and by making first column width to 0 I only see the month name and not the number. Thanks -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, June 04, 2003 2:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Month name in list box to number Chester, Two choices that I see: 1. Use "1;January;2;February"... as your list boxes row source and binding to the first column. Then just refer to lstMonth.value to get the month number. or 2. Or if your list box contains one column with month text, in code: dim sDummy as String sDummy = lstMonth.Value & " 1, 20003" and call Month(sDummy) to get the month number. The day and year values passed in via the string do not have to change ever since you're only interested in the month value. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Wednesday, June 04, 2003 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Month name in list box to number I have a form with a list box filled with month names. Ex January. I have a table that has data stored by month number. How can a convert the month name to a number to find the appropriate record in the table. I can do it with a select in code but thought there might be an easier way to query the table based on the selection from the form. Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Wed Jun 4 16:21:13 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Wed, 4 Jun 2003 16:21:13 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: <00ea01c32adf$3c8923c0$6600a8c0@tim> Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen From stuart at lexacorp.com.pg Wed Jun 4 16:41:44 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 07:41:44 +1000 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <00ea01c32adf$3c8923c0$6600a8c0@tim> Message-ID: <3EDEF438.30753.1F58E6@localhost> On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter for a > query. I'm using the IN operator but it doesn't seem to be working. I'm > using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when I run > the query, 0 records are returned. If I run the query with the items from > the text box, I get the correct number of records. Is it not possible to > use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pjones at btl.net Wed Jun 4 17:06:03 2003 From: pjones at btl.net (Paul M. Jones) Date: Wed, 04 Jun 2003 16:06:03 -0600 Subject: [AccessD] A97 to A2K conversion issues In-Reply-To: <869379ABF177D4118D3100508B5EF873063AACCF@corp-es00> Message-ID: <5.1.0.14.2.20030604160427.029efb98@btlmail.btl.net> Thanks Jim, The linking and unlinking worked. This is really a mystery to me since all other queries and operations on the table in question worked fine. Paul M. Jones At 01:41 PM 6/4/2003 -0500, you wrote: >Some thoughts: >1) You might try deleting the linked table and relinking. This has often >solved mystery ODBC problems for me. >2) The ODBC driver may be timing out. Increase the timeout value in the >query. >3) In many instances setting up multiple key indexes to linked tables >dramatically slows downs queries to where they timeout. > >HTH >Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 4 17:33:10 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 4 Jun 2003 15:33:10 -0700 Subject: [AccessD] Dang Bound Forms Again References: Message-ID: <01d601c32ae9$478f0e10$6501a8c0@HAL9002> Jim: When the data entry property is set to Yes and the recordsource is returning zero records because there are no records yet in the table, the screen comes up blank. This has to be a common problem with a simple workaround. I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled? Regards, Rocky Rocky ----- Original Message ----- From: "Jim Dettman" To: Sent: Wednesday, June 04, 2003 12:07 PM Subject: RE: [AccessD] Dang Bound Forms Again > Rocky, > > < #Name > in them because they're bound to unknown fields.>> > > Well don't do that. If you want the form blank, either put a filter > condition on it that returns no records or set the DataEntry property to > True. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 04, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > > > Charlotte: > > When there are no records in the recourd source the form comes up blank. > > If I remove the recordsource I get the form but the bound fields have #Name > in them because they're bound to unknown fields. > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Wednesday, June 04, 2003 10:28 AM > Subject: RE: [AccessD] Dang Bound Forms Again > > > > Why would you get #Name? Stuff with an empty table? If the form is > > bound, it's bound to the fields, whether there is anything in them or > > not. If you are binding the form when you open it, use a default empty > > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > > still give you empty bound fields. You would have to change the > > recordsource in code, but I generally use an empty recordset as the > > default recordsource to make my forms load faster. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Wednesday, June 04, 2003 8:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Dang Bound Forms Again > > > > > > Dear List: > > > > I have a bound form which displays product structures. If the product > > structure table is empty (as it would be when the user is just starting > > up) the screen comes up blank. I would like the form to display empty > > without the #Name stuff, of course. > > > > How do you all solve this problem of a bound form bound to an empty > > record source? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tim at irwin-greenhouses.com Wed Jun 4 17:33:40 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Wed, 4 Jun 2003 17:33:40 -0500 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <3EDEF438.30753.1F58E6@localhost> Message-ID: <00f401c32ae9$5af8b0a0$6600a8c0@tim> This is the code I am using to populate the textbox The listbox name is RDCSelection Dim ctlList As Control, Itm As Variant, rstRDC As Recordset, Criteria As String Set ctlList = Me!RDCSelection For Each Itm In ctlList.ItemsSelected If Len(Criteria) = 0 Then Criteria = Chr(39) & ctlList.ItemData(Itm) & Chr(39) Else Criteria = Criteria & "," & Chr(39) & ctlList.ItemData(Itm) & Chr(39) End If Next Itm Me!RDCCriteria = Criteria -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 04, 2003 4:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query based on multiselect listbox On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter for a > query. I'm using the IN operator but it doesn't seem to be working. I'm > using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when I run > the query, 0 records are returned. If I run the query with the items from > the text box, I get the correct number of records. Is it not possible to > use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 4 18:30:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Jun 2003 16:30:30 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Oh, you mean nothing in the recordsource, not no records returned by it. So don't remove the recordsource, replace it with one that returns an empty recordset. The way I do it is to use a standard recordsource that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That allows your form to be bound to the fields in MyTable but since the where condition is always false, it returns an empty recordset. Then I use code to set the recordsource to the appropriate one when something triggers it such as a choice in a dropdown. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, June 04, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Charlotte: When there are no records in the recourd source the form comes up blank. If I remove the recordsource I get the form but the bound fields have #Name in them because they're bound to unknown fields. ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 04, 2003 10:28 AM Subject: RE: [AccessD] Dang Bound Forms Again > Why would you get #Name? Stuff with an empty table? If the form is > bound, it's bound to the fields, whether there is anything in them or > not. If you are binding the form when you open it, use a default > empty recordset (i.e., WHERE 1=2), which will eliminate the #Name > error but still give you empty bound fields. You would have to change > the recordsource in code, but I generally use an empty recordset as > the default recordsource to make my forms load faster. > > Charlotte Foust > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, June 04, 2003 8:50 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Dang Bound Forms Again > > > Dear List: > > I have a bound form which displays product structures. If the product > structure table is empty (as it would be when the user is just > starting > up) the screen comes up blank. I would like the form to display empty > without the #Name stuff, of course. > > How do you all solve this problem of a bound form bound to an empty > record source? > > MTIA > > Rocky Smolin > Beach Access Software _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 4 19:30:44 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 4 Jun 2003 17:30:44 -0700 Subject: [AccessD] OT: photo size on web site In-Reply-To: <11435637890.20030603221040@charter.net> Message-ID: There is also a *great* tutorial place for Paint Shop Pro. I just finished a six week "class", where you have one very simple, step-by-step tutorial a day. I fully plan to take the intermediate class when it starts in September. For more info: http://pspimaginarium.com -- 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 Ron Allen > Sent: 03 Jun 2003 8:11:PM > To: John Colby > Subject: Re[2]: [AccessD] OT: photo size on web site > > > Hello John, > > I don't know Photoshop, but CompuPic Pro (http://www.photodex.com) and > Paint Shop Pro (http://www.jasc.com) both have automation features > that can be used to make the process less painful. > > Paint Shop Pro 8 has a full-blown macro recorder and scripting > language built in to do any manipulation you need to do. > > I have and use both of these programs and can tell you that they are > both good. Paint Shop Pro, I am told, is nearly on a par with > Photoshop in all ways except the specialized functionality for > interfacing with printing shops. > > HTH, > > Ron > > > Tuesday, June 3, 2003, 10:02:26 PM, you wrote: > JC> OK, I figured it out. Resized the image with Photoshop to 800 x 600. I did > JC> the last three images (791a, 792a and 793a). It seems to be what I was > JC> after. What a PITA though! > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Jun 4 18:31:05 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 09:31:05 +1000 Subject: [AccessD] OT Review if time permits References: <004001c32a9e$a4722810$0c05a8c0@earth.local> Message-ID: <00be01c32af1$5e7d70f0$54dd31d2@OfficePC> MessageIt looks good and loads fast Vlad. Very simple to use. What were all the tools you used to do it? Does it use Access at all or is it vb.net or?? Cheers Kath ----- Original Message ----- From: ACTEBS To: access group Sent: Wednesday, June 04, 2003 11:38 PM Subject: [AccessD] OT Review if time permits Guys, Sorry I have not been active recently but we have been mighty busy of late and about to release our first commercial web application - if you're interested have a look here: www.mytakeaway.com.au If you get time, could you please take the time out and check the site out and send me your likes and dislikes? (Off line please) Also, if you could indicate how fast the site was, would be really appreciated eg (Site ran like a dog, Was normal, Like changing TV channels) etc etc... It has been created using .NET with SQL Server 2000 BE. Any input greatly appreciated... Many Thanks Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Wed Jun 4 20:42:56 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 5 Jun 2003 11:42:56 +1000 Subject: [AccessD] OT Review if time permits In-Reply-To: <3EDE2E39.5050600@shaw.ca> Message-ID: <006a01c32b03$cce26070$0c05a8c0@earth.local> Thanks, will check that out... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, 5 June 2003 3:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Review if time permits Gave it a shot with Netscape 7 As guest clicked on Menu Reviews and got an unknown certificate authority message refused the certificate and got a 8179 error about an encrypted connection. johnwardbell at aol.com wrote: > Good looking site. Loved the map. > > Could not find a delivery address for Lancashire UK! > > Or did I miss something? > > johnb > > >----------------------------------------------------------------------- >- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 4 21:33:18 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 05 Jun 2003 12:33:18 +1000 Subject: [AccessD] relations in which database In-Reply-To: Message-ID: <000001c32b0a$e08e5f00$6100a8c0@bbb888> "The best arguments for putting relationships in the back end is 1) You can create any kind of temporary relationship you want in the front end on the fly as you need it. They don't have to be stored there, and 2) If you front end becomes toast, you still have the relationships in the back end where they belong." AMEN! From harkins at iglou.com Wed Jun 4 22:06:36 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 23:06:36 -0400 Subject: [AccessD] OT Message-ID: <004301c32b0f$929ccfc0$c0e6ffcc@SusanOne> For IT Pros and Developers Microsoft Office System Contest for Developers A year's lease on a car is just one of the prizes offered to developers who create the best applications using Microsoft Office System Beta 2. Categories include XML at the desktop, Microsoft Visual Studio? and .NET Framework, cross-application integration, tools, and Microsoft SharePoint Products and Technologies. -------------- next part -------------- A non-text attachment was scrubbed... Name: ts.gif Type: image/gif Size: 42 bytes Desc: not available URL: From harkins at iglou.com Wed Jun 4 22:19:11 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 4 Jun 2003 23:19:11 -0400 Subject: [AccessD] OT References: <004301c32b0f$929ccfc0$c0e6ffcc@SusanOne> Message-ID: <009401c32b11$3ce36600$c0e6ffcc@SusanOne> I'm sorry. http://www.ftponline.com/portals/microsoft/office/ For IT Pros and Developers Microsoft Office System Contest for Developers A year's lease on a car is just one of the prizes offered to developers who create the best applications using Microsoft Office System Beta 2. Categories include XML at the desktop, Microsoft Visual Studio? and .NET Framework, cross-application integration, tools, and Microsoft SharePoint Products and Technologies. ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Wed Jun 4 23:41:02 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 05 Jun 2003 14:41:02 +1000 Subject: [AccessD] Query based on multiselect listbox In-Reply-To: <00f401c32ae9$5af8b0a0$6600a8c0@tim> Message-ID: <000601c32b1c$ae445ba0$0c05a8c0@earth.local> Tim, I have sent you an example off-line... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tim Thiessen Sent: Thursday, 5 June 2003 8:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query based on multiselect listbox This is the code I am using to populate the textbox The listbox name is RDCSelection Dim ctlList As Control, Itm As Variant, rstRDC As Recordset, Criteria As String Set ctlList = Me!RDCSelection For Each Itm In ctlList.ItemsSelected If Len(Criteria) = 0 Then Criteria = Chr(39) & ctlList.ItemData(Itm) & Chr(39) Else Criteria = Criteria & "," & Chr(39) & ctlList.ItemData(Itm) & Chr(39) End If Next Itm Me!RDCCriteria = Criteria -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 04, 2003 4:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query based on multiselect listbox On 4 Jun 2003 at 16:21, Tim Thiessen wrote: > Dear Group > > I am trying to use a multselect listbox to serve as a the parameter > for a query. I'm using the IN operator but it doesn't seem to be > working. I'm using A97. Here is the SQL > > SELECT Invoice.RDC > FROM Invoice > WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) > AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); > > In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items > selected from the listbox. That part is working fine. However, when > I run > the query, 0 records are returned. If I run the query with the items > from the text box, I get the correct number of records. Is it not > possible to use the IN operator with a parameter query? > It is possible. What code are you using to populate your textbox? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at optusnet.com.au Wed Jun 4 20:01:08 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 11:01:08 +1000 Subject: [AccessD] Amend combo to have 'Add new record' option in list Message-ID: <007801c32afd$f2db59e0$54dd31d2@OfficePC> I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Wed Jun 4 23:58:45 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 5 Jun 2003 14:58:45 +1000 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren From michael.mattys at adelphia.net Thu Jun 5 00:03:15 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 01:03:15 -0400 Subject: [AccessD] Amend combo to have 'Add new record' option in list References: <007801c32afd$f2db59e0$54dd31d2@OfficePC> Message-ID: <027c01c32b1f$c7ea0890$6401a8c0@default> Kath, I think this may work (or something close to it): For each of your fields you would select NULL as that field name like so ... ... UNION SELECT NULL AS BorrGuarID, ... NULL AS [ACN], '!Add New Record!' AS [NewRec] FROM tblClients Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Wednesday, June 04, 2003 9:01 PM Subject: [AccessD] Amend combo to have 'Add new record' option in list I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Jun 4 14:37:14 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 04 Jun 2003 12:37:14 -0700 Subject: [AccessD] Website In-Reply-To: <000901c32a6f$cafb5030$9111758f@aine> Message-ID: Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim From gustav at cactus.dk Thu Jun 5 02:21:25 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:21:25 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <1714620614.20030605092125@cactus.dk> Hi Charlotte Instead of inventing a false condition you can just state it: SELECT * FROM MyTable WHERE False /gustav > Oh, you mean nothing in the recordsource, not no records returned by it. > So don't remove the recordsource, replace it with one that returns an > empty recordset. The way I do it is to use a standard recordsource that > returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That > allows your form to be bound to the fields in MyTable but since the > where condition is always false, it returns an empty recordset. Then I > use code to set the recordsource to the appropriate one when something > triggers it such as a choice in a dropdown. From gustav at cactus.dk Thu Jun 5 02:47:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:47:37 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <008f01c32ab9$52104460$6501a8c0@HAL9002> References: <008f01c32ab9$52104460$6501a8c0@HAL9002> Message-ID: <176193295.20030605094737@cactus.dk> Hi Rocky > I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form > to display empty without the #Name stuff, of course. > How do you all solve this problem of a bound form bound to an empty record source? If the form is for display only, I check initially if any records are available; if not, I either grey out the control which opens the form, or pop a message telling the user that nothing is to display. If you insist to open the form, change the recordsource to one that returns one empty record simulating the fieldnames and their datatype of the normal recordset, like: SELECT TOP 1 Null AS YourQueryField1, Null AS YourQuryField2, 0 AS YourQueryField3, ... "" AS YourQueryFieldN FROM AnyNotEmptyTable; If the form is for data entry as well, either your recordset or the form doesn't allow addition of new records. Correct this. /gustav From gustav at cactus.dk Thu Jun 5 02:50:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 09:50:26 +0200 Subject: [AccessD] Weird problem suddenly on TS In-Reply-To: <031d01c32ac1$41b74390$8e01a8c0@Rock> References: <031d01c32ac1$41b74390$8e01a8c0@Rock> Message-ID: <426362368.20030605095026@cactus.dk> Hi Arthur Would it be possible to write protect the ADE file? /gustav > For a couple of years we have been running an Access ADE file on Terminal > Services with no problems. Recently I modified the ADP, strictly some > cosmetic stuff, changed a couple of logos and company addresses. When one > person runs the ADE, it works as expected. However, the 2nd through nth > person all experience the same thing -- the startup code fails to run. The > switchboard doesn't open. Access opens ok, and the ADE is actually open, but > the database window is hidden so all the user sees is the grey background. > To work around it, I made a copy of the ADE file for each user, each file > having a slightly different name. They're back up and running, so the > workaround was successful, but it strikes me as very bizarre. Nothing on the > TS machine has changed. > I can't think of any reason that this should occur. Can you? From gustav at cactus.dk Thu Jun 5 03:23:01 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 10:23:01 +0200 Subject: [AccessD] Month name in list box to number In-Reply-To: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> References: <193572B4E0FC1744BEDFEE63F82CEC9E0F96EF@bocnte2k4.boc.chevrontexaco.net> Message-ID: <608316738.20030605102301@cactus.dk> Hi Chester If you didn't have the option to modify the combo, the month value could be found with this simple formula: intMonth = Month(strFullMonthName & "/1") Please note the names of the months must be localized. /gustav > I have a form with a list box filled with month names. Ex January. I > have a table that has data stored by month number. How can a convert the > month name to a number to find the appropriate record in the table. I > can do it with a select in code but thought there might be an easier way > to query the table based on the selection from the form. Thanks > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. From subs at solution-providers.ie Thu Jun 5 03:37:09 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 5 Jun 2003 09:37:09 +0100 Subject: [AccessD] Dang Bound Forms Again References: <008f01c32ab9$52104460$6501a8c0@HAL9002> Message-ID: <006301c32b3d$acbeca10$6a1118ac@D8TZHN0J> Hello Rocky, Firstly, I could not imagine what you form was looking like, so, I just created a new db, created one table and entered no data at all. I then allowed the form wizard to create a new form. It opens perfectly and displays the three fields that I created. I can now add a new record if I wish. So, if this your scenario, if so, why are you getting #name. I think that I have experienced #name when the record source is not opening perhaps due to an SQL error in the record source, is this possible? The other alternative is, you are hinting that there is a product structure. I am wondering whether you have a one to many relationship and the many side is empty. If this is the case, could you consider making it a left outer join? I.E., ( show me all the product codes, and any of their properties if a property exists, if not, do please show me the product code anyway, thank you. ) If I am completely on the wrong track, please delete my email quickly and never think about it again, Mark ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Wednesday, June 04, 2003 5:49 PM Subject: [AccessD] Dang Bound Forms Again Dear List: I have a bound form which displays product structures. If the product structure table is empty (as it would be when the user is just starting up) the screen comes up blank. I would like the form to display empty without the #Name stuff, of course. How do you all solve this problem of a bound form bound to an empty record source? MTIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 03:51:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 10:51:50 +0200 Subject: [AccessD] relations in which database In-Reply-To: <000001c32b0a$e08e5f00$6100a8c0@bbb888> References: <000001c32b0a$e08e5f00$6100a8c0@bbb888> Message-ID: <12310046005.20030605105150@cactus.dk> Hi Bruce and Charlotte > "The best arguments for putting relationships in the back end is 1) You > can create any kind of temporary relationship you want in the front end > on the fly as you need it. They don't have to be stored there, and 2) > If you front end becomes toast, you still have the relationships in the > back end where they belong." > AMEN! I don't get this. Relationships are primarily for defining referential integrity - a key part of database design - and as such they don't just "belong to the BE", they simply must exist there. As such you can retrieve or mirror them into any FE linking to that BE but that is just display of the relations and for use by the GUI query designer; it has no further use. By the way, what is a "temporary relationship"? If a new relationship is needed you are redesigning the database scheme and that must be implemented in the BE ... /gustav From roz.clarke at donnslaw.co.uk Thu Jun 5 05:13:58 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 5 Jun 2003 11:13:58 +0100 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) Message-ID: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Dear all Due to difficulties with locking and corruption running Access databases on Terminal Server, and problems with co-ordinating maintenance, we have decided to upsize all tables from our Access databases that are used to share data between different applications onto SQL Server. Loss of support for hyperlinks is causing users a good deal of distress - we store a lot of links to useful resources and also track pages on our intranet using a database. I can't find anything on MSDN offering any workarounds for this. Can anybody help? Should I just go back to storing everything in Access & SQL Server be d at mned?? TIA Roz PS we are using SQL 7, I gather that SQL 2000 doesn't support hyperlinks either but we would go over to it if it did. :( From SDSSoftware at optusnet.com.au Thu Jun 5 03:30:08 2003 From: SDSSoftware at optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 5 Jun 2003 18:30:08 +1000 Subject: [AccessD] Amend combo to have 'Add new record' option in list References: <007801c32afd$f2db59e0$54dd31d2@OfficePC> <027c01c32b1f$c7ea0890$6401a8c0@default> Message-ID: <006001c32b3c$aef17e00$54dd31d2@OfficePC> Thanks Michael - I'm playing with that now. So I have to have the same no. of columns on both sides and use null for the unwanted ones. THanks Kath ----- Original Message ----- From: Michael R Mattys To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 3:03 PM Subject: Re: [AccessD] Amend combo to have 'Add new record' option in list Kath, I think this may work (or something close to it): For each of your fields you would select NULL as that field name like so ... ... UNION SELECT NULL AS BorrGuarID, ... NULL AS [ACN], '!Add New Record!' AS [NewRec] FROM tblClients Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Wednesday, June 04, 2003 9:01 PM Subject: [AccessD] Amend combo to have 'Add new record' option in list I would like to amend several combos in my app to have the option of 'Add new record' at the top of the list. I use 'not in list' code extensively to write new records to tables and open user input forms, but I now have a requirement for the user to *see* 'Add new record' as an option. Because I have to do this for several different combos, there are a few different scenarios, but here is the row source statement for one below: SELECT [TblClients].[BorrGuarID], [TblClients].[BorrowerName], [TblClients].[AddressLine1], [TblClients].[AddressLine2], [TblClients].[BusPostCode], [TblClients].[ACN] FROM TblClientsORDER BY [TblClients].[BorrowerName]; I have a feeling that I need a union query to pull in a value of 'add new record' so I have had a go at that with no luck.... TIA Kath Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Thu Jun 5 07:12:48 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Thu, 05 Jun 2003 07:12:48 -0500 Subject: [AccessD] Table Names in ComboBox Message-ID: Here's my sob story - someone accidentally overwrote a database that I didn't specifically backup to another location. Our network people say that databases don't restore correctly from their backup - my bad! Can't believe I didn't save my own backup - I usually do. Anyway, I have done this before but can't remember how I did it. I need to populate a combobox (listbox?) with the table names from another database. The user then selects a table name from the list to import into the current database. I apologize for asking for help with this, but I need to recreate the database structure ASAP and don't have time to play around. I appreciate any input - thanks so much for your help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From stuart at lexacorp.com.pg Thu Jun 5 07:18:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jun 2003 22:18:50 +1000 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Message-ID: <3EDFC1CA.32079.997E00@localhost> On 5 Jun 2003 at 11:13, Roz Clarke wrote: > Dear all > > Due to difficulties with locking and corruption running Access databases on > Terminal Server, and problems with co-ordinating maintenance, we have > decided to upsize all tables from our Access databases that are used to > share data between different applications onto SQL Server. > > Loss of support for hyperlinks is causing users a good deal of distress - we > store a lot of links to useful resources and also track pages on our > intranet using a database. I can't find anything on MSDN offering any > workarounds for this. Can anybody help? Should I just go back to storing > everything in Access & SQL Server be d at mned?? > What's your front end? An Access hyperlink is just a text field with the various part separates by "#"s (ie "Display text#http://myurl.com/index.htm#/Screen Tip". The only thing that makes it an active link in an Access Form or Report is the property setting of the display control. You can use any SQL text field type field to store the same info. (I've got several hyperlinks stored in SQl nvarchars and they work fine through an Access front end) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 5 07:27:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 14:27:34 +0200 Subject: [AccessD] Table Names in ComboBox In-Reply-To: References: Message-ID: <11722990208.20030605142734@cactus.dk> Hi Terri > .. Our network people say that databases don't restore correctly > from their backup - my bad! There must me more to this statement. Restoring a database file should not be a problem. /gustav From michael.mattys at adelphia.net Thu Jun 5 07:42:50 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 08:42:50 -0400 Subject: [AccessD] Table Names in ComboBox References: Message-ID: <02ca01c32b5f$fc458d90$6401a8c0@default> Terri, A query: "Select * From MSysObjects In 'db-Path' Where Type = 1" Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Terri Jarus" To: Sent: Thursday, June 05, 2003 8:12 AM Subject: [AccessD] Table Names in ComboBox > Here's my sob story - someone accidentally overwrote a database that I didn't specifically backup to another location. Our network people say that databases don't restore correctly from their backup - my bad! Can't believe I didn't save my own backup - I usually do. > > Anyway, I have done this before but can't remember how I did it. I need to populate a combobox (listbox?) with the table names from another database. The user then selects a table name from the list to import into the current database. > > I apologize for asking for help with this, but I need to recreate the database structure ASAP and don't have time to play around. > > I appreciate any input - thanks so much for your help. > > -------------------------------------------------------------------------- - > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 Amerinet 1nc. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 5 07:39:51 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 5 Jun 2003 08:39:51 -0400 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: <01d601c32ae9$478f0e10$6501a8c0@HAL9002> Message-ID: Rocky, The property "Data Entry" is really mis-named a bit. By setting it yes, it prevents any loading of existing records. One would think however that it deals with adding records and it does not. When you set it to yes, you should see a blank form regardless of records existing or not. << I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled?>> If the above didn't clear things up, then I think we all are missing your point in some way. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 04, 2003 6:33 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Jim: When the data entry property is set to Yes and the recordsource is returning zero records because there are no records yet in the table, the screen comes up blank. This has to be a common problem with a simple workaround. I can see lots of times when a bound form opens to an empty recordset (or an empty table). how is this handled? Regards, Rocky Rocky ----- Original Message ----- From: "Jim Dettman" To: Sent: Wednesday, June 04, 2003 12:07 PM Subject: RE: [AccessD] Dang Bound Forms Again > Rocky, > > < #Name > in them because they're bound to unknown fields.>> > > Well don't do that. If you want the form blank, either put a filter > condition on it that returns no records or set the DataEntry property to > True. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 04, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > > > Charlotte: > > When there are no records in the recourd source the form comes up blank. > > If I remove the recordsource I get the form but the bound fields have #Name > in them because they're bound to unknown fields. > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Wednesday, June 04, 2003 10:28 AM > Subject: RE: [AccessD] Dang Bound Forms Again > > > > Why would you get #Name? Stuff with an empty table? If the form is > > bound, it's bound to the fields, whether there is anything in them or > > not. If you are binding the form when you open it, use a default empty > > recordset (i.e., WHERE 1=2), which will eliminate the #Name error but > > still give you empty bound fields. You would have to change the > > recordsource in code, but I generally use an empty recordset as the > > default recordsource to make my forms load faster. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Wednesday, June 04, 2003 8:50 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Dang Bound Forms Again > > > > > > Dear List: > > > > I have a bound form which displays product structures. If the product > > structure table is empty (as it would be when the user is just starting > > up) the screen comes up blank. I would like the form to display empty > > without the #Name stuff, of course. > > > > How do you all solve this problem of a bound form bound to an empty > > record source? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Thu Jun 5 07:43:34 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Thu, 05 Jun 2003 07:43:34 -0500 Subject: [AccessD] Table Names in ComboBox Message-ID: They pulled a backup from the network and Access won't even recognize it. Now they told me yesterday they have installed something that should fix this problem on a go forward basis - a day late and a few dollars short. So as of yesterday, the dbs they pulled off were fine - go figure. This is a relatively small db and only holds data temporarily - it pulls data from another database and sets it up to be pulled into an Excel spreadsheet - only use it quarterly. Guess that's why I forgot to save my own backup. The department that uses it hired someone new who called me to say it wasn't working correctly. When I opened it, it was an exact copy of the database that it pulls data from - I think the new guy overwrote it by accident. Anyway, I'm having difficulty remembering what it did. Luckily, I had typed up instructions for the users - what buttons to click, etc. So I have that to go by. At this point, only option seems to be to start over - at least we have all the data so that's no problem. >>> gustav at cactus.dk 06/05/03 07:27AM >>> Hi Terri > .. Our network people say that databases don't restore correctly > from their backup - my bad! There must me more to this statement. Restoring a database file should not be a problem. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jbhuffman at mdh.org Thu Jun 5 08:08:38 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Thu, 5 Jun 2003 08:08:38 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: <0FFC98AA5943D211A2E90000F87A5B4801935787@NEWMAN_EXC> I actually use a temp table to store the selected values and the textbox to display the selected values. Then I use the temp table in the query. If the record isn't in the temp table, the related records aren't selected. I believe I got this from the Developer's Handbook (both 97 and 2002). HTH, Jarad Huffman -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Wednesday, June 04, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Query based on multiselect listbox Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Jun 5 08:12:51 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 09:12:51 -0400 Subject: [AccessD] ScreenUpdating Message-ID: <02db01c32b64$2c9c7180$6401a8c0@default> Hi, Anyone know what the equivalent of Application.ScreenUpdating is in Access 2000? Michael R. Mattys www.mattysconsulting.com From CWortz at tea.state.tx.us Thu Jun 5 08:18:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 5 Jun 2003 08:18:49 -0500 Subject: [AccessD] ScreenUpdating Message-ID: No, because you haven't explained what environment uses "Application.ScreenUpdating"! So I can only give you a WAG that the Access equivalent is Repaint. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday 2003 Jun 05 08:13 To: AccessD Subject: [AccessD] ScreenUpdating Hi, Anyone know what the equivalent of Application.ScreenUpdating is in Access 2000? Michael R. Mattys www.mattysconsulting.com From jcolby at colbyconsulting.com Thu Jun 5 08:34:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 5 Jun 2003 09:34:00 -0400 Subject: [AccessD] Website In-Reply-To: Message-ID: For some reason it took a long time to load - 20 seconds or so. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Jun 5 08:38:43 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 5 Jun 2003 09:38:43 -0400 Subject: [AccessD] ScreenUpdating References: Message-ID: <02ed01c32b67$c8eb1020$6401a8c0@default> Apparently it is for use in Excel. I am programming with the MapPoint ocx on a form and wanted to stop the screen updates until the code had finished running. I see, though, that I am barking up the wrong object model to accomplish what I want. Thanks anyway, the repaint might come in useful, too Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, June 05, 2003 9:18 AM Subject: RE: [AccessD] ScreenUpdating > No, because you haven't explained what environment uses > "Application.ScreenUpdating"! So I can only give you a WAG that the > Access equivalent is Repaint. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday 2003 Jun 05 08:13 > To: AccessD > Subject: [AccessD] ScreenUpdating > > Hi, > > Anyone know what the equivalent of > Application.ScreenUpdating is in Access 2000? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Thu Jun 5 08:50:16 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 08:50:16 -0500 Subject: [AccessD] Opening form to display record or add new record Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F0@bocnte2k4.boc.chevrontexaco.net> I have a form with 2 list boxes to select a month and a year. Once selected another form opens and displays a record from a table based on the month and year selected. This form gets its data from the table by means of a query. This works fine if a record exists for the selected month and year. If the month and year selected does not exist in the table I just get a blank form. Tried this as a macro condition but does not work [Forms]![frm Select Date]![selected_date]>[tbl Last Date in tbl_monthly_inputs]![Last Date] How do I get the form to open to allow a new record to be added to the underlying table. Thanks for the assistance. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Thu Jun 5 08:53:46 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 5 Jun 2003 09:53:46 -0400 Subject: [AccessD] Website Message-ID: The Gazette is looks outstanding and very professional, yet, like AccessD, maintains a strong feeling of community. Very well done! Mark P.S. If you are tracking anomalies, the page obviously did load, but with errors. I am running IE 6.0 SP1, on Win2K Pro SP 2. Line: 2 Char: 1 Error: Syntax error Code: 0 URL: http://www.databaseadvisors.com Line: 205 Char: 9 Error: Object expected Code: 0 URL: http://www.databaseadvisors.com -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Tony.Yeatman at creditlyonnais.co.uk Thu Jun 5 09:03:17 2003 From: Tony.Yeatman at creditlyonnais.co.uk (Yeatman, Tony) Date: Thu, 5 Jun 2003 15:03:17 +0100 Subject: [AccessD] Automation - Late Binding Message-ID: <9FBDCD9CEFBAD611AA9600B0D03E86AB01E403B0@LNN052> I have an Access 97 Application distributed as mde's, it is split into a series of Modules, including a code Module. There are references to both Excel and Outlook. As we will shortly be rolling out Office 2000, I will be unable to determine which version of Excel/Outlook will be installed, and are therefore going to change to late binding. In the code module i pass an excel object as a ByRef Parameter to a function (listed below) that populates the spreadsheet. As the code module will also need to be late binding i will need to change this to an object. How can I reference the Object and manipulate as an Excel Object within the function ? Any ideas or thoughts would be very much appreciated. Tony. Function fnExcel_WriteSheet(ByRef xlWorkbook As Excel.Workbook, strSQL As String, strSheetName As String) As Boolean Dim intCount As Integer Dim rstDAO As DAO.Recordset Dim fld As Field On Error GoTo Err_fnExcel_WriteSheet Set rstDAO = gDbDAO.OpenRecordset(strSQL, dbOpenSnapshot) xlWorkbook.Worksheets.Add xlWorkbook.ActiveSheet.Name = left(strSheetName, 30) xlWorkbook.ActiveSheet.Range("A2").CopyFromRecordset rstDAO intCount = 0 'For each field in the query (Client Grouping) add Grouping Number to the Column For Each fld In rstDAO.Fields xlWorkbook.ActiveSheet.Range("a1").Offset(0, intCount).Value = fld.Name xlWorkbook.ActiveSheet.Range("a1").Offset(0, intCount).EntireColumn.AutoFit intCount = intCount + 1 Next fld rstDAO.Close Set rstDAO = Nothing 'Format the Sheet fnExcel_Format xlWorkbook, intCount, 1 Exit_fnExcel_WriteSheet: Exit Function Err_fnExcel_WriteSheet: fnLogErr Resume Exit_fnExcel_WriteSheet End Function ************************************************************************* The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorized. Any views or opinions presented are solely those of the author and do not necessarily represent those of Credit Lyonnais or any of its affiliates. The information contained herein is recorded for business purposes and use of services is monitored to protect both the company and its individual users. If you are not the intended recipient please contact postmaster at creditlyonnais.co.uk ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 5 09:17:44 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 09:17:44 -0500 Subject: [AccessD] Query based on multiselect listbox Message-ID: What you could do is use code like the one below to step through your selected items and put them into the in clause. (I just took parts of it out of one of my apps). Dim makesql As String Dim wheresql As String Dim sWhere As String Dim rsTmp As DAO.Recordset Dim dbTmp As DAO.Database Dim myFieldName As String Dim ctlDest As Control Dim intCurrentRow As Integer Dim myselectedname As String Dim mynames As String Set ctlDest = Forms![frmReportsAgingTR]![cmbFinalSort] For intCurrentRow = 0 To ctlDest.ListCount - 1 'First set the variables myselectedname = ctlDest.Column(0, intCurrentRow) mynames = mynames & "'" & myselectedname & "', " Next intCurrentRow 'Strip out last comma in list mynames = Left(mynames, (Len(mynames) - 2)) If Me.cmbSelect = "Office" Then wheresql = " WHERE (((qryAgingTRDetail.Office) In (" & mynames & "))" Else wheresql = " WHERE (((qryAgingTRDetail.TR) In (" & mynames & "))" End If wheresql = wheresql & " AND ((qryAgingTRDetail.[TR Initial Review])='Past Due' Or (qryAgingTRDetail.[TR Initial Review])='Open'))" wheresql = wheresql & " ORDER BY qryAgingTRDetail.Office, qryAgingTRDetail.[Product Type], qryAgingTRDetail.[Deal Status]" "Huffman, Jarad B." Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 08:08 AM Please respond to accessd To: "'accessd at databaseadvisors.com'" cc: Subject: RE: [AccessD] Query based on multiselect listbox I actually use a temp table to store the selected values and the textbox to display the selected values. Then I use the temp table in the query. If the record isn't in the temp table, the related records aren't selected. I believe I got this from the Developer's Handbook (both 97 and 2002). HTH, Jarad Huffman -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Wednesday, June 04, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Query based on multiselect listbox Dear Group I am trying to use a multselect listbox to serve as a the parameter for a query. I'm using the IN operator but it doesn't seem to be working. I'm using A97. Here is the SQL SELECT Invoice.RDC FROM Invoice WHERE (((Invoice.RDC) In ([Forms]![frmWrkShts]![RDCCriteria])) AND ((Invoice.[Invoice Date])<=[Forms]![frmWrkShts]![date])); In the frmWrkShts, I have a text box (RDCCriteria) that is storing the items selected from the listbox. That part is working fine. However, when I run the query, 0 records are returned. If I run the query with the items from the text box, I get the correct number of records. Is it not possible to use the IN operator with a parameter query? Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Thu Jun 5 09:55:44 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 00:55:44 +1000 Subject: [AccessD] Like Operator SQL Syntax Message-ID: <001f01c32b72$8d7d4890$0c05a8c0@earth.local> Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:13:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:13:33 -0700 Subject: [AccessD] Like Operator SQL Syntax Message-ID: -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:16:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:16:31 -0700 Subject: [AccessD] Like Operator SQL Syntax Message-ID: ADO or not, if the value is a string, you need string delimiters around it. Try this: & "WHERE (((tblCustomers.CustomerName) Like " & chr(34) & "%" _ & strInput & "%" & chr(34) & ")) " Of course, that assumes that you don't actually have customers with names beginning and ending in "+". I assumed you were trying to use + to concatenate the wild cards, which isn't necessary. If you were doing something else, post back. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad From bchacc at san.rr.com Thu Jun 5 10:17:27 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 5 Jun 2003 08:17:27 -0700 Subject: [AccessD] Dang Bound Forms Again References: <1714620614.20030605092125@cactus.dk> Message-ID: <02d501c32b75$93237b90$6501a8c0@HAL9002> Gustav, Mark, Jim and Charlotte: Hoo boy! Have I got egg on my face. AllowAdditions property was set to False. Which is okay unless the recordset is empty. Then you get the blank screen. The User has to click the add button to set the property to true. Sorry for the wild goose chase. Sign me, Red-Faced in Del Mar ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, June 05, 2003 12:21 AM Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > > Instead of inventing a false condition you can just state it: > > SELECT * FROM MyTable WHERE False > > /gustav > > > > Oh, you mean nothing in the recordsource, not no records returned by it. > > So don't remove the recordsource, replace it with one that returns an > > empty recordset. The way I do it is to use a standard recordsource that > > returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). That > > allows your form to be bound to the fields in MyTable but since the > > where condition is always false, it returns an empty recordset. Then I > > use code to set the recordsource to the appropriate one when something > > triggers it such as a choice in a dropdown. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeffrey.demulling at usbank.com Thu Jun 5 10:18:19 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 10:18:19 -0500 Subject: [AccessD] Like Operator SQL Syntax Message-ID: Try this: strSQL = "SELECT tblCustomers.CustomerID, " strSQL = strSQL & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " strSQL = strSQL & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " strSQL = strSQL & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " strSQL = strSQL & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " strSQL = strSQL & "WHERE (((tblCustomers.CustomerName) Like % + " strSQL = strSQL & strInput & " + %)) " strSQL = strSQL & "ORDER BY tblCustomers.CustomerName;" ACTEBS Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 09:55 AM Please respond to accessd To: "access group" cc: Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:20:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:20:07 -0700 Subject: [AccessD] ScreenUpdating Message-ID: Try Application.Echo, which stops screen updating entirely or Me.Painting = False to stop updating for a current form. I don't thing the Painting method will work with an OCX involved though. Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Thursday, June 05, 2003 5:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ScreenUpdating Apparently it is for use in Excel. I am programming with the MapPoint ocx on a form and wanted to stop the screen updates until the code had finished running. I see, though, that I am barking up the wrong object model to accomplish what I want. Thanks anyway, the repaint might come in useful, too Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Wortz, Charles" To: Sent: Thursday, June 05, 2003 9:18 AM Subject: RE: [AccessD] ScreenUpdating > No, because you haven't explained what environment uses > "Application.ScreenUpdating"! So I can only give you a WAG that the > Access equivalent is Repaint. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Thursday 2003 Jun 05 08:13 > To: AccessD > Subject: [AccessD] ScreenUpdating > > Hi, > > Anyone know what the equivalent of > Application.ScreenUpdating is in Access 2000? > > Michael R. Mattys > www.mattysconsulting.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 10:23:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:23:02 -0700 Subject: [AccessD] relations in which database Message-ID: By a "temporary relationship", I meant the joins you create in queries, not saved relationships. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 12:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Bruce and Charlotte > "The best arguments for putting relationships in the back end is 1) > You can create any kind of temporary relationship you want in the > front end on the fly as you need it. They don't have to be stored > there, and 2) If you front end becomes toast, you still have the > relationships in the back end where they belong." > AMEN! I don't get this. Relationships are primarily for defining referential integrity - a key part of database design - and as such they don't just "belong to the BE", they simply must exist there. As such you can retrieve or mirror them into any FE linking to that BE but that is just display of the relations and for use by the GUI query designer; it has no further use. By the way, what is a "temporary relationship"? If a new relationship is needed you are redesigning the database scheme and that must be implemented in the BE ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Philippe.Pons19 at wanadoo.fr Thu Jun 5 10:19:29 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 17:19:29 +0200 Subject: [AccessD] How to control subforms loading order? Message-ID: <004301c32b75$dc551f80$fb683151@linceo2nddisk> Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 10:24:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:24:00 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: That is true but doesn't seem as obvious to me if someone else were to examine the design. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, June 04, 2003 11:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Instead of inventing a false condition you can just state it: SELECT * FROM MyTable WHERE False /gustav > Oh, you mean nothing in the recordsource, not no records returned by > it. So don't remove the recordsource, replace it with one that returns > an empty recordset. The way I do it is to use a standard recordsource > that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). > That allows your form to be bound to the fields in MyTable but since > the where condition is always false, it returns an empty recordset. > Then I use code to set the recordsource to the appropriate one when > something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 10:24:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 08:24:48 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: Where are you going with this? What purpose is being served by the drag and drop? Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 04, 2003 8:59 PM To: AccessD List Subject: [AccessD] A2K: Drag and Drop with Access Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 10:33:25 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 01:33:25 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <003801c32b77$d10febd0$0c05a8c0@earth.local> Charlotte, Many thanks. Worked like a charm...And yes I was using "+" for concatenation purposes... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 6 June 2003 1:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax ADO or not, if the value is a string, you need string delimiters around it. Try this: & "WHERE (((tblCustomers.CustomerName) Like " & chr(34) & "%" _ & strInput & "%" & chr(34) & ")) " Of course, that assumes that you don't actually have customers with names beginning and ending in "+". I assumed you were trying to use + to concatenate the wild cards, which isn't necessary. If you were doing something else, post back. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 05, 2003 6:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 5 10:36:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 5 Jun 2003 11:36:46 -0400 Subject: [AccessD] How to control subforms loading order? In-Reply-To: <004301c32b75$dc551f80$fb683151@linceo2nddisk> Message-ID: Yep, JIT loading. The control on the form has a "source object" property. Simply set this property for the second subform to nothing, then after the first subform loads, set the property of the second subform. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Thursday, June 05, 2003 11:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Thu Jun 5 10:38:46 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 09:38:46 -0600 Subject: [AccessD] How to control subforms loading order? Message-ID: <73100-22003645153846355@christopherhawkins.com> Sure. Given main form frmMain, first subform sfrmFirst, and second subform sfrmSecond: 1) Place an empty subform control on frmMain and sfrmFirst. When I say empty I mean, the SourceObject property of the control should be blank. 2) frmMain_OnLoad should set the .SourceObject property of it's blank subform control to 'sfrmFirst'. 3) sfrmFirst_OnLoad should set the .SourceObject property of it's blank subform control to 'sfrmSecond'. 4) Filter as needed. Curious; why are you synchronizing the two subforms via the Filter property instead of the Child/Parent properties provided for that purpose? -C- ---- Original Message ---- From: Philippe.Pons19 at wanadoo.fr To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] How to control subforms loading order? Date: Thu, 5 Jun 2003 17:19:29 +0200 >Hi, > >I have a form with two embedded subforms. > >On the OnCurrent event of the first subform, I synchronise the >second one using the Filter and OnFilter properties of it. >This works fine, but generates an error the first time the Form is >loaded. >This is because I reference the second subform, but at this time it >is not yet loaded. > >I found a workaround by removing the first subform from the main >form and reinserting it, as it seems Access loads the subforms in >the same order at which they have been inserted. > >However, I would like to have a more robust way of controling the >loading order. > >Do you have a better solution? > >Thanks in advance, > >Philippe. > From clh at christopherhawkins.com Thu Jun 5 10:42:24 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 09:42:24 -0600 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <133980-22003645154224311@christopherhawkins.com> Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From michael.broesdorf at email.de Thu Jun 5 10:42:01 2003 From: michael.broesdorf at email.de (michael.broesdorf at email.de) Date: Thu, 5 Jun 2003 17:42:01 +0200 Subject: [AccessD] How to control subforms loading order? Message-ID: <200306051542.h55Fg1Q02858@mailgate5.cinetic.de> An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Thu Jun 5 10:45:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 5 Jun 2003 17:45:23 +0200 Subject: [AccessD] A2K: Drag and Drop with Access References: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Message-ID: <016001c32b79$816c4720$0300a8c0@S856> Darren, you can use the mouse events to get the x and y values at mousedown and then on mouseup set the controls top and left to the new calculated values at mouseup I have once done that to allow size adjustment of a text box according to amount of text entered. dont remember the details, but I think it was something like adding some kind of help text. Lembit Lembit Soobik ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 05, 2003 6:58 AM Subject: [AccessD] A2K: Drag and Drop with Access > Hi All > Anyone have any success with dragging and dropping of controls onto Access forms? > Eg I have an Image control displaying an image and say it's in the top left corner of the form. > I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. > > I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. > > Any suggestions?? > > Many thanks in advance > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Thu Jun 5 10:51:38 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 5 Jun 2003 08:51:38 -0700 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <039e01c32b1f$24c5cff0$3c619a89@DDICK> Message-ID: <007401c32b7a$59eb6770$6401a8c0@papparuff> Dick, Go to Peter DeBaets website and check out his Drag-N-Dropper program. It works very well http://www.peterssoftware.com John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Darren DICK Sent: Wednesday, June 04, 2003 9:59 PM To: AccessD List Subject: [AccessD] A2K: Drag and Drop with Access Hi All Anyone have any success with dragging and dropping of controls onto Access forms? Eg I have an Image control displaying an image and say it's in the top left corner of the form. I want to 'click' onto the image control and 'drag' it to say... the bottom left corner of the form. I have found heaps of samples for VB but they use VB only events etc, that I can't replicate or fudge in Access. Any suggestions?? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pjones at btl.net Thu Jun 5 10:36:37 2003 From: pjones at btl.net (Paul M. Jones) Date: Thu, 05 Jun 2003 09:36:37 -0600 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <5.1.0.14.2.20030605093010.0266cf70@btlmail.btl.net> I believe the wildcards have to be included in single quotes: Try strSQL = "SELECT tblCustomers.CustomerID, " & _ " [tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] AS CustCode, " & _ " tblCustomers.CustomerName, " & _ " tblCustomers.Address1 & ' ' & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & tblCustomers.Postcode AS Address, " & _ " tblCustomers.DepotID" & _ " FROM tblCustomers " & _ " WHERE tblCustomers.CustomerName) Like '%" & strInput & "%' " & _ " ORDER BY tblCustomers.CustomerName" At 08:13 AM 6/5/2003 -0700, you wrote: >strSQL = "SELECT tblCustomers.CustomerID, " _ > & "[tblCustomers]![CustomerNumber] & '-' & > [tblCustomers]![CustomerSite] " _ > & "AS CustCode, tblCustomers.CustomerName, > tblCustomers.Address1 & ' ' & " _ > & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' > & " _ > & "tblCustomers.Postcode AS Address, tblCustomers.DepotID > FROM tblCustomers " _ > & "WHERE (((tblCustomers.CustomerName) Like % + " _ > & strInput & " + %)) " _ > & "ORDER BY tblCustomers.CustomerName;" -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 5 11:08:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 09:08:21 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: I wasn't saying it couldn't be useful, but if you don't know the purpose of the action, the suggestions are likely to be off target. If you need a hammer, it doesn't help if some hands you a nail! Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Jun 5 11:12:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 18:12:22 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <13436478413.20030605181222@cactus.dk> Hi Charlotte Well, it should - be obvious. Another use of this construction is: .. WHERE True This is useful where you in code build a criteria string: .. WHERE " & strCriteria If no criteria is to be applied, let strCriteria = "True". /gustav > That is true but doesn't seem as obvious to me if someone else were to > examine the design. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 04, 2003 11:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Instead of inventing a false condition you can just state it: > SELECT * FROM MyTable WHERE False > /gustav >> Oh, you mean nothing in the recordsource, not no records returned by >> it. So don't remove the recordsource, replace it with one that returns >> an empty recordset. The way I do it is to use a standard recordsource >> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >> That allows your form to be bound to the fields in MyTable but since >> the where condition is always false, it returns an empty recordset. >> Then I use code to set the recordsource to the appropriate one when >> something triggers it such as a choice in a dropdown. From kaupca at chevrontexaco.com Thu Jun 5 11:21:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 11:21:12 -0500 Subject: [AccessD] Cannot open table in code Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D68@bocnte2k4.boc.chevrontexaco.net> The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Jun 5 11:35:09 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 5 Jun 2003 11:35:09 -0500 Subject: [AccessD] Cannot open table in code Message-ID: Chester, If this is A97 code, then it should be okay if that really is the name of your table. However, if this is running in A2K or higher, then you should specify whether the objects are DAO or ADODB and use the appropriate constants. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Thursday 2003 Jun 05 11:21 To: accessd at databaseadvisors.com Subject: [AccessD] Cannot open table in code The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From askolits at ot.com Thu Jun 5 12:13:24 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 13:13:24 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? In-Reply-To: <13436478413.20030605181222@cactus.dk> Message-ID: I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. From gustav at cactus.dk Thu Jun 5 12:15:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 19:15:58 +0200 Subject: [AccessD] Record Locking Strategy or Error Trapping In-Reply-To: <005701c32aa2$34ce7500$0c05a8c0@earth.local> References: <005701c32aa2$34ce7500$0c05a8c0@earth.local> Message-ID: <940294029.20030605191558@cactus.dk> Hi Vlad You could create a new confirmation table with a one-to-one relation to tblOrderHeader and with one field only: the foreign key to the ID of tblOrderHeader. When the schedulers despatch the order add a record with the order key to the confirmation table. To select confirmed orders, use a query with an inner join to the confirmation table. To select non-confirmed orders, use a query with an outer join to the confirmation table where the ID of this is Null. The field Scheduled may be removed from tblOrderHeader. /gustav > We have developed an app for a client that was to be used for only 3-4 > people. Now it's up to 14 and growing. The client does not want to > migrate to SQL so we need to come up with a viable solution using the > tools we have available Access XP on a Citrix Network. > The app is pretty simple, call centre operators at one end of the > building take orders input the information through unbound > forms...(Hmmm, lets not get into that discussion) and the > Schedulers/Dispatchers at the other end, once again Unbound Forms. > Our problem is that the BE keeps getting corrupted and I have a sneaking > suspicion it's to do with concurrent writes to tblOrderHeader, but can't > figure out how to trap this. The reason I say tblOrderHeader is because > it's the only table both Call Centre and Schedulers would write to. > Basically, the Call Centre staff create orders with the field "Sheduled" > defaulted to N and when the schedulers despatch the order this field is > updated to Y. Obviously, this can occur simultaneously. > My question is how best to handle this situation or to trap the error > when another user is writing to the table and prompt them to try again > shortly. I have read extensive info on the MSDN site regarding record > locking strategies and the database is currently set to "No Locks" which > is basically Optimistic Locking (Tools|Options|Advanced). What impact > does it have if I change this to Edited Record or All Records. Is there > a performance hit or gain and what additional headaches does it create? > Will it all solve my problem? Should I change the Update Retires to 10? > Or is there another alternative? From harkins at iglou.com Thu Jun 5 12:13:17 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 5 Jun 2003 13:13:17 -0400 Subject: [AccessD] relations in which database References: <000001c32b0a$e08e5f00$6100a8c0@bbb888> <12310046005.20030605105150@cactus.dk> Message-ID: <00d501c32b86$92a11c70$c7e6ffcc@SusanOne> > By the way, what is a "temporary relationship"? If a new relationship > is needed you are redesigning the database scheme and that must be > implemented in the BE ... ==========A temporary relationship is one not defined in the Relationships window. They usually are specific to the query and only apply to that query. Susan H. From cfoust at infostatsystems.com Thu Jun 5 12:25:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 10:25:11 -0700 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? Message-ID: Someone reported the same problem in Woody's Lounge (www.wopr.com) and I don't recall that we ever found the reason for it. I couldn't recreate it on my machines. Do you have all the Jet service packs as well as O2k service releases installed? Charlotte Foust -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, June 05, 2003 9:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 12:27:45 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 10:27:45 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: Way back in the dim reaches of Access (like maybe Access 2.0), someone like Ken Getz or one of the other gurus had a reason he gave for not using that construction, so I never got in the habit of it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Well, it should - be obvious. Another use of this construction is: .. WHERE True This is useful where you in code build a criteria string: .. WHERE " & strCriteria If no criteria is to be applied, let strCriteria = "True". /gustav > That is true but doesn't seem as obvious to me if someone else were to > examine the design. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 04, 2003 11:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Instead of inventing a false condition you can just state it: > SELECT * FROM MyTable WHERE False > /gustav >> Oh, you mean nothing in the recordsource, not no records returned by >> it. So don't remove the recordsource, replace it with one that returns >> an empty recordset. The way I do it is to use a standard recordsource >> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >> That allows your form to be bound to the fields in MyTable but since >> the where condition is always false, it returns an empty recordset. >> Then I use code to set the recordsource to the appropriate one when >> something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 12:32:06 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 11:32:06 -0600 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <68120-2200364517326333@christopherhawkins.com> Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping >the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag >>and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Thu Jun 5 12:39:23 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 05 Jun 2003 18:39:23 +0100 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? Message-ID: <200306051739.SAA19504@hosea.qub.ac.uk> seen on the web somewhare to check that all machines reference the same libraries??? Martin On Jun 5 2003, Charlotte Foust wrote: > Someone reported the same problem in Woody's Lounge (www.wopr.com) and I > don't recall that we ever found the reason for it. I couldn't recreate > it on my machines. Do you have all the Jet service packs as well as > O2k service releases installed? > > Charlotte Foust > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, June 05, 2003 9:13 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] ADO function problem. Set > Cnn=CurrentProject.connection Fails? > > > I am having a strange problem on one PC. > > Application is (A2k) running in Access XP. The following line of code > gives me a strange error, indicating a problem with the DLL. > > Set cnn = CurrentProject.connection > > It says Run-Time error -2147220999 (800401f9) Automation Error Error in > the DLL > > I replaced the DLL from a PC that the application is working but same > issue. > > Application compiles without a problem. > > Anyone know what this is. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Martin WP Reid Analyst Information Services Queens University Belfast From kaupca at chevrontexaco.com Thu Jun 5 12:45:16 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Thu, 5 Jun 2003 12:45:16 -0500 Subject: [AccessD] Cannot open table in code Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D69@bocnte2k4.boc.chevrontexaco.net> Found solution in knowledge base article 181542. DAO library must have higher priority than ADO library. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 05, 2003 11:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cannot open table in code Chester, If this is A97 code, then it should be okay if that really is the name of your table. However, if this is running in A2K or higher, then you should specify whether the objects are DAO or ADODB and use the appropriate constants. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Thursday 2003 Jun 05 11:21 To: accessd at databaseadvisors.com Subject: [AccessD] Cannot open table in code The following code will not open the table . Message is type mismatch. Looks like code I have used before. Probably missing something simple. Function Add_or_Read_Record() Dim myds As Recordset, MyDB As Database Set MyDB = CurrentDb Set myds = MyDB.OpenRecordset("tbl Last Date in tbl_monthly_inputs", dbOpenTable) End Function No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 12:47:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 19:47:45 +0200 Subject: [AccessD] Dang Bound Forms Again In-Reply-To: References: Message-ID: <8442200871.20030605194745@cactus.dk> Hi Charlotte Jet 3.5 was optimized for this construction - meaning that Access 2.0 was not - perhaps that is what you are thinking of: http://www.microsoft.com/accessdev/articles/perfover.htm /gustav > Way back in the dim reaches of Access (like maybe Access 2.0), someone > like Ken Getz or one of the other gurus had a reason he gave for not > using that construction, so I never got in the habit of it. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, June 05, 2003 8:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Well, it should - be obvious. > Another use of this construction is: > .. WHERE True > This is useful where you in code build a criteria string: > .. WHERE " & strCriteria > If no criteria is to be applied, let strCriteria = "True". > /gustav >> That is true but doesn't seem as obvious to me if someone else were to >> examine the design. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 04, 2003 11:21 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Dang Bound Forms Again >> Hi Charlotte >> Instead of inventing a false condition you can just state it: >> SELECT * FROM MyTable WHERE False >> /gustav >>> Oh, you mean nothing in the recordsource, not no records returned by >>> it. So don't remove the recordsource, replace it with one that >>> returns >>> an empty recordset. The way I do it is to use a standard >>> recordsource >>> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >>> That allows your form to be bound to the fields in MyTable but since >>> the where condition is always false, it returns an empty recordset. >>> Then I use code to set the recordsource to the appropriate one when >>> something triggers it such as a choice in a dropdown. From clh at christopherhawkins.com Thu Jun 5 12:49:11 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 11:49:11 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <96220-22003645174911424@christopherhawkins.com> This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- From askolits at ot.com Thu Jun 5 12:52:11 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 13:52:11 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? In-Reply-To: Message-ID: Think I fixed it. Ran MDAC update. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Thursday, June 05, 2003 1:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Jun 5 12:54:17 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 5 Jun 2003 13:54:17 -0400 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E13@TTNEXCHSRV1.hshhp.com> It's been a while but I used to add a text box and size it as small as it will go. Then set the colors to match the form and give it the focus. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 1:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- _______________________________________________ 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 hsimpson88 at hotmail.com Thu Jun 5 13:01:56 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:01:56 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: Transparent do nothing command button first in the tab order works for me. Hen >From: "Christopher Hawkins" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: [AccessD] A2K: HT Set Focus...nowhere? >Date: Thu, 5 Jun 2003 11:49:11 -0600 > >This is driving me nuts. > >For various reasons, I need a form to open with the focus set to no >control. The controls must all have a Tab Order, but none can have >the focus when the form opens. > >Heeeeeeeeeeeeeeeeeeeelp. > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:00:06 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:00:06 +0200 Subject: [AccessD] How to control subforms loading order? References: Message-ID: <003201c32b8c$4cb60940$661f3551@linceo2nddisk> But I can't set the "source object" property of the second subform at this time since it is not yet loaded. Attempting to reference this 2nd subform will generate an error. I'm using this piece of code. The main form is frmHistoMaint The second subform is: sfrHistoMaintComment Private Sub Form_Current() 'synchronisation de la zone de commentaire Dim lHistoMaintId As Long If Not IsNull(Me.HistoMaintId) Then lHistoMaintId = Me.HistoMaintId 'an error occurs when sfrHistoMaintComment is not yet loaded 'On Error Resume Next Form_frmHistoMaint.sfrHistoMaintComment.Form.SourceObject = "sfrHistoMaintComment" Form_frmHistoMaint.sfrHistoMaintComment.Form.Filter = "[HistoMaintId]=" & lHistoMaintId Form_frmHistoMaint.sfrHistoMaintComment.Form.FilterOn = True ElseIf IsNull(Me.HistoMaintId) Then 'This is to have a blank form when no record are selected in the 1st subform Form_frmHistoMaint.sfrHistoMaintComment.Form.Filter = "[HistoMaintId]=" & 0 Form_frmHistoMaint.sfrHistoMaintComment.Form.FilterOn = True End If End Sub Thank's for your answer, Philippe ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 5:36 PM Subject: RE: [AccessD] How to control subforms loading order? Yep, JIT loading. The control on the form has a "source object" property. Simply set this property for the second subform to nothing, then after the first subform loads, set the property of the second subform. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Thursday, June 05, 2003 11:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Thu Jun 5 13:10:23 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 5 Jun 2003 13:10:23 -0500 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7D8@TAPPEEXCH01> Best way to do it: Create a command button and set it's transparent property to True, and make it the first control in tab order. -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 1:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From papparuff at attbi.com Thu Jun 5 13:10:30 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 5 Jun 2003 11:10:30 -0700 Subject: [AccessD] A2K: HT Set Focus...nowhere? In-Reply-To: <96220-22003645174911424@christopherhawkins.com> Message-ID: <00bb01c32b8d$c00f5800$6401a8c0@papparuff> Two ways I know of to handle this situation. 1. Make all controls not enabled when you load the form and then have a mechanism where they are enabled when you need them to be. 2. Add a textbox and make it's forecolor and backcolor transparent (effectively hiding it). On the form's load event set the focus to this textbox. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Christopher Hawkins Sent: Thursday, June 05, 2003 10:49 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2K: HT Set Focus...nowhere? This is driving me nuts. For various reasons, I need a form to open with the focus set to no control. The controls must all have a Tab Order, but none can have the focus when the form opens. Heeeeeeeeeeeeeeeeeeeelp. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 13:17:14 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 12:17:14 -0600 Subject: [AccessD] A2K: HT Set Focus...nowhere? Message-ID: <165040-22003645181714743@christopherhawkins.com> We have a winner! Thanks. -Christopher- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? Date: Thu, 5 Jun 2003 13:10:23 -0500 >Best way to do it: >Create a command button and set it's transparent property to True, >and make >it the first control in tab order. > > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 1:49 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] A2K: HT Set Focus...nowhere? > > >This is driving me nuts. > >For various reasons, I need a form to open with the focus set to no >control. The controls must all have a Tab Order, but none can have >the focus when the form opens. > >Heeeeeeeeeeeeeeeeeeeelp. > >-Christopher- > > >--------------------------------------------------------------------- >----------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed >by SurfControl E-mail Filter software in conjunction with >virus detection software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:15:24 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:15:24 +0200 Subject: [AccessD] How to control subforms loading order? References: <73100-22003645153846355@christopherhawkins.com> Message-ID: <005201c32b8e$6f9b8780$661f3551@linceo2nddisk> Yes, it's ok now, than you. In some situation, I have had difficulties to use Child/Parent properties. Using Filter works always, gives a better control, and is sometimes faster when you switch from one record to the other. Philippe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 05, 2003 5:38 PM Subject: RE: [AccessD] How to control subforms loading order? > Sure. Given main form frmMain, first subform sfrmFirst, and second > subform sfrmSecond: > > > 1) Place an empty subform control on frmMain and sfrmFirst. When I > say empty I mean, the SourceObject property of the control should be > blank. > > 2) frmMain_OnLoad should set the .SourceObject property of it's blank > subform control to 'sfrmFirst'. > > 3) sfrmFirst_OnLoad should set the .SourceObject property of it's > blank subform control to 'sfrmSecond'. > > 4) Filter as needed. > > Curious; why are you synchronizing the two subforms via the Filter > property instead of the Child/Parent properties provided for that > purpose? > > -C- > > ---- Original Message ---- > From: Philippe.Pons19 at wanadoo.fr > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] How to control subforms loading order? > Date: Thu, 5 Jun 2003 17:19:29 +0200 > > >Hi, > > > >I have a form with two embedded subforms. > > > >On the OnCurrent event of the first subform, I synchronise the > >second one using the Filter and OnFilter properties of it. > >This works fine, but generates an error the first time the Form is > >loaded. > >This is because I reference the second subform, but at this time it > >is not yet loaded. > > > >I found a workaround by removing the first subform from the main > >form and reinserting it, as it seems Access loads the subforms in > >the same order at which they have been inserted. > > > >However, I would like to have a more robust way of controling the > >loading order. > > > >Do you have a better solution? > > > >Thanks in advance, > > > >Philippe. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Philippe.Pons19 at wanadoo.fr Thu Jun 5 13:18:46 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 5 Jun 2003 20:18:46 +0200 Subject: [AccessD] How to control subforms loading order? References: <200306051542.h55Fg1Q02858@mailgate5.cinetic.de> Message-ID: <006301c32b8e$e7e3c400$661f3551@linceo2nddisk> Yes, you can change the loading order by changing the order in which each subform is inserted within the form. If you insert sub1 and then sub2, sub1 will load first. Remove sub1 and reinsert it, sub2 will load first. I guess this is something that is not written in any training book!! Philippe. ----- Original Message ----- From: michael.broesdorf at email.de To: accessd at databaseadvisors.com Sent: Thursday, June 05, 2003 5:42 PM Subject: Re: [AccessD] How to control subforms loading order? I had the same problem some time ago. I believe the loading order changes if you change the layer of the subform (bring to front/send to back). But my memory is not too clear about this, so please don't hit me if it does not work ;-) HTH, Michael accessd at databaseadvisors.com schrieb am 05.06.03 17:33:19: Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. ------------------------------------------------------------------ _______________________________________________AccessD mailing listAccessD at databaseadvisors.comhttp://databaseadvisors.com/mailman/listinfo/accessdWebsite: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Jun 5 13:30:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:30:01 -0600 Subject: [AccessD] Query Designer can't represent Join Message-ID: I ran into a new one today. Someone built an application where a foreign key is a different datatype than the primary key it refers to. The task at hand was to generate a report that required connecting the tables on the disparate key types. The Primary Key is an autonumber long and the Foreign Key is text type. An attempt to use CStr in the join clause worked though the query designer complained that it couldn't show the join and refused to display that view though it was not greyed out on the toolbar like it is with a union query. A simplified version of the Sql used for testing using CStr in the Join returns correct results in Access 97: SELECT JobCode, JobName FROM tblJob INNER JOIN tblLineItems ON CStr(tblJob.JobID) = tblLineItems.Job; Never having run across this before, I thought it might be useful when merging data from various sources. Ordinarily I would just use an update query to a new numeric field and join on just the numeric fields but there appears to be a fair bit of existing structure that relies on the datatype that was already in place so the disparate join proved convenient. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From clh at christopherhawkins.com Thu Jun 5 13:45:01 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 12:45:01 -0600 Subject: [AccessD] How to control subforms loading order? Message-ID: <116600-2200364518451389@christopherhawkins.com> Hm. I'll have to experiment with that method, then. Glad you've got it working. -Christopher- ---- Original Message ---- From: Philippe.Pons19 at wanadoo.fr To: accessd at databaseadvisors.com, Subject: Re: [AccessD] How to control subforms loading order? Date: Thu, 5 Jun 2003 20:15:24 +0200 >Yes, it's ok now, than you. > >In some situation, I have had difficulties to use Child/Parent >properties. >Using Filter works always, gives a better control, and is sometimes >faster >when you switch from one record to the other. > >Philippe > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Thursday, June 05, 2003 5:38 PM >Subject: RE: [AccessD] How to control subforms loading order? > > >> Sure. Given main form frmMain, first subform sfrmFirst, and second >> subform sfrmSecond: >> >> >> 1) Place an empty subform control on frmMain and sfrmFirst. When I >> say empty I mean, the SourceObject property of the control should >be >> blank. >> >> 2) frmMain_OnLoad should set the .SourceObject property of it's >blank >> subform control to 'sfrmFirst'. >> >> 3) sfrmFirst_OnLoad should set the .SourceObject property of it's >> blank subform control to 'sfrmSecond'. >> >> 4) Filter as needed. >> >> Curious; why are you synchronizing the two subforms via the Filter >> property instead of the Child/Parent properties provided for that >> purpose? >> >> -C- >> >> ---- Original Message ---- >> From: Philippe.Pons19 at wanadoo.fr >> To: AccessD at databaseadvisors.com, >> Subject: RE: [AccessD] How to control subforms loading order? >> Date: Thu, 5 Jun 2003 17:19:29 +0200 >> >> >Hi, >> > >> >I have a form with two embedded subforms. >> > >> >On the OnCurrent event of the first subform, I synchronise the >> >second one using the Filter and OnFilter properties of it. >> >This works fine, but generates an error the first time the Form is >> >loaded. >> >This is because I reference the second subform, but at this time >it >> >is not yet loaded. >> > >> >I found a workaround by removing the first subform from the main >> >form and reinserting it, as it seems Access loads the subforms in >> >the same order at which they have been inserted. >> > >> >However, I would like to have a more robust way of controling the >> >loading order. >> > >> >Do you have a better solution? >> > >> >Thanks in advance, >> > >> >Philippe. >> > >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Thu Jun 5 13:30:01 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 05 Jun 2003 12:30:01 -0600 Subject: [AccessD] Query Designer can't represent Join Message-ID: I ran into a new one today. Someone built an application where a foreign key is a different datatype than the primary key it refers to. The task at hand was to generate a report that required connecting the tables on the disparate key types. The Primary Key is an autonumber long and the Foreign Key is text type. An attempt to use CStr in the join clause worked though the query designer complained that it couldn't show the join and refused to display that view though it was not greyed out on the toolbar like it is with a union query. A simplified version of the Sql used for testing using CStr in the Join returns correct results in Access 97: SELECT JobCode, JobName FROM tblJob INNER JOIN tblLineItems ON CStr(tblJob.JobID) = tblLineItems.Job; Never having run across this before, I thought it might be useful when merging data from various sources. Ordinarily I would just use an update query to a new numeric field and join on just the numeric fields but there appears to be a fair bit of existing structure that relies on the datatype that was already in place so the disparate join proved convenient. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 14:06:58 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:06:58 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <62100-2200364519658984@christopherhawkins.com> First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- From jeffrey.demulling at usbank.com Thu Jun 5 14:22:00 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 14:22:00 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: Call fRefreshLinks Option Compare Database Option Explicit Function fRefreshLinks() As Boolean Dim strMsg As String, collTbls As Collection Dim i As Integer, strDBPath As String, strTbl As String Dim dbCurr As Database, dbLink As Database Dim tdfLocal As TableDef Dim varRet As Variant Dim strNewPath As String Const cERR_USERCANCEL = vbObjectError + 1000 Const cERR_NOREMOTETABLE = vbObjectError + 2000 On Local Error GoTo fRefreshLinks_Err 'First get all linked tables in a collection Set collTbls = fGetLinkedTables 'now link all of them Set dbCurr = CurrentDb 'strMsg = "Do you wish to specify a different path for the Access Tables?" 'If MsgBox(strMsg, vbQuestion + vbYesNo, "Alternate data source...") = vbYes 'Then strNewPath = fGetMDBName("Please select a new datasource") Else 'strNewPath = vbNullString End If strNewPath = GetDataLoc & GetDataName For i = collTbls.Count To 1 Step -1 strDBPath = fParsePath(collTbls(i)) strTbl = fParseTable(collTbls(i)) varRet = SysCmd(acSysCmdSetStatus, "Now linking '" & strTbl & "'....") If left$(strDBPath, 4) = "ODBC" Then 'ODBC Tables 'ODBC Tables handled separately ' Set tdfLocal = dbCurr.TableDefs(strTbl) ' With tdfLocal ' .Connect = pcCONNECT ' .RefreshLink ' collTbls.Remove (strTbl) ' End With Else If strNewPath <> vbNullString Then 'Try this first strDBPath = strNewPath Else If Len(Dir(strDBPath)) = 0 Then 'File Doesn't Exist, call GetOpenFileName strDBPath = fGetMDBName("'" & strDBPath & "' not found.") If strDBPath = vbNullString Then 'user pressed cancel Err.Raise cERR_USERCANCEL End If End If End If 'backend database exists 'putting it here since we could have 'tables from multiple sources Set dbLink = DBEngine(0).OpenDatabase(strDBPath) 'check to see if the table is present in dbLink strTbl = fParseTable(collTbls(i)) If fIsRemoteTable(dbLink, strTbl) Then 'everything's ok, reconnect Set tdfLocal = dbCurr.TableDefs(strTbl) With tdfLocal .Connect = ";Database=" & strDBPath .RefreshLink collTbls.Remove (.name) End With Else Err.Raise cERR_NOREMOTETABLE End If End If Next fRefreshLinks = True varRet = SysCmd(acSysCmdClearStatus) MsgBox "All Access tables were successfully reconnected.", vbInformation + vbOKOnly, "Success" fRefreshLinks_End: Set collTbls = Nothing Set tdfLocal = Nothing Set dbLink = Nothing Set dbCurr = Nothing Exit Function fRefreshLinks_Err: fRefreshLinks = False Select Case Err Case 3059: Case cERR_USERCANCEL: MsgBox "No Database was specified, couldn't link tables.", _ vbCritical + vbOKOnly, _ "Error in refreshing links." Resume fRefreshLinks_End Case cERR_NOREMOTETABLE: MsgBox "Table '" & strTbl & "' was not found in the database" & _ vbCrLf & dbLink.name & ". Couldn't refresh links", _ vbCritical + vbOKOnly, _ "Error in refreshing links." Resume fRefreshLinks_End Case Else: strMsg = "Error Information..." & vbCrLf & vbCrLf strMsg = strMsg & "Function: fRefreshLinks" & vbCrLf strMsg = strMsg & "Description: " & Err.Description & vbCrLf strMsg = strMsg & "Error #: " & Format$(Err.Number) & vbCrLf MsgBox strMsg, vbOKOnly + vbCritical, "Error" Resume fRefreshLinks_End End Select End Function Function fIsRemoteTable(dbRemote As Database, strTbl As String) As Boolean Dim tdf As TableDef On Error Resume Next Set tdf = dbRemote.TableDefs(strTbl) fIsRemoteTable = (Err = 0) Set tdf = Nothing End Function Function fGetMDBName(strIn As String) As String 'Calls GetOpenFileName dialog Dim strFilter As String 'strFilter = ahtAddFilterItem(strFilter, "Access Database(*.mdb;*.mda;*.mde;*.mdw) ", "*.mdb; *.mda; *.mde; *.mdw") 'strFilter = ahtAddFilterItem(strFilter, "All Files (*.*)", "*.*") 'fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, OpenFile:=True, DialogTitle:=strIn, Flags:=ahtOFN_HIDEREADONLY) End Function Function fGetLinkedTables() As Collection 'Returns all linked tables Dim collTables As New Collection Dim tdf As TableDef, db As Database Set db = CurrentDb db.TableDefs.Refresh For Each tdf In db.TableDefs With tdf If Len(.Connect) > 0 Then If left$(.Connect, 4) = "ODBC" Then ' collTables.Add Item:=.Name & ";" & .Connect, KEY:=.Name 'ODBC Reconnect handled separately Else collTables.Add Item:=.name & .Connect, KEY:=.name End If End If End With Next Set fGetLinkedTables = collTables Set collTables = Nothing Set tdf = Nothing Set db = Nothing End Function Function fParsePath(strIn As String) As String If left$(strIn, 4) <> "ODBC" Then fParsePath = right(strIn, Len(strIn) _ - (InStr(1, strIn, "DATABASE=") + 8)) Else fParsePath = strIn End If End Function Function fParseTable(strIn As String) As String fParseTable = left$(strIn, InStr(1, strIn, ";") - 1) End Function "Christopher Hawkins" Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 02:06 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 5 14:23:48 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 5 Jun 2003 14:23:48 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: or you can you can use your code and do the following: Do Until rsData.EOF = True DoCmd.TransferDatabase acLink, "Microsoft Access", mylocation & myfile, acTable, mytable, mytable rsData.MoveNext Loop "Christopher Hawkins" Sent by: accessd-bounces at databaseadvisors.com 06/05/2003 02:06 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 5 14:24:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 5 Jun 2003 21:24:26 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <62100-2200364519658984@christopherhawkins.com> References: <62100-2200364519658984@christopherhawkins.com> Message-ID: <12448001863.20030605212426@cactus.dk> Hi Christopher Use RefreshLink: Set tbl = db.TableDefs(rsData("TableName")) tbl.Connect = ";DATABASE=" & rsData("Path") tbl.RefreshLink rsData.MoveNext Also, for increased speed, open the backend before the loop and close it when finished the loop. /gustav > First off: I have seen (and used) Tribble's Back-End relinker > before. That's not what I need in this case. > I have inherited an app with some back-end relinking code that is > very slow. I've seen programmatic implementations of a table link > that linked up very quickly, as quickly as using File > Get External > Data > Link Tables. The one I'm dealing with takes many times as > long. > There is a table in my db called tblTable. It contains the name and > path of every table in the database. The table is used in the > following code: > ***START*** > Dim db As DAO.Database > Dim tbl As DAO.TableDef > Set db = CurrentDb > Dim rsData As DAO.Recordset > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > rsData.MoveFirst > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > db.Close > ***END*** > All the lag takes place when running the 'db.TableDefs.append tbl' > line. > Is there any way to speed this process up? I've seen it done more > quickly before, I just didn't get to see the actual code. :( > -Christopher- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 5 14:28:29 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 5 Jun 2003 15:28:29 -0400 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <62100-2200364519658984@christopherhawkins.com> Message-ID: Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 5 14:36:08 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:36:08 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <93220-2200364519368366@christopherhawkins.com> Holy cow. I'll give that a try! -C- ---- Original Message ---- From: jeffrey.demulling at usbank.com To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Thu, 5 Jun 2003 14:22:00 -0500 >Call fRefreshLinks > >Option Compare Database >Option Explicit > >Function fRefreshLinks() As Boolean >Dim strMsg As String, collTbls As Collection >Dim i As Integer, strDBPath As String, strTbl As String >Dim dbCurr As Database, dbLink As Database >Dim tdfLocal As TableDef >Dim varRet As Variant >Dim strNewPath As String > >Const cERR_USERCANCEL = vbObjectError + 1000 >Const cERR_NOREMOTETABLE = vbObjectError + 2000 > > On Local Error GoTo fRefreshLinks_Err > > > 'First get all linked tables in a collection > Set collTbls = fGetLinkedTables > > 'now link all of them > Set dbCurr = CurrentDb > > 'strMsg = "Do you wish to specify a different path for the Access >Tables?" >'If MsgBox(strMsg, vbQuestion + vbYesNo, "Alternate data source...") >= >vbYes >'Then strNewPath = fGetMDBName("Please select a new datasource") >Else >'strNewPath = vbNullString End If >strNewPath = GetDataLoc & GetDataName > > For i = collTbls.Count To 1 Step -1 > strDBPath = fParsePath(collTbls(i)) > strTbl = fParseTable(collTbls(i)) > varRet = SysCmd(acSysCmdSetStatus, "Now linking '" & strTbl >& >"'....") > If left$(strDBPath, 4) = "ODBC" Then > 'ODBC Tables > 'ODBC Tables handled separately > ' Set tdfLocal = dbCurr.TableDefs(strTbl) > ' With tdfLocal > ' .Connect = pcCONNECT > ' .RefreshLink > ' collTbls.Remove (strTbl) > ' End With > Else > If strNewPath <> vbNullString Then > 'Try this first > strDBPath = strNewPath > Else > If Len(Dir(strDBPath)) = 0 Then > 'File Doesn't Exist, call GetOpenFileName > strDBPath = fGetMDBName("'" & strDBPath & "' not >found.") > If strDBPath = vbNullString Then > 'user pressed cancel > Err.Raise cERR_USERCANCEL > End If > End If > End If > > 'backend database exists > 'putting it here since we could have > 'tables from multiple sources > Set dbLink = DBEngine(0).OpenDatabase(strDBPath) > > 'check to see if the table is present in dbLink > strTbl = fParseTable(collTbls(i)) > If fIsRemoteTable(dbLink, strTbl) Then > 'everything's ok, reconnect > Set tdfLocal = dbCurr.TableDefs(strTbl) > With tdfLocal > .Connect = ";Database=" & strDBPath > .RefreshLink > collTbls.Remove (.name) > End With > Else > Err.Raise cERR_NOREMOTETABLE > End If > End If > Next > fRefreshLinks = True > varRet = SysCmd(acSysCmdClearStatus) > MsgBox "All Access tables were successfully reconnected.", >vbInformation + vbOKOnly, "Success" >fRefreshLinks_End: > Set collTbls = Nothing > Set tdfLocal = Nothing > Set dbLink = Nothing > Set dbCurr = Nothing > Exit Function >fRefreshLinks_Err: > fRefreshLinks = False > Select Case Err > Case 3059: > > Case cERR_USERCANCEL: > MsgBox "No Database was specified, couldn't link >tables.", _ > vbCritical + vbOKOnly, _ > "Error in refreshing links." > Resume fRefreshLinks_End > Case cERR_NOREMOTETABLE: > MsgBox "Table '" & strTbl & "' was not found in the >database" >& _ > vbCrLf & dbLink.name & ". Couldn't refresh >links", _ > vbCritical + vbOKOnly, _ > "Error in refreshing links." > Resume fRefreshLinks_End > Case Else: > strMsg = "Error Information..." & vbCrLf & vbCrLf > strMsg = strMsg & "Function: fRefreshLinks" & vbCrLf > strMsg = strMsg & "Description: " & Err.Description & >vbCrLf > strMsg = strMsg & "Error #: " & Format$(Err.Number) & >vbCrLf > MsgBox strMsg, vbOKOnly + vbCritical, "Error" > Resume fRefreshLinks_End > End Select >End Function > >Function fIsRemoteTable(dbRemote As Database, strTbl As String) As >Boolean >Dim tdf As TableDef > On Error Resume Next > Set tdf = dbRemote.TableDefs(strTbl) > fIsRemoteTable = (Err = 0) > Set tdf = Nothing >End Function > >Function fGetMDBName(strIn As String) As String >'Calls GetOpenFileName dialog >Dim strFilter As String > > 'strFilter = ahtAddFilterItem(strFilter, "Access >Database(*.mdb;*.mda;*.mde;*.mdw) ", "*.mdb; *.mda; *.mde; *.mdw") > 'strFilter = ahtAddFilterItem(strFilter, "All Files (*.*)", >"*.*") > 'fGetMDBName = ahtCommonFileOpenSave(Filter:=strFilter, >OpenFile:=True, DialogTitle:=strIn, Flags:=ahtOFN_HIDEREADONLY) >End Function > >Function fGetLinkedTables() As Collection >'Returns all linked tables > Dim collTables As New Collection > Dim tdf As TableDef, db As Database > Set db = CurrentDb > db.TableDefs.Refresh > For Each tdf In db.TableDefs > With tdf > If Len(.Connect) > 0 Then > If left$(.Connect, 4) = "ODBC" Then > ' collTables.Add Item:=.Name & ";" & .Connect, >KEY:=.Name > 'ODBC Reconnect handled separately > Else > collTables.Add Item:=.name & .Connect, KEY:=.name > End If > End If > End With > Next > Set fGetLinkedTables = collTables > Set collTables = Nothing > Set tdf = Nothing > Set db = Nothing >End Function > >Function fParsePath(strIn As String) As String > If left$(strIn, 4) <> "ODBC" Then > fParsePath = right(strIn, Len(strIn) _ > - (InStr(1, strIn, "DATABASE=") + 8)) > Else > fParsePath = strIn > End If >End Function > >Function fParseTable(strIn As String) As String > fParseTable = left$(strIn, InStr(1, strIn, ";") - 1) >End Function > > > > > >"Christopher Hawkins" >Sent by: accessd-bounces at databaseadvisors.com >06/05/2003 02:06 PM >Please respond to accessd > > > To: accessd at databaseadvisors.com > cc: > Subject: [AccessD] Fast back-end relinking? > > >First off: I have seen (and used) Tribble's Back-End relinker >before. That's not what I need in this case. > >I have inherited an app with some back-end relinking code that is >very slow. I've seen programmatic implementations of a table link >that linked up very quickly, as quickly as using File > Get External >Data > Link Tables. The one I'm dealing with takes many times as >long. > >There is a table in my db called tblTable. It contains the name and >path of every table in the database. The table is used in the >following code: > >***START*** > >Dim db As DAO.Database >Dim tbl As DAO.TableDef >Set db = CurrentDb >Dim rsData As DAO.Recordset > > > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > > rsData.MoveFirst > > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > >db.Close > >***END*** > >All the lag takes place when running the 'db.TableDefs.append tbl' >line. > >Is there any way to speed this process up? I've seen it done more >quickly before, I just didn't get to see the actual code. :( > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > From clh at christopherhawkins.com Thu Jun 5 14:37:26 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 5 Jun 2003 13:37:26 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <139130-22003645193726179@christopherhawkins.com> Gustav, I can't use RefreshLink because the table links have been dropped before the re-link is being made. So, there are not tables to refresh. -C- ---- Original Message ---- From: gustav at cactus.dk To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Thu, 5 Jun 2003 21:24:26 +0200 >Hi Christopher > >Use RefreshLink: > > Set tbl = db.TableDefs(rsData("TableName")) > tbl.Connect = ";DATABASE=" & rsData("Path") > tbl.RefreshLink > rsData.MoveNext > >Also, for increased speed, open the backend before the loop and close >it when finished the loop. > >/gustav > > >> First off: I have seen (and used) Tribble's Back-End relinker >> before. That's not what I need in this case. > >> I have inherited an app with some back-end relinking code that is >> very slow. I've seen programmatic implementations of a table link >> that linked up very quickly, as quickly as using File > Get >External >> Data > Link Tables. The one I'm dealing with takes many times as >> long. > >> There is a table in my db called tblTable. It contains the name >and >> path of every table in the database. The table is used in the >> following code: > >> ***START*** > >> Dim db As DAO.Database >> Dim tbl As DAO.TableDef >> Set db = CurrentDb >> Dim rsData As DAO.Recordset > > >> Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > >> rsData.MoveFirst > >> Do Until rsData.EOF = True >> Set tbl = db.CreateTableDef(rsData("TableName")) >> Debug.Print "Now attaching " & tbl.Name & "..." >> tbl.Connect = (";DATABASE=" & rsData("Path")) >> tbl.SourceTableName = rsData("TableName") >> db.TableDefs.Append tbl >> rsData.MoveNext >> Loop > >> db.Close > >> ***END*** > >> All the lag takes place when running the 'db.TableDefs.append tbl' >> line. > >> Is there any way to speed this process up? I've seen it done more >> quickly before, I just didn't get to see the actual code. :( > >> -Christopher- > >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Jun 5 15:42:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 13:42:17 -0700 Subject: [AccessD] Dang Bound Forms Again Message-ID: That may indeed be it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 05, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dang Bound Forms Again Hi Charlotte Jet 3.5 was optimized for this construction - meaning that Access 2.0 was not - perhaps that is what you are thinking of: http://www.microsoft.com/accessdev/articles/perfover.htm /gustav > Way back in the dim reaches of Access (like maybe Access 2.0), someone > like Ken Getz or one of the other gurus had a reason he gave for not > using that construction, so I never got in the habit of it. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, June 05, 2003 8:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dang Bound Forms Again > Hi Charlotte > Well, it should - be obvious. > Another use of this construction is: > .. WHERE True > This is useful where you in code build a criteria string: > .. WHERE " & strCriteria > If no criteria is to be applied, let strCriteria = "True". > /gustav >> That is true but doesn't seem as obvious to me if someone else were to >> examine the design. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 04, 2003 11:21 PM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Dang Bound Forms Again >> Hi Charlotte >> Instead of inventing a false condition you can just state it: >> SELECT * FROM MyTable WHERE False >> /gustav >>> Oh, you mean nothing in the recordsource, not no records returned by >>> it. So don't remove the recordsource, replace it with one that >>> returns >>> an empty recordset. The way I do it is to use a standard >>> recordsource >>> that returns no records (i.e., "SELECT * FROM MyTable WHERE 1 = 2"). >>> That allows your form to be bound to the fields in MyTable but since >>> the where condition is always false, it returns an empty recordset. >>> Then I use code to set the recordsource to the appropriate one when >>> something triggers it such as a choice in a dropdown. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 5 15:44:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Jun 2003 13:44:42 -0700 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: Yes, emoticons make things much easier. We use them extensively in Woody's Lounge. It prevents quite a few flame wars from getting starting when everyone can see the [evilgrin] or [confused] smilie in the message. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 9:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 18:35:42 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 09:35:42 +1000 Subject: [AccessD] A2K: HT Set Focus...nowhere? References: Message-ID: <03e701c32bbb$2e798360$3c619a89@DDICK> Hi Guys As a matter of course I put in an unbound text control and call it 'TabBlank' in all my forms Just as Henry pointed out, it does nothing and when it suits me, from time to time I set the focus back to that control. Also it stops the first control, usually First Name or something similar, having its contents removed. I had an app once where the PC had a screen saver. To bring the machine out of the screen saver the users would usually press the space bar. If (behind the screen saver and thus not seen) an important control like someone's first name or last name had the focus then pushing the space bar simply deleted the data in that control. Of course my app was being blamed for the lost first and last names. So every form - especially continuous forms - I put in a TabBlank control. Always set its tab position to 0 and answer yes to TabStop HTH Darren ----- Original Message ----- From: "Henry Simpson" To: Sent: Friday, June 06, 2003 4:01 AM Subject: Re: [AccessD] A2K: HT Set Focus...nowhere? > Transparent do nothing command button first in the tab order works for me. > > Hen > > > >From: "Christopher Hawkins" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: [AccessD] A2K: HT Set Focus...nowhere? > >Date: Thu, 5 Jun 2003 11:49:11 -0600 > > > >This is driving me nuts. > > > >For various reasons, I need a form to open with the focus set to no > >control. The controls must all have a Tab Order, but none can have > >the focus when the form opens. > > > >Heeeeeeeeeeeeeeeeeeeelp. > > > >-Christopher- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 18:40:00 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 09:40:00 +1000 Subject: [AccessD] A2K: Drag and Drop with Access References: Message-ID: <03ed01c32bbb$c7e41c40$3c619a89@DDICK> Hi Charlotte and others I have an ID Card design program I am creating. Currently I move the X Y co-ord of any control (say the ID Photo control) with sliders. It works and is OK but I want something easier. It would be much easier to simply click and drag the control where it needs to go for the ID Card Design. Like I said I have found heaps of VB versions of drag and drop but VB has events especially designed for this but Access does not. I have found some code I can apply to Access that lets me click on a control and I can move the 'whole form' as if I grabbed the caption bar, but alas dragging only the control is being elusive. I will share it with the list once I get it to work though :-) Many thanks in advance Darren ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, June 06, 2003 1:24 AM Subject: RE: [AccessD] A2K: Drag and Drop with Access > Where are you going with this? What purpose is being served by the drag > and drop? > > Charlotte Foust > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 04, 2003 8:59 PM > To: AccessD List > Subject: [AccessD] A2K: Drag and Drop with Access > > > Hi All > Anyone have any success with dragging and dropping of controls onto > Access forms? Eg I have an Image control displaying an image and say > it's in the top left corner of the form. I want to 'click' onto the > image control and 'drag' it to say... the bottom left corner of the > form. > > I have found heaps of samples for VB but they use VB only events etc, > that I can't replicate or fudge in Access. > > Any suggestions?? > > Many thanks in advance > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 5 19:09:29 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 6 Jun 2003 10:09:29 +1000 Subject: [AccessD] Opening form to display record or add new record References: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F0@bocnte2k4.boc.chevrontexaco.net> Message-ID: <045a01c32bbf$e5fd3370$3c619a89@DDICK> small dB sent offline Darren ----- Original Message ----- From: "Kaup, Chester A" To: Sent: Thursday, June 05, 2003 11:50 PM Subject: [AccessD] Opening form to display record or add new record I have a form with 2 list boxes to select a month and a year. Once selected another form opens and displays a record from a table based on the month and year selected. This form gets its data from the table by means of a query. This works fine if a record exists for the selected month and year. If the month and year selected does not exist in the table I just get a blank form. Tried this as a macro condition but does not work [Forms]![frm Select Date]![selected_date]>[tbl Last Date in tbl_monthly_inputs]![Last Date] How do I get the form to open to allow a new record to be added to the underlying table. Thanks for the assistance. 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 DWUTKA at marlow.com Thu Jun 5 19:34:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 5 Jun 2003 19:34:13 -0500 Subject: [AccessD] How to control subforms loading order? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE2@main2.marlow.com> Ya, just set the subforms on the forms OnLoad or OnOpen events. Leave the subform control in place, but remove what form it's loads. Then you can have it load in whatever order you want through code. Drew -----Original Message----- From: Philippe PONS [mailto:Philippe.Pons19 at wanadoo.fr] Sent: Thursday, June 05, 2003 10:19 AM To: AccessD at databaseadvisors.com Subject: [AccessD] How to control subforms loading order? Hi, I have a form with two embedded subforms. On the OnCurrent event of the first subform, I synchronise the second one using the Filter and OnFilter properties of it. This works fine, but generates an error the first time the Form is loaded. This is because I reference the second subform, but at this time it is not yet loaded. I found a workaround by removing the first subform from the main form and reinserting it, as it seems Access loads the subforms in the same order at which they have been inserted. However, I would like to have a more robust way of controling the loading order. Do you have a better solution? Thanks in advance, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 5 19:38:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 5 Jun 2003 19:38:14 -0500 Subject: [AccessD] A2K: Drag and Drop with Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE3@main2.marlow.com> I was able to create a drag and drop process with TreeViews....in VB. Worked great....no clue what tricks I used, I do remember that when you dragged a file from windows explorer, into the user's file treeview (It was a treeview that showed folders and files of a 'remote' machine (no shares)), that the dropped object was just a filename, not actually the file (of course now I would say 'duh!' to that, but back then I was baffled! Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 05, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Drag and drop could be very useful, Charlotte. As useful as in any other application. For example, I worked for a company that had a variable compensation product. If we could have allowed the users to assign people or department to different compensation plans by dragging and dropping the person or group's name over to a folder (or something) for the appropriate plan, everyone would have been ecstatic. Just one instance where I can see it would be useful. Sadly, we never pulled it off. I worked for another company that managed to hack out a fair drag-n-drop in an Access 2000 app, but I never got to look at the code. -Christopher- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 08:24:48 -0700 >Where are you going with this? What purpose is being served by the >drag >and drop? > >Charlotte Foust > >-----Original Message----- >From: Darren DICK [mailto:d.dick at uws.edu.au] >Sent: Wednesday, June 04, 2003 8:59 PM >To: AccessD List >Subject: [AccessD] A2K: Drag and Drop with Access > > >Hi All >Anyone have any success with dragging and dropping of controls onto >Access forms? Eg I have an Image control displaying an image and say >it's in the top left corner of the form. I want to 'click' onto the >image control and 'drag' it to say... the bottom left corner of the >form. > >I have found heaps of samples for VB but they use VB only events etc, >that I can't replicate or fudge in Access. > >Any suggestions?? > >Many thanks in advance > >Darren >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 20:09:30 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 11:09:30 +1000 Subject: [AccessD] Record Locking Strategy or Error Trapping In-Reply-To: <940294029.20030605191558@cactus.dk> Message-ID: <004601c32bc8$4b523c40$0c05a8c0@earth.local> Gustav, Good idea I'll give that a go... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 6 June 2003 3:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Record Locking Strategy or Error Trapping Hi Vlad You could create a new confirmation table with a one-to-one relation to tblOrderHeader and with one field only: the foreign key to the ID of tblOrderHeader. When the schedulers despatch the order add a record with the order key to the confirmation table. To select confirmed orders, use a query with an inner join to the confirmation table. To select non-confirmed orders, use a query with an outer join to the confirmation table where the ID of this is Null. The field Scheduled may be removed from tblOrderHeader. /gustav > We have developed an app for a client that was to be used for only 3-4 > people. Now it's up to 14 and growing. The client does not want to > migrate to SQL so we need to come up with a viable solution using the > tools we have available Access XP on a Citrix Network. > The app is pretty simple, call centre operators at one end of the > building take orders input the information through unbound > forms...(Hmmm, lets not get into that discussion) and the > Schedulers/Dispatchers at the other end, once again Unbound Forms. > Our problem is that the BE keeps getting corrupted and I have a > sneaking suspicion it's to do with concurrent writes to > tblOrderHeader, but can't figure out how to trap this. The reason I > say tblOrderHeader is because it's the only table both Call Centre and > Schedulers would write to. Basically, the Call Centre staff create > orders with the field "Sheduled" defaulted to N and when the > schedulers despatch the order this field is updated to Y. Obviously, > this can occur simultaneously. > My question is how best to handle this situation or to trap the error > when another user is writing to the table and prompt them to try again > shortly. I have read extensive info on the MSDN site regarding record > locking strategies and the database is currently set to "No Locks" > which is basically Optimistic Locking (Tools|Options|Advanced). What > impact does it have if I change this to Edited Record or All Records. > Is there a performance hit or gain and what additional headaches does > it create? Will it all solve my problem? Should I change the Update > Retires to 10? Or is there another alternative? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 5 09:03:25 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:03:25 -0700 Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E17@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: You may have to try a full web type service. A local intranet solution will be plenty fast and reliable. ColdFusion, from macromedia is a great product for this type of environment as it uses a number of data storage methods to improve performance.... the more RAM the better, on the server. A couple of GBs and you can easily service 50 active connection. The product fully integrates with the rest of the Macromedia suite; Dreamweaver MX. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, June 05, 2003 3:14 AM To: 'accessd at databaseadvisors.com'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Hyperlinks in SQL Server (cross-posted) Dear all Due to difficulties with locking and corruption running Access databases on Terminal Server, and problems with co-ordinating maintenance, we have decided to upsize all tables from our Access databases that are used to share data between different applications onto SQL Server. Loss of support for hyperlinks is causing users a good deal of distress - we store a lot of links to useful resources and also track pages on our intranet using a database. I can't find anything on MSDN offering any workarounds for this. Can anybody help? Should I just go back to storing everything in Access & SQL Server be d at mned?? TIA Roz PS we are using SQL 7, I gather that SQL 2000 doesn't support hyperlinks either but we would go over to it if it did. :( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 5 09:13:27 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:13:27 -0700 Subject: [AccessD] Website In-Reply-To: Message-ID: Hi John: There is 'stats' url attached to the openning page and it has had a problem, once. I hoped it had gone away but the hosts of this connection are again having some issues; it would appear. It is working fine now. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 05, 2003 6:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Website For some reason it took a long time to load - 20 seconds or so. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 accessd at shaw.ca Thu Jun 5 09:23:30 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:23:30 -0700 Subject: [AccessD] Website In-Reply-To: Message-ID: Hi Mark: As previously mentioned, I have been have some hosting issues with a remote stats provider. They are having problems on their site. Clean up your browser by forcing a refresh and delete your 'off-line' files. Some of the new components (CSS and java-script) are not compatible with the older DBA site versions. Jim PS If it is still coming up with errors, expand and record the error and please sent it to me. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Thursday, June 05, 2003 6:54 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Website The Gazette is looks outstanding and very professional, yet, like AccessD, maintains a strong feeling of community. Very well done! Mark P.S. If you are tracking anomalies, the page obviously did load, but with errors. I am running IE 6.0 SP1, on Win2K Pro SP 2. Line: 2 Char: 1 Error: Syntax error Code: 0 URL: http://www.databaseadvisors.com Line: 205 Char: 9 Error: Object expected Code: 0 URL: http://www.databaseadvisors.com -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 04, 2003 3:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Website Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 accessd at shaw.ca Thu Jun 5 09:33:32 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 05 Jun 2003 07:33:32 -0700 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: <001f01c32b72$8d7d4890$0c05a8c0@earth.local> Message-ID: MessageHi Vlad: I have a little piece of code that is stored with all my applications. When set it writes a specific result string into memory. If there are some issue the code can be pasted into a Access query or SQL SP and tested there. It makes it a lot easier to resolve tricky string problems. I could send it all offline. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From pcs at azizaz.com Thu Jun 5 21:11:09 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Fri, 6 Jun 2003 12:11:09 +1000 Subject: [AccessD] A2K: HT Set Focus...nowhere? References: <165040-22003645181714743@christopherhawkins.com> Message-ID: <048201c32bd0$e628a080$be0e90cb@prosys.local> I'm in the habit of creating a text control called txtFocus, set TabStop to No, Locked to Yes, size it 0,0,0,0, and on the Form's open event set focus on txtFocus. In this way you will prevent the User from being able to tab on to this control again, wondering 'where did the cursor go?' Regards Borge ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, June 06, 2003 4:17 AM Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? > We have a winner! Thanks. > > -Christopher- > > ---- Original Message ---- > From: BBarabash at tappeconstruction.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] A2K: HT Set Focus...nowhere? > Date: Thu, 5 Jun 2003 13:10:23 -0500 > > >Best way to do it: > >Create a command button and set it's transparent property to True, > >and make > >it the first control in tab order. > > > > > >-----Original Message----- > >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > >Sent: Thursday, June 05, 2003 1:49 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] A2K: HT Set Focus...nowhere? > > > > > >This is driving me nuts. > > > >For various reasons, I need a form to open with the focus set to no > >control. The controls must all have a Tab Order, but none can have > >the focus when the form opens. > > > >Heeeeeeeeeeeeeeeeeeeelp. > > > >-Christopher- > > > > > >--------------------------------------------------------------------- > >----------------------------------------------- > >This email and any files transmitted with it are confidential and > >intended solely for the use of the individual or entity to whom > >they are addressed. > >If you have received this email in error please notify the > >originator of the message. This footer also confirms that this > >email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual > >sender, except where the sender specifies and with authority, > >states them to be the views of Tappe Construction Co. > > > >Scanning of this message and addition of this footer is performed > >by SurfControl E-mail Filter software in conjunction with > >virus detection software. > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From askolits at ot.com Thu Jun 5 22:20:01 2003 From: askolits at ot.com (John Skolits) Date: Thu, 05 Jun 2003 23:20:01 -0400 Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connectionFails? In-Reply-To: Message-ID: Thanks Charlotte. I figured it out. It was the MDAC that fixed it. Thanks, John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 05, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO function problem. Set Cnn=CurrentProject.connectionFails? Someone reported the same problem in Woody's Lounge (www.wopr.com) and I don't recall that we ever found the reason for it. I couldn't recreate it on my machines. Do you have all the Jet service packs as well as O2k service releases installed? Charlotte Foust -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, June 05, 2003 9:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] ADO function problem. Set Cnn=CurrentProject.connection Fails? I am having a strange problem on one PC. Application is (A2k) running in Access XP. The following line of code gives me a strange error, indicating a problem with the DLL. Set cnn = CurrentProject.connection It says Run-Time error -2147220999 (800401f9) Automation Error Error in the DLL I replaced the DLL from a PC that the application is working but same issue. Application compiles without a problem. Anyone know what this is. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 5 22:28:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 13:28:20 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <000201c32bdb$b0326230$0c05a8c0@earth.local> Jim, That would be great, I would really appreciate that... If you could send it to actebs at actebs.com.au Thanks again Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, 6 June 2003 12:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax Hi Vlad: I have a little piece of code that is stored with all my applications. When set it writes a specific result string into memory. If there are some issue the code can be pasted into a Access query or SQL SP and tested there. It makes it a lot easier to resolve tricky string problems. I could send it all offline. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff at OUTBAKTech.com Thu Jun 5 23:21:08 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Thu, 5 Jun 2003 23:21:08 -0500 Subject: [AccessD] Custom Menus in Access 97 Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091EE@outbaksrv1.outbaktech.com> Does anyone know how to add a 'send to Email' (Outlook 97) to a custom menu? I know I have done something similar before, but I just cannot seem to remember how I did it. Any help is greatly appreciated. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 00:22:05 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 15:22:05 +1000 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Jun 6 00:32:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 6 Jun 2003 00:32:56 -0500 Subject: [AccessD] Custom Menus in Access 97 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CE6@main2.marlow.com> If you go into Customize, you can add it from the list of known commands (it should be under the File Menu). Drew -----Original Message----- From: Jeff Barrows [mailto:Jeff at outbaktech.com] Sent: Thursday, June 05, 2003 11:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Custom Menus in Access 97 Does anyone know how to add a 'send to Email' (Outlook 97) to a custom menu? I know I have done something similar before, but I just cannot seem to remember how I did it. Any help is greatly appreciated. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Jun 6 00:32:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 05 Jun 2003 22:32:32 -0700 Subject: [AccessD] A2K: Drag and Drop with Access References: <133980-22003645154224311@christopherhawkins.com> Message-ID: <3EE02770.3000800@shaw.ca> One other method to consider. The latest version of Sharepoint has user controls that you can drag and drop. They are called Web Parts. Web Parts are ASP.NET Web server controls that run within a specialized SharePoint Web Form. These can be dragged onto the form by the user. Second, if you have Office XP, then you can use Word and Excel to save documents as web parts. This is another non-developer way to "build web parts". Go into Word 2002 (XP version), make your document, import the graphics and make it how you want. Then go to File->Save As Web Page, navigate to the dashboard and publish to the page. It makes a web part for you and even asks you where you want to put it. some integration web parts available at http://www.microsoft.com/sharepoint/server/downloads/webparts Christopher Hawkins wrote: >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping >the person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop in an Access 2000 app, but I never got to look at the >code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > > > >>Where are you going with this? What purpose is being served by the >>drag >>and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bbruen at bigpond.com Fri Jun 6 00:54:37 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 6 Jun 2003 15:54:37 +1000 Subject: [AccessD] Website In-Reply-To: Message-ID: <002001c32bf0$1e0b0550$a400a8c0@bbb888> NO ARCHIVE WOOWEE! I'm famous - well at least for asking dumb question number 2. Thanks Jim for the anonymity! Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, June 05, 2003 5:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Website . Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Fri Jun 6 01:21:40 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 6 Jun 2003 02:21:40 -0400 Subject: [AccessD] Where does WithEvents go? Message-ID: <000001c32bf3$e4af5910$6256fea9@ELIOT> I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 6 02:13:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 09:13:26 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <139130-22003645193726179@christopherhawkins.com> References: <139130-22003645193726179@christopherhawkins.com> Message-ID: <66031562.20030606091326@cactus.dk> Hi Christopher Okay, then drop that part of the code - no reason to drop the tables, that's just waste of time. /gustav > I can't use RefreshLink because the table links have been dropped > before the re-link is being made. So, there are not tables to > refresh. From accessd at shaw.ca Fri Jun 6 02:54:37 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 06 Jun 2003 00:54:37 -0700 Subject: [AccessD] Website In-Reply-To: <002001c32bf0$1e0b0550$a400a8c0@bbb888> Message-ID: NO ARCHIVE: Hi Bruce: The question you asked is not a dumb question. I am sure everyone has made the same mistake once or so; not remembering whether they are working with strings or objects when they are just enjoying their first exposure to a property or class. A few hours of pound the head against the wall has a tradition of leaving an impact that few will soon forget. Nothing like trial by fire. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Thursday, June 05, 2003 10:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Website NO ARCHIVE WOOWEE! I'm famous - well at least for asking dumb question number 2. Thanks Jim for the anonymity! Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Thursday, June 05, 2003 5:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] Website . Hi All: The DBA web site has a new Gazette as of June the first. See it at http://www.databaseadvisors.com. We need any contributions on articles or suggestions for improvements. 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 shamil at smsconsulting.spb.ru Fri Jun 6 03:55:25 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 12:55:25 +0400 Subject: [AccessD] Where does WithEvents go? References: <000001c32bf3$e4af5910$6256fea9@ELIOT> Message-ID: <001801c32c09$638da1a0$b501010a@DAISY.local> Bob, You can set your class module's Instancing property to '2-PublicNotCreatable' then you can continue to use it the way you used it without library - you will just need to get its instance by your wrapped/helper function GetclsInventory... HTH, Shamil ----- Original Message ----- From: Bob Bedell To: accessD at databaseadvisors.com Sent: Friday, June 06, 2003 10:21 AM Subject: [AccessD] Where does WithEvents go? I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinanfields at torchlake.com Fri Jun 6 06:21:21 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 06 Jun 2003 07:21:21 -0400 Subject: [AccessD] No Exclusive Access to Make Changes References: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Message-ID: <3EE07931.6020509@torchlake.com> Hi Vlad, We saw something like this at our college, using A2K on our network. If a student created a database and stored it in his network folder, the next time he opened that database he would not have exclusive rights to it - he might be completely unable to make changes, or he might get the message you got that his changes might not get saved. If the student used the Open button in the Open Database dialog box, and selected Open Exclusive, the problem went away. The students got very frustrated with this because they were accustomed to just double-clicking open their databases. This problem has not continued since we switched to AXP. FWIW, Tina ACTEBS wrote: > Hi People, > > I am mucking around with a totally unbound FE (AXP) app and have > started to get this error when I try to go into the design of any form: > > "You do not have exclusive access to the database at this time. If you > proceed to make changes, you may not be able to save them later" > > If I close the database and re-open it hold the Shift Key to display > the DB window - No Problems all is OK. As soon as I run the app and > then go to make some design changes the above dialogue box appears. > > Have I not closed a recordset or what is going on here. Anybody had > this happen and figured out the problem... > > Thanks in advance > > Vlad > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From selina at easydatabases.com.au Fri Jun 6 05:07:36 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 6 Jun 2003 20:07:36 +1000 Subject: [AccessD] No Exclusive Access to Make Changes References: <001701c32beb$91a3dcd0$0c05a8c0@earth.local> Message-ID: <00e801c32c13$7558a3d0$6465000a@venus> MessageWhen you run the app, are you then opening the db again to look at the design. As soon as it is open once, any further instances of the same file being opened will give this message. HTH Selina ----- Original Message ----- From: ACTEBS To: access group Sent: Friday, June 06, 2003 3:22 PM Subject: [AccessD] No Exclusive Access to Make Changes Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 6 06:41:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 13:41:29 +0200 Subject: [AccessD] relations in which database In-Reply-To: References: Message-ID: <18122114589.20030606134129@cactus.dk> Hi Charlotte > By a "temporary relationship", I meant the joins you create in queries, > not saved relationships. I see. But temporary? They are still there when I open a saved query in the GUI designer ... /gustav From subs at solution-providers.ie Fri Jun 6 05:19:00 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 6 Jun 2003 11:19:00 +0100 Subject: [AccessD] Fast back-end relinking? References: <62100-2200364519658984@christopherhawkins.com> Message-ID: <000601c32c22$81b467e0$6a1118ac@D8TZHN0J> Hello Christopher, Are you using Win2K or Xp at all in the loop. I have an issue recently with Access, on an NT box it performed perfectly with a BE, but when I moved it onto W2K, it slowed right down. I found the issue on the knowledge base and it is acknowledged by MS, however they do not offer a patch. This only solution they hint at is to programaticaly open the remote db and access the tables directly rather than using linked tables at all. I though that was not a very satisfactory solution and I had no idea how long it would take to change the entire app. What I did was to import the BE tables back into the FE and once I no longer had to talk to a BE, I was OK, If this is not your case, sorry, Mark ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 05, 2003 8:06 PM Subject: [AccessD] Fast back-end relinking? > First off: I have seen (and used) Tribble's Back-End relinker > before. That's not what I need in this case. > > I have inherited an app with some back-end relinking code that is > very slow. I've seen programmatic implementations of a table link > that linked up very quickly, as quickly as using File > Get External > Data > Link Tables. The one I'm dealing with takes many times as > long. > > There is a table in my db called tblTable. It contains the name and > path of every table in the database. The table is used in the > following code: > > ***START*** > > Dim db As DAO.Database > Dim tbl As DAO.TableDef > Set db = CurrentDb > Dim rsData As DAO.Recordset > > > Set rsData = db.OpenRecordset("SELECT * FROM tblTable") > > rsData.MoveFirst > > Do Until rsData.EOF = True > Set tbl = db.CreateTableDef(rsData("TableName")) > Debug.Print "Now attaching " & tbl.Name & "..." > tbl.Connect = (";DATABASE=" & rsData("Path")) > tbl.SourceTableName = rsData("TableName") > db.TableDefs.Append tbl > rsData.MoveNext > Loop > > db.Close > > ***END*** > > All the lag takes place when running the 'db.TableDefs.append tbl' > line. > > Is there any way to speed this process up? I've seen it done more > quickly before, I just didn't get to see the actual code. :( > > -Christopher- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Fri Jun 6 05:21:16 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 6 Jun 2003 11:21:16 +0100 Subject: [AccessD] Where is Charles gone? - OT References: Message-ID: <000701c32c22$82117c00$6a1118ac@D8TZHN0J> Hello All, I have not seen any emails from Charles A. Wolfe in the last year or so, does anyone have any contact details for him? I sent him an email about two weeks ago but got no response, it may be retired by now. Thanks Mark From BarbaraRyan at cox.net Fri Jun 6 07:30:27 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 6 Jun 2003 08:30:27 -0400 Subject: [AccessD] Hyperlink and click event Message-ID: <001401c32c27$697aad60$a2c50a44@hr.cox.net> I am trying to intercept an error ("...specified file not found...") when clicking on a hyperlink control in an Access 97 form. My error handling code is in the control's CLICK event, but the error is apparently occuring sometime after the CLICK event. Where should I put my error handling routine? The hyperlink control is bound to a hyperlink field in a table. I deleted the file that the hyperlink points to force this error so I could use a more descriptive error message. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 07:30:04 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 06 Jun 2003 22:30:04 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: <00e801c32c13$7558a3d0$6465000a@venus> Message-ID: <005301c32c27$5e2efbf0$0c05a8c0@earth.local> Selina, No there's only one instance of the app... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Selina Iddon Sent: Friday, 6 June 2003 8:08 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No Exclusive Access to Make Changes When you run the app, are you then opening the db again to look at the design. As soon as it is open once, any further instances of the same file being opened will give this message. HTH Selina ----- Original Message ----- From: ACTEBS To: access group Sent: Friday, June 06, 2003 3:22 PM Subject: [AccessD] No Exclusive Access to Make Changes Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Fri Jun 6 07:34:38 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 6 Jun 2003 22:34:38 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: <3EE07931.6020509@torchlake.com> Message-ID: <005d01c32c28$01831e30$0c05a8c0@earth.local> Tina, I am running AXP and it just started to happen. I have developing on my machine for months with no issues and this just started. Do you think it may have something to do with Network Permissions or Machine User Permissions? I haven't made any changes there but it's something to look at I suppose... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, 6 June 2003 9:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No Exclusive Access to Make Changes Hi Vlad, We saw something like this at our college, using A2K on our network. If a student created a database and stored it in his network folder, the next time he opened that database he would not have exclusive rights to it - he might be completely unable to make changes, or he might get the message you got that his changes might not get saved. If the student used the Open button in the Open Database dialog box, and selected Open Exclusive, the problem went away. The students got very frustrated with this because they were accustomed to just double-clicking open their databases. This problem has not continued since we switched to AXP. FWIW, Tina ACTEBS wrote: Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Jun 6 07:37:58 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 07:37:58 -0500 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Jun 6 07:43:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 6 Jun 2003 08:43:46 -0400 Subject: [AccessD] Hyperlink and click event Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E2A@TTNEXCHSRV1.hshhp.com> Can you add code to check for the file in the click event before any other code runs and leave the event if it's not there (or show a message)? HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, June 06, 2003 8:30 AM To: Access List Subject: [AccessD] Hyperlink and click event I am trying to intercept an error ("...specified file not found...") when clicking on a hyperlink control in an Access 97 form. My error handling code is in the control's CLICK event, but the error is apparently occuring sometime after the CLICK event. Where should I put my error handling routine? The hyperlink control is bound to a hyperlink field in a table. I deleted the file that the hyperlink points to force this error so I could use a more descriptive error message. Thanks, Barb Ryan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From PBudge at cbsol.com Fri Jun 6 07:51:57 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Fri, 6 Jun 2003 07:51:57 -0500 Subject: [AccessD] OT Friday humour Message-ID: http://www.solucepc.com/cats.wmv Pamela G. Budge PBudge at cbsol.com Creative Business Solutions From jcolby at colbyconsulting.com Fri Jun 6 07:56:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 08:56:25 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <000001c32bf3$e4af5910$6256fea9@ELIOT> Message-ID: Bob, Classes built directly in a library database are not visible outside of the library in VBA. No Se Por Que. I guess that since Microsoft considers VBA developers to be children, giving us such powers is considered dangerous - kinda like playing with knives or matches I suppose. At any rate, it absolutely is possible to get your classes exposed such that they can be seen and used outside of the library. The easiest way to do this is to: 1) Export the class to a text file. 2) Open the class module with a text editor 3) Look for two attributes at the top of the module. Change Creatable and Exposed to True. 4) Save the class and close the text file. 5) In your library, click Insert / Class module 6) In the editor window that opens, click Insert / File. Navigate to and select the txt file that you saved the class in. This will cause Access to pull in the contents of whatever file you selected and insert it in your class. In this case it is the contents of the modified class. 7) At the top of the class you will see something like: Option Compare Database Option Explicit VERSION 1.0 CLASS BEGIN MultiUse = -1 'True End Option Compare Database Option Explicit Select and delete everything from the first Option down through the End. 8) Compile and save the class The class will now be visible from any database that references your library. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Friday, June 06, 2003 2:22 AM To: accessD at databaseadvisors.com Subject: [AccessD] Where does WithEvents go? I hope I can make this intelligible. Info on this issue seems a bit sparse. I have a custom class and a form that work fine together. The class declares a custom event using Public Event syntax in the general declaration and Raise syntax in a method. The calling class (the form) declares a private instance of the class using WithEvents and instantiates it. No problems. Now I'm trying to import the class into a library (mda.) and set a reference to it in the database that contains the calling form. It's my understanding that my calling application can't instantiate the class directly, and needs to use a wrapper function. So I added a standard module to the calling application that calls a function in the library database which returns a copy of the object. The calling database then has a public, shared copy of the object to work with. The standard module in the calling database is: Public g_oInventory As clsInventory Public Sub Startup() ' Get handles to shared objects Set g_objInventory = GetclsInventory DoCmd.OpenForm "frmInventory" End Sub The standard module in the library database (where the class is located) is: Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function Here's my problem. Using the library scenario, I can't find any place to put my WithEvents statement. The old declaration (before seperating the class and the form) was in the forms general declaration: Private WithEvents m_objProduct As clsInventory But now (library scenario) the declaration needs to be global, needs to include WithEvents, and needs to be in a class or form module (WithEvents won't work in a standard module). Should I do a VB ActiveX component instead? I'm kinda' at a loss here. Real limited experience with classes/libraries stuff. Thanks to anyone who can make heads or tails of that. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Jun 6 07:59:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 08:59:53 -0400 Subject: [AccessD] OT Friday humour In-Reply-To: Message-ID: ROTFLMAOBTC!!! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of PBudge at cbsol.com Sent: Friday, June 06, 2003 8:52 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday humour http://www.solucepc.com/cats.wmv Pamela G. Budge PBudge at cbsol.com Creative Business Solutions _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Fri Jun 6 08:13:31 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 13:13:31 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Hi Shamil, Thanks for the thought. My Instancing property is, unfortunately, already set to PublicNotCreatable. My calling database can see and call an instance of GetclsInventory fine. The wrapper function returns an object with ten fingers and toes. All properties and methods, except the custom event, work fine. Here's the wrapper again (just for the sake of pointing out one thing): Public Function GetclsInventory() Dim objInventory As clsInventory Set GetclsInventory = New clsInventory End Function It seems that in order for GetclsInventory to be able to raise a custom event, the Dim line here would have to read: Dim WithEvents objInventory As clsInventory That, I assume, is where WithEvents would need to go: with the object declaration. But I can't do that here because I have the wrapper in a standard code module, and with events can only be used in form and class modules. So my options seem to be (none of which I have been able to make work) to declare objInventory in either my calling form class somehow (can't come up with a visible global variable), or in another class module in the library or calling database, or in the clsInventory class itself. I was just hoping someone would say, "Oh sure, wrapper function, goes in class w in component x. Call it with y in component z.", or "Sorry, can't raise custom events from an Access library database.", etc. >From what little I've been able to read on the subject (I found a whole paragraph in one of Wrox's Access books), the wrapper should go in a standard module in the library database. That, however, rules out the use of custom events with WithEvents). I think the Access Developer's Handbook has a sentence or several on this too. Compiling an ActiveX dll is always another option. But I wanted to give the Access library a test drive. Thanks again for the reply. Bob >From: "Shamil Salakhetdinov" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 12:55:25 +0400 > >Bob, > >You can set your class module's Instancing property to >'2-PublicNotCreatable' then you can continue to use it the way you used it >without library - you will just need to get its instance by your >wrapped/helper function GetclsInventory... > >HTH, >Shamil > >----- Original Message ----- > From: Bob Bedell > To: accessD at databaseadvisors.com > Sent: Friday, June 06, 2003 10:21 AM > Subject: [AccessD] Where does WithEvents go? > > > I hope I can make this intelligible. Info on this issue seems a bit >sparse. I have a custom class and a form that work fine together. The class >declares a custom event using Public Event syntax in the general >declaration and Raise syntax in a method. The calling class (the form) >declares a private instance of the class using WithEvents and instantiates >it. No problems. > > > > Now I'm trying to import the class into a library (mda.) and set a >reference to it in the database that contains the calling form. It's my >understanding that my calling application can't instantiate the class >directly, and needs to use a wrapper function. So I added a standard module >to the calling application that calls a function in the library database >which returns a copy of the object. The calling database then has a public, >shared copy of the object to work with. The standard module in the calling >database is: > > > > Public g_oInventory As clsInventory > > > > Public Sub Startup() > > ' Get handles to shared objects > > Set g_objInventory = GetclsInventory > > > > DoCmd.OpenForm "frmInventory" > > End Sub > > > > The standard module in the library database (where the class is located) >is: > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > Here's my problem. Using the library scenario, I can't find any place to >put my WithEvents statement. The old declaration (before seperating the >class and the form) was in the forms general declaration: > > > > Private WithEvents m_objProduct As clsInventory > > > > But now (library scenario) the declaration needs to be global, needs to >include WithEvents, and needs to be in a class or form module (WithEvents >won't work in a standard module). > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >Real limited experience with classes/libraries stuff. Thanks to anyone who >can make heads or tails of that. > > > > Bob > > > > > >------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From bobbedell15 at msn.com Fri Jun 6 09:01:56 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 14:01:56 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Outstanding! Phenonmenal! This is great! Think of the endless possibilities! Oh, it worked... That's great John. clsInventory is now "creatably" exposed to my event sink app, with custom events firing and all. Thanks for adding several productive years to my life. Bob >From: "John Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 08:56:25 -0400 > >Bob, > >Classes built directly in a library database are not visible outside of the >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA >developers to be children, giving us such powers is considered dangerous - >kinda like playing with knives or matches I suppose. At any rate, it >absolutely is possible to get your classes exposed such that they can be >seen and used outside of the library. > >The easiest way to do this is to: > >1) Export the class to a text file. >2) Open the class module with a text editor >3) Look for two attributes at the top of the module. Change Creatable and >Exposed to True. >4) Save the class and close the text file. >5) In your library, click Insert / Class module >6) In the editor window that opens, click Insert / File. Navigate to and >select the txt file that you saved the class in. This will cause Access to >pull in the contents of whatever file you selected and insert it in your >class. In this case it is the contents of the modified class. >7) At the top of the class you will see something like: > >Option Compare Database >Option Explicit > >VERSION 1.0 CLASS >BEGIN > MultiUse = -1 'True >End >Option Compare Database >Option Explicit > >Select and delete everything from the first Option down through the End. > >8) Compile and save the class > >The class will now be visible from any database that references your >library. >John W. Colby >www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 2:22 AM > To: accessD at databaseadvisors.com > Subject: [AccessD] Where does WithEvents go? > > > I hope I can make this intelligible. Info on this issue seems a bit >sparse. I have a custom class and a form that work fine together. The class >declares a custom event using Public Event syntax in the general >declaration >and Raise syntax in a method. The calling class (the form) declares a >private instance of the class using WithEvents and instantiates it. No >problems. > > > > Now I'm trying to import the class into a library (mda.) and set a >reference to it in the database that contains the calling form. It's my >understanding that my calling application can't instantiate the class >directly, and needs to use a wrapper function. So I added a standard module >to the calling application that calls a function in the library database >which returns a copy of the object. The calling database then has a public, >shared copy of the object to work with. The standard module in the calling >database is: > > > > Public g_oInventory As clsInventory > > > > Public Sub Startup() > > ' Get handles to shared objects > > Set g_objInventory = GetclsInventory > > > > DoCmd.OpenForm "frmInventory" > > End Sub > > > > The standard module in the library database (where the class is located) >is: > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > Here's my problem. Using the library scenario, I can't find any place to >put my WithEvents statement. The old declaration (before seperating the >class and the form) was in the forms general declaration: > > > > Private WithEvents m_objProduct As clsInventory > > > > But now (library scenario) the declaration needs to be global, needs to >include WithEvents, and needs to be in a class or form module (WithEvents >won't work in a standard module). > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >Real limited experience with classes/libraries stuff. Thanks to anyone who >can make heads or tails of that. > > > > Bob > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jim.hale at fleetpride.com Fri Jun 6 09:08:17 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 09:08:17 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: <869379ABF177D4118D3100508B5EF873063AAF9B@corp-es00> How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Jun 6 09:13:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 10:13:08 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: Message-ID: LOL. I think the man is happy! You're welcome! Just as an aside, I now routinely go through this process so that each and every class is exposed. BTW, I learned about this from using an FTP class from Dev Ashish and Terry Kreft. It came in a lib, and worked just fine. I tried to move it into my framework lib and it no longer worked. Of course I had simply imported it. The process of importing a class apparently resets those two attributes back to False (Thanks Microsoft for protecting us children). It took several days of research and asking (this list I believe, Shamil provided the answer IIRC) to get the solution I passed on to you. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell Sent: Friday, June 06, 2003 10:02 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where does WithEvents go? Outstanding! Phenonmenal! This is great! Think of the endless possibilities! Oh, it worked... That's great John. clsInventory is now "creatably" exposed to my event sink app, with custom events firing and all. Thanks for adding several productive years to my life. Bob >From: "John Colby" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 08:56:25 -0400 > >Bob, > >Classes built directly in a library database are not visible outside of the >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA >developers to be children, giving us such powers is considered dangerous - >kinda like playing with knives or matches I suppose. At any rate, it >absolutely is possible to get your classes exposed such that they can be >seen and used outside of the library. > >The easiest way to do this is to: > >1) Export the class to a text file. >2) Open the class module with a text editor >3) Look for two attributes at the top of the module. Change Creatable and >Exposed to True. >4) Save the class and close the text file. >5) In your library, click Insert / Class module >6) In the editor window that opens, click Insert / File. Navigate to and >select the txt file that you saved the class in. This will cause Access to >pull in the contents of whatever file you selected and insert it in your >class. In this case it is the contents of the modified class. >7) At the top of the class you will see something like: > >Option Compare Database >Option Explicit > >VERSION 1.0 CLASS >BEGIN > MultiUse = -1 'True >End >Option Compare Database >Option Explicit > >Select and delete everything from the first Option down through the End. > >8) Compile and save the class > >The class will now be visible from any database that references your >library. >John W. Colby >www.colbyconsulting.com > From actebs at actebs.com.au Fri Jun 6 09:13:44 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 00:13:44 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: Message-ID: <001f01c32c35$d9c3ea10$0c05a8c0@earth.local> Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Jun 6 09:43:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 09:43:38 -0500 Subject: [AccessD] No Exclusive Access to Make Changes Message-ID: Vlad, Check to see if the .ldb file still exists. You probably did an abnormal exit for the app at that time and left the .ldb open. Whenever you use the Task Manager to kill the app, it leaves the .ldb open. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 09:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad From cfoust at infostatsystems.com Fri Jun 6 09:49:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 07:49:27 -0700 Subject: [AccessD] Fast back-end relinking? Message-ID: For each table, open it in design view, select its properties and set the Subdatasheet Name property to [None]. There is code in on-line help to loop through the database and turn off all subdatasheets and code has been posted here before and is in the archives. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 6:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Fast back-end relinking? How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 6 09:55:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 07:55:26 -0700 Subject: [AccessD] relations in which database Message-ID: Picky! They are in the query but the relationship is not saved as a relationship, only as a join in the SQL of the query. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, June 06, 2003 3:41 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] relations in which database Hi Charlotte > By a "temporary relationship", I meant the joins you create in > queries, not saved relationships. I see. But temporary? They are still there when I open a saved query in the GUI designer ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Fri Jun 6 07:26:30 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Fri, 06 Jun 2003 07:26:30 -0500 Subject: [AccessD] AXP Question Message-ID: I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From clh at christopherhawkins.com Fri Jun 6 10:02:11 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 09:02:11 -0600 Subject: [AccessD] Fast back-end relinking? Message-ID: <265000-2200365615211597@christopherhawkins.com> The table links are being dropped as part of a regular maintenance routine - drop the tables, compact and repair the database, reattach the tables. -C- ---- Original Message ---- From: gustav at cactus.dk To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Fast back-end relinking? Date: Fri, 6 Jun 2003 09:13:26 +0200 >Hi Christopher > >Okay, then drop that part of the code - no reason to drop the tables, >that's just waste of time. > >/gustav > >> I can't use RefreshLink because the table links have been dropped >> before the re-link is being made. So, there are not tables to >> refresh. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Jun 6 10:04:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 08:04:27 -0700 Subject: [AccessD] AXP Question Message-ID: Nothing is going to do it. This was a change that occurred in A2000 and it is a good one. When you can make design changes while a database is in use, anyone else who has the app open can overwrite your changes if they save last. This way, that doesn't happen. You may not have run into problems (or you may not have noticed them), but I definitely did in A97 when someone had a copy open without my knowledge. I did a bunch of work and saved the changes and the next day they were gone! Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday, June 06, 2003 4:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 10:06:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 11:06:36 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: Terri, Sharing an FE is a BAD idea to begin with. Just break down and do the "Local FE" thing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 8:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jun 6 10:11:50 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 17:11:50 +0200 Subject: [AccessD] Fast back-end relinking? In-Reply-To: <265000-2200365615211597@christopherhawkins.com> References: <265000-2200365615211597@christopherhawkins.com> Message-ID: <8134735547.20030606171150@cactus.dk> Hi Christopher > The table links are being dropped as part of a regular maintenance > routine - drop the tables, compact and repair the database, reattach > the tables. You don't need to drop the tables to compact the BE but no connections are allowed ... However, you told it is an inherited app so I guess there are limits for how much reprogramming you are prepared to offer. /gustav > ---- Original Message ---- > From: gustav at cactus.dk > To: accessd at databaseadvisors.com, > Subject: Re: [AccessD] Fast back-end relinking? > Date: Fri, 6 Jun 2003 09:13:26 +0200 >>Hi Christopher >> >>Okay, then drop that part of the code - no reason to drop the tables, >>that's just waste of time. >> >>/gustav >> >>> I can't use RefreshLink because the table links have been dropped >>> before the re-link is being made. So, there are not tables to >>> refresh. From JRojas at tnco-inc.com Fri Jun 6 10:13:12 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 6 Jun 2003 11:13:12 -0400 Subject: [AccessD] Calendar control with events Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B14@mercury.tnco-inc.com> Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From bobbedell15 at msn.com Fri Jun 6 10:17:59 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Fri, 06 Jun 2003 15:17:59 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: >I guess that since Microsoft considers VBA developers to be children, >giving us such powers is >considered dangerous - This really is kinda' bizarre when you think about it. All Microsoft would need to do is add one more item to the Instancing Enum: 3- PublicCreatable. Then - 1 - Private: Attribute VB_Exposed = False, Attribute VB_Creatable = False 2 - PublicNotCreatable: Attribute VB_Exposed = True, Attribute VB_Creatable = False 3 - PublicCreateable: Attribute VB_Exposed = True, Attribute VB_Creatable = True What we need is 3, and that's the one setting they don't provide. I wonder what the point of 2 is anyway: why expose a class and then prevent anyone from instantiating objects from it? Go figure. Access 11? >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 06 Jun 2003 14:01:56 +0000 > >Outstanding! Phenonmenal! This is great! Think of the endless >possibilities! > >Oh, it worked... > >That's great John. clsInventory is now "creatably" exposed to my event sink >app, with custom events firing and all. Thanks for adding several >productive years to my life. > >Bob > > >>From: "John Colby" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Where does WithEvents go? >>Date: Fri, 6 Jun 2003 08:56:25 -0400 >> >>Bob, >> >>Classes built directly in a library database are not visible outside of >>the >>library in VBA. No Se Por Que. I guess that since Microsoft considers >>VBA >>developers to be children, giving us such powers is considered dangerous - >>kinda like playing with knives or matches I suppose. At any rate, it >>absolutely is possible to get your classes exposed such that they can be >>seen and used outside of the library. >> >>The easiest way to do this is to: >> >>1) Export the class to a text file. >>2) Open the class module with a text editor >>3) Look for two attributes at the top of the module. Change Creatable and >>Exposed to True. >>4) Save the class and close the text file. >>5) In your library, click Insert / Class module >>6) In the editor window that opens, click Insert / File. Navigate to and >>select the txt file that you saved the class in. This will cause Access >>to >>pull in the contents of whatever file you selected and insert it in your >>class. In this case it is the contents of the modified class. >>7) At the top of the class you will see something like: >> >>Option Compare Database >>Option Explicit >> >>VERSION 1.0 CLASS >>BEGIN >> MultiUse = -1 'True >>End >>Option Compare Database >>Option Explicit >> >>Select and delete everything from the first Option down through the End. >> >>8) Compile and save the class >> >>The class will now be visible from any database that references your >>library. >>John W. Colby >>www.colbyconsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell >> Sent: Friday, June 06, 2003 2:22 AM >> To: accessD at databaseadvisors.com >> Subject: [AccessD] Where does WithEvents go? >> >> >> I hope I can make this intelligible. Info on this issue seems a bit >>sparse. I have a custom class and a form that work fine together. The >>class >>declares a custom event using Public Event syntax in the general >>declaration >>and Raise syntax in a method. The calling class (the form) declares a >>private instance of the class using WithEvents and instantiates it. No >>problems. >> >> >> >> Now I'm trying to import the class into a library (mda.) and set a >>reference to it in the database that contains the calling form. It's my >>understanding that my calling application can't instantiate the class >>directly, and needs to use a wrapper function. So I added a standard >>module >>to the calling application that calls a function in the library database >>which returns a copy of the object. The calling database then has a >>public, >>shared copy of the object to work with. The standard module in the calling >>database is: >> >> >> >> Public g_oInventory As clsInventory >> >> >> >> Public Sub Startup() >> >> ' Get handles to shared objects >> >> Set g_objInventory = GetclsInventory >> >> >> >> DoCmd.OpenForm "frmInventory" >> >> End Sub >> >> >> >> The standard module in the library database (where the class is >>located) >>is: >> >> >> >> Public Function GetclsInventory() >> >> Dim objInventory As clsInventory >> >> Set GetclsInventory = New clsInventory >> >> End Function >> >> >> >> Here's my problem. Using the library scenario, I can't find any place >>to >>put my WithEvents statement. The old declaration (before seperating the >>class and the form) was in the forms general declaration: >> >> >> >> Private WithEvents m_objProduct As clsInventory >> >> >> >> But now (library scenario) the declaration needs to be global, needs >>to >>include WithEvents, and needs to be in a class or form module (WithEvents >>won't work in a standard module). >> >> >> >> Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >>Real limited experience with classes/libraries stuff. Thanks to anyone who >>can make heads or tails of that. >> >> >> >> Bob >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From actebs at actebs.com.au Fri Jun 6 10:20:49 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 01:20:49 +1000 Subject: [AccessD] No Exclusive Access to Make Changes In-Reply-To: Message-ID: <003301c32c3f$38be8e40$0c05a8c0@earth.local> Charles, Yep, already checked for that and it's not the case. That was one of the first things I tried. Funnily enough, it seems to be just starting to behave itself again. I haven't had the problem for about half an hour, yet it was doing it all day today - it's now about 1am here. Must be a time driven thing I suppose - be a pain in the A** during 6/6/03 - become a well behaved descent law abiding citizen on the 7/6/03...Hmmm, what do you think??? ; ) Thanks for all your help. If I come up with any further findings or discover the reason I'll be sure to post the solution... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Saturday, 7 June 2003 12:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Check to see if the .ldb file still exists. You probably did an abnormal exit for the app at that time and left the .ldb open. Whenever you use the Task Manager to kill the app, it leaves the .ldb open. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 09:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Charles, But this doesn't explain why I am getting this error as I am the only person with the app open. That's why I can't understand where this is coming from. I wasn't aware of this change in A2K or greater, and that is good to know, it's just that this only just started to happen. I was working on the app yesterday and this wasn't the case then. Hmmm, I hate these random features!!! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Friday, 6 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] No Exclusive Access to Make Changes Vlad, Starting with A2K, you have to open Access dbs in Exclusive Mode to do any design changes. When you double-click on an A2K or higher db you are opening it in Shared Mode unless you saved it to open as Exclusive Mode. One of the ways to open it in Exclusive Mode to do design changes is to hold down the Shift key while opening to bypass the normal startup procedure. Charles Wortz -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday 2003 Jun 06 00:22 To: access group Subject: [AccessD] No Exclusive Access to Make Changes Importance: Low Hi People, I am mucking around with a totally unbound FE (AXP) app and have started to get this error when I try to go into the design of any form: "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later" If I close the database and re-open it hold the Shift Key to display the DB window - No Problems all is OK. As soon as I run the app and then go to make some design changes the above dialogue box appears. Have I not closed a recordset or what is going on here. Anybody had this happen and figured out the problem... Thanks in advance Vlad _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 6 10:24:23 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 01:24:23 +1000 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <003401c32c3f$b8b29920$0c05a8c0@earth.local> Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 6 10:27:46 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 6 Jun 2003 11:27:46 -0400 Subject: [AccessD] Where does WithEvents go? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E4C@TTNEXCHSRV1.hshhp.com> Public Not Creatable is a VB thing. I use it when I create a class that I'm going to implement via a custom collection class. I set the object class to PublicNotCreateable and the collection to PublicCreatable. This allows me to loop through a custom collection using this syntax: Dim CustomObject As cCustomObject 'can declare and return them but can't instantiate them Dim MyCustomObjectCollection As cCustomObjectCollection For each CustomObject In MyCustomObjectCollection 'do something here Next This as opposed to using a Variant to store CustomObject. This provides something similar to the strong typing you get in .NET. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Bob Bedell [mailto:bobbedell15 at msn.com] Sent: Friday, June 06, 2003 11:18 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where does WithEvents go? >I guess that since Microsoft considers VBA developers to be children, >giving us such powers is >considered dangerous - This really is kinda' bizarre when you think about it. All Microsoft would need to do is add one more item to the Instancing Enum: 3- PublicCreatable. Then - 1 - Private: Attribute VB_Exposed = False, Attribute VB_Creatable = False 2 - PublicNotCreatable: Attribute VB_Exposed = True, Attribute VB_Creatable = False 3 - PublicCreateable: Attribute VB_Exposed = True, Attribute VB_Creatable = True What we need is 3, and that's the one setting they don't provide. I wonder what the point of 2 is anyway: why expose a class and then prevent anyone from instantiating objects from it? Go figure. Access 11? >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where does WithEvents go? >Date: Fri, 06 Jun 2003 14:01:56 +0000 > >Outstanding! Phenonmenal! This is great! Think of the endless >possibilities! > >Oh, it worked... > >That's great John. clsInventory is now "creatably" exposed to my event sink >app, with custom events firing and all. Thanks for adding several >productive years to my life. > >Bob > > >>From: "John Colby" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Where does WithEvents go? >>Date: Fri, 6 Jun 2003 08:56:25 -0400 >> >>Bob, >> >>Classes built directly in a library database are not visible outside of >>the >>library in VBA. No Se Por Que. I guess that since Microsoft considers >>VBA >>developers to be children, giving us such powers is considered dangerous - >>kinda like playing with knives or matches I suppose. At any rate, it >>absolutely is possible to get your classes exposed such that they can be >>seen and used outside of the library. >> >>The easiest way to do this is to: >> >>1) Export the class to a text file. >>2) Open the class module with a text editor >>3) Look for two attributes at the top of the module. Change Creatable and >>Exposed to True. >>4) Save the class and close the text file. >>5) In your library, click Insert / Class module >>6) In the editor window that opens, click Insert / File. Navigate to and >>select the txt file that you saved the class in. This will cause Access >>to >>pull in the contents of whatever file you selected and insert it in your >>class. In this case it is the contents of the modified class. >>7) At the top of the class you will see something like: >> >>Option Compare Database >>Option Explicit >> >>VERSION 1.0 CLASS >>BEGIN >> MultiUse = -1 'True >>End >>Option Compare Database >>Option Explicit >> >>Select and delete everything from the first Option down through the End. >> >>8) Compile and save the class >> >>The class will now be visible from any database that references your >>library. >>John W. Colby >>www.colbyconsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell >> Sent: Friday, June 06, 2003 2:22 AM >> To: accessD at databaseadvisors.com >> Subject: [AccessD] Where does WithEvents go? >> >> >> I hope I can make this intelligible. Info on this issue seems a bit >>sparse. I have a custom class and a form that work fine together. The >>class >>declares a custom event using Public Event syntax in the general >>declaration >>and Raise syntax in a method. The calling class (the form) declares a >>private instance of the class using WithEvents and instantiates it. No >>problems. >> >> >> >> Now I'm trying to import the class into a library (mda.) and set a >>reference to it in the database that contains the calling form. It's my >>understanding that my calling application can't instantiate the class >>directly, and needs to use a wrapper function. So I added a standard >>module >>to the calling application that calls a function in the library database >>which returns a copy of the object. The calling database then has a >>public, >>shared copy of the object to work with. The standard module in the calling >>database is: >> >> >> >> Public g_oInventory As clsInventory >> >> >> >> Public Sub Startup() >> >> ' Get handles to shared objects >> >> Set g_objInventory = GetclsInventory >> >> >> >> DoCmd.OpenForm "frmInventory" >> >> End Sub >> >> >> >> The standard module in the library database (where the class is >>located) >>is: >> >> >> >> Public Function GetclsInventory() >> >> Dim objInventory As clsInventory >> >> Set GetclsInventory = New clsInventory >> >> End Function >> >> >> >> Here's my problem. Using the library scenario, I can't find any place >>to >>put my WithEvents statement. The old declaration (before seperating the >>class and the form) was in the forms general declaration: >> >> >> >> Private WithEvents m_objProduct As clsInventory >> >> >> >> But now (library scenario) the declaration needs to be global, needs >>to >>include WithEvents, and needs to be in a class or form module (WithEvents >>won't work in a standard module). >> >> >> >> Should I do a VB ActiveX component instead? I'm kinda' at a loss here. >>Real limited experience with classes/libraries stuff. Thanks to anyone who >>can make heads or tails of that. >> >> >> >> Bob >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Fri Jun 6 10:31:52 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 10:31:52 -0500 Subject: [AccessD] AXP Question Message-ID: Terri, One of the good features of A2K and higher is that you no longer can make design changes while others are in the app. Some may disagree with this, but it has been a sound development practice since the dark ages of computing that M$ finally implemented. I always keep a copy of the current production FE on my PC and develop my changes on it. When I am ready I then replace the production copy with the new version. If the users go home at 5PM, then I do the replace after 5PM. If the users work 24/7, then I have to get them to sign off for the few minutes it takes to do the replace and then they can sign on again. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday 2003 Jun 06 07:27 To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jcolby at colbyconsulting.com Fri Jun 6 10:40:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 11:40:06 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: And I do the same thing except I have the users click a shortcut that pulls the FE down to their local machine. No FE sharing for me thank you! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, June 06, 2003 11:32 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, One of the good features of A2K and higher is that you no longer can make design changes while others are in the app. Some may disagree with this, but it has been a sound development practice since the dark ages of computing that M$ finally implemented. I always keep a copy of the current production FE on my PC and develop my changes on it. When I am ready I then replace the production copy with the new version. If the users go home at 5PM, then I do the replace after 5PM. If the users work 24/7, then I have to get them to sign off for the few minutes it takes to do the replace and then they can sign on again. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Friday 2003 Jun 06 07:27 To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Fri Jun 6 10:41:02 2003 From: rfv at entelix.com (Rudolf F. Vanek) Date: Fri, 6 Jun 2003 10:41:02 -0500 Subject: [AccessD] Fast back-end relinking? In-Reply-To: Message-ID: <200306060841851.SM05964@LapRFV> Here is the code: Function TurnOffSubDataSheets() Dim MyDB As DAO.Database Dim MyProperty As DAO.Property Dim propName As String Dim propType As Integer Dim propVal As String Dim strS As String Set MyDB = CurrentDb propName = "SubDataSheetName" propType = 10 propVal = "[NONE]" On Error Resume Next For i = 0 To MyDB.TableDefs.Count - 1 If (MyDB.TableDefs(i).Attributes And dbSystemObject) = 0 Then If MyDB.TableDefs(i).Properties(propName).Value <> propVal Then MyDB.TableDefs(i).Properties(propName).Value = propVal intChangedTables = intChangedTables + 1 End If If Err.Number = 3270 Then Set MyProperty = MyDB.TableDefs(i).CreateProperty(propName) MyProperty.Type = propType MyProperty.Value = propVal MyDB.TableDefs(i).Properties.Append MyProperty Else If Err.Number <> 0 Then MsgBox "Error: " & Err.Number & " on Table " _ & MyDB.TableDefs(i).Name & "." MyDB.Close Exit Function End If End If End If Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 6 10:45:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 08:45:28 -0700 Subject: [AccessD] AXP Question Message-ID: Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Fri Jun 6 10:49:51 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 6 Jun 2003 11:49:51 -0400 Subject: [AccessD] AXP Question Message-ID: <01C32C21.BDCFC900.bob@renaissancesiding.com> I have a local copy of the FE on my PC that I always use for development. Every time that I make changes that are ready to go to production, I copy my version to the server. Each remote PC does not call Access directly, but rather a batch file that copies the server version to the user's PC. This way, they always have the latest production version, and any changes they make are for themselves only. Of course, the sole BE resides on the server. Bob Gajewski On Friday, June 06, 2003 11:32 AM, Wortz, Charles [SMTP:CWortz at tea.state.tx.us] wrote: > Terri, > > One of the good features of A2K and higher is that you no longer can > make design changes while others are in the app. Some may disagree with > this, but it has been a sound development practice since the dark ages > of computing that M$ finally implemented > > I always keep a copy of the current production FE on my PC and develop > my changes on it. When I am ready I then replace the production copy > with the new version. If the users go home at 5PM, then I do the > replace after 5PM. If the users work 24/7, then I have to get them to > sign off for the few minutes it takes to do the replace and then they > can sign on again > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] > Sent: Friday 2003 Jun 06 07:27 > To: accessd at databaseadvisors.com > Subject: [AccessD] AXP Question > > I have upgraded a FE database from A97 to AXP successfully, however, a > major difference that is annoying me is the fact that in a multiuser > environment, I am unable to make changes to the design unless I open > exclusively > > I never had this problem in A97 and now that my users are all getting > upgraded to the AXP FE, I am running across a few areas that need to be > tweaked and can't do it until everyone is out of the db. This is a > shared network FE > > I should probably give everyone their own copy on their desktop, > however, this database has evolved greatly over the past 3 years and has > required many changes. I have always been able to make these changes > while the db was being used by others with no problem. There are about > 20 users - so upgrading everyone's FE would be very tedious > > I know there are some automated programs to do the updating, but one I > had tried took too long and was cumbersome to the user > > Any suggestions or ideas - is there a setting I'm missing that would > allow design changes while in use??? > > Thanks for any help > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From CWortz at tea.state.tx.us Fri Jun 6 10:59:41 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 10:59:41 -0500 Subject: [AccessD] AXP Question Message-ID: As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jim.hale at fleetpride.com Fri Jun 6 10:59:48 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 10:59:48 -0500 Subject: [AccessD] Fast back-end relinking? Message-ID: <869379ABF177D4118D3100508B5EF873063AAFE5@corp-es00> Thank you Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, June 06, 2003 9:49 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? For each table, open it in design view, select its properties and set the Subdatasheet Name property to [None]. There is code in on-line help to loop through the database and turn off all subdatasheets and code has been posted here before and is in the archives. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 6:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Fast back-end relinking? How do you do this? Jim Hale -----Original Message----- From: Jim Dettman [ mailto:jimdettman at earthlink.net ] Sent: Thursday, June 05, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fast back-end relinking? Christopher, The problem is not in the code itself, but what goes on to make it all happen. You can really speed things up by keeping a link open to the BE (just opening the MDB in code is enough) before trying to relink the tables. In fact, this is a good way to speed up a split app in general. When all references go out of scope for a BE, the MDB is closed. When you go to use it again, it's re-opened. This involves a considerable amount of overhead and when the BE is running under NT (which has a poor performing lock manager), the time can be substantial. Also make sure anti-virus scanning is turned off for MDB's on both client and server. In Access, turn off subdatasheets and autocorrect if your not using them. And if the BE is running under NT/Win2K, look at turning off Oplocks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ]On Behalf Of Christopher Hawkins Sent: Thursday, June 05, 2003 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Fast back-end relinking? First off: I have seen (and used) Tribble's Back-End relinker before. That's not what I need in this case. I have inherited an app with some back-end relinking code that is very slow. I've seen programmatic implementations of a table link that linked up very quickly, as quickly as using File > Get External Data > Link Tables. The one I'm dealing with takes many times as long. There is a table in my db called tblTable. It contains the name and path of every table in the database. The table is used in the following code: ***START*** Dim db As DAO.Database Dim tbl As DAO.TableDef Set db = CurrentDb Dim rsData As DAO.Recordset Set rsData = db.OpenRecordset("SELECT * FROM tblTable") rsData.MoveFirst Do Until rsData.EOF = True Set tbl = db.CreateTableDef(rsData("TableName")) Debug.Print "Now attaching " & tbl.Name & "..." tbl.Connect = (";DATABASE=" & rsData("Path")) tbl.SourceTableName = rsData("TableName") db.TableDefs.Append tbl rsData.MoveNext Loop db.Close ***END*** All the lag takes place when running the 'db.TableDefs.append tbl' line. Is there any way to speed this process up? I've seen it done more quickly before, I just didn't get to see the actual code. :( -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 10:59:31 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 10:59:31 -0500 Subject: [AccessD] Query Problem Message-ID: <01cc01c32c44$9eaf6940$6600a8c0@tim> Dear Group, Can anyone tell me what I am doing wrong here? When I run this as a stand alone query, it runs fine but when its in the form as code, I get the error message "Run-time error 3061 Too few parameters. Expected 1" sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ & "qryInvItemWrkSht.worksheet_desc " _ & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set rstWSName = CurDb.OpenRecordset(sqlWSName) TIA, Tim Thiessen From BBarabash at TappeConstruction.com Fri Jun 6 11:10:14 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 6 Jun 2003 11:10:14 -0500 Subject: [AccessD] AXP Question Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DA@TAPPEEXCH01> What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Fri Jun 6 11:22:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 09:22:03 -0700 Subject: [AccessD] AXP Question Message-ID: I work in an environment where there are multiple developers. We use Visual Source Safe, and it is set up to only allow exclusive check out of objects. Each of us creates a database project from source safe on our local machines, checks out the objects we need to change in our vss version and checks them back in when the changes are done. Until we check that form, report or module back in, no one else can change it. Our production versions get pulled out of source safe and distributed. We NEVER work on the production version. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 06, 2003 8:10 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 6 11:51:58 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 11:51:58 -0500 Subject: [AccessD] AXP Question Message-ID: Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From RGeldart at detma.org Fri Jun 6 12:33:00 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Fri, 6 Jun 2003 13:33:00 -0400 Subject: [AccessD] Query Problem Message-ID: Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen From clh at christopherhawkins.com Fri Jun 6 12:53:59 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 11:53:59 -0600 Subject: [AccessD] Tool needed: Create SQL scripts from Access db? Message-ID: <188000-22003656175359644@christopherhawkins.com> Once upon a time, I had a tool that would generate SQL scripts from any Access database. It was home-grown by a colleague three jobs ago. Now that I need it, I no longer have the tool. Anyone have anything similar? I don't need to do the full upsizing wizard, I just need to create scripts for selected tables in an Access2K db. -Christopher- From gustav at cactus.dk Fri Jun 6 13:02:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 6 Jun 2003 20:02:04 +0200 Subject: [AccessD] Tool needed: Create SQL scripts from Access db? In-Reply-To: <188000-22003656175359644@christopherhawkins.com> References: <188000-22003656175359644@christopherhawkins.com> Message-ID: <8044949213.20030606200204@cactus.dk> Hi Christopher Not quite sure what you're after but it could be Dezign: http://www.datanamic.com/products.html /gustav > Once upon a time, I had a tool that would generate SQL scripts from > any Access database. It was home-grown by a colleague three jobs ago. > Now that I need it, I no longer have the tool. > Anyone have anything similar? I don't need to do the full upsizing > wizard, I just need to create scripts for selected tables in an > Access2K db. From jeffrey.demulling at usbank.com Fri Jun 6 13:21:55 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 6 Jun 2003 13:21:55 -0500 Subject: [AccessD] Connecting A2K to SQLBase Message-ID: Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Fri Jun 6 13:01:38 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 22:01:38 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <008801c32c59$6fa54740$b501010a@DAISY.local> > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >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 shamil at smsconsulting.spb.ru Fri Jun 6 13:27:40 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 6 Jun 2003 22:27:40 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <008901c32c59$6fc24520$b501010a@DAISY.local> > I think the Access Developer's Handbook > has a sentence or several on this too. Bob, I've never read ADH for Acc97 and up so I can only guess what it states but I can publicly bet (:)) a box of famous here now after Gustav Brock's promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) that you can do what you need using Public Not Creatable classes - I mean EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one thing you'll have to create AT LEAST one (class factory) class instance using wrapper/helper function/sub from standard module - ALL THE REST can be in your custom classes including public events, which can be raised from them and captured(/sunk) in the the form from your frontend... e.g. you can create in your lib database a custom class Class1 with PublicNotCreatable instancing: Public Event abc() Public Function FireAbc() RaiseEvent abc End Function and a standard module with a wrapper function: Public Function getABC() As Class1 Set getABC = New Class1 End Function and then in your front-end form you can write: Private WithEvents a As Class1 Private Sub Form_Load() Set a = getAbc End Sub Private Sub a_abc() MsgBox "ABC fired" End Sub Private Sub Command0_Click() a.FireAbc End Sub If this isn't what you're looking for then the please clarify in more details what is the task, which you'd like to solve and why PublicNonCreatble instancing isn't enough to solve it. Shamil ----- Original Message ----- From: "Bob Bedell" To: Sent: Friday, June 06, 2003 5:13 PM Subject: Re: [AccessD] Where does WithEvents go? > Hi Shamil, > > Thanks for the thought. My Instancing property is, unfortunately, already > set to PublicNotCreatable. My > calling database can see and call an instance of GetclsInventory fine. The > wrapper function returns an > object with ten fingers and toes. All properties and methods, except the > custom event, work fine. > Here's the wrapper again (just for the sake of pointing out one thing): > > Public Function GetclsInventory() > Dim objInventory As clsInventory > Set GetclsInventory = New clsInventory > End Function > > It seems that in order for GetclsInventory to be able to raise a custom > event, the Dim line here would > have to read: > > Dim WithEvents objInventory As clsInventory > > That, I assume, is where WithEvents would need to go: with the object > declaration. But I can't do that > here because I have the wrapper in a standard code module, and with events > can only be used in form > and class modules. So my options seem to be (none of which I have been able > to make work) to > declare objInventory in either my calling form class somehow (can't come up > with a visible global > variable), or in another class module in the library or calling database, or > in the clsInventory class itself. I > was just hoping someone would say, "Oh sure, wrapper function, goes in class > w in component x. Call it > with y in component z.", or "Sorry, can't raise custom events from an Access > library database.", etc. > >From what little I've been able to read on the subject (I found a whole > paragraph in one of Wrox's > Access books), the wrapper should go in a standard module in the library > database. That, however, rules > out the use of custom events with WithEvents). I think the Access > Developer's Handbook has a > sentence or several on this too. Compiling an ActiveX dll is always another > option. But I wanted to give > the Access library a test drive. > > Thanks again for the reply. > > Bob > > > >From: "Shamil Salakhetdinov" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > >Bob, > > > >You can set your class module's Instancing property to > >'2-PublicNotCreatable' then you can continue to use it the way you used it > >without library - you will just need to get its instance by your > >wrapped/helper function GetclsInventory... > > > >HTH, > >Shamil > > > >----- Original Message ----- > > From: Bob Bedell > > To: accessD at databaseadvisors.com > > Sent: Friday, June 06, 2003 10:21 AM > > Subject: [AccessD] Where does WithEvents go? > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > >sparse. I have a custom class and a form that work fine together. The class > >declares a custom event using Public Event syntax in the general > >declaration and Raise syntax in a method. The calling class (the form) > >declares a private instance of the class using WithEvents and instantiates > >it. No problems. > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > >reference to it in the database that contains the calling form. It's my > >understanding that my calling application can't instantiate the class > >directly, and needs to use a wrapper function. So I added a standard module > >to the calling application that calls a function in the library database > >which returns a copy of the object. The calling database then has a public, > >shared copy of the object to work with. The standard module in the calling > >database is: > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > Public Sub Startup() > > > > ' Get handles to shared objects > > > > Set g_objInventory = GetclsInventory > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > End Sub > > > > > > > > The standard module in the library database (where the class is located) > >is: > > > > > > > > Public Function GetclsInventory() > > > > Dim objInventory As clsInventory > > > > Set GetclsInventory = New clsInventory > > > > End Function > > > > > > > > Here's my problem. Using the library scenario, I can't find any place to > >put my WithEvents statement. The old declaration (before seperating the > >class and the form) was in the forms general declaration: > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > But now (library scenario) the declaration needs to be global, needs to > >include WithEvents, and needs to be in a class or form module (WithEvents > >won't work in a standard module). > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > >Real limited experience with classes/libraries stuff. Thanks to anyone who > >can make heads or tails of that. > > > > > > > > Bob > > > > > > > > > > > >--------------------------------------------------------------------------- --- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Fri Jun 6 13:30:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 6 Jun 2003 11:30:22 -0700 Subject: [AccessD] Where is Charles gone? - OT In-Reply-To: <000701c32c22$82117c00$6a1118ac@D8TZHN0J> Message-ID: Mark asked: > I have not seen any emails from Charles A. Wolfe in the last year or so, > does anyone have any contact details for him? > I sent him an email about two weeks ago but got no response, it may be > retired by now. I have cawolfe at thorin.instanet.com as his address, is that where you wrote? I tried calling but he doesn't have an answering machine. I also tried Mt Sierra but he no longer works there. I'll try to remember to keep calling until I get him. He's no subbed to AccessD anymore, at least not with that address. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From papparuff at attbi.com Fri Jun 6 13:35:02 2003 From: papparuff at attbi.com (John Ruff) Date: Fri, 6 Jun 2003 11:35:02 -0700 Subject: [AccessD] Connecting A2K to SQLBase In-Reply-To: Message-ID: <01e001c32c5a$57f68b80$6401a8c0@papparuff> Try http://www.guptaworldwide.com/tech/product_downloads.asp http://www.guptaworldwide.com/tech/product_downloads.asp (careful about word wrap) and check out the SQLBase Driver Pack. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 jeffrey.demulling at usbank.com Sent: Friday, June 06, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting A2K to SQLBase Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Fri Jun 6 13:37:51 2003 From: papparuff at attbi.com (John Ruff) Date: Fri, 6 Jun 2003 11:37:51 -0700 Subject: [AccessD] Connecting A2K to SQLBase In-Reply-To: Message-ID: <01e501c32c5a$bcadc750$6401a8c0@papparuff> Oops, let's try this again. Go to http://www.guptaworldwide.com/tech/product_downloads.asp and check out the SQLBase Driver Pack. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 jeffrey.demulling at usbank.com Sent: Friday, June 06, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting A2K to SQLBase Does anyone know where I can get the odbc driver to connect A2K to SQLBase? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Fri Jun 6 13:36:47 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 6 Jun 2003 13:36:47 -0500 Subject: [AccessD] Calendar control with events Message-ID: <869379ABF177D4118D3100508B5EF873063AB025@corp-es00> try http://www.dataspherellc.com/ It has worked well for me. HTH Jim Hale -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, June 06, 2003 10:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Calendar control with events Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 14:37:18 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:37:18 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01eb01c32c63$0bd070a0$6600a8c0@tim> Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Fri Jun 6 14:42:22 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Fri, 6 Jun 2003 14:42:22 -0500 Subject: [AccessD] Query Problem In-Reply-To: <01eb01c32c63$0bd070a0$6600a8c0@tim> Message-ID: This is how I write my inline SQL - maybe it will work for you. sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " & _ " qryInvItemWrkSht.worksheet_desc " & _ " FROM qryWrkSht INNER JOIN qryInvItemWrkSht " & _ " ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item" Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tim Thiessen Sent: Friday, June 06, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 6 14:49:05 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 6 Jun 2003 14:49:05 -0500 Subject: [AccessD] Query Problem Message-ID: Tim, I am coming into this late, so I may have missed something. But from the below I do not see any reason why a saved query and a QueryDef would not meet your needs. Did you specify something earlier that did not get copied where you gave a valid reason for not going this way? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Friday 2003 Jun 06 14:37 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run this as a > stand alone query, it runs fine but when its in the form as code, I > get the error message "Run-time error 3061 Too few parameters. > Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set > rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen From JRojas at tnco-inc.com Fri Jun 6 14:55:01 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 6 Jun 2003 15:55:01 -0400 Subject: [AccessD] Calendar control with events Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B16@mercury.tnco-inc.com> Hey Jim, This is exactly what I need! Already bought it! Thanks for the very helpful link! Joe R. -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, June 06, 2003 2:37 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Calendar control with events try http://www.dataspherellc.com/ It has worked well for me. HTH Jim Hale -----Original Message----- From: Joe Rojas [ mailto:JRojas at tnco-inc.com ] Sent: Friday, June 06, 2003 10:13 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Calendar control with events Hi All, I am trying to create a form that will allow a user to specify company holidays. What I envision is a form with a calendar control similar to Outlooks calendar where the holidays (events) are listed right on the calendar itself. Does anyone know of a calendar control that would fit the bill? Thanks all! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at irwin-greenhouses.com Fri Jun 6 14:54:16 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:54:16 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01ec01c32c65$6a630860$6600a8c0@tim> No, there really isn't any reason I can't go with a saved query. I am pretty much a novice in Access and since I have run into this problem before, I was just wondering why this doesn't work. Thanks. Tim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Friday, June 06, 2003 2:49 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Tim, I am coming into this late, so I may have missed something. But from the below I do not see any reason why a saved query and a QueryDef would not meet your needs. Did you specify something earlier that did not get copied where you gave a valid reason for not going this way? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Friday 2003 Jun 06 14:37 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run this as a > stand alone query, it runs fine but when its in the form as code, I > get the error message "Run-time error 3061 Too few parameters. > Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" Set > rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3080 bytes Desc: not available URL: From tim at irwin-greenhouses.com Fri Jun 6 14:55:22 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 6 Jun 2003 14:55:22 -0500 Subject: [AccessD] Query Problem In-Reply-To: Message-ID: <01f001c32c65$9125d2c0$6600a8c0@tim> Jeanine, The line continuation is not a problem. I tried putting on a single line and still get the same error message. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Friday, June 06, 2003 2:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem This is how I write my inline SQL - maybe it will work for you. sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " & _ " qryInvItemWrkSht.worksheet_desc " & _ " FROM qryWrkSht INNER JOIN qryInvItemWrkSht " & _ " ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item" Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tim Thiessen Sent: Friday, June 06, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Query Problem Robert, I tried both of your suggestions but neither worked. I was able to make it work using a saved query and calling a QueryDef but that's not exactly what I wanted to do. Tim Tim, If trying to build an SQL string, you need to concatenate the pieces without the line continuation indicator (_) as in: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " sqlWSName = sqlWSName & "qryInvItemWrkSht.worksheet_desc " sqlWSName = sqlWSName & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " sqlWSName = sqlWSName & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" If trying to show a single statement wrapped, I believe you use the continuation marker, but drop the quotes: sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, _ qryInvItemWrkSht.worksheet_desc _ FROM qryWrkSht INNER JOIN qryInvItemWrkSht _ ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" I think you may want the latter construction. > -----Original Message----- > From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] > Sent: Friday, June 06, 2003 12:00 PM > Subject: [AccessD] Query Problem > > Can anyone tell me what I am doing wrong here? When I run > this as a stand alone query, it runs fine but when its in > the form as code, I get the error message > "Run-time error 3061 Too few parameters. Expected 1" > > sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ > & "qryInvItemWrkSht.worksheet_desc " _ > & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ > & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" > Set rstWSName = CurDb.OpenRecordset(sqlWSName) > > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 15:10:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 16:10:56 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <008901c32c59$6fc24520$b501010a@DAISY.local> Message-ID: Shamil, I don't understand how to sink an sourced from a class in a library without being able to dimension the class specifically as that class type dim withevents SomeCls as MyClass If MyClass is in a lib, then this dim statement doesn't work since MyClass isn't exposed. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, June 06, 2003 2:28 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where does WithEvents go? > I think the Access Developer's Handbook > has a sentence or several on this too. Bob, I've never read ADH for Acc97 and up so I can only guess what it states but I can publicly bet (:)) a box of famous here now after Gustav Brock's promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) that you can do what you need using Public Not Creatable classes - I mean EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one thing you'll have to create AT LEAST one (class factory) class instance using wrapper/helper function/sub from standard module - ALL THE REST can be in your custom classes including public events, which can be raised from them and captured(/sunk) in the the form from your frontend... e.g. you can create in your lib database a custom class Class1 with PublicNotCreatable instancing: Public Event abc() Public Function FireAbc() RaiseEvent abc End Function and a standard module with a wrapper function: Public Function getABC() As Class1 Set getABC = New Class1 End Function and then in your front-end form you can write: Private WithEvents a As Class1 Private Sub Form_Load() Set a = getAbc End Sub Private Sub a_abc() MsgBox "ABC fired" End Sub Private Sub Command0_Click() a.FireAbc End Sub If this isn't what you're looking for then the please clarify in more details what is the task, which you'd like to solve and why PublicNonCreatble instancing isn't enough to solve it. Shamil ----- Original Message ----- From: "Bob Bedell" To: Sent: Friday, June 06, 2003 5:13 PM Subject: Re: [AccessD] Where does WithEvents go? > Hi Shamil, > > Thanks for the thought. My Instancing property is, unfortunately, already > set to PublicNotCreatable. My > calling database can see and call an instance of GetclsInventory fine. The > wrapper function returns an > object with ten fingers and toes. All properties and methods, except the > custom event, work fine. > Here's the wrapper again (just for the sake of pointing out one thing): > > Public Function GetclsInventory() > Dim objInventory As clsInventory > Set GetclsInventory = New clsInventory > End Function > > It seems that in order for GetclsInventory to be able to raise a custom > event, the Dim line here would > have to read: > > Dim WithEvents objInventory As clsInventory > > That, I assume, is where WithEvents would need to go: with the object > declaration. But I can't do that > here because I have the wrapper in a standard code module, and with events > can only be used in form > and class modules. So my options seem to be (none of which I have been able > to make work) to > declare objInventory in either my calling form class somehow (can't come up > with a visible global > variable), or in another class module in the library or calling database, or > in the clsInventory class itself. I > was just hoping someone would say, "Oh sure, wrapper function, goes in class > w in component x. Call it > with y in component z.", or "Sorry, can't raise custom events from an Access > library database.", etc. > >From what little I've been able to read on the subject (I found a whole > paragraph in one of Wrox's > Access books), the wrapper should go in a standard module in the library > database. That, however, rules > out the use of custom events with WithEvents). I think the Access > Developer's Handbook has a > sentence or several on this too. Compiling an ActiveX dll is always another > option. But I wanted to give > the Access library a test drive. > > Thanks again for the reply. > > Bob > > > >From: "Shamil Salakhetdinov" > >Reply-To: accessd at databaseadvisors.com > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > >Bob, > > > >You can set your class module's Instancing property to > >'2-PublicNotCreatable' then you can continue to use it the way you used it > >without library - you will just need to get its instance by your > >wrapped/helper function GetclsInventory... > > > >HTH, > >Shamil > > > >----- Original Message ----- > > From: Bob Bedell > > To: accessD at databaseadvisors.com > > Sent: Friday, June 06, 2003 10:21 AM > > Subject: [AccessD] Where does WithEvents go? > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > >sparse. I have a custom class and a form that work fine together. The class > >declares a custom event using Public Event syntax in the general > >declaration and Raise syntax in a method. The calling class (the form) > >declares a private instance of the class using WithEvents and instantiates > >it. No problems. > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > >reference to it in the database that contains the calling form. It's my > >understanding that my calling application can't instantiate the class > >directly, and needs to use a wrapper function. So I added a standard module > >to the calling application that calls a function in the library database > >which returns a copy of the object. The calling database then has a public, > >shared copy of the object to work with. The standard module in the calling > >database is: > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > Public Sub Startup() > > > > ' Get handles to shared objects > > > > Set g_objInventory = GetclsInventory > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > End Sub > > > > > > > > The standard module in the library database (where the class is located) > >is: > > > > > > > > Public Function GetclsInventory() > > > > Dim objInventory As clsInventory > > > > Set GetclsInventory = New clsInventory > > > > End Function > > > > > > > > Here's my problem. Using the library scenario, I can't find any place to > >put my WithEvents statement. The old declaration (before seperating the > >class and the form) was in the forms general declaration: > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > But now (library scenario) the declaration needs to be global, needs to > >include WithEvents, and needs to be in a class or form module (WithEvents > >won't work in a standard module). > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > >Real limited experience with classes/libraries stuff. Thanks to anyone who > >can make heads or tails of that. > > > > > > > > Bob > > > > > > > > > > > >--------------------------------------------------------------------------- --- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Fri Jun 6 15:28:41 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 6 Jun 2003 15:28:41 -0500 Subject: [AccessD] Default value for control doesn't work Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E0F96F2@bocnte2k4.boc.chevrontexaco.net> I have a form that is based on a table. For one of the text boxes I have the default value set to =Forms![frm Select Date]!selected_month. When form opens text box display #Error. I tried a text box on the same form with no data source and this default value and it works fine. Is something I cannot do or am I doing it wrong. Thanks. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Fri Jun 6 16:38:21 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 6 Jun 2003 15:38:21 -0600 Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Message-ID: <118140-2200365621382119@christopherhawkins.com> Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- From DElam at jenkens.com Fri Jun 6 16:43:19 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 6 Jun 2003 16:43:19 -0500 Subject: [AccessD] Isn't there SOME way to change an mdb back-end whi le users are in it? Message-ID: <4AAC675EBAF3D411BCA200508BCFAA8E02F219BE@NATEXCH1> I have not tried it, but it sounds like your solution may be to get the back end updater. Make your changes to a copy and schedule the update to happen after hours. I wouldn't try to work in it while people are using it. Debbie -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ 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 cfoust at infostatsystems.com Fri Jun 6 16:51:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Jun 2003 14:51:28 -0700 Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are init? Message-ID: You can change data. Design requires an exclusive lock ... Period. SQL Server won't change the Access UI behavior. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are init? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ 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 Jun 6 16:56:53 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 6 Jun 2003 16:56:53 -0500 Subject: [AccessD] Isn't there SOME way to change an mdb back-end whi le users are in it? Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAA@cpixchng-1.cpiqpc.net> You might want to take a look at the Back End Updater at the Database Advisors web site. Developed by some of the fine folks on this list and often praised by the people who have used it. Rusty -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 06, 2003 4:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Isn't there SOME way to change an mdb back-end while users are in it? Augh. I've been away from Access development for so long I've forgotten how frustrating some of these things are. Is there any way to change an .mdb without having exclusive access to it? And without corrupting it? I'm tired of staying after hours to make changes after everyone's out, and so far I have been unsuccessful in getting SQL Server OK'd. Ugh, I say. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Jun 6 17:49:35 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 02:49:35 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <003d01c32c7d$eb0519a0$b501010a@DAISY.local> <<< > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. >>> John, But you can dimension the class specifically as that class type if this custom class's Instancing property is set to PublicNotCreatable. Then you create instance of this class using wrapper/helper function. And you can sink an event of this class declared as public. Instancng is a standard property for custom class modules in MS Access 2000 and XP. Are we talking about different things? Shamil P.S. Unfortunately I don't see Instancing property for Forms' and Reports' modules (am I missing it?) - so maybe ClassExposer Add-In for MS Access2000/XP to expose forms' and reports' modules isn't a totally crazy idea.... ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 12:10 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > I don't understand how to sink an sourced from a class in a library without > being able to dimension the class specifically as that class type > > dim withevents SomeCls as MyClass > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 2:28 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where does WithEvents go? > > > > I think the Access Developer's Handbook > > has a sentence or several on this too. > Bob, > > I've never read ADH for Acc97 and up so I can only guess what it states but > I can publicly bet (:)) a box of famous here now after Gustav Brock's > promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) > that you can do what you need using Public Not Creatable classes - I mean > EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one > thing you'll have to create AT LEAST one (class factory) class instance > using wrapper/helper function/sub from standard module - ALL THE REST can be > in your custom classes including public events, which can be raised from > them and captured(/sunk) in the the form from your frontend... > > e.g. you can create in your lib database a custom class Class1 with > PublicNotCreatable instancing: > > Public Event abc() > > Public Function FireAbc() > RaiseEvent abc > End Function > > and a standard module with a wrapper function: > > Public Function getABC() As Class1 > Set getABC = New Class1 > End Function > > and then in your front-end form you can write: > > Private WithEvents a As Class1 > > Private Sub Form_Load() > Set a = getAbc > End Sub > > > Private Sub a_abc() > MsgBox "ABC fired" > End Sub > > Private Sub Command0_Click() > a.FireAbc > End Sub > > If this isn't what you're looking for then the please clarify in more > details what is the task, which you'd like to solve and why > PublicNonCreatble instancing isn't enough to solve it. > > Shamil > > ----- Original Message ----- > From: "Bob Bedell" > To: > Sent: Friday, June 06, 2003 5:13 PM > Subject: Re: [AccessD] Where does WithEvents go? > > > > Hi Shamil, > > > > Thanks for the thought. My Instancing property is, unfortunately, already > > set to PublicNotCreatable. My > > calling database can see and call an instance of GetclsInventory fine. The > > wrapper function returns an > > object with ten fingers and toes. All properties and methods, except the > > custom event, work fine. > > Here's the wrapper again (just for the sake of pointing out one thing): > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > It seems that in order for GetclsInventory to be able to raise a custom > > event, the Dim line here would > > have to read: > > > > Dim WithEvents objInventory As clsInventory > > > > That, I assume, is where WithEvents would need to go: with the object > > declaration. But I can't do that > > here because I have the wrapper in a standard code module, and with events > > can only be used in form > > and class modules. So my options seem to be (none of which I have been > able > > to make work) to > > declare objInventory in either my calling form class somehow (can't come > up > > with a visible global > > variable), or in another class module in the library or calling database, > or > > in the clsInventory class itself. I > > was just hoping someone would say, "Oh sure, wrapper function, goes in > class > > w in component x. Call it > > with y in component z.", or "Sorry, can't raise custom events from an > Access > > library database.", etc. > > >From what little I've been able to read on the subject (I found a whole > > paragraph in one of Wrox's > > Access books), the wrapper should go in a standard module in the library > > database. That, however, rules > > out the use of custom events with WithEvents). I think the Access > > Developer's Handbook has a > > sentence or several on this too. Compiling an ActiveX dll is always > another > > option. But I wanted to give > > the Access library a test drive. > > > > Thanks again for the reply. > > > > Bob > > > > > > >From: "Shamil Salakhetdinov" > > >Reply-To: accessd at databaseadvisors.com > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Where does WithEvents go? > > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > > > >Bob, > > > > > >You can set your class module's Instancing property to > > >'2-PublicNotCreatable' then you can continue to use it the way you used > it > > >without library - you will just need to get its instance by your > > >wrapped/helper function GetclsInventory... > > > > > >HTH, > > >Shamil > > > > > >----- Original Message ----- > > > From: Bob Bedell > > > To: accessD at databaseadvisors.com > > > Sent: Friday, June 06, 2003 10:21 AM > > > Subject: [AccessD] Where does WithEvents go? > > > > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > > >sparse. I have a custom class and a form that work fine together. The > class > > >declares a custom event using Public Event syntax in the general > > >declaration and Raise syntax in a method. The calling class (the form) > > >declares a private instance of the class using WithEvents and > instantiates > > >it. No problems. > > > > > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > > >reference to it in the database that contains the calling form. It's my > > >understanding that my calling application can't instantiate the class > > >directly, and needs to use a wrapper function. So I added a standard > module > > >to the calling application that calls a function in the library database > > >which returns a copy of the object. The calling database then has a > public, > > >shared copy of the object to work with. The standard module in the > calling > > >database is: > > > > > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > > > > > Public Sub Startup() > > > > > > ' Get handles to shared objects > > > > > > Set g_objInventory = GetclsInventory > > > > > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > > > End Sub > > > > > > > > > > > > The standard module in the library database (where the class is > located) > > >is: > > > > > > > > > > > > Public Function GetclsInventory() > > > > > > Dim objInventory As clsInventory > > > > > > Set GetclsInventory = New clsInventory > > > > > > End Function > > > > > > > > > > > > Here's my problem. Using the library scenario, I can't find any place > to > > >put my WithEvents statement. The old declaration (before seperating the > > >class and the form) was in the forms general declaration: > > > > > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > > > > > But now (library scenario) the declaration needs to be global, needs > to > > >include WithEvents, and needs to be in a class or form module (WithEvents > > >won't work in a standard module). > > > > > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss here. > > >Real limited experience with classes/libraries stuff. Thanks to anyone > who > > >can make heads or tails of that. > > > > > > > > > > > > Bob > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------------- > --- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 6 18:14:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 6 Jun 2003 19:14:42 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <003d01c32c7d$eb0519a0$b501010a@DAISY.local> Message-ID: Shamil, None of the properties that are exposed when the class is exported to a text file is visible from within Access. What I don't quite understand is why you wouldn't simply set both of the properties I discussed to true and directly see the classes from any database referencing the library. Doing this allows seeing all of the class properties, functions etc, as well as directly dimensioning a class variable. What does the wrapper buy you? It seems like extra work, an extra layer that things have to go through, as well as an extra layer that I have to write (the helper function). We don't do that with the libs that MS publishes do we? And yes, the ClassExposer add-in would be nice. It appears that the object on your site is compiled - I can't open or convert it in A2K. I could certainly write my own if I need to. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, June 06, 2003 6:50 PM To: AccessD Subject: Re: [AccessD] Where does WithEvents go? <<< > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. >>> John, But you can dimension the class specifically as that class type if this custom class's Instancing property is set to PublicNotCreatable. Then you create instance of this class using wrapper/helper function. And you can sink an event of this class declared as public. Instancng is a standard property for custom class modules in MS Access 2000 and XP. Are we talking about different things? Shamil P.S. Unfortunately I don't see Instancing property for Forms' and Reports' modules (am I missing it?) - so maybe ClassExposer Add-In for MS Access2000/XP to expose forms' and reports' modules isn't a totally crazy idea.... ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 12:10 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > I don't understand how to sink an sourced from a class in a library without > being able to dimension the class specifically as that class type > > dim withevents SomeCls as MyClass > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > isn't exposed. > > John W. Colby > www.colbyconsulting.com From artful at rogers.com Fri Jun 6 19:54:07 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 6 Jun 2003 20:54:07 -0400 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <68120-2200364517326333@christopherhawkins.com> Message-ID: <061d01c32c8f$4cda0d50$8e01a8c0@Rock> You can do D&D in Access, although it's difficult. I've got some code that lets me D&D in a treeview (i.e. move an employee from Dept X to Dept Y). It was a nightmare to figure out and then a night to write. I don't have anything truly portable yet; each new instance I have to rethink from the ground up. It's the conceptual stuff that's hard, and denying the illegal moves (can't drop a department on an employee, nor an employee on an employee, nor an employee on her current department). Once you get the code to allow D&D you find yourself writing against all the exceptions. Nine out of ten possible moves are illegal; the other is permitted. Makes you wish for a Java / .NET style Try / Catch construct in Access, but I suspect it isn't in the cards. On Error just isn't the same :-) D&D can be very useful, in Access as in other languages. But at the Explorer level, for example, the exceptions are few (can't drop a folder on itself, can't drop a file on a file unless it's an archive file, &c). But in the higher level apps, order entry say, the rules are much more complex. I did a D&D a while back that lets the user select compoenents and from them create new assemblies. Any given component might be an assembly, except of course itself. The D&D code IMO is trivial compared to the conceptual (you can do this, but not that or the other thing) part. If you want an example of the raw D&D code I can supply same, but I stress that this is only the raw arithmetic. The logic you must define and then write yourself, and there is no (IMO) general solution for this. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: June 5, 2003 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Drag and Drop with Access Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that drag n' drop could be useful in Access. Once again, the shortcomings of non-inflected text communication rears it's ugly head! ;) -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] A2K: Drag and Drop with Access Date: Thu, 5 Jun 2003 09:08:21 -0700 >I wasn't saying it couldn't be useful, but if you don't know the >purpose >of the action, the suggestions are likely to be off target. If you >need >a hammer, it doesn't help if some hands you a nail! > >Charlotte Foust > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, June 05, 2003 7:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > >Drag and drop could be very useful, Charlotte. As useful as in any >other application. > >For example, I worked for a company that had a variable compensation >product. If we could have allowed the users to assign people or >department to different compensation plans by dragging and dropping the >person or group's name over to a folder (or something) for the >appropriate plan, everyone would have been ecstatic. > >Just one instance where I can see it would be useful. > >Sadly, we never pulled it off. > >I worked for another company that managed to hack out a fair >drag-n-drop >in an Access 2000 app, but I never got to look at the code. > >-Christopher- > >---- Original Message ---- >From: cfoust at infostatsystems.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] A2K: Drag and Drop with Access >Date: Thu, 5 Jun 2003 08:24:48 -0700 > >>Where are you going with this? What purpose is being served by the >>drag and drop? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Darren DICK [mailto:d.dick at uws.edu.au] >>Sent: Wednesday, June 04, 2003 8:59 PM >>To: AccessD List >>Subject: [AccessD] A2K: Drag and Drop with Access >> >> >>Hi All >>Anyone have any success with dragging and dropping of controls onto >>Access forms? Eg I have an Image control displaying an image and >say >>it's in the top left corner of the form. I want to 'click' onto the >>image control and 'drag' it to say... the bottom left corner of the >>form. >> >>I have found heaps of samples for VB but they use VB only events >etc, >>that I can't replicate or fudge in Access. >> >>Any suggestions?? >> >>Many thanks in advance >> >>Darren >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Jun 6 19:58:04 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 6 Jun 2003 19:58:04 -0500 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <000001c32c8f$dab471b0$de1811d8@DanWaters> Terri, Based on experience I can recommend a free utility (Auto FE Updater) which can be downloaded from this web site. http://www.granite.ab.ca/access/autofe.htm You can use this to both initially distribute a FE to user's PCs, and to update each FE after you have made changes to the FE. The updating operation is mostly transparent to the user, and they don't need to take any action. For the initial loading of the FE at user's PCs, send all the users an email with the shortcut (described in the documentation) as an attachment. Instruct the user in the email to copy the attachment to their PC, then double-click the shortcut. From that point on, the users double-click the same shortcut to open the current FE or to download an updated FE. Good Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 6:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Jun 6 20:33:02 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 6 Jun 2003 21:33:02 -0400 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: Message-ID: <062001c32c94$bcd0d350$8e01a8c0@Rock> At first blush, the first thing I see wrong is this: & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ Should be & "WHERE (((tblCustomers.CustomerName) Like "%" + " _ & strInput & " + %)) " _ But there are problems with this too. The % wildcard assumes a SQL back end. You might want to push this out into a Const and even a compiler directive, for maximum portability. More importantly, when I see code like this I wonder why. My take on Access is as follows: 1. Write code only when necessary. Take advantage of built-in tech whenever possible. 2. Write SQL rather than VBA whenever possible. >From this I conclude that dynamic SQL constructions are almost always the wrong approach. You could instead create a static function that returns your LIKE contents and save a query that references said static function. (If you are unacquainted with static functions, search the message base for same.) Rather than construct the SQL as you show in your code, save that to a named query that invokes the static function you need (let's say for example that it is CurrentEmployee()). The query calls the function and shows you the three rows belonging to the current employee. Given that, all you need to do in code is reset the current employee. IMO a much more elegant solution than rebuilding the SQL statement every time. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From ad_tp at hotmail.com Sat Jun 7 00:02:23 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sat, 7 Jun 2003 10:32:23 +0530 Subject: [AccessD] Where does WithEvents go? References: <008801c32c59$6fa54740$b501010a@DAISY.local> Message-ID: Shamil, Could you kindly send me a copy of the version suitable for Access 2002 (as & when ready). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, June 06, 2003 23:31 Subject: Re: [AccessD] Where does WithEvents go? > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >John W. Colby > >www.colbyconsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sat Jun 7 02:53:24 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 7 Jun 2003 17:53:24 +1000 Subject: [AccessD] Like Operator SQL Syntax In-Reply-To: <062001c32c94$bcd0d350$8e01a8c0@Rock> Message-ID: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Arthur, Nice take on why you would go about coding issue utilising Access. The thing is that as most people you get comfortable in how you do certain things that have worked for you over time. I would really like to see some of these static functions you talk about. Where is the message base you discuss? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, 7 June 2003 11:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Like Operator SQL Syntax At first blush, the first thing I see wrong is this: & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ Should be & "WHERE (((tblCustomers.CustomerName) Like "%" + " _ & strInput & " + %)) " _ But there are problems with this too. The % wildcard assumes a SQL back end. You might want to push this out into a Const and even a compiler directive, for maximum portability. More importantly, when I see code like this I wonder why. My take on Access is as follows: 1. Write code only when necessary. Take advantage of built-in tech whenever possible. 2. Write SQL rather than VBA whenever possible. >From this I conclude that dynamic SQL constructions are almost always the wrong approach. You could instead create a static function that returns your LIKE contents and save a query that references said static function. (If you are unacquainted with static functions, search the message base for same.) Rather than construct the SQL as you show in your code, save that to a named query that invokes the static function you need (let's say for example that it is CurrentEmployee()). The query calls the function and shows you the three rows belonging to the current employee. Given that, all you need to do in code is reset the current employee. IMO a much more elegant solution than rebuilding the SQL statement every time. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, June 05, 2003 7:56 AM To: access group Subject: [AccessD] Like Operator SQL Syntax Hi People, Can anyone tell me what wrong with the following syntax: strSQL = "SELECT tblCustomers.CustomerID, " _ & "[tblCustomers]![CustomerNumber] & '-' & [tblCustomers]![CustomerSite] " _ & "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & ' ' & " _ & "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' ' & " _ & "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM tblCustomers " _ & "WHERE (((tblCustomers.CustomerName) Like % + " _ & strInput & " + %)) " _ & "ORDER BY tblCustomers.CustomerName;" I am creating an ADO recordset and obviously ADO use % as the wild card and not * so I am not sure where the issue currently is... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sat Jun 7 05:06:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 14:06:00 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <002301c32cdc$684b04c0$b501010a@DAISY.local> <<< > None of the properties that are exposed when > the class is exported to a text > file is visible from within Access. >>> John, Please have a look here/dowload: http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I follow the principle that "one good picture is better that thousand words" - and this good IMO picture referenced above shows that VB_Exposed property of MS Access 2000/XP/... VBA modules can be set from within MS Access... > why you wouldn't simply set both of > the properties I discussed to true This is not standard functionality and I can't recommend that because MS can well close this "backdoor" in the future - then all your coding will have to be changed. VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with wrapper class factory functions, subs, custom classes... In general I don't like to use New keyword with custom classes here and there because as I said this makes the coding unorganized - when you've a special class factory code then you can control custom classes' instances creation in the sense that you can concentrate all this code in one-two modules etc. There is also a technical reason of avoiding to use Dim obj as New MyClass This code above AFAIK uses 'just in time custom class instance creation (JITCCIC)' technique - and therefore it may generate a lot of additional support code on compilation... Dim obj as MyClass set obj=new MyClass shouldn't use JITCCIC but to avoid temptation of using shorter code Dim obj as New MyClass I don't use it too :) - speaking seriously: Dim obj as MyClass set obj = MyClassFactoryCreateObject("MyClass") IMO gives a developer much more freedom for future extensions and safety... E.g. using this approach you can well make your class MyClass an Interface Definition Class in the future WITHOUT breaking any of your functionality - etc... Well, all that are my preferences and of course they can be argued... - this message isn't an invitation to such a discussion - I made my choice several years ago :) > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? Yes, some more work but without breaking "MS fences" - they didn't give us an opportunity to set VB_Creatable = True from within VBA editor - in the future they may well introduce this functionality as standard or drop it completely by closing "backdoor" of exporting/manually setting VB_Creatable=True/importing back custom class module. And I don't think they can drop standard (MS Access 2000, 2002,...) functionality of VB_Exposed=true - then they will break versions compatibility... Yes, MS allows to use New with their libraries but they use C++ or VB to write these libraries , where this is a STANDARD (COM-)functionality when these libraries expose their CREATABLE public objects... > > And yes, the ClassExposer add-in would be nice. I will try to make conversion in the near future - it wasn't straightforward "convert to Acc2000" when I tried to make it first time in the past.. And then I also found that MS Acces 2000 has setting VB_Exposed as standard functionality... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 3:14 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > None of the properties that are exposed when the class is exported to a text > file is visible from within Access. What I don't quite understand is why > you wouldn't simply set both of the properties I discussed to true and > directly see the classes from any database referencing the library. Doing > this allows seeing all of the class properties, functions etc, as well as > directly dimensioning a class variable. > > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? > > And yes, the ClassExposer add-in would be nice. It appears that the object > on your site is compiled - I can't open or convert it in A2K. I could > certainly write my own if I need to. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 6:50 PM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > >>> > John, > > But you can dimension the class specifically as that class type if this > custom class's Instancing property is set to PublicNotCreatable. Then you > create instance of this class using wrapper/helper function. And you can > sink an event of this class declared as public. > > Instancng is a standard property for custom class modules in MS Access 2000 > and XP. > > Are we talking about different things? > > Shamil > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > idea.... > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 12:10 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > I don't understand how to sink an sourced from a class in a library > without > > being able to dimension the class specifically as that class type > > > > dim withevents SomeCls as MyClass > > > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > > > > 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 shamil at smsconsulting.spb.ru Sat Jun 7 05:10:00 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 14:10:00 +0400 Subject: [AccessD] Where does WithEvents go? References: <008801c32c59$6fa54740$b501010a@DAISY.local> Message-ID: <005501c32cdd$05847ff0$b501010a@DAISY.local> OK, I will make it published for download from my Web-site - just give me one week to finish an urgent project here... Shamil ----- Original Message ----- From: A.D.Tejpal To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 9:02 AM Subject: Re: [AccessD] Where does WithEvents go? Shamil, Could you kindly send me a copy of the version suitable for Access 2002 (as & when ready). Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Shamil Salakhetdinov To: accessd at databaseadvisors.com Sent: Friday, June 06, 2003 23:31 Subject: Re: [AccessD] Where does WithEvents go? > Just as an aside, I now routinely go through > this process so that each and every class is exposed. John, Do you do that manually of you've an add-in? I've a ClassExposer Add-In for MS Access 97: http://smsconsulting.spb.ru/shamil_s/articles/cexposer.htm If you and/or other developers from this group need something like that for MS Access 2000/XP I think I can make a conversion. On the other hand I'd strictly recommend TO NOT use exposed CREATABLE classes/forms/reports - and use wrapper/helper/class factory code to create custom classes' instances - IMO using class factories makes your coding more organized and easier to debug... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Friday, June 06, 2003 6:13 PM Subject: RE: [AccessD] Where does WithEvents go? > LOL. I think the man is happy! > > You're welcome! > > Just as an aside, I now routinely go through this process so that each and > every class is exposed. > > BTW, I learned about this from using an FTP class from Dev Ashish and Terry > Kreft. It came in a lib, and worked just fine. I tried to move it into my > framework lib and it no longer worked. Of course I had simply imported it. > The process of importing a class apparently resets those two attributes back > to False (Thanks Microsoft for protecting us children). It took several > days of research and asking (this list I believe, Shamil provided the answer > IIRC) to get the solution I passed on to you. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Bedell > Sent: Friday, June 06, 2003 10:02 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Where does WithEvents go? > > > Outstanding! Phenonmenal! This is great! Think of the endless possibilities! > > Oh, it worked... > > That's great John. clsInventory is now "creatably" exposed to my event sink > app, with custom events firing and all. Thanks for adding several productive > years to my life. > > Bob > > > >From: "John Colby" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: RE: [AccessD] Where does WithEvents go? > >Date: Fri, 6 Jun 2003 08:56:25 -0400 > > > >Bob, > > > >Classes built directly in a library database are not visible outside of the > >library in VBA. No Se Por Que. I guess that since Microsoft considers VBA > >developers to be children, giving us such powers is considered dangerous - > >kinda like playing with knives or matches I suppose. At any rate, it > >absolutely is possible to get your classes exposed such that they can be > >seen and used outside of the library. > > > >The easiest way to do this is to: > > > >1) Export the class to a text file. > >2) Open the class module with a text editor > >3) Look for two attributes at the top of the module. Change Creatable and > >Exposed to True. > >4) Save the class and close the text file. > >5) In your library, click Insert / Class module > >6) In the editor window that opens, click Insert / File. Navigate to and > >select the txt file that you saved the class in. This will cause Access to > >pull in the contents of whatever file you selected and insert it in your > >class. In this case it is the contents of the modified class. > >7) At the top of the class you will see something like: > > > >Option Compare Database > >Option Explicit > > > >VERSION 1.0 CLASS > >BEGIN > > MultiUse = -1 'True > >End > >Option Compare Database > >Option Explicit > > > >Select and delete everything from the first Option down through the End. > > > >8) Compile and save the class > > > >The class will now be visible from any database that references your > >library. > >John W. Colby > >www.colbyconsulting.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sat Jun 7 06:04:52 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 15:04:52 +0400 Subject: [AccessD] Where does WithEvents go? References: <002301c32cdc$684b04c0$b501010a@DAISY.local> Message-ID: <000c01c32ce4$a123f600$b501010a@DAISY.local> > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I uploaded another picture with the same URL: http://smsconsulting.spb.ru/samples/exposed.jpg and it has more details on subj and it's now 202 984 bytes in size. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Saturday, June 07, 2003 2:06 PM Subject: Re: [AccessD] Where does WithEvents go? > <<< > > None of the properties that are exposed when > > the class is exported to a text > > file is visible from within Access. > >>> > John, > > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) > I follow the principle that "one good picture is better that thousand > words" - and this good IMO picture referenced above shows that VB_Exposed > property of MS Access 2000/XP/... VBA modules can be set from within MS > Access... > > > why you wouldn't simply set both of > > the properties I discussed to true > This is not standard functionality and I can't recommend that because MS can > well close this "backdoor" in the future - then all your coding will have to > be changed. > VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with > wrapper class factory functions, subs, custom classes... > > In general I don't like to use New keyword with custom classes here and > there because as I said this makes the coding unorganized - when you've a > special class factory code then you can control custom classes' instances > creation in the sense that you can concentrate all this code in one-two > modules etc. > > There is also a technical reason of avoiding to use > > Dim obj as New MyClass > > This code above AFAIK uses 'just in time custom class instance creation > (JITCCIC)' technique - and therefore it may generate a lot of additional > support code on compilation... > > Dim obj as MyClass > set obj=new MyClass > > shouldn't use JITCCIC but to avoid temptation of using shorter code > > Dim obj as New MyClass > > I don't use it too :) - speaking seriously: > > Dim obj as MyClass > set obj = MyClassFactoryCreateObject("MyClass") > > IMO gives a developer much more freedom for future extensions and safety... > E.g. using this approach you can well make your class MyClass an Interface > Definition Class in the future WITHOUT breaking any of your functionality - > etc... > > Well, all that are my preferences and of course they can be argued... - this > message isn't an invitation to such a discussion - I made my choice several > years ago :) > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > Yes, some more work but without breaking "MS fences" - they didn't give us > an opportunity to set VB_Creatable = True from within VBA editor - in the > future they may well introduce this functionality as standard or drop it > completely by closing "backdoor" of exporting/manually setting > VB_Creatable=True/importing back custom class module. And I don't think > they can drop standard (MS Access 2000, 2002,...) functionality of > VB_Exposed=true - then they will break versions compatibility... > Yes, MS allows to use New with their libraries but they use C++ or VB to > write these libraries , where this is a STANDARD (COM-)functionality > when these libraries expose their CREATABLE public objects... > > > > And yes, the ClassExposer add-in would be nice. > I will try to make conversion in the near future - it wasn't straightforward > "convert to Acc2000" when I tried to make it first time in the past.. > And then I also found that MS Acces 2000 has setting VB_Exposed as > standard functionality... > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 3:14 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > None of the properties that are exposed when the class is exported to a > text > > file is visible from within Access. What I don't quite understand is why > > you wouldn't simply set both of the properties I discussed to true and > > directly see the classes from any database referencing the library. Doing > > this allows seeing all of the class properties, functions etc, as well as > > directly dimensioning a class variable. > > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > > > > And yes, the ClassExposer add-in would be nice. It appears that the > object > > on your site is compiled - I can't open or convert it in A2K. I could > > certainly write my own if I need to. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, June 06, 2003 6:50 PM > > To: AccessD > > Subject: Re: [AccessD] Where does WithEvents go? > > > > > > <<< > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > >>> > > John, > > > > But you can dimension the class specifically as that class type if this > > custom class's Instancing property is set to PublicNotCreatable. Then you > > create instance of this class using wrapper/helper function. And you can > > sink an event of this class declared as public. > > > > Instancng is a standard property for custom class modules in MS Access > 2000 > > and XP. > > > > Are we talking about different things? > > > > Shamil > > > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > > idea.... > > > > ----- Original Message ----- > > From: "John Colby" > > To: > > Sent: Saturday, June 07, 2003 12:10 AM > > Subject: RE: [AccessD] Where does WithEvents go? > > > > > > > Shamil, > > > > > > I don't understand how to sink an sourced from a class in a library > > without > > > being able to dimension the class specifically as that class type > > > > > > dim withevents SomeCls as MyClass > > > > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Jun 7 09:28:03 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Jun 2003 07:28:03 -0700 Subject: [AccessD] Office XP MOD/Access 2002 runtime can't install on Windows 2003 Server References: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <3EE1F673.9080005@shaw.ca> Just something I came across, in case anyone has stumbled across this in the Win 2003 Server Beta. There is supposed to be a MS fix real soon now. http://www.granite.ab.ca/access/officespruntimewindows2003server.htm From jcolby at colbyconsulting.com Sat Jun 7 09:28:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 7 Jun 2003 10:28:11 -0400 Subject: [AccessD] Where does WithEvents go? In-Reply-To: <002301c32cdc$684b04c0$b501010a@DAISY.local> Message-ID: OK, I understand what you are up to. I suppose it is in fact easier to use a class factory than to go through the agony of the export / import, since with the one property exposed inside Access, the process of instantiating the class is all that is left. The exposed property allows the use of the Intellisense functionality. I doubt seriously that I will go to the trouble of re-coding all of my programs, but I may very well use this method in the future. I must say the argument of "breaking fences" and so forth don't mean much to me. This has been possible since A97 and continues through XP so it seems like MS is content to leave things the way they are. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Saturday, June 07, 2003 6:06 AM To: AccessD Subject: Re: [AccessD] Where does WithEvents go? <<< > None of the properties that are exposed when > the class is exported to a text > file is visible from within Access. >>> John, Please have a look here/dowload: http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) I follow the principle that "one good picture is better that thousand words" - and this good IMO picture referenced above shows that VB_Exposed property of MS Access 2000/XP/... VBA modules can be set from within MS Access... > why you wouldn't simply set both of > the properties I discussed to true This is not standard functionality and I can't recommend that because MS can well close this "backdoor" in the future - then all your coding will have to be changed. VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with wrapper class factory functions, subs, custom classes... In general I don't like to use New keyword with custom classes here and there because as I said this makes the coding unorganized - when you've a special class factory code then you can control custom classes' instances creation in the sense that you can concentrate all this code in one-two modules etc. There is also a technical reason of avoiding to use Dim obj as New MyClass This code above AFAIK uses 'just in time custom class instance creation (JITCCIC)' technique - and therefore it may generate a lot of additional support code on compilation... Dim obj as MyClass set obj=new MyClass shouldn't use JITCCIC but to avoid temptation of using shorter code Dim obj as New MyClass I don't use it too :) - speaking seriously: Dim obj as MyClass set obj = MyClassFactoryCreateObject("MyClass") IMO gives a developer much more freedom for future extensions and safety... E.g. using this approach you can well make your class MyClass an Interface Definition Class in the future WITHOUT breaking any of your functionality - etc... Well, all that are my preferences and of course they can be argued... - this message isn't an invitation to such a discussion - I made my choice several years ago :) > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? Yes, some more work but without breaking "MS fences" - they didn't give us an opportunity to set VB_Creatable = True from within VBA editor - in the future they may well introduce this functionality as standard or drop it completely by closing "backdoor" of exporting/manually setting VB_Creatable=True/importing back custom class module. And I don't think they can drop standard (MS Access 2000, 2002,...) functionality of VB_Exposed=true - then they will break versions compatibility... Yes, MS allows to use New with their libraries but they use C++ or VB to write these libraries , where this is a STANDARD (COM-)functionality when these libraries expose their CREATABLE public objects... > > And yes, the ClassExposer add-in would be nice. I will try to make conversion in the near future - it wasn't straightforward "convert to Acc2000" when I tried to make it first time in the past.. And then I also found that MS Acces 2000 has setting VB_Exposed as standard functionality... Shamil ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 3:14 AM Subject: RE: [AccessD] Where does WithEvents go? > Shamil, > > None of the properties that are exposed when the class is exported to a text > file is visible from within Access. What I don't quite understand is why > you wouldn't simply set both of the properties I discussed to true and > directly see the classes from any database referencing the library. Doing > this allows seeing all of the class properties, functions etc, as well as > directly dimensioning a class variable. > > What does the wrapper buy you? It seems like extra work, an extra layer > that things have to go through, as well as an extra layer that I have to > write (the helper function). We don't do that with the libs that MS > publishes do we? > > And yes, the ClassExposer add-in would be nice. It appears that the object > on your site is compiled - I can't open or convert it in A2K. I could > certainly write my own if I need to. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Friday, June 06, 2003 6:50 PM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > >>> > John, > > But you can dimension the class specifically as that class type if this > custom class's Instancing property is set to PublicNotCreatable. Then you > create instance of this class using wrapper/helper function. And you can > sink an event of this class declared as public. > > Instancng is a standard property for custom class modules in MS Access 2000 > and XP. > > Are we talking about different things? > > Shamil > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > idea.... > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 12:10 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > I don't understand how to sink an sourced from a class in a library > without > > being able to dimension the class specifically as that class type > > > > dim withevents SomeCls as MyClass > > > > If MyClass is in a lib, then this dim statement doesn't work since MyClass > > isn't exposed. > > > > John W. Colby > > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Jun 7 09:53:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 7 Jun 2003 16:53:12 +0200 Subject: [AccessD] Query Problem In-Reply-To: <01eb01c32c63$0bd070a0$6600a8c0@tim> References: <01eb01c32c63$0bd070a0$6600a8c0@tim> Message-ID: <1468402211.20030607165312@cactus.dk> Hi Tim >> Can anyone tell me what I am doing wrong here? When I run >> this as a stand alone query, it runs fine but when its in >> the form as code, I get the error message >> "Run-time error 3061 Too few parameters. Expected 1" >> >> sqlWSName = "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ >> & "qryInvItemWrkSht.worksheet_desc " _ >> & "FROM qryWrkSht INNER JOIN qryInvItemWrkSht " _ >> & "ON qryWrkSht.[Item Number] = qryInvItemWrkSht.Item;" >> Set rstWSName = CurDb.OpenRecordset(sqlWSName) Probably, in one of the queries you select from, there is a reference to a form, like [Forms].[frmForm].[txtControl]. Avoid this or - if that's not possible - use Eval to set the value of the parameter: Set qry = CurDb.QueryDefs() qry.SQL = sqlWSName qry.Parameters(0).Value = Eval(qry.Parameters(0).Name) Set rstWSName = qry.OpenRecordset(sqlWSName) ... You may need to spell out the parameter explicitly. Like this example: sqlWSName = "PARAMETERS [Forms].[frmForm].[txtControl] Short; " _ & "SELECT DISTINCT qryInvItemWrkSht.worksheet, " _ ... /gustav From shamil at smsconsulting.spb.ru Sat Jun 7 13:28:30 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 7 Jun 2003 22:28:30 +0400 Subject: [AccessD] Where does WithEvents go? References: Message-ID: <000901c32d22$9afb6310$b501010a@DAISY.local> > I doubt seriously that I will go to the trouble > of re-coding all of my programs... I doubt you will not, John :) - well, I'm a kind of kidding, sorry - of course this is your right and your choice to keep unchanged what you've done already if it works well and if you follow the principle "don't fix it to not break it"... ...but knowing you I'd bet you'll change some of your code when you'll get familiar with a new(?) programming paradigm, which is very popular now and which uses a Service(read: Object Interface) not Object concept as a key concept of the modern programming methods/technologies/industry... ...all that Web Services etc. - have you heard already this buzz around you?... ...Service-Oriented Programming Paradigm (lets call it SOPP) is a kind of OOP but it is far from being a classical OOP and it (SOPP) promises a lot in scaling, reusability, easier installation(zero administration) etc.etc. - and these are justified promises AFAIK... ...with SOPP you don't care(/you're just forbidden to care by this paradigm) about creating external objects(/services) in YOUR program - so there is no need in the New keyword to create/get services/objects from outside(even from currently local code library if this library may well be endlessly upscaled in the future)... ...armed with SOPP you just call for, get and use Object Services - and this isn't your task to create them in your program.... ...and SOPP is a modern extension/development of well-known (e.g. COM) "Programming Against Interfaces Paradigm" (PAIP) - when one is programming against interfaces they don't need public creatable classes - and programming against interfaces is a very powerful paradigm with a lot of consequences and applications... ...so IMO MS takes care about us MS Access VBA developers by not allowing to have creatable custom classes in library databases by thus pushing/forcing us to follow the best of the modern programming paradigms/methodologies and to not waste our time on obsolete ones... ...of course one can just write class factory wrapper functions and don't learn and don't follow SOPP and PAIP - they risk to rewrite some(/a lot?) of their existing code in the future... I hope this above doesn't look like an empty soap-boxing and hoaxing, I just wanted to provoke you, John, to investigate in more details very promising SOPP and PAIP, Yours, Shamil :) ----- Original Message ----- From: "John Colby" To: Sent: Saturday, June 07, 2003 6:28 PM Subject: RE: [AccessD] Where does WithEvents go? > OK, I understand what you are up to. I suppose it is in fact easier to use > a class factory than to go through the agony of the export / import, since > with the one property exposed inside Access, the process of instantiating > the class is all that is left. The exposed property allows the use of the > Intellisense functionality. > > I doubt seriously that I will go to the trouble of re-coding all of my > programs, but I may very well use this method in the future. I must say the > argument of "breaking fences" and so forth don't mean much to me. This has > been possible since A97 and continues through XP so it seems like MS is > content to leave things the way they are. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, June 07, 2003 6:06 AM > To: AccessD > Subject: Re: [AccessD] Where does WithEvents go? > > > <<< > > None of the properties that are exposed when > > the class is exported to a text > > file is visible from within Access. > >>> > John, > > Please have a look here/dowload: > http://smsconsulting.spb.ru/samples/exposed.jpg (137 244 bytes) > I follow the principle that "one good picture is better that thousand > words" - and this good IMO picture referenced above shows that VB_Exposed > property of MS Access 2000/XP/... VBA modules can be set from within MS > Access... > > > why you wouldn't simply set both of > > the properties I discussed to true > This is not standard functionality and I can't recommend that because MS can > well close this "backdoor" in the future - then all your coding will have to > be changed. > VB_Exposed is standard for MS Access 2000 and up - so it is safe to use with > wrapper class factory functions, subs, custom classes... > > In general I don't like to use New keyword with custom classes here and > there because as I said this makes the coding unorganized - when you've a > special class factory code then you can control custom classes' instances > creation in the sense that you can concentrate all this code in one-two > modules etc. > > There is also a technical reason of avoiding to use > > Dim obj as New MyClass > > This code above AFAIK uses 'just in time custom class instance creation > (JITCCIC)' technique - and therefore it may generate a lot of additional > support code on compilation... > > Dim obj as MyClass > set obj=new MyClass > > shouldn't use JITCCIC but to avoid temptation of using shorter code > > Dim obj as New MyClass > > I don't use it too :) - speaking seriously: > > Dim obj as MyClass > set obj = MyClassFactoryCreateObject("MyClass") > > IMO gives a developer much more freedom for future extensions and safety... > E.g. using this approach you can well make your class MyClass an Interface > Definition Class in the future WITHOUT breaking any of your functionality - > etc... > > Well, all that are my preferences and of course they can be argued... - this > message isn't an invitation to such a discussion - I made my choice several > years ago :) > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > Yes, some more work but without breaking "MS fences" - they didn't give us > an opportunity to set VB_Creatable = True from within VBA editor - in the > future they may well introduce this functionality as standard or drop it > completely by closing "backdoor" of exporting/manually setting > VB_Creatable=True/importing back custom class module. And I don't think > they can drop standard (MS Access 2000, 2002,...) functionality of > VB_Exposed=true - then they will break versions compatibility... > Yes, MS allows to use New with their libraries but they use C++ or VB to > write these libraries , where this is a STANDARD (COM-)functionality > when these libraries expose their CREATABLE public objects... > > > > And yes, the ClassExposer add-in would be nice. > I will try to make conversion in the near future - it wasn't straightforward > "convert to Acc2000" when I tried to make it first time in the past.. > And then I also found that MS Acces 2000 has setting VB_Exposed as > standard functionality... > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: > Sent: Saturday, June 07, 2003 3:14 AM > Subject: RE: [AccessD] Where does WithEvents go? > > > > Shamil, > > > > None of the properties that are exposed when the class is exported to a > text > > file is visible from within Access. What I don't quite understand is why > > you wouldn't simply set both of the properties I discussed to true and > > directly see the classes from any database referencing the library. Doing > > this allows seeing all of the class properties, functions etc, as well as > > directly dimensioning a class variable. > > > > What does the wrapper buy you? It seems like extra work, an extra layer > > that things have to go through, as well as an extra layer that I have to > > write (the helper function). We don't do that with the libs that MS > > publishes do we? > > > > And yes, the ClassExposer add-in would be nice. It appears that the > object > > on your site is compiled - I can't open or convert it in A2K. I could > > certainly write my own if I need to. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, June 06, 2003 6:50 PM > > To: AccessD > > Subject: Re: [AccessD] Where does WithEvents go? > > > > > > <<< > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > >>> > > John, > > > > But you can dimension the class specifically as that class type if this > > custom class's Instancing property is set to PublicNotCreatable. Then you > > create instance of this class using wrapper/helper function. And you can > > sink an event of this class declared as public. > > > > Instancng is a standard property for custom class modules in MS Access > 2000 > > and XP. > > > > Are we talking about different things? > > > > Shamil > > > > P.S. Unfortunately I don't see Instancing property for Forms' and Reports' > > modules (am I missing it?) - so maybe ClassExposer Add-In for MS > > Access2000/XP to expose forms' and reports' modules isn't a totally crazy > > idea.... > > > > ----- Original Message ----- > > From: "John Colby" > > To: > > Sent: Saturday, June 07, 2003 12:10 AM > > Subject: RE: [AccessD] Where does WithEvents go? > > > > > > > Shamil, > > > > > > I don't understand how to sink an sourced from a class in a library > > without > > > being able to dimension the class specifically as that class type > > > > > > dim withevents SomeCls as MyClass > > > > > > If MyClass is in a lib, then this dim statement doesn't work since > MyClass > > > isn't exposed. > > > > > > John W. Colby > > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Sat Jun 7 15:22:37 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 7 Jun 2003 16:22:37 -0400 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <067e01c32d32$895c5410$8e01a8c0@Rock> Static functions contain variables whose value is preserved between calls. More precisely, static variables retain their values. By default all variables in a static function are static variables. You could declare a static variable in a non-static function, but I don't know why you would. Here is my template for static functions. This code lives in every app I write and I follow the directions: Static Function CurrentX(Optional lngNew As Long) As Long '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. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function In the old days, these were called get/set functions, because you can use them to get or set their variable(s). To set the variable, you do this: CurrentEmployee(123) To get the variable, you do this: CurrentEmployee() So, given this setup, suppose you have a report that depends on a form being open with a combo box item selected. You could pass in a WhereCondition when you invoke the report, or you could write the report data source as follows: SELECT * FROM myTables WHERE EmployeeID = CurrentEmployee() Imagine, if you will, a listbox that shows the employees, and whose hidden first column is the PK EmployeeID. When the user clicks "Preview Report" or whatever, you write one line of code: CurrentEmployee(Me.cboEmployeeList) And then call your report: DoCmd.OpenReport ReportName:=rptMyReport, View:=acPreview 'or whatever you prefer My preference for this path is based on these criteria: 1. Transparent code -- intuitively obvious even to the casual viewer 2. Everything SQL can do VBA code should not bother doing There's a third reason, but first I must explain another variation on the static func declared above. If you read it carefully, you will realize that when the app opens CurrentEmployee() = 0. Each time you call it in set mode, you assign a value > 0. As presented above, the function renders it impossible to reset the value to zero. Why would you want to do this? I'll answer that in a moment, but first let's add a reset method, as it were. We could just drop the IF, but that would render the GET mode useless, so instead we need another method. I use -1 as the reset value, so the function evolves to: Static Function CurrentX(Optional lngNew As Long) As Long '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. Dim lngCurrent As Long Select Case lngNew Case Is < 0 lngCurrent = 0 Case Is > 0 lngCurrent = lngNew Case Else 'just return the current value End Select CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function Now we have a way to pass in a "reset to zero" message. Why would we want to do this? Because we can rewrite the query above using a slick trick that deals with the zero value, and that lets us multiply the utility of the query. I.e. we can now use it in 3 ways: 1. Suppose the combo-box employee selector allows extended select. we can print one report for each selected employee. Walk the selected items and reset CurrentEmployee() in the loop and print the report, nothing to it. 2. Suppose a form walks the employee table. In the OnCurrent call CurrentEmployee(Me.EmployeeID) and every report that uses this approach is ready to print. Nothing to it. 3. Reset the value to zero and this means print the whole bloddy thing, for all employees. But to do this we need to modify the query, just a tad, adding a cool OR test: SELECT * FROM myTables WHERE EmployeeID = CurrentEmployee() OR CurrentEmployee() = 0 Save this to a named query. Base your forms and/or reports on said query. Refresh CurrentEmployee() as needed. Nothing to it. Bryan Carbonell graciously showed me how to talk to Pegasus. The client needs to send email reports to about 300 people, each email is unique, the result of a report with a specified PK. Thanks to Bryan and static functions, the solution is about 10 lines of code, maybe 20, I didn't actually count them, but it's trivial. The code resets the static function, outputs the report to a file, attaches the file to a new email message and sends it. With all the benefits if CopyToSelf, select-all, just one, every odd numbered item, &c. Bryan's nice sample code aside (but not without many thanks), the point is that if you create a query whose parms are derived from static functions you can forget all about what form is open &c. You can be in debug window and type: CurrentX(123) :123 'Assuming the recordsource is a query referencing CurrentEmployee() DoCmd.OpenForm FornName:="frmEmployeeEdit" DoCmd.OpenReport ReportName:="rptEmployeeSickDays" In both cases, to see one Employee you call CurrentEmtployee(####). If you want the whole list, reset the value of CurrentEmployee() to zero. CurrentEmployee(-1) Sorry for the length of the message. But this approach has proven invaluable to me. Everything I can blame on SQL I tend to shift in that direction. Then when something goes amiss, I change some SQL and not some code scattered all throughout my app. I guess it's a question of where you prefer to perform your fixes. I like minimal code and maximal SQL. That's just my take on it, and I know that many listers disagree. (They are entitled to their worthless opinions :-) Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sat Jun 7 15:43:23 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 7 Jun 2003 16:43:23 -0400 Subject: [AccessD] OT: mpq files Message-ID: <068b01c32d35$704df660$8e01a8c0@Rock> Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur From jpack at sdc.org Sat Jun 7 17:43:00 2003 From: jpack at sdc.org (Johnny Pack) Date: Sat, 07 Jun 2003 16:43:00 -0600 Subject: [AccessD] OT: mpq files In-Reply-To: <068b01c32d35$704df660$8e01a8c0@Rock> Message-ID: <4.2.2.20030607164047.01970b50@sdc.org> I believe mpq files are associated with BrightStor Data Availability Solutions backup files. later jwp At 04:43 PM 06/07/2003 -0400, you wrote: >Anyone know what program creates these? There are several, comprising the >backup of a friend of a friend's computer. What program do I need to be able >to restore them? > >TIA, >Arthur > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bobbedell15 at msn.com Sat Jun 7 18:17:43 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Sat, 07 Jun 2003 23:17:43 +0000 Subject: [AccessD] Where does WithEvents go? Message-ID: Hi Shamil, Didn't mean to delay letting you know how this worked for me, but I was out of town yesterday and most of today. Just pulled in. I'm looking forward to catching up. (Seems like you and John have been batting this around a bit). Interestingly, ADH demonstrates (while neither endorsing nor disapproving) the work-around you argue against (relying on features available in VB6 that aren't supported by VBA) for a purpose other than exposing classes. It shows how to edit a class's source file on disk in a way that emulates setting procedure attributes with the Procedure Attributes dialog available in the VB IDE. Same work-around, different use (though thery're both concerned with setting attributes of one sort or another that the VBA IDE can't access). I'll let you know how I make out with your class factory suggestion. Thanks for the help. Bob >From: "Shamil Salakhetdinov" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where does WithEvents go? >Date: Fri, 6 Jun 2003 22:27:40 +0400 > > > I think the Access Developer's Handbook > > has a sentence or several on this too. >Bob, > >I've never read ADH for Acc97 and up so I can only guess what it states but >I can publicly bet (:)) a box of famous here now after Gustav Brock's >promotion Nevskoye beer vs. a bottle of Tequila(it's expensive in Russia) >that you can do what you need using Public Not Creatable classes - I mean >EXACTLY the same you can do if you write an ActiveX dll EXCEPT only one >thing you'll have to create AT LEAST one (class factory) class instance >using wrapper/helper function/sub from standard module - ALL THE REST can >be >in your custom classes including public events, which can be raised from >them and captured(/sunk) in the the form from your frontend... > >e.g. you can create in your lib database a custom class Class1 with >PublicNotCreatable instancing: > >Public Event abc() > >Public Function FireAbc() > RaiseEvent abc >End Function > >and a standard module with a wrapper function: > >Public Function getABC() As Class1 > Set getABC = New Class1 >End Function > >and then in your front-end form you can write: > >Private WithEvents a As Class1 > >Private Sub Form_Load() > Set a = getAbc >End Sub > > >Private Sub a_abc() > MsgBox "ABC fired" >End Sub > >Private Sub Command0_Click() > a.FireAbc >End Sub > >If this isn't what you're looking for then the please clarify in more >details what is the task, which you'd like to solve and why >PublicNonCreatble instancing isn't enough to solve it. > >Shamil > >----- Original Message ----- >From: "Bob Bedell" >To: >Sent: Friday, June 06, 2003 5:13 PM >Subject: Re: [AccessD] Where does WithEvents go? > > > > Hi Shamil, > > > > Thanks for the thought. My Instancing property is, unfortunately, >already > > set to PublicNotCreatable. My > > calling database can see and call an instance of GetclsInventory fine. >The > > wrapper function returns an > > object with ten fingers and toes. All properties and methods, except the > > custom event, work fine. > > Here's the wrapper again (just for the sake of pointing out one thing): > > > > Public Function GetclsInventory() > > Dim objInventory As clsInventory > > Set GetclsInventory = New clsInventory > > End Function > > > > It seems that in order for GetclsInventory to be able to raise a custom > > event, the Dim line here would > > have to read: > > > > Dim WithEvents objInventory As clsInventory > > > > That, I assume, is where WithEvents would need to go: with the object > > declaration. But I can't do that > > here because I have the wrapper in a standard code module, and with >events > > can only be used in form > > and class modules. So my options seem to be (none of which I have been >able > > to make work) to > > declare objInventory in either my calling form class somehow (can't come >up > > with a visible global > > variable), or in another class module in the library or calling >database, >or > > in the clsInventory class itself. I > > was just hoping someone would say, "Oh sure, wrapper function, goes in >class > > w in component x. Call it > > with y in component z.", or "Sorry, can't raise custom events from an >Access > > library database.", etc. > > >From what little I've been able to read on the subject (I found a whole > > paragraph in one of Wrox's > > Access books), the wrapper should go in a standard module in the library > > database. That, however, rules > > out the use of custom events with WithEvents). I think the Access > > Developer's Handbook has a > > sentence or several on this too. Compiling an ActiveX dll is always >another > > option. But I wanted to give > > the Access library a test drive. > > > > Thanks again for the reply. > > > > Bob > > > > > > >From: "Shamil Salakhetdinov" > > >Reply-To: accessd at databaseadvisors.com > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Where does WithEvents go? > > >Date: Fri, 6 Jun 2003 12:55:25 +0400 > > > > > >Bob, > > > > > >You can set your class module's Instancing property to > > >'2-PublicNotCreatable' then you can continue to use it the way you used >it > > >without library - you will just need to get its instance by your > > >wrapped/helper function GetclsInventory... > > > > > >HTH, > > >Shamil > > > > > >----- Original Message ----- > > > From: Bob Bedell > > > To: accessD at databaseadvisors.com > > > Sent: Friday, June 06, 2003 10:21 AM > > > Subject: [AccessD] Where does WithEvents go? > > > > > > > > > I hope I can make this intelligible. Info on this issue seems a bit > > >sparse. I have a custom class and a form that work fine together. The >class > > >declares a custom event using Public Event syntax in the general > > >declaration and Raise syntax in a method. The calling class (the form) > > >declares a private instance of the class using WithEvents and >instantiates > > >it. No problems. > > > > > > > > > > > > Now I'm trying to import the class into a library (mda.) and set a > > >reference to it in the database that contains the calling form. It's my > > >understanding that my calling application can't instantiate the class > > >directly, and needs to use a wrapper function. So I added a standard >module > > >to the calling application that calls a function in the library >database > > >which returns a copy of the object. The calling database then has a >public, > > >shared copy of the object to work with. The standard module in the >calling > > >database is: > > > > > > > > > > > > Public g_oInventory As clsInventory > > > > > > > > > > > > Public Sub Startup() > > > > > > ' Get handles to shared objects > > > > > > Set g_objInventory = GetclsInventory > > > > > > > > > > > > DoCmd.OpenForm "frmInventory" > > > > > > End Sub > > > > > > > > > > > > The standard module in the library database (where the class is >located) > > >is: > > > > > > > > > > > > Public Function GetclsInventory() > > > > > > Dim objInventory As clsInventory > > > > > > Set GetclsInventory = New clsInventory > > > > > > End Function > > > > > > > > > > > > Here's my problem. Using the library scenario, I can't find any >place >to > > >put my WithEvents statement. The old declaration (before seperating the > > >class and the form) was in the forms general declaration: > > > > > > > > > > > > Private WithEvents m_objProduct As clsInventory > > > > > > > > > > > > But now (library scenario) the declaration needs to be global, >needs >to > > >include WithEvents, and needs to be in a class or form module >(WithEvents > > >won't work in a standard module). > > > > > > > > > > > > Should I do a VB ActiveX component instead? I'm kinda' at a loss >here. > > >Real limited experience with classes/libraries stuff. Thanks to anyone >who > > >can make heads or tails of that. > > > > > > > > > > > > Bob > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------------- >--- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From Jdemarco at hshhp.org Sat Jun 7 18:19:32 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Sat, 7 Jun 2003 19:19:32 -0400 Subject: [AccessD] OT: mpq files Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85E77@TTNEXCHSRV1.hshhp.com> Have you tried opening one in Notepad to see what's inside? Jim DeMarco -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, June 07, 2003 4:43 PM To: AccessD Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ 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 stuart at lexacorp.com.pg Sat Jun 7 18:32:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 08 Jun 2003 09:32:35 +1000 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <003a01c32cc9$e2eb0e90$0c05a8c0@earth.local> Message-ID: <3EE302B3.9588.221F2D@localhost> On 7 Jun 2003 at 16:22, Arthur Fuller wrote: > Static functions contain variables whose value is preserved between calls. > More precisely, static variables retain their values. By default all > variables in a static function are static variables. You could declare a > static variable in a non-static function, but I don't know why you would. > As an accumulator to tell you how many times the function is called? For a variable that is very slow to calculate in a function that you are going to call many times in a row (say something that uses lots of DLookups or DSums etc) but won't change during the sequence of calls? Hre's one that uses both Function MyFunction() as long Static timescalled as long Static myhardtocalcuatevariable If timescalled = 0 then myhardtocalculatevariable = ...... End If timescalled = timescalled + 1 ......... End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From davesharpe2 at cox.net Sat Jun 7 18:38:41 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 7 Jun 2003 19:38:41 -0400 Subject: [AccessD] OT: mpq files References: <068b01c32d35$704df660$8e01a8c0@Rock> Message-ID: <004101c32d4d$edd1b0a0$1d270a44@bcs006137> Arthur I found What is MPQ? File format used by Blizzard Entertainment (http://www.blizzard.com/) in their games. MPQ file holds compressed graphics, sounds, sprites, etc. Think of it as ZIP-like archive (or SIT-like if you are on the Macintosh) of the all game-related things. MPQ archives were first introduced with the game "Diablo". On http://www.angelfire.com/sc/mpq/ Dave ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Saturday, June 07, 2003 4:43 PM Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davesharpe2 at cox.net Sat Jun 7 18:47:26 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 7 Jun 2003 19:47:26 -0400 Subject: [AccessD] OT: mpq files References: <068b01c32d35$704df660$8e01a8c0@Rock> <004101c32d4d$edd1b0a0$1d270a44@bcs006137> Message-ID: <007b01c32d4f$2678c0a0$1d270a44@bcs006137> More On http://lightning.prohosting.com/~coolass/utilities.htm There is an MPQ viewer to verify that they are or aren't the game files. "MPQ viewer - A neat application that allows you to extract Starcraft Sounds, Levels etc from you Starcraft data file. " "Starcraft GRP - Viewer A application that views Graphics files extracted by the MPQ viewer" Dave ----- Original Message ----- From: dave sharpe To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 7:38 PM Subject: Re: [AccessD] OT: mpq files Arthur I found What is MPQ? File format used by Blizzard Entertainment (http://www.blizzard.com/) in their games. MPQ file holds compressed graphics, sounds, sprites, etc. Think of it as ZIP-like archive (or SIT-like if you are on the Macintosh) of the all game-related things. MPQ archives were first introduced with the game "Diablo". On http://www.angelfire.com/sc/mpq/ Dave ----- Original Message ----- From: Arthur Fuller To: AccessD Sent: Saturday, June 07, 2003 4:43 PM Subject: [AccessD] OT: mpq files Anyone know what program creates these? There are several, comprising the backup of a friend of a friend's computer. What program do I need to be able to restore them? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbusergroups at optushome.com.au Sat Jun 7 17:11:15 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Sun, 8 Jun 2003 8:11:15 +1000 Subject: [AccessD] OT: mpq files Message-ID: <200306072210.h57MAMG18014@mail020.syd.optusnet.com.au> Hello Arthur Fuller, Apparently it's a file format Blizzard Entertainment uses in its games (Diablo, Starcraft, etc). You can grab the extractor here. http://safiles1.netmag.easyspace.com/misc.html ======= At 2003-06-07, 16:43:00 you wrote: ======= >Anyone know what program creates these? There are several, comprising the >backup of a friend of a friend's computer. What program do I need to be able >to restore them? = = = = = = = = = = = = = = = = = = = = HTH Best regards. Joshua B jbusergroups at optushome.com.au www.jbsolutions.com.au 2003-06-08 From bchacc at san.rr.com Sat Jun 7 23:30:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 7 Jun 2003 21:30:01 -0700 Subject: [AccessD] OT: Recycle Bin Message-ID: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbgajewski at adelphia.net Sun Jun 8 00:59:53 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Sun, 8 Jun 2003 01:59:53 -0400 Subject: [AccessD] OT: Recycle Bin In-Reply-To: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: Rocky Do you have a program such as Norton SystemWorks that intercepts those files and puts them in the Norton Protected Recycle Bin? There are many programs that take such control of the Bin for 'protection' purposes. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, June 08, 2003 00:30 To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Sun Jun 8 01:35:27 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sun, 8 Jun 2003 16:35:27 +1000 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! Message-ID: <000001c32d88$2865d3b0$c000a8c0@bbb888> Hi List, Does anyone know of a library that will help me parse an email, which is in BADLY formed html. I need to find a table in the message, pull the text from each cell and add the information to a table. I have tried using linked outlook (and exchange) tables, the message field only contains the plain text. One of the info pieces we are looking for is a hyperlink which M$ conveniently removes. I have tried using MAPI and CDO libraries. And if I ever meet in a dark alley the M$ decision maker who put that security misconception together...... I have tried using Redemption, which lets me get at either the plaintext or the HTML body of the message fine, but... Now I've got that far, I am having extreme dificulty with the parsing. The "ideal" solution would be to have a template per sender identity that would store the layout of the table in the message (and its position) and a set of routines that would parse the message, find the table beast, dig it out and populate the recordset row based on the template. Sounds simple eh? Here's the complexity: 1. The tables are in different positions in the message, depending on how much useless advertising the vendor is sprouting today. 2. At least the tables are in constant formats! 3. Depending on the vendor, the HTML of the mail is either fair, poor or atrocious. The most common occurrence is unmatched closing tags, for example "
blah blahblah1 blah1blah3
" - fine for web browser companies with 2.3Gigadevelopers to hack it around but I'm only one underpaid ..... 4. The cells contain more than one attribute. This bit, I'm OK with, I can dig out, validate the part# v. description etc with a bit of work. 5. In some cases we need to dig out the tag attributes e.g. a hyperlink. So, I'm looking for something that I could call that could either "correct" the html, so I can parse it, or something I could call that would parse the html bad as it is and return the info for processing somewhat like the XML parser. Any ideas? Bruce From ad_tp at hotmail.com Sun Jun 8 03:31:58 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sun, 8 Jun 2003 14:01:58 +0530 Subject: [AccessD] OT: Recycle Bin References: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: Rocky, Similar phenomenon was experienced by me recently.You could try the following - In the properties dialog box for Recycle Bin, in the global tab make sure that the option button 'Configure drives independently' is selected. In the tab for drive in question, reselect the check box 'Do not move files ---- ', click Apply/OK. Close the Windows Explorer. Open the property dialog box once again, deselect the said check box and click Apply/OK. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Sunday, June 08, 2003 10:00 Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Sun Jun 8 07:16:13 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 8 Jun 2003 16:16:13 +0400 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! References: <000001c32d88$2865d3b0$c000a8c0@bbb888> Message-ID: <001201c32db7$c2f66aa0$b501010a@DAISY.local> Bruce, If you can extract HTML doc from e-mail by your code then I think you can use Microsoft Internet Controls to parse it even if this HTML doc is partially broken - here is the sample code for starters: http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm HTH, Shamil ----- Original Message ----- From: "Bruce Bruen" To: Sent: Sunday, June 08, 2003 10:35 AM Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! > Hi List, > > Does anyone know of a library that will help me parse an email, which is > in BADLY formed html. I need to find a table in the message, pull the > text from each cell and add the information to a table. > > I have tried using linked outlook (and exchange) tables, the message > field only contains the plain text. One of the info pieces we are > looking for is a hyperlink which M$ conveniently removes. > > I have tried using MAPI and CDO libraries. And if I ever meet in a dark > alley the M$ decision maker who put that security misconception > together...... > > I have tried using Redemption, which lets me get at either the plaintext > or the HTML body of the message fine, but... > > Now I've got that far, I am having extreme dificulty with the parsing. > > The "ideal" solution would be to have a template per sender identity > that would store the layout of the table in the message (and its > position) and a set of routines that would parse the message, find the > table beast, dig it out and populate the recordset row based on the > template. > > Sounds simple eh? Here's the complexity: > 1. The tables are in different positions in the message, depending on > how much useless advertising the vendor is sprouting today. > 2. At least the tables are in constant formats! > 3. Depending on the vendor, the HTML of the mail is either fair, poor > or atrocious. The most common occurrence is unmatched closing tags, for > example "blah blahblah1 blah1blah3" - fine for > web browser companies with 2.3Gigadevelopers to hack it around but I'm > only one underpaid ..... > 4. The cells contain more than one attribute. This bit, I'm OK with, I > can dig out, validate the part# v. description etc with a bit of work. > 5. In some cases we need to dig out the tag attributes e.g. a hyperlink. > > So, I'm looking for something that I could call that could either > "correct" the html, so I can parse it, or something I could call that > would parse the html bad as it is and return the info for processing > somewhat like the XML parser. > > Any ideas? > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Sun Jun 8 08:11:07 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sun, 8 Jun 2003 23:11:07 +1000 Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! In-Reply-To: <001201c32db7$c2f66aa0$b501010a@DAISY.local> Message-ID: <000501c32dbf$6cfe1460$c000a8c0@bbb888> Shamil, Many, many thanks. This looks like what I have been biting my nails over, and yes it doesn't seem to mind the rotten bits of html I have given it so far. Now if I can come up with a good way to encode the templates for parsing the cell contents I'll be there! Thanks again Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, June 08, 2003 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! Bruce, If you can extract HTML doc from e-mail by your code then I think you can use Microsoft Internet Controls to parse it even if this HTML doc is partially broken - here is the sample code for starters: http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm HTH, Shamil ----- Original Message ----- From: "Bruce Bruen" To: Sent: Sunday, June 08, 2003 10:35 AM Subject: [AccessD] *&^*%%$ Outlook, &^%HTML, (*&@Computers!! > Hi List, > > Does anyone know of a library that will help me parse an email, which > is in BADLY formed html. I need to find a table in the message, pull > the text from each cell and add the information to a table. > > I have tried using linked outlook (and exchange) tables, the message > field only contains the plain text. One of the info pieces we are > looking for is a hyperlink which M$ conveniently removes. > > I have tried using MAPI and CDO libraries. And if I ever meet in a > dark alley the M$ decision maker who put that security misconception > together...... > > I have tried using Redemption, which lets me get at either the > plaintext or the HTML body of the message fine, but... > > Now I've got that far, I am having extreme dificulty with the parsing. > > The "ideal" solution would be to have a template per sender identity > that would store the layout of the table in the message (and its > position) and a set of routines that would parse the message, find the > table beast, dig it out and populate the recordset row based on the > template. > > Sounds simple eh? Here's the complexity: > 1. The tables are in different positions in the message, depending on > how much useless advertising the vendor is sprouting today. 2. At > least the tables are in constant formats! 3. Depending on the vendor, > the HTML of the mail is either fair, poor or atrocious. The most > common occurrence is unmatched closing tags, for example "blah > blahblah1 blah1blah3" - fine for web browser companies > with 2.3Gigadevelopers to hack it around but I'm only one underpaid > ..... 4. The cells contain more than one attribute. This bit, I'm OK > with, I can dig out, validate the part# v. description etc with a bit > of work. 5. In some cases we need to dig out the tag attributes e.g. a > hyperlink. > > So, I'm looking for something that I could call that could either > "correct" the html, so I can parse it, or something I could call that > would parse the html bad as it is and return the info for processing > somewhat like the XML parser. > > Any ideas? > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Fri Jun 6 15:52:48 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 6 Jun 2003 15:52:48 -0500 Subject: [AccessD] Default value for control doesn't work Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D73@bocnte2k4.boc.chevrontexaco.net> Problem fixed by recreating form. Figure that. -----Original Message----- From: Kaup, Chester A Sent: Friday, June 06, 2003 3:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Default value for control doesn't work I have a form that is based on a table. For one of the text boxes I have the default value set to =Forms![frm Select Date]!selected_month. When form opens text box display #Error. I tried a text box on the same form with no data source and this default value and it works fine. Is something I cannot do or am I doing it wrong. Thanks. No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Jun 8 09:30:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 07:30:55 -0700 Subject: [AccessD] OT: Recycle Bin References: Message-ID: <001f01c32dca$92a02b80$6501a8c0@HAL9002> No. Not on this box. Rocky ----- Original Message ----- From: Bob Gajewski To: accessd at databaseadvisors.com Sent: Saturday, June 07, 2003 10:59 PM Subject: RE: [AccessD] OT: Recycle Bin Rocky Do you have a program such as Norton SystemWorks that intercepts those files and puts them in the Norton Protected Recycle Bin? There are many programs that take such control of the Bin for 'protection' purposes. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, June 08, 2003 00:30 To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Jun 8 09:33:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 07:33:12 -0700 Subject: [AccessD] OT: Recycle Bin References: <022a01c32d76$a0628d70$6501a8c0@HAL9002> Message-ID: <003b01c32dca$e3ebc8f0$6501a8c0@HAL9002> Thanks but no cigar. Still nothing shows up in the Recycle bin. Rocky ----- Original Message ----- From: A.D.Tejpal To: accessd at databaseadvisors.com Sent: Sunday, June 08, 2003 1:31 AM Subject: Re: [AccessD] OT: Recycle Bin Rocky, Similar phenomenon was experienced by me recently.You could try the following - In the properties dialog box for Recycle Bin, in the global tab make sure that the option button 'Configure drives independently' is selected. In the tab for drive in question, reselect the check box 'Do not move files ---- ', click Apply/OK. Close the Windows Explorer. Open the property dialog box once again, deselect the said check box and click Apply/OK. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Sunday, June 08, 2003 10:00 Subject: [AccessD] OT: Recycle Bin Dear List: Sorry about the OT; maybe someone knows how to fix this. On my WXP system deleted files are not showing up in the recycle bin. I don't have the box checked in the Recycle Bin Properties to remove files immediately. I get the delete confirmation dialog box. There's just nothing in my recycle bin. Has anyone seen this before? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Sun Jun 8 13:42:37 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 08 Jun 2003 19:42:37 +0100 Subject: [AccessD] OT Free Firewall for those in USA Message-ID: <200306081842.TAA19860@hosea.qub.ac.uk> http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin From Susan.Klos at fldoe.org Sun Jun 8 18:04:39 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 8 Jun 2003 19:04:39 -0400 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Has anyone used Worksheet functions in Access? I am trying to rank a column of numbers in a table and I have no idea even how to begin. HELP!! Please. From bchacc at san.rr.com Sun Jun 8 19:06:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 8 Jun 2003 17:06:52 -0700 Subject: [AccessD] super critical:PercentRank function in Access References: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Message-ID: <00ac01c32e1b$086f9170$6501a8c0@HAL9002> Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Jun 8 19:23:21 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 09 Jun 2003 10:23:21 +1000 Subject: [AccessD] super critical:PercentRank function in Access In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406FED@mail.doe.state.fl.us> Message-ID: <3EE46019.4185.55C410@localhost> On 8 Jun 2003 at 19:04, Klos, Susan wrote: > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. How many numbers, why are you doing - what sort of output do you want? Maybe the easiest solution would be to "roll your own" completely. Fill an array with the numbers, sort the array, assign a rank to each element (grab a count of the array elements first if you want a percentrank), write it out to a temporary table or whatever. A function like that could be written in a few minutes. or use the table itself: Have a "rank" field in the table. Create a recordset of all the required records sorted by value. (Get the recordcount if you need percent rank) Step through the records and update each one with its rank or percent rank. With either approach, you would set up three variables: PreviousScore, Rank and Position. Set Position = 0, PreviousScore = -1 (or some other "impossible" value) Then use something like this: Do Position = Position + 1 If !score <> PreviousScore then Rank = Position !rank = Rank (or !PercentRank = Rank/Recordcount) PreviousScore = !score .movenext Loop until .eof -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Susan.Klos at fldoe.org Sun Jun 8 22:58:37 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 8 Jun 2003 23:58:37 -0400 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF1@mail.doe.state.fl.us> No. I have to use the rank function that is used by Excel. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, June 08, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] super critical:PercentRank function in Access Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jun 9 00:30:26 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 08 Jun 2003 22:30:26 -0700 Subject: [AccessD] super critical:PercentRank function in Access In-Reply-To: <8213C1F49875D61195DA0002A5412A0301406FF1@mail.doe.state.fl.us> Message-ID: Hi Susan: Here is an example of a ranking system created without access to Excel's ranking function: http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_20325878.ht ml HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 08, 2003 8:59 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] super critical:PercentRank function in Access No. I have to use the rank function that is used by Excel. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, June 08, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] super critical:PercentRank function in Access Susan: I don't know about the Worksheet function but can't you rank the numbers in the table by retrieving them with a query and use the ORDER BY clause on that field? HTH is ----- Original Message ----- From: "Klos, Susan" To: Sent: Sunday, June 08, 2003 4:04 PM Subject: [AccessD] super critical:PercentRank function in Access > Has anyone used Worksheet functions in Access? I am trying to rank a column > of numbers in a table and I have no idea even how to begin. HELP!! Please. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Jun 9 01:40:51 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 9 Jun 2003 16:40:51 +1000 Subject: [AccessD] Report Based on Non-Linked DB Data Message-ID: <000001c32e52$1486f250$0c05a8c0@earth.local> Guys, Is there a way of setting a report's record source to a non-linked DB on the fly? I have mucked around with the .Name function I found on Dev Ashish's site but to no avail. Any ideas on how this can be done in AXP? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 9 02:33:48 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 9 Jun 2003 09:33:48 +0200 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <067e01c32d32$895c5410$8e01a8c0@Rock> Message-ID: <1121305737.20030609093348@cactus.dk> Hi Arthur > .. By default all variables in a static function are static > variables. You could declare a static variable in a non-static > function, but I don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav From accessd at shaw.ca Mon Jun 9 03:21:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 09 Jun 2003 01:21:03 -0700 Subject: [AccessD] OT Free Firewall for those in USA In-Reply-To: <200306081842.TAA19860@hosea.qub.ac.uk> Message-ID: Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Jun 9 03:56:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 9 Jun 2003 10:56:43 +0200 Subject: [AccessD] Static Function Tutorial (was Like Operator SQL Syntax) In-Reply-To: <067e01c32d32$895c5410$8e01a8c0@Rock> References: <067e01c32d32$895c5410$8e01a8c0@Rock> Message-ID: <1236280981.20030609105643@cactus.dk> Hi Arthur > .. I use -1 as the reset value .. So what do you do when such a function carries a Boolean? Wouldn't Null be a better "value" to use for this? A solution to end such considerations is to add an optional parameter: > Static Function CurrentX(Optional lngNew As Long, _ > Optional ByVal booReset As Boolean) As Long It's a matter of taste and needs I guess. /gustav From roz.clarke at donnslaw.co.uk Mon Jun 9 04:07:38 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 10:07:38 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E50@dibble.observatory.donnslaw.co.uk> This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Mon Jun 9 06:23:48 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 06:23:48 -0500 Subject: [AccessD] AXP Question Message-ID: Here's another question. If someone makes changes to their frontend - adding some queries and reports - what happens when they update to the lates FE version - do they lose their queries, etc.? Thanks to everyone for their responses - I want to change to the local FE, but this is a concern. >>> dwaters at usinternet.com 06/06/03 07:58PM >>> Terri, Based on experience I can recommend a free utility (Auto FE Updater) which can be downloaded from this web site. http://www.granite.ab.ca/access/autofe.htm You can use this to both initially distribute a FE to user's PCs, and to update each FE after you have made changes to the FE. The updating operation is mostly transparent to the user, and they don't need to take any action. For the initial loading of the FE at user's PCs, send all the users an email with the shortcut (described in the documentation) as an attachment. Instruct the user in the email to copy the attachment to their PC, then double-click the shortcut. From that point on, the users double-click the same shortcut to open the current FE or to download an updated FE. Good Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, June 06, 2003 6:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 9 06:45:57 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 09 Jun 2003 21:45:57 +1000 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: <3EE50015.13456.2C6B9EB@localhost> On 9 Jun 2003 at 6:23, Terri Jarus wrote: > Here's another question. If someone makes changes to their frontend - > adding some queries and reports - what happens when they update to the > lates FE version - do they lose their queries, etc.? > > Thanks to everyone for their responses - I want to change to the local FE, but this is a concern. > Simple answer to that one is - don't let them make changes to the main FE. Give them a second FE which only contains links to the BE and have them use that one to store their temporary queries/reports. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Susan.Klos at fldoe.org Mon Jun 9 07:42:07 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 08:42:07 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF3@mail.doe.state.fl.us> I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? From jcolby at colbyconsulting.com Mon Jun 9 07:45:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 08:45:37 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com From paul.hartland at fsmail.net Mon Jun 9 07:48:10 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 12:48:10 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609124810.MHEX18722.fep06-svc.ttys.com@localhost> How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From bheid at appdevgrp.com Mon Jun 9 08:00:27 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 09:00:27 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: <916187228923D311A6FE00A0CC3FAA30527973@ADGSERVER> Hi John, If it is your program that is accessing Outlook, you need to look at Redemption. http://www.dimastr.com/redemption/ HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 09, 2003 8:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 Susan.Klos at fldoe.org Mon Jun 9 07:57:49 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 08:57:49 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF4@mail.doe.state.fl.us> Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 07:45:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 08:45:37 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 CWortz at tea.state.tx.us Mon Jun 9 08:06:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 08:06:16 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. From jcolby at colbyconsulting.com Mon Jun 9 08:10:13 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 09:10:13 -0400 Subject: [AccessD] AXP Question In-Reply-To: Message-ID: It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 08:16:58 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:16:58 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609131658.LYQE28680.fep03-svc.ttys.com@localhost> I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Mon Jun 9 08:25:54 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 09:25:54 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF5@mail.doe.state.fl.us> Here is what I have so far: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As querydef school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I know at this point I am putting in the school numbers from an input box but I knew how to do that. I am getting this error message "User defined type object not defined". What references do I need to set? -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:17 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] MOre help needed I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 08:28:42 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 14:28:42 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E66@dibble.observatory.donnslaw.co.uk> Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 08:29:35 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 14:29:35 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E67@dibble.observatory.donnslaw.co.uk> That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 08:36:03 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:36:03 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609133603.LYZM28680.fep03-svc.ttys.com@localhost> Does it give a clue as to where it is producing the error ? From: "Klos, Susan" Date: Mon 09/Jun/2003 13:25 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Here is what I have so far: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As querydef school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I know at this point I am putting in the school numbers from an input box but I knew how to do that. I am getting this error message "User defined type object not defined". What references do I need to set? -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:17 AM To: accessd at databaseadvisors.com Subject: Re: RE: [AccessD] MOre help needed I'll try and get the code at some point, only pretty busy my end as well.....but basically here's what I would do : Open tblSchools as a recordset Until eof tblShcools Create SQL query where parameter = tblSchools.Field Export the query to Excel (probably using TransferText method or similar move to next record of tblSchools Loop Close Recordset Hope this helps Paul From: "Klos, Susan" Date: Mon 09/Jun/2003 12:57 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: [AccessD] MOre help needed Actually this is more complicated than I thought. I guess I need to use a sql statement inside a loop and set a variable "school" to whatever record the loop is on at the time. Then export the query filled with the data. I could do this I know except that I am under the gun and my brain has gone into overload. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] MOre help needed How are you exporting the query to Excel ? From: "Klos, Susan" Date: Mon 09/Jun/2003 12:42 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] MOre help needed I have a parameter query that exports a table to Excel. I want the query to pull the parameter from a field in another table (tblschools). How do I do that so that when I run the query it will export a separate spreadsheet for every record in tblschools? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Mon Jun 9 08:37:43 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 09:37:43 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF6@mail.doe.state.fl.us> OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. From jcolby at colbyconsulting.com Mon Jun 9 08:42:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 09:42:05 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E66@dibble.observatory.donnslaw.co.uk> Message-ID: Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Mon Jun 9 08:53:21 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 9 Jun 2003 09:53:21 -0400 Subject: [AccessD] MOre help needed References: <8213C1F49875D61195DA0002A5412A0301406FF6@mail.doe.state.fl.us> Message-ID: <00cf01c32e8e$7e1fc1b0$6401a8c0@default> Susan, You need a reference to DAO 3.6 in A200? You then need to dim as DAO.Object Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Klos, Susan" To: Sent: Monday, June 09, 2003 9:37 AM Subject: RE: RE: [AccessD] MOre help needed > OK, Here I am now: > > Dim school As String > Dim strFileName As String > Dim mysql As String > Dim qdf As QueryDef > Dim db As Database > > Set db = currentdatabase > > school = InputBox("What School Number") > 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", > "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" > mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, > ReadingGrade.LName, " & _ > "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, > ReadingGrade.MatchFCAT02, " & _ > "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & > _ > "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & > _ > "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" > 'MsgBox school > > Set qdf = db.QueryDefs("Reading") > > strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & > ".xls" > qdf.SQL = mysql > MsgBox "tablename = " & strFileName > > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, > strFileName, True > > I am now getting this message when I get to Set qdf = db.QueryDefs "Object > Required" I have a query called "Reading" and I thought I had DIMmed > everything. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Mon Jun 9 08:56:27 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 08:56:27 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us From paul.hartland at fsmail.net Mon Jun 9 08:58:32 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 13:58:32 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609135832.LZJY28680.fep03-svc.ttys.com@localhost> ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From roz.clarke at donnslaw.co.uk Mon Jun 9 09:09:07 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:09:07 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E69@dibble.observatory.donnslaw.co.uk> Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:08:03 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:08:03 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF7@mail.doe.state.fl.us> Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Mon Jun 9 09:11:23 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:11:23 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 09:12:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:12:50 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E69@dibble.observatory.donnslaw.co.uk> Message-ID: I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 9 09:15:48 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:15:48 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609141549.LZTA28680.fep03-svc.ttys.com@localhost> Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From jcolby at colbyconsulting.com Mon Jun 9 09:21:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:21:55 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> Message-ID: Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:29:08 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:29:08 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF8@mail.doe.state.fl.us> Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 9 09:31:29 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 09:31:29 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, To give them all they want you probably will have to define your reports as custom objects with all of their properties set by you instead of by Access. This may mean you will not be able to take advantage of the built-in Access report wizards. You may even be required to go to VB to build such report objects. I cannot say since I have never had to give the user so many options concerning reports. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 09:09 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com From roz.clarke at donnslaw.co.uk Mon Jun 9 09:32:58 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 15:32:58 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6B@dibble.observatory.donnslaw.co.uk> OK I can see how that would work if you never want the changes to be kept. I knew what he meant about the wizard. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:13 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 08:30 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question That's what I'm moaning about - I can't change the reports programmatically any more. >< Roz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:10 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question It sounds to me like the report changes due to customer needs. However it seems that the way to handle this would be to analyze what is constantly changing and do that programatically. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Jun 9 09:32:16 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 9 Jun 2003 10:32:16 -0400 Subject: [AccessD] MOre help needed Message-ID: <8213C1F49875D61195DA0002A5412A0301406FF9@mail.doe.state.fl.us> Thanks Paul. I solved it. You are still a lifesaver. -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Monday, June 09, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Jun 9 09:33:54 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 9 Jun 2003 10:33:54 -0400 (EDT) Subject: [AccessD] (OT) General questions In-Reply-To: References: <61F915314798D311A2F800A0C9C83188047C5E6A@dibble.observatory.donnslaw.co.uk> Message-ID: <2005.24.188.21.161.1055169234.squirrel@ns1.bay9.com> I am in the interviewing process again, so I am looking through questions that we asked at the past 1) Whats NOVA ? 2) whats GUID ? 3) Whats LAN ? can ms access rights be shared ? 2) list some Built in Functions and methods in VBA functions - date methods - load picture 4) Does combo bx take more memory then list box ? ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From caa at highway.com.br Fri Jun 6 16:40:12 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 06 Jun 2003 18:40:12 -0300 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Sat Jun 7 14:49:48 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 07 Jun 2003 16:49:48 -0300 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From paul.hartland at fsmail.net Mon Jun 9 09:35:03 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:35:03 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609143503.GPVM5167.fep04-svc.ttys.com@localhost> rs.MoveNext From: "Klos, Susan" Date: Mon 09/Jun/2003 14:29 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 9 09:37:05 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 14:37:05 +0000 Subject: [AccessD] MOre help needed Message-ID: <20030609143705.GPXN5167.fep04-svc.ttys.com@localhost> No problem, thats what this list is for and I have had more help than I have ever given. From: "Klos, Susan" Date: Mon 09/Jun/2003 14:32 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Thanks Paul. I solved it. You are still a lifesaver. -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Monday, June 09, 2003 10:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: RE: [AccessD] MOre help needed Practicallyl there and thanks for yoru help. your a lifesaver. How do I move to the next record. it doesnt like NextRecord. Says it is not defined DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True NextRecord Loop -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed Susan, you set it to the recordses fields like below school = rs.Fields("DistSchNo") From: "Klos, Susan" Date: Mon 09/Jun/2003 14:08 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed Paul, I about have this. Just one more question, I think. Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) 'school = InputBox("What School Number") school = "[GradedSchools.DistSchNo]" What do I set school equal to? The field I want to pick up is GradedSchools.DistSchNo -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 09, 2003 9:59 AM To: accessd at databaseadvisors.com Subject: RE: RE: [AccessD] MOre help needed ok Susan, try the following code : Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.CreateQueryDef("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True From: "Klos, Susan" Date: Mon 09/Jun/2003 13:37 GMT To: "'accessd at databaseadvisors.com'" Subject: RE: RE: [AccessD] MOre help needed OK, Here I am now: Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Set db = currentdatabase school = InputBox("What School Number") 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, " & _ "ReadingGrade.FName, ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, " & _ "ReadingGrade.LevelR03, ReadingGrade.LevelR02, ReadingGrade.DSS03R, " & _ "ReadingGrade.DSSR02 AS Expr1, ReadingGrade.SSR02, ReadingGrade.Lo25" & _ "FROM ReadingGrade WHERE (((ReadingGrade.DistSchNo)=" & school & "))" 'MsgBox school Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True I am now getting this message when I get to Set qdf = db.QueryDefs "Object Required" I have a query called "Reading" and I thought I had DIMmed everything. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From CWortz at tea.state.tx.us Mon Jun 9 09:38:00 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 09:38:00 -0500 Subject: [AccessD] AXP Question Message-ID: John, That may be exactly what Roz needs. I knew one of the great minds on this list would be able to solve Roz's problem. Glad I could do my small part to get that great mind thinking about this. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday 2003 Jun 09 09:13 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question I think Charles is saying that you need to build a report building wizard. The WIZARD will take the user's choices, then place the report into design view (the user doesn't do this, the wizard does), make the changes, run the report, then NOT save the report when the user closes the report. Something of that nature anyway. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:09 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Detailed question #1 I thought you couldn't build / amend reports on the fly in a live, multi-user database in AXP? Whenever I have tried to do anything of the sort I got a flat refusal from Access. I was never intending to allow them to go into Design view as then they might fiddle with the data source (erk!) - was going to build a custom properties dialogue. But when you change a report's properties through code Access still forces an exclusive lock. If I use querydefs as the sources I can amend the queries - but that's the one thing I won't let them do. ?? -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, I think you misunderstand John's comment. If there is something that is constantly changing, then you need to develop a way for the user to be able to pick from a selection of options to get what they want. As you mentioned in another of your posts on this thread, sometimes they want to change the sort order, sometimes they want to change the font. Have you thought of designing a form where they get to select such options and then base the report on those selections? It may not be easy to give them all the options they want/need, but if this is the only way to keep paying customers, then you will find a way to do it. Good luck, and don't feel afraid to ask us more detailed questions as you get into this. Charles Wortz From actebs at actebs.com.au Mon Jun 9 09:48:12 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 00:48:12 +1000 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <002001c32e96$299af8a0$0c05a8c0@earth.local> Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Mon Jun 9 09:57:21 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 10:57:21 -0400 Subject: [AccessD] OK, ya talked into it Message-ID: <916187228923D311A6FE00A0CC3FAA3052797A@ADGSERVER> Oh, I see what you are talking about. Was it a .reg file before? I have purposely not loaded that SP on OL 2000 because of those issues. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 09, 2003 8:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Mon Jun 9 09:54:25 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 9 Jun 2003 10:54:25 -0400 (EDT) Subject: [AccessD] (OT) Interview Questions In-Reply-To: <002001c32e96$299af8a0$0c05a8c0@earth.local> References: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: <2869.24.188.21.161.1055170465.squirrel@ns1.bay9.com> Hey Ppl does anyoneone know any websites or books that have some MS Access interview questions ? I've lost my job last week, so... need to practice :--) Oleg ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From jcolby at colbyconsulting.com Mon Jun 9 09:58:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 10:58:37 -0400 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: Messagedo it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Mon Jun 9 10:02:18 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 9 Jun 2003 10:02:18 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAE@cpixchng-1.cpiqpc.net> Vlad, I've not tried it but you might look at creating a make table query in the Query designer, then look at the SQL statement it produces. Instead of running "with rst..." just do a "docmd.runsql 'SQL Statement here'" HTH Rusty -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 9:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 9 10:10:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:10:26 -0700 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: Yes, performance. A2k is a dog linked to a 97 back end. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Friday, June 06, 2003 1:40 PM To: AccessD List Subject: [AccessD] A2k - Different version FE's and One BE Dear Mates: On a given environment I want to have three A97 FE's and one A2k FE linking to the same A97 BE and all FE's must have permissions for read/write/update/delete. Do you know any drawbacks??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Jun 9 10:12:59 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 01:12:59 +1000 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: Message-ID: <000a01c32e99$9cff8010$0c05a8c0@earth.local> John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 9 10:13:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:13:41 -0700 Subject: [AccessD] OK, ya talked into it Message-ID: Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? 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 cfoust at infostatsystems.com Mon Jun 9 10:14:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 08:14:35 -0700 Subject: [AccessD] OT Free Firewall for those in USA Message-ID: It's supposed to be good, but I doubt that it's better that ZA. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, June 09, 2003 12:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT Free Firewall for those in USA Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 9 10:19:39 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 9 Jun 2003 08:19:39 -0700 Subject: [AccessD] Create Temp Table from Recordset References: <002001c32e96$299af8a0$0c05a8c0@earth.local> Message-ID: <01c301c32e9a$8ba7b110$6501a8c0@HAL9002> MessageVlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Mon Jun 9 10:28:46 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 10:28:46 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From actebs at actebs.com.au Mon Jun 9 10:34:59 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 10 Jun 2003 01:34:59 +1000 Subject: [AccessD] Create Temp Table from Recordset In-Reply-To: <01c301c32e9a$8ba7b110$6501a8c0@HAL9002> Message-ID: <001901c32e9c$b287b580$0c05a8c0@earth.local> Rocky, But how did you tell it which DB you wanted to create the table in? I tried the db.execute....method but it created the table in the BE which is something I don't want. That's why I stopped using the SELECT ....IN clauses and just created the recordset hoping I could save it locally as a table. The reason is, the users can save the FE anywhere and run it so the IN portion of the Make Table syntax won't work. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, 10 June 2003 1:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create Temp Table from Recordset Vlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Mon Jun 9 10:44:37 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 9 Jun 2003 10:44:37 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DAF@cpixchng-1.cpiqpc.net> Vlad, When using the QBE grid to create the SQL statement, go to the properties of the query and change the source database to point to the remote DB. Then when you go to add tables, the list of tables in the remote database should show up in the list. When you do this your SQL statement should look something like the following: SELECT tblRemote.PlanRefNum, tblRemote.AllianceFundName, tblRemote.Cusip INTO tblTMP FROM tblRemote IN 'f:\access\RemoteDB.mdb'; tblRemote is the table you are pulling data from in f:\access\RemoteDB.mdb, tblTMP is the new table being created. Rusty -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 10:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Mon Jun 9 10:44:45 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 10:44:45 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: Susan, What is the value of Me at the time you execute one of these statements? If it is not the form on which chkMyCheckBox resides, then no version of the assignment statement will work. Maybe Me is pointing to the recordset instead of the form. If it is, don't feel stupid since I and many others have made this same mistake. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us P.S. How is the paperwork coming along to make you and your beloved legally Geller's? -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Jun 09 10:29 To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From paul.hartland at fsmail.net Mon Jun 9 10:48:15 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 9 Jun 2003 15:48:15 +0000 Subject: [AccessD] Check Box in Unbound Form Message-ID: <20030609154815.YIFW18836.fep01-svc.ttys.com@localhost> Susan, You can set the checkbox using the following : me.chkboxname.value = true me.chkboxname.value = false Paul From: "Susan Geller" Date: Mon 09/Jun/2003 15:28 GMT To: Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From BBarabash at TappeConstruction.com Mon Jun 9 10:52:49 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 9 Jun 2003 10:52:49 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DC@TAPPEEXCH01> Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Rich_Lavsa at pghcorning.com Mon Jun 9 11:00:02 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 9 Jun 2003 12:00:02 -0400 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <833956F5C117124A89417638FDB11290EBCEB1@goexchange.pghcorning.com> You can refer to a table in another database within your queries without having to create a permanent link to that database. e.g. SELECT * from Orders IN "c:\datafolder\other_db.mdb" Another option might be to use a Pass-Through query. Once you have the Pass-Through query running, you can use the Pass-Through query as your datasource to do whatever you like such as building a make-table query... This may or may not be a solution for you. One of its uses is an alternate way to "link" to a remote database table. Look in the help file for more information on "Pass-Through". Not sure if this will solve your problem, just thought it might be something for you to think about. Rich -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 11:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Mon Jun 9 11:05:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 9 Jun 2003 17:05:25 +0100 Subject: [AccessD] AXP Question Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6C@dibble.observatory.donnslaw.co.uk> Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From forefront at ig.com.br Sun Jun 8 10:08:25 2003 From: forefront at ig.com.br (forefront at ig.com.br) Date: Sun, 8 Jun 2003 12:08:25 -0300 Subject: [AccessD] A2k - Different Versions of FE's Message-ID: <200306091608.h59G8Rg28316@databaseadvisors.com> Dear Mates: Case -> three A97 FE's and one A2k FE linking to one single A97 BE; all users have permissions to read/write/update/delete. Any known drawbacks??? TIA, Carlos Alberto Alves mailto:caa at highway.com.br _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br From jjwrite at earthlink.net Mon Jun 9 11:11:32 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Mon, 9 Jun 2003 12:11:32 -0400 Subject: [AccessD] Get Current Printer - XP w/in Citrix Message-ID: <412003619161132930@earthlink.net> An HTML attachment was scrubbed... URL: From papparuff at attbi.com Mon Jun 9 11:15:12 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 09:15:12 -0700 Subject: [AccessD] OK, ya talked into it In-Reply-To: Message-ID: <00a901c32ea2$4e9da600$6401a8c0@papparuff> John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Jun 9 11:17:26 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 11:17:26 -0500 Subject: [AccessD] Check Box in Unbound Form Message-ID: I just tried both syntaxes with a different form in a different file and it worked fine. I've been having corruption problems with the application I was really trying to get this to work with and so now I think that's my problem, not syntax. Thanks for your help everyone. --Susan -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Monday, June 09, 2003 10:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box in Unbound Form Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Mon Jun 9 11:25:44 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Mon, 9 Jun 2003 11:25:44 -0500 Subject: [AccessD] Query Help In-Reply-To: <200306091608.h59G8Rg28316@databaseadvisors.com> Message-ID: Hi all, I was hoping one of you could help me figure this out . . . I have a database for an insurance company that stores customer information (customer contact info, policy info, dependent info, etc.). What I would like to do is run a report that will show me all customers who only have one policy with us. Some customers have many policies (health, auto, home, etc.) while others only have one policy (just an auto policy). These are the customers I'd like to pull, but I can't figure out how to do it. Attached is my tables and relationships, if that helps! Thanks for any help! Jamie -------------- next part -------------- A non-text attachment was scrubbed... Name: Relationships.pdf Type: application/pdf Size: 21465 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Jun 9 11:27:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:27:32 -0700 Subject: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Message-ID: It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 9 11:32:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 9 Jun 2003 11:32:16 -0500 Subject: [AccessD] AXP Question Message-ID: Roz, I hope you have analytical and cross-reference tools such as those that come with FMS's Total Access Analyzer, otherwise how are you ever going to overhaul all those reports, queries and forms? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 11:05 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com From jeffrey.demulling at usbank.com Mon Jun 9 11:32:27 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 9 Jun 2003 11:32:27 -0500 Subject: [AccessD] Query Help Message-ID: Try this: SELECT Customers.CustID FROM Customers INNER JOIN Policies ON Customres.CustId = Policies.CustID GROUP BY Customers.CustID HAVING (((Count(Policies.CustID))=1)); -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Mon Jun 9 11:33:44 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 11:33:44 -0500 Subject: [AccessD] AXP Question Message-ID: I already am making the change using the FE Updater from Tony Toews, which seems easy to deal with and works very well. I still have the issue of users who wish to create their own queries - and why shouldn't they? First of all, I'm not in the IT department who absolutedly detests and refuses to support Access databases - which is a very inexpensive solution for things my departments need to organize their information. Our IT Dept always aims for the $500k version of things and since we have no budget for such, we don't get. This is my solution. Thus, I play amateur developer and stumble around to come up with these things. It's fun for me and a challenge, but it's not my primary focus. Awhile back I had used a FE updater that only replaced the objects that had changed - not the entire database. I paid a small fee for that program, but it took too long to update at the time and was more difficult to setup. However, the user still had anything they originally created. Maybe, I can set up something like that just for the users who need the flexibility of creating and keeping their own queries, reports, etc. >>> jcolby at colbyconsulting.com 06/09/03 08:42AM >>> Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jscott at mchsi.com Mon Jun 9 11:30:18 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 11:30:18 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:41:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:41:55 -0700 Subject: [AccessD] Access97 and recordlocking Message-ID: That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 11:40:56 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 11:40:56 -0500 Subject: [AccessD] Function Keys - A2K Message-ID: How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From jarus at amerinet-gpo.com Mon Jun 9 11:42:38 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 09 Jun 2003 11:42:38 -0500 Subject: [AccessD] Repeat Emails Message-ID: I have been receiving some of the same emails three times - but only a few have done that - not all. Anyone else experiencing the same? --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From jcolby at colbyconsulting.com Mon Jun 9 11:43:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 12:43:15 -0400 Subject: [AccessD] OK, ya talked into it In-Reply-To: <00a901c32ea2$4e9da600$6401a8c0@papparuff> Message-ID: John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 11:40:24 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 11:40:24 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 11:50:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 12:50:32 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E6C@dibble.observatory.donnslaw.co.uk> Message-ID: Well... good luck in your endeavors. If you really intend to support this method, it sounds like you need a heavy duty programmer. Everything you are talking about could probably be done programmatically. The question here is "is it worth it". Management can't have it both ways - "yes we are going to do this" and "no we aren't going to pay for this". I must say I'm not sure you have picked the wrong tool. I don't know of any reporting tool that will do what you are asking. You might want to talk to Shamil however, he seemed to think that Crystal Reports was heads and shoulders above Access. Maybe it would solve this problem for you. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 12:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Ermmm... 1) The user would never be saving changes over the original report - they would be making a copy and each report created in this way would be categorised as belonging to the user who made the change. Each report would have a saved description and whatever other info would be necessary to identify the purpose for which that report was created. Reports would be located through a search form and only the creator of each report would be able to modify or delete it. I think it would work fine. You're just treating reports as if they were Word files or whatever, only with more control. But it doesn't matter anyway 'cause we can't do it... 2) The FE's we presently have ARE an unusable mess; don't want to emulate them! They have been in use since A2 and have been updated by a stream of developers. None of the original developers are still with the company. We never dare delete an old report and the number of variations users ask for is incredible - the system that emerged through nobody thinking it through has resulted in new forms, new buttons on forms and new reports being added at random (and the difference between one and the next may be teeny) - and it's hard to break the habit because the users always need that new report available NOW. Like I said, there are about 400 reports in use. There are over 1000 queries but I'm not even going there :P Until recently they weren't even being documented. Once the Access reports are overhauled we gotta start looking at Excel... *sigh* -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Correct, only temporary changes. If the user were to permanently save the changes, wouldn't that cause the next user to see those changes? That would be chaos. Further, it sounds like with 230 potential users all saving their own copies of various reports modified however they wanted, any FE would quickly become an unusable mess. I think you haven't adequately explained to us how the old system worked so we could see what you are trying to emulate. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 10:11 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question John True about the conflicts, but these could be handled as even the temporary changes would be getting made to a copy - a copy that would be deleted at the end of the session (unless they decided to keep it). You'd only have to lock the report whilst the copy was being made. Academic anyway as we can't now go back to A97. There are about 20 frequent users and another 230 potential users. We tend to have 10-12 concurrent users in our main reports database at the moment and about 6 at a time in the other 3 but those are largely the same people. Your suggestion is intriguing, but would only address temporary changes, yes? They wouldn't have the option of retaining the new version. It might be good for ad-hoc reporting though. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: 09 June 2003 14:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Why could you in A97 and not in AXP? It seems that in a97 you would have had massive conflicts as users tried to open the same report in design view. On a more practical note, how many users are there? Could you have the user run a batch file instead of opening Access directly. The batch file copies the FE to their own directory. They open that copy. Since they are no longer opening it shared, problem solved. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 9:29 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question Charles, I envy you. Unfortunately our users must respond to the whims and fancies of our client companies or we will lose contracts. If our client companies were not technophobes we could send csv or xml files and they could arrange their own layouts, but this is the legal industry. They don't understand IT. Also, I have no interest in being obstructive and if they want a different sort order or a certain column heading in bold, why shouldn't they have that? They don't see it as a lot to ask and neither would I - except that we get at least one such request every day, and it's a distraction. As long as they can't get at the logic underlying the reports I'd be more than happy for them to mess with the layouts. I have no more interest in formatting of reports than I do in what colours they use in their Outlook calendars. Of course I am considering other job opportunities but the fact remains that an IT department is a service department, and if we cannot meet requests that, in this circumstance, are quite reasonable, we're not doing our job. With A97, I could have - it's vexing! :) Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 09 June 2003 14:06 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Roz, Users that want constant changes to the layout of reports should expect delays, if not worse! If they cannot agree on the layout of a report and then live with it until a major change is needed, they should find other employment. Once I put a report into production, the user has to live with it until the next set of scheduled changes or a business/regulatory rule change. In development, the user can suggest all sort of changes, but once they sign-off on it and it goes into production they must live with their decisions. And higher management is willing to enforce those rules with few exceptions because they recognize IT as a limited and valuable resource. If your environment is different from this, then you may want to consider other job opportunities. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday 2003 Jun 09 04:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 11:50:44 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 12:50:44 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:54:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:54:23 -0700 Subject: [AccessD] Repeat Emails Message-ID: Yes, me. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] Repeat Emails I have been receiving some of the same emails three times - but only a few have done that - not all. Anyone else experiencing the same? ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 11:54:55 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 09:54:55 -0700 Subject: [AccessD] Function Keys - A2K Message-ID: Create an AutoKeys macro. Charlotte Foust -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Monday, June 09, 2003 8:41 AM To: AccessD Subject: [AccessD] Function Keys - A2K How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Mon Jun 9 11:56:23 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 09:56:23 -0700 Subject: [AccessD] OK, ya talked into it In-Reply-To: Message-ID: <00c101c32ea8$0f7d7710$6401a8c0@papparuff> Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Jun 9 12:06:07 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Mon, 9 Jun 2003 10:06:07 -0700 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: In you form's properties, set "key preview" to "yes" and place the following code in the "On Key Up" event: Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) Select Case KeyCode Case 27 'Escape was pressed KeyCode = 0 'Setting a keycode to 0 will "disable" that key's function Case 114 'F3 was pressed Call YourFunctionNameHere() Case 116 'F5 was pressed Msgbox "F5 was pressed" Case 117 'F6 was pressed Msgbox "F6 was pressed" Case 119 'F8 was pressed Msgbox "F8 was pressed" Case 120 'F9 was pressed Msgbox "F9 was pressed" Case 121 'F10 was pressed Msgbox "F10 was pressed" 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way 'Msgbox "F12 was pressed" End Select End Sub HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Monday, June 09, 2003 9:41 AM To: AccessD Subject: [AccessD] Function Keys - A2K How do I access the powers the function keys in an Access app? I want to use F3 (or whatever) to perform a certain function. How can I call the function using an F3 keypress? Thanks. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 9 12:05:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 9 Jun 2003 13:05:37 -0400 Subject: [AccessD] OK, ya talked into it In-Reply-To: <00c101c32ea8$0f7d7710$6401a8c0@papparuff> Message-ID: The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 12:14:46 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 12:14:46 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Mon Jun 9 13:08:58 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 9 Jun 2003 14:08:58 -0400 Subject: [AccessD] Check Box in Unbound Form Message-ID: <01C32E90.AC5A6740.bob@renaissancesiding.com> Susan Me!chkMyCheckBox.Value = True Regards, Bob Gajewski On Monday, June 09, 2003 11:29 AM, Susan Geller [SMTP:sgeller at cce.umn.edu] wrote: > Access XP. I have an unbound form with a checkbox. In my code, I am > opening a recordset and I want to set the checkbox to true/false > depending on what is returned in my recordset. What is syntax for > setting a check box to true/false? Once I know that, I can deal with > what is returned in the recordset. These don't work: > > Me!chkMyCheckBox = True > Me!chkMyCheckBox.format = True > > TIA > --Susan > > Susan B. Geller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From sgeller at cce.umn.edu Mon Jun 9 13:30:32 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 9 Jun 2003 13:30:32 -0500 Subject: [AccessD] Check Box in Unbound Form -- SOLVED Message-ID: My problem was that the checkbox was in a frame. As soon as I took it out of the frame, all worked fine. --Susan -----Original Message----- From: Susan Geller Sent: Monday, June 09, 2003 11:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Check Box in Unbound Form I just tried both syntaxes with a different form in a different file and it worked fine. I've been having corruption problems with the application I was really trying to get this to work with and so now I think that's my problem, not syntax. Thanks for your help everyone. --Susan -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Monday, June 09, 2003 10:53 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Check Box in Unbound Form Susan, Me!chkMyCheckBox = True is equivalent to Me!chkMyCheckBox.Value = True, so it should work fine. What event is this code running in? I recall problems setting control values in the Open event. -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, June 09, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Check Box in Unbound Form Access XP. I have an unbound form with a checkbox. In my code, I am opening a recordset and I want to set the checkbox to true/false depending on what is returned in my recordset. What is syntax for setting a check box to true/false? Once I know that, I can deal with what is returned in the recordset. These don't work: Me!chkMyCheckBox = True Me!chkMyCheckBox.format = True TIA. --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 13:28:51 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 13:28:51 -0500 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: What's the purpose of "key preview = yes"? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > (Home) > Sent: Monday, June 09, 2003 12:06 PM > To: accessd at databaseadvisors.com > Cc: reuben at gfconsultants.com > Subject: RE: [AccessD] Function Keys - A2K > > > In you form's properties, set "key preview" to "yes" and place > the following > code in the "On Key Up" event: > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > Select Case KeyCode > Case 27 'Escape was pressed > KeyCode = 0 'Setting a keycode to 0 will "disable" that key's > function > Case 114 'F3 was pressed > Call YourFunctionNameHere() > Case 116 'F5 was pressed > Msgbox "F5 was pressed" > Case 117 'F6 was pressed > Msgbox "F6 was pressed" > Case 119 'F8 was pressed > Msgbox "F8 was pressed" > Case 120 'F9 was pressed > Msgbox "F9 was pressed" > Case 121 'F10 was pressed > Msgbox "F10 was pressed" > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > 'Msgbox "F12 was pressed" > End Select > End Sub > > > HTH > David McAfee > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 9:41 AM > To: AccessD > Subject: [AccessD] Function Keys - A2K > > > How do I access the powers the function keys in an Access app? > > I want to use F3 (or whatever) to perform a certain function. How can I > call the function using an F3 keypress? > > Thanks. > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jim.hale at fleetpride.com Mon Jun 9 13:31:42 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 9 Jun 2003 13:31:42 -0500 Subject: [AccessD] super critical:PercentRank function in Access Message-ID: <869379ABF177D4118D3100508B5EF873063AB21B@corp-es00> Maybe this example can get you started. It opens a new workbook, fills column A cells 1-24 with test data and returns the rank of an input number. It also places the formula in the spreadsheet and shows you the sheet. HTH Jim Hale Function RankExample() As Double 'Under tools references check the Microsoft excel library Dim appExcel As Excel.Application, myrange As Range, intI As Integer Dim intTestvalue As Integer On Error GoTo ErrorProc: intTestvalue = InputBox("Input a number from 100 to 340 divisible by 10") If (intTestvalue >= 110 And intTestvalue <= 340) Then If (intTestvalue / 10 - Int(intTestvalue / 10)) <> 0 Then MsgBox "The number must be divisible by 10" Else Set appExcel = Excel.Application With appExcel .Workbooks.Add 'fill cells with test data For intI = 1 To 24 .Cells(intI, 1) = 100 + intI * 10 Next Set myrange = .Worksheets("Sheet1").Range("A1:A24") RankExample = .WorksheetFunction.Rank(intTestvalue, myrange) MsgBox intTestvalue & " is " & RankExample & " in rank" 'show the answer" 'places the formula in a cell on the worksheet .Range("d5").Formula = "=rank(" & intTestvalue & ",A1:A24)" .Visible = True .ScreenUpdating = True .Quit End With Set appExcel = Nothing End If Else MsgBox "The number you have input is outside the range of values" End If The_End: Exit Function ErrorProc: MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Sunday, June 08, 2003 6:05 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] super critical:PercentRank function in Access Has anyone used Worksheet functions in Access? I am trying to rank a column of numbers in a table and I have no idea even how to begin. HELP!! Please. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 9 13:41:47 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:41:47 -0400 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: Reuben, <> It allows a form to preview a keystroke before it's sent to a control. Also, if you want this app wide, simply use the Autokeys macro. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Monday, June 09, 2003 2:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Function Keys - A2K What's the purpose of "key preview = yes"? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > (Home) > Sent: Monday, June 09, 2003 12:06 PM > To: accessd at databaseadvisors.com > Cc: reuben at gfconsultants.com > Subject: RE: [AccessD] Function Keys - A2K > > > In you form's properties, set "key preview" to "yes" and place > the following > code in the "On Key Up" event: > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > Select Case KeyCode > Case 27 'Escape was pressed > KeyCode = 0 'Setting a keycode to 0 will "disable" that key's > function > Case 114 'F3 was pressed > Call YourFunctionNameHere() > Case 116 'F5 was pressed > Msgbox "F5 was pressed" > Case 117 'F6 was pressed > Msgbox "F6 was pressed" > Case 119 'F8 was pressed > Msgbox "F8 was pressed" > Case 120 'F9 was pressed > Msgbox "F9 was pressed" > Case 121 'F10 was pressed > Msgbox "F10 was pressed" > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > 'Msgbox "F12 was pressed" > End Select > End Sub > > > HTH > David McAfee > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 9:41 AM > To: AccessD > Subject: [AccessD] Function Keys - A2K > > > How do I access the powers the function keys in an Access app? > > I want to use F3 (or whatever) to perform a certain function. How can I > call the function using an F3 keypress? > > Thanks. > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 13:47:39 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:47:39 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Mon Jun 9 13:56:31 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Mon, 9 Jun 2003 13:56:31 -0500 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: 1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table? 2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that? I will definitely add the code to clear the locks! Thanks so much for your help!! Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 1:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Jun 9 14:11:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 9 Jun 2003 12:11:25 -0700 Subject: [AccessD] Create Temp Table from Recordset References: <001901c32e9c$b287b580$0c05a8c0@earth.local> Message-ID: <023401c32eba$ebec42f0$6501a8c0@HAL9002> MessageMy code creates the table in the FE, which, if it's a temp table, is where you want it. Yes? I didn't do anything special - it just seems to be the default. Wait. I SET db=CurrentDb which I believe points to the front end. Are you setting the db that you run the execute against to the FE or the BE. The table should end up wherever the db is pointing. I think... Rocky Rocky ----- Original Message ----- From: ACTEBS To: accessd at databaseadvisors.com Sent: Monday, June 09, 2003 8:34 AM Subject: RE: [AccessD] Create Temp Table from Recordset Rocky, But how did you tell it which DB you wanted to create the table in? I tried the db.execute....method but it created the table in the BE which is something I don't want. That's why I stopped using the SELECT ....IN clauses and just created the recordset hoping I could save it locally as a table. The reason is, the users can save the FE anywhere and run it so the IN portion of the Make Table syntax won't work. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, 10 June 2003 1:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Create Temp Table from Recordset Vlad: I just did this by creating a make table query in the QBE and copying out the SQL code. I don't know if you can use straight SQL to populate your table or you need to process through code. I used db.execute instead of DoCmd.RunSQL to run the SQL so I don't have to Set Warnings False. If you want to get rid of the table afterwards - DROP tbl. I don't know that if your make table SQL doesn't return any records, it will create the table anyway as an empty table but I think it will. HTH Rocky ----- Original Message ----- From: ACTEBS To: access group Sent: Monday, June 09, 2003 7:48 AM Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Mon Jun 9 14:12:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 9 Jun 2003 13:12:51 -0600 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <142830-22003619191251314@christopherhawkins.com> I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- From bheid at appdevgrp.com Mon Jun 9 14:26:30 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 9 Jun 2003 15:26:30 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <916187228923D311A6FE00A0CC3FAA30527983@ADGSERVER> Hi, I can't help you with your basic problem, but I recommend that you do not use a registry entry unless you validate that entry with something else. This is mainly because there are several apps out there that will watch to see which files/registry entries are used by an application. HTH, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 3:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 14:21:41 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:21:41 -0400 Subject: [AccessD] Access97 and recordlocking In-Reply-To: Message-ID: Jeanine, <<1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table?>> Opening a recordset in code no. Opening a bound form, yes. <<2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that?>> lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 2:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking 1) wouldn't opening a recordset on tblInstallPeople without any criteria bring back all records in the table? 2) What allows you to wait before performing the operation again? I looked up DoEvents and it doesn't seem to do that? I will definitely add the code to clear the locks! Thanks so much for your help!! Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 1:48 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, <> Simply do: Set AddRS = db.OpenRecordset("tblInstallPeople") <> a. Your try the operation again without waiting. b. You do nothing to try and clear any locks that may be outstanding by the current process. With those two things, I'm not surprised your getting concurrency issues. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 1:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Here's the code I am using - I open an empty recordset to perform the add. Is there another better way to do it? stradd = "Select * From tblInstallPeople where 1=0" Set AddRS = db.OpenRecordset(stradd) AddRS.AddNew AddRS("PeopleID") = Me![cbpeople].Value AddRS("InstallID") = Me![txtInstallID].Value AddRS("EffDt") = Date AddRS("EnteredBy") = varUser AddRS.Update AddRS.Close SET ADDRS = nothing Also, your locking code looks great. We have something similar whenever we do inserts - would you be able to look at the code below and tell me where yours' is better? I think it is - I just don't know enough about it to tell why or how and I don't want to change what we are doing if I'm not sure it will provide additional functionality. This function is called whenever we run an action query. Thank you so much! Public Function GetRSWrite(ByVal sql As String) '*************************************************************************** ************************************** 'CREATED BY: 'CREATED DATE: 09/10/01 'PURPOSE: gets and keeps db name, used for updateable recordsets such as deletes, updates, etc. Rollsback on error '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 10/28/02 'MODIFICATION DESC: Added error numbers 3260 and 3186 '--------------------------------------------------------------------------- -------------------------------------- 'MODIFIED BY: 'MODIFIED DATE: 5-28-03 'MODIFICATION DESC: '*************************************************************************** ************************************** On Error Resume Next Dim rs As Recordset Dim i As Integer i = 0 If gdb Is Nothing Then Set gdb = DBEngine(0)(0) End If gdb.Execute sql, dbFailOnError GetRSWrite = gdb.RecordsAffected Do Until Err = 0 Or i = 10 'MsgBox Err 'MsgBox Err.Description i = i + 1 Select Case Err Case 3051, 3075, 3186, 3187, 3197, 3218, 3260, 3264 'Error multi-user issues Err = 0 'Reset Error and try again gdb.Execute sql, dbFailOnError Case Else GoTo errorhandler Exit Do End Select Loop If i = 10 Then GoTo errorhandler End If Exit Function errorhandler: Dim strErrorDescription As String strErrorDescription = Err.Description & " SQL=" & sql gstrSource = "basCommon" gstrActiveControl = "GetRSWrite" Call ErrorTrapping(strErrorDescription, Err.Number, gstrSource, gstrActiveControl) End Function Jeanine Scott Sr. Systems Analyst Spindustry Systems 515-669-2074 jscott at spindustry.com CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message including any attachments. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, June 09, 2003 11:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Jeanine, You certainly don't need to even bother with generating an empty recordset if all you want to do is add. I would suggest placing the add in a transaction and adding appropriate error trapping. Below is an example of some error trapping that makes 5 attempts to do an operation, then quits if it still won't go. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net GetRecordKeyError: 'Table locked by another user? If Err = CNT_ERR_RESERVED Or Err = CNT_ERR_COULDNT_UPDATE Or Err = CNT_ERR_OTHER Then intLockCount = intLockCount + 1 If intLockCount > 5 Then GetRecordKey = Null Resume GetRecordKeyExit Else DoEvents DBEngine.Idle DB_FREELOCKS lngWait = intLockCount ^ 2 * Int(Rnd * 20 + 5) For lngX = 1 To lngWait DoEvents Next lngX Resume End If Else UnexpectedError ModuleName, Routine, Version, Err, Error$ GetRecordKey = Null Resume GetRecordKeyExit End If 'Error constants Const CNT_ERR_RESERVED = 3000 Const CNT_ERR_COULDNT_UPDATE = 3260 Const CNT_ERR_OTHER = 3262 Const CNT_ERR_NO_CURRENT_ROW = 3021 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Monday, June 09, 2003 12:40 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking Yes, that's exactly what I need since I want to add a record to the table. However, I seem to be getting a lot of recordlocking errors when attempting to add the record to the table. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access97 and recordlocking That SQL will return an empty recordset. Is that what you intended? Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Monday, June 09, 2003 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 and recordlocking If I pull a recordset like this: "Select * from tblTest where 1=0" how does the recordlocking work? I understand Access97's disadvantage of page locking rather than single record locking; however, I'm having a lot of issues where users are getting kicked out because of record locking errors but I can't see how this above SQL cause the table to be locked. I'm using a recordset pull rather than a direct SQL insert because I have to insert several records to the same table at one time. I do not want to do a separate db call for each of the records because the LAN speed is just horrible between the FE and the BE. Thanks!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 11:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) It would be very unusual for me to want ALL the variables in a routine to be static. That's why I never use static functions. I prefer to use static variables in standard functions when I need a static value. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, June 08, 2003 11:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. By default all variables in a static function are static variables. > You could declare a static variable in a non-static function, but I > don't know why you would. Well, to free you from resetting those variables which are not to be used as static variables ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Jun 9 14:33:14 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 9 Jun 2003 14:33:14 -0500 Subject: [AccessD] Function Keys - A2K In-Reply-To: Message-ID: Thanks for everyone's help. I got it finished. Is F9 requery? Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman > Sent: Monday, June 09, 2003 1:42 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Function Keys - A2K > > > Reuben, > > <> > > It allows a form to preview a keystroke before it's sent to a control. > > Also, if you want this app wide, simply use the Autokeys macro. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > Cummings > Sent: Monday, June 09, 2003 2:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Function Keys - A2K > > > What's the purpose of "key preview = yes"? > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > > (Home) > > Sent: Monday, June 09, 2003 12:06 PM > > To: accessd at databaseadvisors.com > > Cc: reuben at gfconsultants.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > In you form's properties, set "key preview" to "yes" and place > > the following > > code in the "On Key Up" event: > > > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > > Select Case KeyCode > > Case 27 'Escape was pressed > > KeyCode = 0 'Setting a keycode to 0 will "disable" > that key's > > function > > Case 114 'F3 was pressed > > Call YourFunctionNameHere() > > Case 116 'F5 was pressed > > Msgbox "F5 was pressed" > > Case 117 'F6 was pressed > > Msgbox "F6 was pressed" > > Case 119 'F8 was pressed > > Msgbox "F8 was pressed" > > Case 120 'F9 was pressed > > Msgbox "F9 was pressed" > > Case 121 'F10 was pressed > > Msgbox "F10 was pressed" > > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > > 'Msgbox "F12 was pressed" > > End Select > > End Sub > > > > > > HTH > > David McAfee > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > Cummings > > Sent: Monday, June 09, 2003 9:41 AM > > To: AccessD > > Subject: [AccessD] Function Keys - A2K > > > > > > How do I access the powers the function keys in an Access app? > > > > I want to use F3 (or whatever) to perform a certain function. How can I > > call the function using an F3 keypress? > > > > Thanks. > > > > Reuben Cummings > > Director of Software Development > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 9 14:55:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 14:55:46 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CEE@main2.marlow.com> If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Jun 9 14:57:55 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 9 Jun 2003 14:57:55 -0500 Subject: [AccessD] Create Temp Table from Recordset Message-ID: <869379ABF177D4118D3100508B5EF873063AB26B@corp-es00> Maybe this will help. If you give this function the name of a table it will return the database in which the table resides. If strTable is a table that resides in the BE "Set dbs = WhichDB(strTable)" will set a database variable to the backend. HTH Jim Hale Function WhichDB(strTableName As String) As Database Dim dbpath$, SourceTable$, dbTest As Database On Error GoTo whichDB_ERR Set dbTest = DBEngine(0)(0) dbpath = Mid(dbTest(strTableName).Connect, InStr(1, dbTest(strTableName).Connect, "=") + 1) If dbpath = "" Then Set dbTest = CurrentDb() Else Set dbTest = DBEngine(0).OpenDatabase(dbpath) End If Set WhichDB = dbTest whichDB_EXIT: Exit Function whichDB_ERR: MsgBox Err.Description Resume whichDB_EXIT End Function -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Monday, June 09, 2003 11:00 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Create Temp Table from Recordset You can refer to a table in another database within your queries without having to create a permanent link to that database. e.g. SELECT * from Orders IN "c:\datafolder\other_db.mdb" Another option might be to use a Pass-Through query. Once you have the Pass-Through query running, you can use the Pass-Through query as your datasource to do whatever you like such as building a make-table query... This may or may not be a solution for you. One of its uses is an alternate way to "link" to a remote database table. Look in the help file for more information on "Pass-Through". Not sure if this will solve your problem, just thought it might be something for you to think about. Rich -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, June 09, 2003 11:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset John/Rusty, I don't think I explained myself very well. I have a remote DB not linked to my FE. I could create a stored query, but it won't run because the tables are not linked. What I need to do is create the table from the recordset that I've created so I can work on the data locally and bind it to a report. Any other suggestions? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 10 June 2003 12:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Create Temp Table from Recordset do it with the SQL statement directly Create a make table query using the query wizard and then look at the syntax in SQL view. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, June 09, 2003 10:48 AM To: access group Subject: [AccessD] Create Temp Table from Recordset Guys, Is there a method of creating a temp table in your DB from a recordset? eg: dim strSQL as string dim db as dao.database dim rst as dao.recordset strSQL = "SELECT someTable etc etc etc" set db = opendatabase("some remote DB") set rst =db.openrecordset(strsql) with rst make a new table in my db from the recordset end with I've never had to do this and have wasted heaps of time on this. Any help will be much appreciated... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Mon Jun 9 15:51:55 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 16:51:55 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CEE@main2.marlow.com> Message-ID: I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamie at kriegelpcsolutions.com Mon Jun 9 16:03:38 2003 From: jamie at kriegelpcsolutions.com (Jamie Kriegel) Date: Mon, 9 Jun 2003 16:03:38 -0500 Subject: [AccessD] Query Help In-Reply-To: Message-ID: Thanks! That is exactly what I needed! Jamie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Monday, June 09, 2003 11:32 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Query Help Try this: SELECT Customers.CustID FROM Customers INNER JOIN Policies ON Customres.CustId = Policies.CustID GROUP BY Customers.CustID HAVING (((Count(Policies.CustID))=1)); -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Mon Jun 9 16:24:03 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 9 Jun 2003 15:24:03 -0600 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: <92920-2200361921243102@christopherhawkins.com> That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From kaupca at chevrontexaco.com Mon Jun 9 16:41:22 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 9 Jun 2003 16:41:22 -0500 Subject: [AccessD] Cannot edit table from form Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D79@bocnte2k4.boc.chevrontexaco.net> I have a form based on a query of a table that display the results in a series of text boxes. One record is displayed in the boxes. I can tab through the boxes but cannot edit the data. I think I have everything set up right but must be missing something. What do I need to change? Thanks No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 9 16:42:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 16:42:02 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF0@main2.marlow.com> You just have to setup a registration website. Have a little code that submits a 'key' to your site, for the user, and then have the new 'registration key' either emailed, or visible on the webpage. It isn't going to stop anything, but you'll have a log, of how many times a particle product has been registered with different MAC Addresses. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 4:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jun 9 16:42:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 07:42:39 +1000 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: <3EE58BEF.2737.195402@localhost> On 9 Jun 2003 at 13:12, Christopher Hawkins wrote: > I need to come up with a registration/licensing routine for an Access > app that a client of mine will be selling. Basically, my client is > concerned about one customer distributing the application to others. > > I want to roll my own algorithm, but then it occurred to me there > might be a better way. Right now I'm experimenting with validating > the app against the hard drive serial number, but that's fraught with > shortcomings. I'm also thinking about using an obscure registry key. > > Who's had to come up registration methods before, and how did you do > it? > I dislike hardware based systems (like MSs product activation) intensely because clients shouldn't have to ask your permission to replace/upgrade their hardware. I sometimes use a system where I embed the client name prominently on headers of all reports and on menus etc. with the name stored in a system table and looked up as needed. I then use a registration key which is a "hash" of the client name. If a copy is passed on, the incorrect name appearing constantly is at least an annoyance and frequently an embarrassment. I've also used a time based registration system where the client contacts you periodically for a new key which is a hash of their name and an expiry date. That generally works best if you are providing ongoing value (such as updated tax rate etc tables) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Mon Jun 9 16:58:49 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 9 Jun 2003 14:58:49 -0700 Subject: [AccessD] (OT) Interview Questions In-Reply-To: <2869.24.188.21.161.1055170465.squirrel@ns1.bay9.com> Message-ID: Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Mon Jun 9 17:17:05 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 10 Jun 2003 08:17:05 +1000 Subject: [AccessD] Cannot edit table from form References: <193572B4E0FC1744BEDFEE63F82CEC9E011E3D79@bocnte2k4.boc.chevrontexaco.net> Message-ID: <002501c32ed4$dc21c150$6465000a@venus> Cannot edit table from formFirst open your recordsource query and see if you can edit or add there. If not, are you using any grouping etc in your query, because this will make it make it unupdatable(??). If it is a straight query, it may be the relationships. If your query is fine, are the controls 'locked' in the properties? HTH Selina -------------------------------------------------------------------------------- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: Kaup, Chester A To: accessd at databaseadvisors.com Sent: Tuesday, June 10, 2003 7:41 AM Subject: [AccessD] Cannot edit table from form I have a form based on a query of a table that display the results in a series of text boxes. One record is displayed in the boxes. I can tab through the boxes but cannot edit the data. I think I have everything set up right but must be missing something. What do I need to change? Thanks 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: small_logo.jpg Type: application/octet-stream Size: 1219 bytes Desc: not available URL: From Subscriptions at servicexp.com Mon Jun 9 17:31:34 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 9 Jun 2003 18:31:34 -0400 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: I have a Name-Key Based solution, if you want it, E-mail me at Subscriptions at servicexp.com Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 3:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Mon Jun 9 17:55:39 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Mon, 9 Jun 2003 18:55:39 -0400 Subject: [AccessD] OT Free Firewall for those in USA References: Message-ID: <012f01c32eda$3f9a7060$1d270a44@bcs006137> Jim I don't know the answer to Your questiuon. However I did find this review from ZDNET. The firewall is part of their AntiVirus Program Dave ================================ from: http://www.zdnet.com/supercenter/stories/review/0,12070,563560,00.html Panda Software Antivirus Platinum 7.0 December 4, 2002 Editors' Rating 7.0 Service and support 6 Performance 7 Interface and ease of use 8 Installation and interface 7 How we score With familiar drop-down menus, helpful wizards, and a Web-like Home screen, Panda Antivirus Platinum 7.0 is sure to please antivirus beginners. Like its competitors, Panda scans incoming and outgoing mail for viruses, prevents malicious Visual Basic and JavaScript files from running amok, and updates its virus definitions via the Internet. Version 7.0 also features a personal firewall to prevent Internet interlopers from accessing your computer, a tool found in McAfee VirusScan 7.0 but not Norton AntiVirus 2003. Yet, Panda falls short on its virus-detection skills and telephone technical support, and it's more expensive than its competitors. Nevertheless, current Platinum 6.0 users will want to upgrade for the improved interface and new firewall, but everyone else should opt for either McAfee or Norton. Installation and interface Panda Antivirus is easy to install, whether you use the installation CD-ROM or download the program. We chose the latter route and transferred the 29MB setup file to our test PC in minutes. Setup involves little effort from you; when it's up and running, Panda loads a mini icon in the Windows System Tray. Oddly, during setup, Panda scans only your system memory for viruses--not your hard drive. By comparison, both Norton and McAfee automatically scan both the memory and hard drives. Like its competitors, though, Panda does conduct a full system scan immediately following setup. In our test, the scan took 26 minutes, performance that's on a par with initial scans by Norton and McAfee. Panda automatically installs and configures its built-in firewall but also allows you to disable the firewall if you choose. Like McAfee's firewall (Norton doesn't include one), Panda creates a list of installed programs that require Internet access and doesn't attempt to block them thereafter. Surprisingly, in our test, Panda failed to include America Online in this list of programs. However, it's easy to correct such an oversight, using a pop-up menu that appears whenever Panda first denies a program access to the Net. Panda's redesigned interface makes it a breeze to change default settings. To change the mail-protection settings, for instance, simply click the Panda icon and check the appropriate boxes on the subsequent screens. It's also just as easy to schedule scans by following the Scan Wizard's step-by-step instructions. Feature set Once Panda detects a virus, it eradicates the viral intruder without pestering you. Norton works the same way, whereas McAfee seeks your consent before taking action. We prefer the automated method, so Panda gets high marks in this category. As with Norton and McAfee, Panda allows you to reconfigure its detection settings to block, delete, clean, or quarantine infected files. Panda's e-mail scanner works with SMTP and POP3 clients--but not AOL--which means that it scans incoming and outgoing mail for rogue code in most popular e-mail programs, such as Microsoft Outlook, Outlook Express, and Eudora. Panda's on-demand scanning feature also examines e-mail folders, like McAfee and Norton. Panda loads with Windows and runs in the background, monitoring downloads and files as they're opened. It automatically downloads viral signatures without your input but always posts a screen detailing its activities. Like McAfee, Panda scans ZIP files as they're downloading to your PC, but you have to change the default settings to activate this feature. Performance In ZDNet Labs' performance tests, Panda Antivirus Platinum 7.0 is comparable to Norton in scanning speed , the amount of time it takes to search your PC for viruses, yet it takes a significant toll on overall PC performance, more so than either McAfee or Norton. To measure Panda Antivirus Platinum 7.0's impact on system performance, ZDNet Labs used BAPCo's SysMark2002, an industry-standard benchmark. The Internet Content Creation portion of SysMark measures a desktop's performance running off-the-shelf applications, such as Adobe Photoshop, Microsoft Windows Media Encoder, and Macromedia Dreamweaver. (We did not run the Office Productivity portion of the benchmark because it incorporates McAfee VirusScan 5.13.) Our test system was a Compaq Evo W4000 running Windows XP Professional with an Intel P4 2.4GHz processor and 512MB of DDR RAM. With Panda Antivirus Platinum 7.0 running, our test system scored a dismal 81--a 19 percent reduction in overall system speed. In comparison, McAfee VirusScan 7.0 scored a 97, only a 3 percent reduction in system speed, and Norton AntiVirus 2003 scored a 95, or a 5 percent reduction. (An Internet Content Creation score of 100 represents the performance of our test system without any extraneous software running.) In a test of scanning speed, Panda's 3.1 minutes tied with NAV 2003's time, while VirusScan 7.0 remains our speed champ at 1.7 minutes. Unfortunately, Panda's virus-blocking performance is a mixed bag. To determine whether the program effectively blocks viruses, we examined its past performance in tests conducted by independent antivirus-testing laboratories. In the latest Virus Bulletin tests, Panda earned the coveted VB 100 percent rating only once in its four most recent attempts, having failed three of the Windows tests. By comparison, Norton AntiVirus won all of its tests, and McAfee VirusScan won its only test during that same period. However, Panda performed as well as Norton and better than McAfee in live virus tests conducted by German AV-Test.org. Previous versions of Panda have also been certified by the independent antivirus-testing laboratories at West Coast Checkmark (Web site) and ICSA Labs (Web site). Technical support Hopefully, your method of choice for product help will be either via Web or e-mail because Panda doesn't offer phone support--not even for a fee. Norton and McAfee offer phone support, though it's expensive in both cases. Panda tech support answered our e-mail queries within 24 hours, on a par with the response time from the competition. We particularly liked Panda's support wizard, which steps you through the process of creating a tech query. The program's help section includes a handy FAQ, as well as direct links to Panda's support site. Panda Antivirus Platinum 7.0 is a fine virus killer with a clean, uncomplicated interface. It's a good choice for users upgrading from version 6.0, although the $59.95 upgrade price is steep, and upgrades from earlier versions cost $69.95--the same price paid by new customers. However, if you want to keep the antivirus signature files up-to-date, they'll cost anywhere from $7 per month to $108 dollars for 36 months of coverage. Ouch! If you're new to antivirus software, you're better off buying Norton AntiVirus 2003 or McAfee VirusScan 7.0, both of which offer slightly superior scanning tools and better support options. - by Jeff Bertolucci ----- Original Message ----- From: Jim Lawrence (AccessD) To: accessd at databaseadvisors.com Sent: Monday, June 09, 2003 4:21 AM Subject: RE: [AccessD] OT Free Firewall for those in USA Hi Martin: Is this software any good? Is it better than ZoneAlarm? Just a couple of questions. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Sunday, June 08, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Free Firewall for those in USA http://www.w2knews.com/panda/download.cfm?ref=W2K0609 Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: b.gif Type: image/gif Size: 43 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dots156.gif Type: image/gif Size: 110 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: arrow_blue.gif Type: image/gif Size: 109 bytes Desc: not available URL: From cfoust at infostatsystems.com Mon Jun 9 18:07:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 16:07:14 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 9 18:10:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 16:10:54 -0700 Subject: [AccessD] OK, ya talked into it Message-ID: John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Jun 9 18:45:45 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 09:45:45 +1000 Subject: [AccessD] A2K: Drag and Drop with Access References: <061d01c32c8f$4cda0d50$8e01a8c0@Rock> Message-ID: <00be01c32ee1$3f45e390$0100007f@DDICK> Hi Arthur What I wanted was simply some of the functionality we get on screen when we go into design view for a form. In design view click on an object - Text Box, label, combo box, image control, whatever and you get the resize handles. Grab the top left handle and you can move the whole control and get a shadow/ghost image of the control as the cursor. Let go the mouse button and viola the control has been 'dragged and dropped' I wanted something like that. It's for an ID card design app. User drags say...LastName control to bottom of card design area. Same for FirstName controls but this time to the top and same for Image control but to the far right. Simple:-) Many thanks in advance Darren ----- Original Message ----- From: "Arthur Fuller" To: Sent: Saturday, June 07, 2003 10:54 AM Subject: RE: [AccessD] A2K: Drag and Drop with Access > You can do D&D in Access, although it's difficult. I've got some code that > lets me D&D in a treeview (i.e. move an employee from Dept X to Dept Y). It > was a nightmare to figure out and then a night to write. I don't have > anything truly portable yet; each new instance I have to rethink from the > ground up. It's the conceptual stuff that's hard, and denying the illegal > moves (can't drop a department on an employee, nor an employee on an > employee, nor an employee on her current department). Once you get the code > to allow D&D you find yourself writing against all the exceptions. Nine out > of ten possible moves are illegal; the other is permitted. Makes you wish > for a Java / .NET style Try / Catch construct in Access, but I suspect it > isn't in the cards. On Error just isn't the same :-) > > D&D can be very useful, in Access as in other languages. But at the Explorer > level, for example, the exceptions are few (can't drop a folder on itself, > can't drop a file on a file unless it's an archive file, &c). But in the > higher level apps, order entry say, the rules are much more complex. I did a > D&D a while back that lets the user select compoenents and from them create > new assemblies. Any given component might be an assembly, except of course > itself. > > The D&D code IMO is trivial compared to the conceptual (you can do this, but > not that or the other thing) part. > > If you want an example of the raw D&D code I can supply same, but I stress > that this is only the raw arithmetic. The logic you must define and then > write yourself, and there is no (IMO) general solution for this. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher > Hawkins > Sent: June 5, 2003 1:32 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K: Drag and Drop with Access > > > Ah. I get you. Sorry. I mistakenly detected a tone of incredulty that > drag n' drop could be useful in Access. Once again, the shortcomings of > non-inflected text communication rears it's ugly head! ;) > > -C- > > ---- Original Message ---- > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] A2K: Drag and Drop with Access > Date: Thu, 5 Jun 2003 09:08:21 -0700 > > >I wasn't saying it couldn't be useful, but if you don't know the > >purpose > >of the action, the suggestions are likely to be off target. If you > >need > >a hammer, it doesn't help if some hands you a nail! > > > >Charlotte Foust > > > >-----Original Message----- > >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > >Sent: Thursday, June 05, 2003 7:42 AM > >To: accessd at databaseadvisors.com > >Subject: RE: [AccessD] A2K: Drag and Drop with Access > > > > > >Drag and drop could be very useful, Charlotte. As useful as in any > >other application. > > > >For example, I worked for a company that had a variable compensation > >product. If we could have allowed the users to assign people or > >department to different compensation plans by dragging and dropping the > >person or group's name over to a folder (or something) for the > >appropriate plan, everyone would have been ecstatic. > > > >Just one instance where I can see it would be useful. > > > >Sadly, we never pulled it off. > > > >I worked for another company that managed to hack out a fair > >drag-n-drop > >in an Access 2000 app, but I never got to look at the code. > > > >-Christopher- > > > >---- Original Message ---- > >From: cfoust at infostatsystems.com > >To: accessd at databaseadvisors.com, > >Subject: RE: [AccessD] A2K: Drag and Drop with Access > >Date: Thu, 5 Jun 2003 08:24:48 -0700 > > > >>Where are you going with this? What purpose is being served by the > >>drag and drop? > >> > >>Charlotte Foust > >> > >>-----Original Message----- > >>From: Darren DICK [mailto:d.dick at uws.edu.au] > >>Sent: Wednesday, June 04, 2003 8:59 PM > >>To: AccessD List > >>Subject: [AccessD] A2K: Drag and Drop with Access > >> > >> > >>Hi All > >>Anyone have any success with dragging and dropping of controls onto > >>Access forms? Eg I have an Image control displaying an image and > >say > >>it's in the top left corner of the form. I want to 'click' onto the > >>image control and 'drag' it to say... the bottom left corner of the > >>form. > >> > >>I have found heaps of samples for VB but they use VB only events > >etc, > >>that I can't replicate or fudge in Access. > >> > >>Any suggestions?? > >> > >>Many thanks in advance > >> > >>Darren > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 9 18:48:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 18:48:36 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF2@main2.marlow.com> An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Jun 9 18:53:27 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 09:53:27 +1000 Subject: [AccessD] Function Keys - A2K References: Message-ID: <00e701c32ee2$527e6e90$0100007f@DDICK> No <>> The Requery method updates the data underlying a form or control to reflect records that are new to or have been deleted from the record source since it was last requeried. The Refresh method shows only changes that have been made to the current set of records; it doesn't reflect new records or deleted records in the record source. The Repaint method simply repaints the specified form and its controls. ----- Original Message ----- From: "Reuben Cummings" To: Sent: Tuesday, June 10, 2003 5:33 AM Subject: RE: [AccessD] Function Keys - A2K > Thanks for everyone's help. I got it finished. > > Is F9 requery? > > Reuben Cummings > Director of Software Development > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman > > Sent: Monday, June 09, 2003 1:42 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > Reuben, > > > > <> > > > > It allows a form to preview a keystroke before it's sent to a control. > > > > Also, if you want this app wide, simply use the Autokeys macro. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > Cummings > > Sent: Monday, June 09, 2003 2:29 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > What's the purpose of "key preview = yes"? > > > > Reuben Cummings > > Director of Software Development > > GFC, LLC > > phone: 812.523.1017 > > email: reuben at gfconsultants.com > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAFee > > > (Home) > > > Sent: Monday, June 09, 2003 12:06 PM > > > To: accessd at databaseadvisors.com > > > Cc: reuben at gfconsultants.com > > > Subject: RE: [AccessD] Function Keys - A2K > > > > > > > > > In you form's properties, set "key preview" to "yes" and place > > > the following > > > code in the "On Key Up" event: > > > > > > Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) > > > Select Case KeyCode > > > Case 27 'Escape was pressed > > > KeyCode = 0 'Setting a keycode to 0 will "disable" > > that key's > > > function > > > Case 114 'F3 was pressed > > > Call YourFunctionNameHere() > > > Case 116 'F5 was pressed > > > Msgbox "F5 was pressed" > > > Case 117 'F6 was pressed > > > Msgbox "F6 was pressed" > > > Case 119 'F8 was pressed > > > Msgbox "F8 was pressed" > > > Case 120 'F9 was pressed > > > Msgbox "F9 was pressed" > > > Case 121 'F10 was pressed > > > Msgbox "F10 was pressed" > > > 'Case vbKeyF12 'F12 was pressed '<-- Can also call this way > > > 'Msgbox "F12 was pressed" > > > End Select > > > End Sub > > > > > > > > > HTH > > > David McAfee > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben > > > Cummings > > > Sent: Monday, June 09, 2003 9:41 AM > > > To: AccessD > > > Subject: [AccessD] Function Keys - A2K > > > > > > > > > How do I access the powers the function keys in an Access app? > > > > > > I want to use F3 (or whatever) to perform a certain function. How can I > > > call the function using an F3 keypress? > > > > > > Thanks. > > > > > > Reuben Cummings > > > Director of Software Development > > > GFC, LLC > > > phone: 812.523.1017 > > > email: reuben at gfconsultants.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Mon Jun 9 19:02:29 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Tue, 10 Jun 2003 12:02:29 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links. References: Message-ID: <05d101c32ee3$95917e60$0900a8c0@P1200n> Hi In Access I can generate automated e-mails including specifying the body's text. I have the following on a web page. E-mail to a friend I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to work. {If this is too off list can the person telling me tell me the list to go to please?!} In anticipation many thanks Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From cfoust at infostatsystems.com Mon Jun 9 19:14:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Jun 2003 17:14:11 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Mon Jun 9 19:14:47 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Mon, 9 Jun 2003 19:14:47 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091F5@outbaksrv1.outbaktech.com> Have you considered using a Hardware Key, like the Sentinel Super Pro, distributed with your App? Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 9 19:22:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 9 Jun 2003 20:22:20 -0400 Subject: [AccessD] OT: Web developer opportunity Message-ID: <00b301c32ee6$5d992820$384afccc@SusanOne> NEW! SENIOR WEB DEVELOPER NEEDED ITtoolbox is seeking a Senior Web Developer to join our team in Scottsdale, Arizona. This is an in-house, permanent position with ITtoolbox at our headquarters. As a Senior Web Developer, you will develop new applications to be deployed in the ITtoolbox network, enhance existing Web applications, and work on other ITtoolbox technology initiatives. http://Database.ITtoolbox.com/staffing/display.asp?i=2603 From DWUTKA at marlow.com Mon Jun 9 19:25:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 9 Jun 2003 19:25:40 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF4@main2.marlow.com> IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jun 9 20:04:15 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 09 Jun 2003 18:04:15 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? In-Reply-To: <92920-2200361921243102@christopherhawkins.com> Message-ID: Hi Christopher: There are few ways that this can be accomplished: 1. When the user starts the program, it retrieves a code number from the web that initializes the product. Just the CD alone will not get the application running. It may not stops all copying but it can sure slow it down. 2. The new applications created through .net can be set to install part of their code off the web when running. 3. Some programs, like MSIE, only can be downloaded from the web and install themselves immediately. It makes it difficult to pass around modules distributed in this way. 4. Some products time-out after a certain duration and require web access to initialize. The first application accessing the home site with a particular encoded serial number and IP address gets re-started but other attempts by similarly encoded product get ignored. In the event of a legitimate issue a quick email or phone call resolves the problem. None of these methods are completely fool-proof but they tend to embarrass or remind otherwise law abiding citizens of their obligations. Just some thoughts Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, June 09, 2003 2:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That's not a bad idea. If only I could solve the problem of users giving their CDs and license #'s to others...I'd make a mint! -Christopher- ---- Original Message ---- From: jimdettman at earthlink.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Date: Mon, 9 Jun 2003 16:51:55 -0400 >I would second that. It's unique world wide and fairly stable (NIC >cards >don't get changed all that often). I've got code for it if anyone >needs it. >Just send me and e-mail off-list. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >Sent: Monday, June 09, 2003 3:56 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] Registration routine for a commercially-sold >Access app? > > >If you roll your own, I would go off of the MAC Address. That's >unique, and >easy to retrieve. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Monday, June 09, 2003 2:13 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Registration routine for a commercially-sold >Access >app? > > >I need to come up with a registration/licensing routine for an Access >app that a client of mine will be selling. Basically, my client is >concerned about one customer distributing the application to others. > >I want to roll my own algorithm, but then it occurred to me there >might be a better way. Right now I'm experimenting with validating >the app against the hard drive serial number, but that's fraught with >shortcomings. I'm also thinking about using an obscure registry key. > >Who's had to come up registration methods before, and how did you do >it? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Jun 9 20:04:56 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 9 Jun 2003 21:04:56 -0400 Subject: [AccessD] Open a workgroup protected database? In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226CF4@main2.marlow.com> Message-ID: Hello All, A2K I can't seem to get the following code to work. I'm trying to open a workgroup protected database from with in access. This is what I have so far, and I get errors on it 1.Automation Error 2. 3 Command line errors 3. Can't find db Dim strDB As String Dim strCmd As String Dim objSecuredDB As Access.Application Dim SecuredDB As String On Error GoTo HandleErr strDB = "C:\Program Files\ServiceXp\SXPMANT.mdb" strCmd = SysCmd(acSysCmdAccessDir) & "\MSAccess.exe " _ & strDB & " /wrkgrp " & DBEngine.SystemDB _ & " /user Administrator" & " /pwd adminpassword" Call Shell(strCmd, vbNormalFocus) DoEvents: DoEvents: DoEvents Set objSecuredDB = GetObject(strDB) ExitHere: Exit Sub .....blah. blah .. blah Thanks A Million Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 8:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Jun 9 20:11:22 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 9 Jun 2003 21:11:22 -0400 Subject: [AccessD] Get Current Printer - XP w/in Citrix In-Reply-To: <412003619161132930@earthlink.net> Message-ID: <001f01c32eed$38b5c7f0$54320cd8@hargrove.internal> Application.Printer will give you the current printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Judy Johnson Sent: Monday, June 09, 2003 12:12 PM To: AccessD Subject: [AccessD] Get Current Printer - XP w/in Citrix I need to be able to capture the current printer information within an individual's application to ensure that I return their printer default to the correct printer. We are working within Citrix and find that the "Nothing" doesn't work as expected (i.e., back to default). What I need to do is add code to a PDF button that : -first determines what their printer is and saves that information in a variable, -changes the printer to PDF Factory (I have that working fine), -then switch it back to what I captured earlier Hope this makes sense. Thanks for your help. Judy Johnson jjwrite at earthlink.net 860-482-8651 860-309-2484 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Jun 9 20:55:39 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 11:55:39 +1000 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <00be01c32ee1$3f45e390$0100007f@DDICK> Message-ID: <3EE5C73B.29579.100F6DF@localhost> On 10 Jun 2003 at 9:45, Darren DICK wrote: > Hi Arthur > What I wanted was simply some of the functionality we get on screen when we go into design view for a form. > In design view click on an object - Text Box, label, combo box, image control, whatever and you get the resize > handles. Grab the top left handle and you can move the whole control and get a shadow/ghost image of the > control as the cursor. Let go the mouse button and viola the control has been 'dragged and dropped' > > I wanted something like that. It's for an ID card design app. User drags say...LastName control to bottom of card > design area. Same for FirstName controls but this time to the top and same for Image control but to the far right. > > Simple:-) > I f all you wnat to do is move the control around withint the form, this will do let you do a Ctrl+LeftButton and drag the control around. ( It only moves Text0 - youi'll need to duplicate it for each control that you want to move or write a more generic routine, but this should give you the general idea): Private movingText0 As Boolean Private Sub Text0_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Shift = acCtrlMask And Button = acLeftButton Then movingText0 = True End If End Sub Private Sub Text0_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim NewX As Long Dim NewY As Long If moving Then NewX = Text0.Left + X NewY = Text0.Top + Y If NewX > 0 And NewX + Text0.Width < Me.Width Then Text0.Left = NewX End If If NewY + Y > 0 And NewY + Text0.Height < Me.Detail.Height Then Text0.Top = NewY End If End If End Sub Private Sub text0_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) If Shift = acCtrlMask And Button = acLeftButton Then movingText0 = False End If End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Mon Jun 9 21:00:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jun 2003 12:00:33 +1000 Subject: [AccessD] A2K: Drag and Drop with Access In-Reply-To: <3EE5C73B.29579.100F6DF@localhost> References: <00be01c32ee1$3f45e390$0100007f@DDICK> Message-ID: <3EE5C861.25269.10574A6@localhost> On 10 Jun 2003 at 11:55, Stuart McLachlan wrote: > > Private Sub Text0_MouseMove(Button As Integer, Shift As Integer, X As ..... > If moving Then .... That should of course be "movingText0" :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From d.dick at uws.edu.au Mon Jun 9 22:53:51 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 10 Jun 2003 13:53:51 +1000 Subject: [AccessD] A2K: Need Guru Help Message-ID: <01f801c32f03$e7cf0f60$0100007f@DDICK> Hello all AccessD Gurus (you know who you are :-)) I have been playing around with a drag and drop app within Access. I am now at a stage I need one or two of the Gurus from the list to look at the app and do it properly :-)) My code is rough as hell and the Drag and Drop stuff is all done with smoke and mirrors. So..Any of the list Gurus wanna have a look at it? If I get any takers from the guru level and if something nice gets developed I am more than happy to offer it as a 'list me too' if the contributing GURU/s are OK with that. The zip file is about 600K Over to the GURUS Off line would be best to d.dick at uws.edu.au Many thanks Darren From papparuff at attbi.com Mon Jun 9 23:17:21 2003 From: papparuff at attbi.com (John Ruff) Date: Mon, 9 Jun 2003 21:17:21 -0700 Subject: [AccessD] Registration routine for a commercially-sold Access app? In-Reply-To: <142830-22003619191251314@christopherhawkins.com> Message-ID: <013801c32f07$30e02ba0$6401a8c0@papparuff> Peter DeBaets has just developed a new Access Add-on called KeyedAccess. It looks as if this will serve you perfectly. Check it out at: http://www.peterssoftware.com/ka.htm John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Christopher Hawkins Sent: Monday, June 09, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 10 02:52:19 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 02:52:19 -0500 Subject: [AccessD] A2K: Need Guru Help Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF5@main2.marlow.com> I've actually been doing more work in 2000, so send away! Drew (Send it to dwutka at marlow.com) -----Original Message----- From: Darren DICK To: AccessD List Sent: 6/9/03 10:53 PM Subject: [AccessD] A2K: Need Guru Help Hello all AccessD Gurus (you know who you are :-)) I have been playing around with a drag and drop app within Access. I am now at a stage I need one or two of the Gurus from the list to look at the app and do it properly :-)) My code is rough as hell and the Drag and Drop stuff is all done with smoke and mirrors. So..Any of the list Gurus wanna have a look at it? If I get any takers from the guru level and if something nice gets developed I am more than happy to offer it as a 'list me too' if the contributing GURU/s are OK with that. The zip file is about 600K Over to the GURUS Off line would be best to d.dick at uws.edu.au Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Tue Jun 10 03:03:06 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 09:03:06 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Hi Our management have decided to tie our salaries to passing MS .Net certification exams. Does anyone one have any books recommendations (or other resources) specific to passing MCSA and MCSE? Many thanks Richard From roz.clarke at donnslaw.co.uk Tue Jun 10 03:26:09 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 10 Jun 2003 09:26:09 +0100 Subject: [AccessD] (OT) Interview Questions Message-ID: <61F915314798D311A2F800A0C9C83188047C5E6F@dibble.observatory.donnslaw.co.uk> Kathryn I didn't volunteer it because it's not aimed at just Access developers; I'm trying to find someone who can do Access VBA, ADO, SQL & relation database design but also VB, MS SQL Server dev & MS SQL Server admin. It IS a tough test and I could only answer about half of it myself - like I said, I mostly wanted a framework for talking through technical issues with interviewees. I even said to them "If you don't like the questions make up your own questions" but that just confused them *sigh*. Oleg, if you want me to mail you the test anyway contact me offline. Roz -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: 09 June 2003 22:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] (OT) Interview Questions Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to > practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 10 03:36:39 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 10 Jun 2003 10:36:39 +0200 Subject: [AccessD] OT? - Certification In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Message-ID: <648733498.20030610103639@cactus.dk> Hi Richard Meaning that you now have to focus on passing monkey class "exams" rather than improving your skills? Bon appetite. /gustav > Our management have decided to tie our salaries to passing MS .Net > certification exams. .. From tinanfields at torchlake.com Tue Jun 10 03:54:32 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Tue, 10 Jun 2003 04:54:32 -0400 Subject: [AccessD] OT? - Certification References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A0@MAILGATE.bury.gov.uk> Message-ID: <3EE59CC8.7020902@torchlake.com> Hi Richard, Check out your local community college or vocational tech school - they may well be offering such Microsoft exam prep courses. Tina Griffiths, Richard wrote: >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations (or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From R.Griffiths at bury.gov.uk Tue Jun 10 04:14:16 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 10:14:16 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A2@MAILGATE.bury.gov.uk> yeh, we'll get some training from employers - I want to get a pick list of books and resources to take to management for them to purchase - I could look on the www but there is so much out there so am looking to anyone who has already (or is in the same process) done this. Richard > -----Original Message----- > From: Tina Norris Fields [SMTP:tinanfields at torchlake.com] > Sent: 10 June 2003 09:55 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT? - Certification > > Hi Richard, > > Check out your local community college or vocational tech school - they > may well be offering such Microsoft exam prep courses. > > Tina > > Griffiths, Richard wrote: > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations (or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Tue Jun 10 06:52:02 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 10 Jun 2003 07:52:02 -0400 Subject: [AccessD] OT? - Certification Message-ID: <833956F5C117124A89417638FDB11290EBCEB2@goexchange.pghcorning.com> I recently talked the IT manager into paying for my certification which is a bonus however didn't realize what it takes to get an MCAD/MCSD. I'm starting from the ground floor since the company is paying for it. Microsoft's website lists the certifications and breaks each one down into exams, classes, and books/resources you can use to obtain the knowledge for each test.. http://www.microsoft.com/traincert/mcp/sixsteps.asp If you are in or near Pittsburgh, "Pittsburgh River Head Training" came highly recommended from a Microsoft representative www.riverheadtraining.com. Just passing along some information I came across in my research... GOOD LUCK!!! Rich -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 10, 2003 5:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification yeh, we'll get some training from employers - I want to get a pick list of books and resources to take to management for them to purchase - I could look on the www but there is so much out there so am looking to anyone who has already (or is in the same process) done this. Richard > -----Original Message----- > From: Tina Norris Fields [SMTP:tinanfields at torchlake.com] > Sent: 10 June 2003 09:55 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT? - Certification > > Hi Richard, > > Check out your local community college or vocational tech school - they > may well be offering such Microsoft exam prep courses. > > Tina > > Griffiths, Richard wrote: > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations (or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Tue Jun 10 07:42:53 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue, 10 Jun 2003 08:42:53 -0400 Subject: [AccessD] Generating Body Text in Automated E-mail links Message-ID: <01C32F2C.4960C110.bob@renaissancesiding.com> David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work > > {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From Susan.Klos at fldoe.org Tue Jun 10 08:28:03 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 10 Jun 2003 09:28:03 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: <8213C1F49875D61195DA0002A5412A0301406FFC@mail.doe.state.fl.us> It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function From paul.hartland at fsmail.net Tue Jun 10 08:34:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 13:34:39 +0000 Subject: [AccessD] Help!Why won't this work? Message-ID: <20030610133439.LSWR4720.fep07-svc.ttys.com@localhost> Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Tue Jun 10 08:44:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 13:44:59 +0000 Subject: [AccessD] Help!Why won't this work? Message-ID: <20030610134459.LTJH4720.fep07-svc.ttys.com@localhost> Susan, Should the following line : Set qdf = db.QueryDefs("Reading") be Set qdf = db.CreateQueryDef("Reading") Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Susan.Klos at fldoe.org Tue Jun 10 08:46:34 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 10 Jun 2003 09:46:34 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: <8213C1F49875D61195DA0002A5412A0301406FFD@mail.doe.state.fl.us> Nope, Access just quits working. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, June 10, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Help!Why won't this work? Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 08:57:13 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 08:57:13 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <001501c32f58$322467a0$de1811d8@DanWaters> Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Tue Jun 10 09:11:03 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 10 Jun 2003 09:11:03 -0500 Subject: [AccessD] OT? - Certification Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DB7@cpixchng-1.cpiqpc.net> Richard, If you're interested in a CBT (Computer Based Training), I've used SmartCertify Direct in the past and have been very happy with them. If you want some contact information for them, e-mail me at rusty.hammond at cpiqpc.com Rusty -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 10, 2003 3:03 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] OT? - Certification Hi Our management have decided to tie our salaries to passing MS .Net certification exams. Does anyone one have any books recommendations (or other resources) specific to passing MCSA and MCSE? Many thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 09:21:06 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 10:21:06 -0400 Subject: [AccessD] Help!Why won't this work? Message-ID: Let me join the Guess-A-Thon (I'll be Jerry) Should the DB be dimmed as DAO? When Access 'stops working' a repair and compact as well as a cold boot plus maybe a JetComp might be in order. _D >From: "Klos, Susan" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Help!Why won't this work? >Date: Tue, 10 Jun 2003 09:46:34 -0400 > >Nope, Access just quits working. > >-----Original Message----- >From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] >Sent: Tuesday, June 10, 2003 9:35 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Help!Why won't this work? > > >Susan, > >Does it give you any error messages ? > >Paul > >From: "Klos, Susan" >Date: Tue 10/Jun/2003 13:28 GMT >To: "'accessd at databaseadvisors.com'" >Subject: [AccessD] Help!Why won't this work? > >It worked yesterday. >'------------------------------------------------------------ >' mcrSaveReading >' >'------------------------------------------------------------ >Function mcrSaveReading() >On Error GoTo mcrSaveReading_Err > > Dim school As String > Dim strFileName As String > Dim mysql As String > Dim qdf As QueryDef > Dim db As Database > Dim rs As DAO.Recordset > > Set db = CurrentDb > > Set rs = db.OpenRecordset("GradedSchools") > Do Until (rs.EOF) > school = rs.Fields("DistSchNo") > 'school = InputBox("What School Number") > 'school = "[GradedSchools.DistSchNo]" > 'MsgBox school > 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", >"T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" > mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, >ReadingGrade.LName, ReadingGrade.FName, " & _ > "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, >ReadingGrade.LevelR03, " & _ > "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, >ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ > "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" > > Set qdf = db.QueryDefs("Reading") > > strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & >".xls" > qdf.SQL = mysql > 'MsgBox "tablename = " & strFileName > > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, >qdf.Name, >strFileName, True > rs.MoveNext > Loop > >mcrSaveReading_Exit: > Exit Function > >mcrSaveReading_Err: > MsgBox Error$ > Resume mcrSaveReading_Exit > >End Function >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Tue Jun 10 09:21:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 10:21:35 -0400 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: <001501c32f58$322467a0$de1811d8@DanWaters> Message-ID: what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 09:47:49 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 09:47:49 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <001f01c32f5f$434e7640$de1811d8@DanWaters> John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Tue Jun 10 10:01:31 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 10 Jun 2003 09:01:31 -0600 Subject: [AccessD] Error on Next Record Message-ID: <05EBB8A3BEB95B4F8216BE4EF486077801076F@srciml1.ds.doc.state.or.us> Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From jcolby at colbyconsulting.com Tue Jun 10 10:09:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 11:09:17 -0400 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: <001f01c32f5f$434e7640$de1811d8@DanWaters> Message-ID: Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Jun 10 10:14:51 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 10 Jun 2003 15:14:51 +0000 Subject: [AccessD] Error on Next Record Message-ID: <20030610151452.LWHN4720.fep07-svc.ttys.com@localhost> Mike, I have a slightly long winded approach to this I'm sure someone has a better solution, when I open a form I disable the previous button as the user will be on the first record anyway, and when the user moves off the record I enable it. If they click the previous button, after the actual record move I see if it is the first record, if it is I disable the previous button again. I do a similar procedure with the user hitting the last record where I disable the next button if tha last record is reached..... Paul From: "Gowey Mike W" Date: Tue 10/Jun/2003 15:01 GMT To: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From jeffrey.demulling at usbank.com Tue Jun 10 10:15:56 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 10 Jun 2003 10:15:56 -0500 Subject: [AccessD] Error on Next Record Message-ID: Could you add some code like the following: dim rst as recordset if rst.bof then 'Disable previous control Elseif rst.eof then 'Disable next control end if Just a quick idea, and maybe a jumping off point. "Gowey Mike W" Sent by: accessd-bounces at databaseadvisors.com 06/10/2003 10:01 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Tue Jun 10 10:15:39 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 11 Jun 2003 01:15:39 +1000 Subject: [AccessD] Help!Why won't this work? In-Reply-To: <20030610133439.LSWR4720.fep07-svc.ttys.com@localhost> Message-ID: <000001c32f63$29b6cee0$0c05a8c0@earth.local> Susan, Try changing: Dim db As Database To: Dim db As DAO.Database HTH Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, 10 June 2003 11:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Help!Why won't this work? Susan, Does it give you any error messages ? Paul From: "Klos, Susan" Date: Tue 10/Jun/2003 13:28 GMT To: "'accessd at databaseadvisors.com'" Subject: [AccessD] Help!Why won't this work? It worked yesterday. '------------------------------------------------------------ ' mcrSaveReading ' '------------------------------------------------------------ Function mcrSaveReading() On Error GoTo mcrSaveReading_Err Dim school As String Dim strFileName As String Dim mysql As String Dim qdf As QueryDef Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("GradedSchools") Do Until (rs.EOF) school = rs.Fields("DistSchNo") 'school = InputBox("What School Number") 'school = "[GradedSchools.DistSchNo]" 'MsgBox school 'DoCmd.TransferSpreadsheet acExport, 8, "Reading", "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls", True, "" mysql = "SELECT ReadingGrade.DistSchNo, ReadingGrade.Grade, ReadingGrade.LName, ReadingGrade.FName, " & _ "ReadingGrade.IDSS, ReadingGrade.Curr03, ReadingGrade.MatchFCAT02, ReadingGrade.LevelR03, " & _ "ReadingGrade.LevelR02, ReadingGrade.DSS03R, ReadingGrade.DSSR02, ReadingGrade.SSR02, ReadingGrade.Lo25 FROM ReadingGrade " & _ "WHERE (((ReadingGrade.DistSchNo)='" & school & "'))" Set qdf = db.QueryDefs("Reading") strFileName = "T:\2002-2003\SchoolGrades\Data\Reading" & school & ".xls" qdf.SQL = mysql 'MsgBox "tablename = " & strFileName DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, qdf.Name, strFileName, True rs.MoveNext Loop mcrSaveReading_Exit: Exit Function mcrSaveReading_Err: MsgBox Error$ Resume mcrSaveReading_Exit End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:17:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:17:54 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: Well, we licensed it and so we distribute the dll with our app. We also put all the calls to the redemption dll into a code library and set a reference to that mde in our apps, which means that if CDO is not installed or redemption is missing, the library traps the errors and our application goes on, but without the email capabilites. I never said it was the answer to every problem, John. If you want to change the way Microsoft's security patches work, you'll need to talk to Bill Gates, not me. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:19:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:19:47 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: http://dimastr.com/redemption/home.htm Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 10, 2003 5:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:21:36 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:21:36 -0700 Subject: [AccessD] (OT) Interview Questions Message-ID: Roz, You don't want much, do you? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, June 10, 2003 12:26 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] (OT) Interview Questions Kathryn I didn't volunteer it because it's not aimed at just Access developers; I'm trying to find someone who can do Access VBA, ADO, SQL & relation database design but also VB, MS SQL Server dev & MS SQL Server admin. It IS a tough test and I could only answer about half of it myself - like I said, I mostly wanted a framework for talking through technical issues with interviewees. I even said to them "If you don't like the questions make up your own questions" but that just confused them *sigh*. Oleg, if you want me to mail you the test anyway contact me offline. Roz -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: 09 June 2003 22:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] (OT) Interview Questions Ask Roz Clarke [roz.clarke at donnslaw.co.uk] to send you her "Technical test for developers". On Tues May 13 she said: "I've put together a wee test to give people I'm interviewing for a position as a systems developer later in the week. Not having done this before, I'd be interested in getting some input from y'all. This is pitched at people with about 5 years experience, who will be expected to do a lot of work in Access (but nothing very taxing), some light (but important) SQL Server dev & admin, a fair amount of Office integration and ideally will know enough VB to show me a thing or 2. It should take about half an hour (I think it's probably too long at the moment). I'm more interested in intelligent & practical thinking than 100% correct answers (I'll be going through the interviewees' answers with them at length). If you'd be willing to road test it for me let me know and I'll mail you the word doc." I got a copy and it's way over my head, but should be of help to you. -- Kathryn Bassett (Pasadena CA) http://www.databaseadvisors.com http://databaseadvisors.com/mailman/listinfo kathryn at bassett.net * http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Oleg_123 at xuppa.com > Sent: 09 Jun 2003 7:54:AM > To: accessd at databaseadvisors.com > Subject: [AccessD] (OT) Interview Questions > > > Hey Ppl > > does anyoneone know any websites or books that have some MS Access > interview questions ? I've lost my job last week, so... need to > practice > :--) > > Oleg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Tue Jun 10 11:29:08 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue, 10 Jun 2003 10:29:08 -0600 Subject: [AccessD] Indexes in Access Message-ID: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com From cfoust at infostatsystems.com Tue Jun 10 10:25:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:25:31 -0700 Subject: [AccessD] Get Current Printer - XP w/in Citrix Message-ID: Usually. I've had problems with the printer object in XP when the user has been given a page setup button and used it to specify a printer. Charlotte Foust -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Get Current Printer - XP w/in Citrix Application.Printer will give you the current printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Judy Johnson Sent: Monday, June 09, 2003 12:12 PM To: AccessD Subject: [AccessD] Get Current Printer - XP w/in Citrix I need to be able to capture the current printer information within an individual's application to ensure that I return their printer default to the correct printer. We are working within Citrix and find that the "Nothing" doesn't work as expected (i.e., back to default). What I need to do is add code to a PDF button that : -first determines what their printer is and saves that information in a variable, -changes the printer to PDF Factory (I have that working fine), -then switch it back to what I captured earlier Hope this makes sense. Thanks for your help. Judy Johnson jjwrite at earthlink.net 860-482-8651 860-309-2484 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 10:27:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:27:24 -0700 Subject: [AccessD] Registration routine for a commercially-sold Accessapp? Message-ID: Most less computer-savvy users seem to prefer having their hands held. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 4:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Jun 10 10:31:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 10 Jun 2003 10:31:01 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DE@TAPPEEXCH01> Couldn't you use a late binding approach? If you use CreateObject() to create the objects, it will compile and run fine without the DLL being installed. Then, you only would have to install the DLL on the machines with the functionality enabled. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Tue Jun 10 10:31:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:31:54 -0700 Subject: [AccessD] Error on Next Record Message-ID: It's easy enough to test the recordset's BOF or EOF to see whether to execute the code to move previous or move next. I don't bother disabling the buttons, I just pop up a message that says this is the first record or the last record. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, June 10, 2003 7:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Error on Next Record Mike, I have a slightly long winded approach to this I'm sure someone has a better solution, when I open a form I disable the previous button as the user will be on the first record anyway, and when the user moves off the record I enable it. If they click the previous button, after the actual record move I see if it is the first record, if it is I disable the previous button again. I do a similar procedure with the user hitting the last record where I disable the next button if tha last record is reached..... Paul From: "Gowey Mike W" Date: Tue 10/Jun/2003 15:01 GMT To: Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 10:34:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 08:34:10 -0700 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) Message-ID: That's exactly the way we do it to avoid problems when CDO hasn't been installed. Please note that CDO *must* be installed for Redemption to work properly, and it isn't installed in a "typical" installation of Office, even if Outlook is installed. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 10, 2003 7:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Couldn't you use a late binding approach? If you use CreateObject() to create the objects, it will compile and run fine without the DLL being installed. Then, you only would have to install the DLL on the machines with the functionality enabled. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 7:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Tue Jun 10 10:24:54 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 10 Jun 2003 10:24:54 -0500 Subject: [AccessD] Append Query Message-ID: I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. From DWUTKA at marlow.com Tue Jun 10 10:38:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 10:38:18 -0500 Subject: [AccessD] Registration routine for a commercially-sold Access app? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF8@main2.marlow.com> Very true, very true. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? Most less computer-savvy users seem to prefer having their hands held. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 4:26 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? IMHO, I would buy software that had an automated reg key process, over a call system. Just my opinion though... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? And we do, although it isn't automated. They call us when they need a new usage key, and that depends on the terms of the license they purchased. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, June 09, 2003 3:49 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? An automated reg key system will let you users get a new key whenever they want. It's one additional step when installing software on a new or replacement machine. However, it should make them think twice about copying the software, because you are logging the keys that are requested. It would be up to you to look for suspicious users. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, June 09, 2003 6:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? That assumes the app won't get moved between machines. We've had to give out new keys for replacement installations for laptops that were fried by lightening or that fell off drilling platforms into the ocean! Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, June 09, 2003 12:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Registration routine for a commercially-sold Accessapp? I would second that. It's unique world wide and fairly stable (NIC cards don't get changed all that often). I've got code for it if anyone needs it. Just send me and e-mail off-list. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 09, 2003 3:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Registration routine for a commercially-sold Access app? If you roll your own, I would go off of the MAC Address. That's unique, and easy to retrieve. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, June 09, 2003 2:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Registration routine for a commercially-sold Access app? I need to come up with a registration/licensing routine for an Access app that a client of mine will be selling. Basically, my client is concerned about one customer distributing the application to others. I want to roll my own algorithm, but then it occurred to me there might be a better way. Right now I'm experimenting with validating the app against the hard drive serial number, but that's fraught with shortcomings. I'm also thinking about using an obscure registry key. Who's had to come up registration methods before, and how did you do it? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Tue Jun 10 10:39:20 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 10 Jun 2003 10:39:20 -0500 Subject: [AccessD] Error on Next Record Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF02666782@PKDWB01C.ad.sprint.com> Mike, I just trap for 2105 and bail out of the sub when encountered. Something like: On Error Goto ErrorHandle . . . Navigation Code Here . . . SubExit: Exit Sub ErrorHandle: Select Case Err.Number Case 2105 'Nuisance error - ignore it Case Else Msgbox Err.Number & " " & Err.Description End Select Resume SubExit Hope this helps. Don -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Tuesday, June 10, 2003 8:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Error on Next Record Hello Everyone, Does someone possibly know how I can get rid of the following runtime error? Runtime error '2105 You can't go to the specified record. I have a form that I use a query to extract certain information from a Linked Oracle table. I have buttons on the form for the user to go to next and previous records. When ever they reach the first record and press the previous button again this error comes up and if they reach the last record and press the next button again the error also comes up. Is there anyway to make this error not show and just stay on the current record?? I don't want the user to have to answer the question to be able to continue. Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Jun 10 10:42:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 10 Jun 2003 11:42:05 -0400 Subject: [AccessD] Indexes in Access References: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Message-ID: <007e01c32f66$db50c860$b1e6ffcc@SusanOne> Mark, you would be duplicating the index, which doesn't really hurt anything, but does add to count of total indexes -- but few of us every hit that limit anyway. What I haven't tested however, is whether these internal (and often temporary) indexes are removed if you delete the relationship, etc. Anybody know? Susan H. > Hi all, > > I know how Access creates an index automatically when a field is used in > a relationship. For example, if a table is joined on PersonID, there is an > index on PersonID, even though I won't see it in the list of table indices > in design view. I would think this index would also be used to speed up > searches, like an index I would add myself, in which case I wouldn't want to > add an Index for PersonID, as that field would have duplicate indices. > Correct? > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Tue Jun 10 10:48:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 10:48:51 -0500 Subject: [AccessD] Indexes in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802226CF9@main2.marlow.com> I am speaking just from experience and logic, so my details may not be perfect, but from what I have seen, this should hold true. An index is really based on sorting. Let me explain with an example I have used a few times before. I wrote a Palm application that displayed a company phone list. The VB version on our network allows for almost instantaneous searchs of first name, last name, or phone number....(all the same search box). When I took the same table to the Palm, the searching slowed to a crawl. I was using a Palm Vx, which is something like 12 mhz. That's SLOW. To speed things up, I built my own indexes...literally. I knew I was going to search by first name, last name and extension. So I built three identical tables, each one sorted one of the three ways. I then built an index table, for each of the three tables. The index table had 3 fields. The first field was the starting character (A through Z for first name and last name sorts, and 0 through 9 for phone number). The second field then recorded the starting position of that letter, and the last field showed the starting position, relative to the first starting position, for the second character (4 bytes for each character...ie, 000100020005....would show for the first or last name indexes that XA started at one record after where X starts, XB 2 records, XC 5 records. (since XA is +1, that means there would be an X record...) Thus, if someone searched for 'Bart', I would go to the first name index, and jump to the second record (B), which would tell me that B starts at 51, the first four characters of the last field in the index are 0000, so I know that BA starts at 51. I then check the next character (BB) which shows 0010, which tells me I have 10 records that are BA, so I know now where to start looking. This immensely sped up my search. Now, the key is, the index is showing positions to find the records, so the more ways you want to find your data, the more complex your indexes are going to be. If a relationship has an index, but the fields don't, then searching the individual fields will not be sped up with an index. Make sense? I could just be babbling, haven't had a good dose of caffiene yet! Drew -----Original Message----- From: Mark Whittinghill [mailto:mwhittinghill at symphonyinfo.com] Sent: Tuesday, June 10, 2003 11:29 AM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes in Access Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 10 10:48:53 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 10 Jun 2003 10:48:53 -0500 Subject: [AccessD] Redemption Code (was - OK, ya talked into it) In-Reply-To: Message-ID: <003e01c32f67$ce69e810$de1811d8@DanWaters> John, On my development laptop I added in a routine that sends the email information to a table, instead of trying to actually send the email. That way I can quickly see what happens, and I still like my PC! I can switch back to real email pretty easily. Since this machine is also what I use for demonstrations, it's important not to have to also annoy a room full of potential clients. I set it up so that with each hidden email, a message box is displayed so that the potential clients understand that a hidden email is being sent, and what it's saying. That message though, is only for demonstrations. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 9:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Yes, redemption bypasses the entire problem... and creates a whole new set. Redemption is "programmed to", i.e. you have to change your code to use it. Once you do that it has to be available on the computer or you will get runtime (or compile) errors. It also has to be registered (installed) on each machine. The specific system I am working on is installed on about 30 machines, but only 2 actually send email. I don't particularly want to install redemption on 30 machines so that 2 can send email. Not to mention having to (remember to) install it on every machine in the future. Actually, in this case the client has not installed the SPs that causes the issue so I don't need Redemption there at all. OTOH, my dev machine now prompts me for every email I try to send. If I install Redemption on my machine and program to it, do I then have to install it on the client machines even though they don't need it? As you can see, Redemption may be an answer in certain situations. It can also be a PITA in others. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) John, I might have the name a little wrong. In a company that uses Exchange for email, there is an Outlook Security Administration screen that IT administrators can use to turn on and off the annoying message. I think the screen can choose for each user, and for each different application trying to send a non-displayed email through Outlook (or Express?). If you have a stand-alone PC you can't turn off the message for Outlook email, as far as I know. But it sounds like Redemption bypasses the whole problem. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, June 10, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) what are the Outlook Security Administrator's tools? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Tuesday, June 10, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Redemption Code (was - OK, ya talked into it) Charlotte, Where could I learn about Redemption code? I expect to hit the 'are you sure' message problem fairly frequently. I could instruct the IT folks at my clients on how to the Outlook Security Administrator's tools, but I would like to avoid it. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, June 09, 2003 5:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, Redemption code will work whether or not the service packs are there. The only thing that must be there is the CDO library and you can test for that. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it The problem with that is that you have to change your coding. If I do it for this client, they Don't have the SPs installed and the code would fail. A gnarly little problem. 8-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Ok, I just wanted to insure that you were aware that Ken's program was not the problem. I'm not sure if uninstalling Outlook by itself will remove the Service Pack. I believe that you may have to completely uninstall Office and then reinstall it, up thru SP 1A. Of course, you could do as Charlotte suggested; use the Redemption .dll. And this might be a good time to start using it so that if you run across a client who has the security features in their Office products, you will already be familiar with its use. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Monday, June 09, 2003 9:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, I understand that. The problem from my perspective is that there are TWO issues with the SP - attachments disappearing and messages prompting to be sent. ken's widget fixed one, I didn't think about the other, and now I have a problem that only uninstalling Outlook and re-installing will solve. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Monday, June 09, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it John, If the "widget" you're talking about is Ken Slovak's Attachment Options (http://www.slovaktech.com/attachmentoptions.htm) then his program did not cause the prompt to appear. The Office service pack you installed caused it. (Office 2K, SP 2 or later, and Office XP SP 2). Ken Slovak's Attachment Options permits the Outlook user to move attachments from Level 1 to Level 2. It does not add the prompt you are now getting. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Charlotte Foust Sent: Monday, June 09, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OK, ya talked into it Forget the widget and use Redemption. It uses Extended MAPI calls and bypasses the security issues entirely. Of course, you could use SMTP, but that's a different thing altogether. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 09, 2003 4:46 AM To: AccessD Subject: [AccessD] OK, ya talked into it Well, someone on the list sent a link to a widget that allows me to tell Outlook to NOT disable certain attachments, so without thinking about it further, I upgraded to the latest service pack. Of course NOW... it is popping up an obnoxious "your an idiot and some code on your computer is trying to send an email using outlook automation - are you SURE" message whenever I try and send email programmatically. So, is there an equivalent widget that will allow me to turn off Microsoft's attempts to protect themselves from lawsuits? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Tue Jun 10 11:11:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 10 Jun 2003 10:11:51 -0600 Subject: [AccessD] OT? - Certification Message-ID: <265000-220036210161151109@christopherhawkins.com> I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From scotttgage at yahoo.com Tue Jun 10 11:16:59 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Tue, 10 Jun 2003 09:16:59 -0700 (PDT) Subject: [AccessD] Export a Db4 file In-Reply-To: Message-ID: <20030610161659.94271.qmail@web10403.mail.yahoo.com> I need to script the export of a file in the Db4 format. Below I am using "TransferText" to send a txt or ascii file and it works great however the "OutputTo" will not allow me to create the Db4 file that I need. The Excel file works but is not right. Any suggestions? DoCmd.TransferText acExportFixed, "Send", "Send", Pathname DoCmd.OutputTo acOutputTable, "SendMI", acFormatXLS, Pathname8 BTW these exported files end up as attachments to e-mail messages ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From jcolby at colbyconsulting.com Tue Jun 10 11:23:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 12:23:41 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: <265000-220036210161151109@christopherhawkins.com> Message-ID: You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 11:26:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:26:15 -0700 Subject: [AccessD] Export a Db4 file Message-ID: If by Db4 you mean dBase IV, then try the TransferDatabase command instead. dBase IV is one of the formats supported. Charlotte Foust -----Original Message----- From: Scott Gage [mailto:scotttgage at yahoo.com] Sent: Tuesday, June 10, 2003 8:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Export a Db4 file I need to script the export of a file in the Db4 format. Below I am using "TransferText" to send a txt or ascii file and it works great however the "OutputTo" will not allow me to create the Db4 file that I need. The Excel file works but is not right. Any suggestions? DoCmd.TransferText acExportFixed, "Send", "Send", Pathname DoCmd.OutputTo acOutputTable, "SendMI", acFormatXLS, Pathname8 BTW these exported files end up as attachments to e-mail messages ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 11:32:50 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 12:32:50 -0400 Subject: [AccessD] OT? - Certification Message-ID: This reminds me of materials guys having to get APICS certified back in the day. The only advantage to it is that once you go thru the pain you are actually more 'hire-able' because of the certification. It's like a 'well if you passed the cert process you must know SOMEthing' sort of an acid test for those who know less than nothing. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >You hardly have to worry about that. In a year the entire set of >technology >from MS will be different, with new exams to take. Let's just hope that >they get a raise for every exam they pass. That'll teach management to >implement such silliness. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Tuesday, June 10, 2003 12:12 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >I apologize if this drives the discussion off-track, but I have to >ask...what happens when you've passed all the exams? No more raises, >ever? > >-Christopher- > >---- Original Message ---- >From: R.Griffiths at bury.gov.uk >To: AccessD at databaseadvisors.com, >Subject: RE: [AccessD] OT? - Certification >Date: Tue, 10 Jun 2003 09:03:06 +0100 > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations > >(or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From cfoust at infostatsystems.com Tue Jun 10 11:41:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:41:00 -0700 Subject: [AccessD] Append Query Message-ID: If you aren't sure what the field names are going to be in the table you're importing, it's a bit difficult to automate. Are you even sure the fields will be in the same order and without any additions or deletions? I've found when handing stuff like this that it's best to just import the data into a new table and then move it into the import table after examining it. That gives you a chance to make sure you know what you're getting first and allows you to customize the necessary append query as needed. I wouldn't try to automate this on a bet because I know exactly how reliable that kind of data turns out to be. It's better to be safe than sorry. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Tuesday, June 10, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Append Query I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 11:45:01 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 12:45:01 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: When attempting to import (thru import data wizard) I get this error "There is no object in this control" when I click OK (like a good user) the wizard opens , blank. If I click anything but 'cancel' I get "The expression you entered refers to an object that is closed or doesn't exist" - isn't this a fine how-do-you-do?? Something is broken?? I checked the references I have Visual Basic For Applications Microsoft 10.0 Object Library OLE Automation Microsoft Activex data objects 2.1 library Microsoft Excel 10.0 Object Library I even added the last one, with the same result "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From cfoust at infostatsystems.com Tue Jun 10 11:51:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 09:51:20 -0700 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: Why would you be using ADO 2.1 with Access XP? The installed version with XP is at least 2.5 or 2.6, if I remember correctly (I've got the latest version installed, so I can't check). Try changing to the latest installed version of ADO and see if it makes a difference. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 10, 2003 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Why can't I import from Excel 2000 When attempting to import (thru import data wizard) I get this error "There is no object in this control" when I click OK (like a good user) the wizard opens , blank. If I click anything but 'cancel' I get "The expression you entered refers to an object that is closed or doesn't exist" - isn't this a fine how-do-you-do?? Something is broken?? I checked the references I have Visual Basic For Applications Microsoft 10.0 Object Library OLE Automation Microsoft Activex data objects 2.1 library Microsoft Excel 10.0 Object Library I even added the last one, with the same result "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Tue Jun 10 12:01:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 10 Jun 2003 13:01:00 -0400 Subject: [AccessD] Append Query References: Message-ID: <002501c32f71$e1610e30$ebe6ffcc@SusanOne> Might mention that you can refer to the fields by position instead of name... not sure it will help, but just in case the data comes in the same order, just with different names -- can't remember the syntax off hand, but if this sounds useful, I'll look it up. Susan H. > If you aren't sure what the field names are going to be in the table > you're importing, it's a bit difficult to automate. Are you even sure > the fields will be in the same order and without any additions or > deletions? I've found when handing stuff like this that it's best to > just import the data into a new table and then move it into the import > table after examining it. That gives you a chance to make sure you know > what you're getting first and allows you to customize the necessary > append query as needed. I wouldn't try to automate this on a bet > because I know exactly how reliable that kind of data turns out to be. > It's better to be safe than sorry. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] > Sent: Tuesday, June 10, 2003 7:25 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Append Query > > > I have data that I have imported into my database into a table named > ImportTbl. I will be doing this quarterly - and each time this happens > the field names get changed around a little bit by the person submitting > the data. For example, they might call the field Q1 Sales and then the > next time Q2 Sales - which isn't too bad, but then there are other > fields like Hospital Name, they might call Facility Name. > > I want to transfer the data from the ImportTbl to another table that I > have established generic field names - such as Sales, Name, etc. I then > have set up queries, reports etc, based on this table (UpdateTbl). > > What is the best way to do this programmatically? > > Thanks for any help on this. > > ------------------------------------------------------------------------ > --- > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 Amerinet 1nc. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From R.Griffiths at bury.gov.uk Tue Jun 10 12:03:51 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 10 Jun 2003 18:03:51 +0100 Subject: [AccessD] OT? - Certification Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1A5@MAILGATE.bury.gov.uk> Christopher I haven't had a raise for many years, infact after the last restructure my post was downgraded and the 4 year salary prootection has ended, sob! If we pass the exams I may get back to where I was 5 years ago - not bad for a graduate with 15 years IT experience (great place to work!!) Donations welcome Richard > -----Original Message----- > From: Christopher Hawkins [SMTP:clh at christopherhawkins.com] > Sent: 10 June 2003 17:12 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > I apologize if this drives the discussion off-track, but I have to > ask...what happens when you've passed all the exams? No more raises, > ever? > > -Christopher- > > ---- Original Message ---- > From: R.Griffiths at bury.gov.uk > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] OT? - Certification > Date: Tue, 10 Jun 2003 09:03:06 +0100 > > >Hi > > > >Our management have decided to tie our salaries to passing MS .Net > >certification exams. Does anyone one have any books recommendations > >(or > >other resources) specific to passing MCSA and MCSE? > > > >Many thanks > > > >Richard > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Tue Jun 10 12:13:37 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 10 Jun 2003 09:13:37 -0800 Subject: [AccessD] OT? - Certification Message-ID: I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or >other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jarus at amerinet-gpo.com Tue Jun 10 12:14:09 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 10 Jun 2003 12:14:09 -0500 Subject: [AccessD] Append Query Message-ID: It seems that it usually comes in the same order and the same number of fields. I did this once before and recently someone overwrote the database. I'm having trouble with the network guys recreating the backup - so now 2 weeks in, I decided to try to recreate the database myself. Only problem, I can't remember how I did this. I either found a way to rename the fields to be more generic (via code) OR somehow used an append query and selected the fields on a LIKE type of basis - if LIKE "*Sales*" then .... I need to do this programmatically as the enduser doesn't have a clue how to deal with any of this. But I don't recall - I'm trying to work backwards as the data was then pulled into Excel through MS Query - the spreadsheet is still intact with the code used there, but I don't know how I initially got the data setup for the spreadsheet. Pretty sure I didn't use the position idea as that doesn't sound familiar at all. Anyway, thanks for the suggestions. I'll just keep plugging away. >>> cfoust at infostatsystems.com 06/10/03 11:41AM >>> If you aren't sure what the field names are going to be in the table you're importing, it's a bit difficult to automate. Are you even sure the fields will be in the same order and without any additions or deletions? I've found when handing stuff like this that it's best to just import the data into a new table and then move it into the import table after examining it. That gives you a chance to make sure you know what you're getting first and allows you to customize the necessary append query as needed. I wouldn't try to automate this on a bet because I know exactly how reliable that kind of data turns out to be. It's better to be safe than sorry. Charlotte Foust -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Tuesday, June 10, 2003 7:25 AM To: accessd at databaseadvisors.com Subject: [AccessD] Append Query I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might call Facility Name. I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table (UpdateTbl). What is the best way to do this programmatically? Thanks for any help on this. ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 Amerinet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Jun 10 12:15:31 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 10 Jun 2003 13:15:31 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: Latest is 2.7 I unchecked 2.1 and check 2.7 - no change.


"Things are only free to the extent that you don't pay for them".-Don Elliker >Why would you be using ADO 2.1 with Access XP? The installed version >with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >latest version installed, so I can't check). Try changing to the latest >installed version of ADO and see if it makes a difference. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Tuesday, June 10, 2003 8:45 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Why can't I import from Excel 2000 > > >When attempting to import (thru import data wizard) I get this error >"There >is no object in this control" when I click OK (like a good user) the >wizard >opens , blank. If I click anything but 'cancel' I get "The expression >you >entered refers to an object that is closed or doesn't exist" - isn't >this a >fine how-do-you-do?? Something is broken?? I checked the references I >have Visual Basic For Applications Microsoft 10.0 Object Library OLE >Automation Microsoft Activex data objects 2.1 library Microsoft Excel >10.0 Object Library I even added the last one, with the same result > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From john at winhaven.net Tue Jun 10 12:19:06 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 12:19:06 -0500 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: I've seen some discussion on this throughout the ages but I've never paid attention to it since it would only seem to be needed when a design is flawed. But... I have a project which is almost complete that uses a number of Yes/No fields and the client just informed me that there is a condition where neither would be correct. The form is part of an evaluation of conditions. The conditions can only be yes or no but, in the endless glory of government programs, if a partial evaluation had been done before the latest standards the evaluation can be completed with a "Not Evaluated" given to certain areas. I thought maybe I could just have the final report evaluate nulls in the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much sense to me. Can anyone clear it up for me or should I just change my last minute change approach and add a new field? John B. PS: There isn't any additional money to be had so either I do it easily or I eat the expense. Even though it was explained to me that it could only be yes or no, it isn't explicitly stated anywhere in the specs and the contact person is gone now, so... From mikedorism at ntelos.net Tue Jun 10 12:41:30 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 10 Jun 2003 13:41:30 -0400 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: Message-ID: <000301c32f77$8aa63d30$23340cd8@hargrove.internal> TripleState basically controls how a checkbox appears on a form or report. If the underlying value is True, then the box is checked. If False, then the box is not checked. If Null, then the box is gray. Having the final report evaluate nulls is probably your best bet and is cleaner than going the TripleState route when you want the nulls to display a particular text. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, June 10, 2003 1:19 PM To: AccessD Subject: [AccessD] (Yes/No) field - no state A97 I've seen some discussion on this throughout the ages but I've never paid attention to it since it would only seem to be needed when a design is flawed. But... I have a project which is almost complete that uses a number of Yes/No fields and the client just informed me that there is a condition where neither would be correct. The form is part of an evaluation of conditions. The conditions can only be yes or no but, in the endless glory of government programs, if a partial evaluation had been done before the latest standards the evaluation can be completed with a "Not Evaluated" given to certain areas. I thought maybe I could just have the final report evaluate nulls in the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much sense to me. Can anyone clear it up for me or should I just change my last minute change approach and add a new field? John B. PS: There isn't any additional money to be had so either I do it easily or I eat the expense. Even though it was explained to me that it could only be yes or no, it isn't explicitly stated anywhere in the specs and the contact person is gone now, so... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Tue Jun 10 12:55:49 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Tue, 10 Jun 2003 13:55:49 -0400 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: <01C32F58.00F5EB90.bob@renaissancesiding.com> John Triple state: true, false or Null (no value at all) Bob Gajewski On Tuesday, June 10, 2003 13:19 PM, John Bartow [SMTP:john at winhaven.net] wrote: > I've seen some discussion on this throughout the ages but I've never paid > attention to it since it would only seem to be needed when a design is > flawed > > But.. > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct > > The form is part of an evaluation of conditions. The conditions can only be > yes or no but, in the endless glory of government programs, if a partial > evaluation had been done before the latest standards the evaluation can be > completed with a "Not Evaluated" given to certain areas > > I thought maybe I could just have the final report evaluate nulls in the > Yes/No field as "Not Evaluated" areas. The "Triple State" isn't making much > sense to me. Can anyone clear it up for me or should I just change my last > minute change approach and add a new field? > > John B > PS: There isn't any additional money to be had so either I do it easily or I > eat the expense. Even though it was explained to me that it could only be > yes or no, it isn't explicitly stated anywhere in the specs and the contact > person is gone now, so.. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From jimdettman at earthlink.net Mon Jun 9 13:00:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:00:30 -0400 Subject: [AccessD] Indexes in Access In-Reply-To: <01f601c32f6d$6b24cb20$0400000a@PASCAL> Message-ID: Mark, Yes, that is correct, almost. An index is only created on the foreign table when you enforce RI. If you create a relationship without enforcing RI, no index is created. The index is used by Access like any other to speed up operations if possible. And yes, you creating the same index is duplicating it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Tuesday, June 10, 2003 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes in Access Hi all, I know how Access creates an index automatically when a field is used in a relationship. For example, if a table is joined on PersonID, there is an index on PersonID, even though I won't see it in the list of table indices in design view. I would think this index would also be used to speed up searches, like an index I would add myself, in which case I wouldn't want to add an Index for PersonID, as that field would have duplicate indices. Correct? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Tue Jun 10 14:15:31 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue, 10 Jun 2003 13:15:31 -0600 Subject: [AccessD] Indexes in Access References: Message-ID: <000a01c32f84$a9573880$0400000a@PASCAL> Jim, That's what I thought. So a query with "WHERE PersonID = 456" would be sped up by the auto index created by Referential Integrity? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: Sent: Monday, June 09, 2003 12:00 PM Subject: RE: [AccessD] Indexes in Access > Mark, > > Yes, that is correct, almost. An index is only created on the foreign > table when you enforce RI. If you create a relationship without enforcing > RI, no index is created. The index is used by Access like any other to > speed up operations if possible. And yes, you creating the same index is > duplicating it. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > From john at winhaven.net Tue Jun 10 13:26:29 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 13:26:29 -0500 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: <000301c32f77$8aa63d30$23340cd8@hargrove.internal> Message-ID: Thanks Doris, So triple state is a display feature. Mine is not working :o) Going beyond that, I guess what's throwing me is that when I look in a table where the Yes/No should be null it is always false. How can I get it to remain null until it has a value? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris > Manning > Sent: Tuesday, June 10, 2003 12:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > TripleState basically controls how a checkbox appears on a form or report. > If the underlying value is True, then the box is checked. If False, then > the box is not checked. If Null, then the box is gray. > > Having the final report evaluate nulls is probably your best bet and is > cleaner than going the TripleState route when you want the nulls > to display > a particular text. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, June 10, 2003 1:19 PM > To: AccessD > Subject: [AccessD] (Yes/No) field - no state A97 > > > I've seen some discussion on this throughout the ages but I've never paid > attention to it since it would only seem to be needed when a design is > flawed. > > But... > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct. > > The form is part of an evaluation of conditions. The conditions > can only be > yes or no but, in the endless glory of government programs, if a partial > evaluation had been done before the latest standards the evaluation can be > completed with a "Not Evaluated" given to certain areas. > > I thought maybe I could just have the final report evaluate nulls in the > Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > making much > sense to me. Can anyone clear it up for me or should I just change my last > minute change approach and add a new field? > > John B. > PS: There isn't any additional money to be had so either I do it > easily or I > eat the expense. Even though it was explained to me that it could only be > yes or no, it isn't explicitly stated anywhere in the specs and > the contact > person is gone now, so... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Tue Jun 10 13:30:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 11:30:42 -0700 Subject: [AccessD] (Yes/No) field - no state A97 Message-ID: Check the field's default value. It is probably set to 0/False. If you want to use triple-state, you'll need to set the default to Null. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, June 10, 2003 10:26 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] (Yes/No) field - no state A97 Thanks Doris, So triple state is a display feature. Mine is not working :o) Going beyond that, I guess what's throwing me is that when I look in a table where the Yes/No should be null it is always false. How can I get it to remain null until it has a value? JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and > Doris Manning > Sent: Tuesday, June 10, 2003 12:41 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > TripleState basically controls how a checkbox appears on a form or > report. If the underlying value is True, then the box is checked. If > False, then the box is not checked. If Null, then the box is gray. > > Having the final report evaluate nulls is probably your best bet and > is cleaner than going the TripleState route when you want the nulls to > display a particular text. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, June 10, 2003 1:19 PM > To: AccessD > Subject: [AccessD] (Yes/No) field - no state A97 > > > I've seen some discussion on this throughout the ages but I've never > paid attention to it since it would only seem to be needed when a > design is flawed. > > But... > > I have a project which is almost complete that uses a number of Yes/No > fields and the client just informed me that there is a condition where > neither would be correct. > > The form is part of an evaluation of conditions. The conditions can > only be yes or no but, in the endless glory of government programs, if > a partial evaluation had been done before the latest standards the > evaluation can be completed with a "Not Evaluated" given to certain > areas. > > I thought maybe I could just have the final report evaluate nulls in > the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > making much sense to me. Can anyone clear it up for me or should I > just change my last minute change approach and add a new field? > > John B. > PS: There isn't any additional money to be had so either I do it > easily or I eat the expense. Even though it was explained to me that > it could only be yes or no, it isn't explicitly stated anywhere in the > specs and the contact > person is gone now, so... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 13:32:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 14:32:34 -0400 Subject: [AccessD] Indexes in Access In-Reply-To: <000a01c32f84$a9573880$0400000a@PASCAL> Message-ID: Mark, Yes. It's used like any other index. It counts towards the 32 index limit etc. The only difference is that it is hidden in the table designer. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Tuesday, June 10, 2003 3:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Indexes in Access Jim, That's what I thought. So a query with "WHERE PersonID = 456" would be sped up by the auto index created by Referential Integrity? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: Sent: Monday, June 09, 2003 12:00 PM Subject: RE: [AccessD] Indexes in Access > Mark, > > Yes, that is correct, almost. An index is only created on the foreign > table when you enforce RI. If you create a relationship without enforcing > RI, no index is created. The index is used by Access like any other to > speed up operations if possible. And yes, you creating the same index is > duplicating it. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Jun 10 13:51:15 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 10 Jun 2003 14:51:15 -0400 Subject: [AccessD] FoxPro vs Access Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From john at winhaven.net Tue Jun 10 13:54:15 2003 From: john at winhaven.net (John Bartow) Date: Tue, 10 Jun 2003 13:54:15 -0500 Subject: [AccessD] (Yes/No) field - no state A97 In-Reply-To: Message-ID: The default value wasn't set. I set it to Null and now it works. Manually set a value to null, that's odd isn't it? Thanks! JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, June 10, 2003 1:31 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > Check the field's default value. It is probably set to 0/False. If you > want to use triple-state, you'll need to set the default to Null. > > Charlotte Foust > > -----Original Message----- > From: John Bartow [mailto:john at winhaven.net] > Sent: Tuesday, June 10, 2003 10:26 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > Thanks Doris, > > So triple state is a display feature. Mine is not working :o) > > Going beyond that, I guess what's throwing me is that when I look in a > table where the Yes/No should be null it is always false. How can I get > it to remain null until it has a value? > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and > > Doris Manning > > Sent: Tuesday, June 10, 2003 12:41 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] (Yes/No) field - no state A97 > > > > > > TripleState basically controls how a checkbox appears on a form or > > report. If the underlying value is True, then the box is checked. If > > False, then the box is not checked. If Null, then the box is gray. > > > > Having the final report evaluate nulls is probably your best bet and > > is cleaner than going the TripleState route when you want the nulls to > > > display a particular text. > > > > Doris Manning > > Database Administrator > > Hargrove Inc. > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Tuesday, June 10, 2003 1:19 PM > > To: AccessD > > Subject: [AccessD] (Yes/No) field - no state A97 > > > > > > I've seen some discussion on this throughout the ages but I've never > > paid attention to it since it would only seem to be needed when a > > design is flawed. > > > > But... > > > > I have a project which is almost complete that uses a number of Yes/No > > > fields and the client just informed me that there is a condition where > > > neither would be correct. > > > > The form is part of an evaluation of conditions. The conditions can > > only be yes or no but, in the endless glory of government programs, if > > > a partial evaluation had been done before the latest standards the > > evaluation can be completed with a "Not Evaluated" given to certain > > areas. > > > > I thought maybe I could just have the final report evaluate nulls in > > the Yes/No field as "Not Evaluated" areas. The "Triple State" isn't > > making much sense to me. Can anyone clear it up for me or should I > > just change my last minute change approach and add a new field? > > > > John B. > > PS: There isn't any additional money to be had so either I do it > > easily or I eat the expense. Even though it was explained to me that > > it could only be yes or no, it isn't explicitly stated anywhere in the > > > specs and the contact > > person is gone now, so... > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jscott at mchsi.com Tue Jun 10 14:10:42 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 10 Jun 2003 14:10:42 -0500 Subject: [AccessD] recordset clones In-Reply-To: <000a01c32f84$a9573880$0400000a@PASCAL> Message-ID: I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].Recor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! From nilslenz at 3oaks.com Tue Jun 10 14:08:46 2003 From: nilslenz at 3oaks.com (Nils R. Lenz) Date: Tue, 10 Jun 2003 15:08:46 -0400 Subject: [AccessD] FoxPro vs Access In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Message-ID: <000001c32f83$be853cd0$783b413f@nils> Joe, I used VisualFox Pro 3.0 several years ago, for about a year and a half, and I was always much happier developing with Access. Thanks, Nils -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 10, 2003 2:51 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] FoxPro vs Access Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 9 14:10:51 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:10:51 -0400 Subject: [AccessD] E-mail you sent to Access-D has a virus Message-ID: Steve (and all), I just got a warning that your last e-mail on Field aliases contained the bug bear virus. Better batten down the hatches. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net From jimdettman at earthlink.net Mon Jun 9 14:11:30 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 9 Jun 2003 15:11:30 -0400 Subject: [AccessD] FoxPro vs Access In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B27@mercury.tnco-inc.com> Message-ID: Joe, Yes, I use both. Each product has strengths and weaknesses of course. As a pure development tool, I'd have to say that FoxPro is better. It offers a finer event model, has strong OOP capabilities, has a database engine that is faster then JET (although it does have the same problems as JET being a client side engine - Foxer's just don't like to admit it), and you simply can do a lot more with it. For ease of use and Office Integration, Access has the upper hand. It's report writer is class A, and the whole interface works a lot better then VFP's. As to the learning curve, Fox's is STEEP. Don't expect to turn out anything good for at least a year and you should buy a framework right off. Part of the problem is that because it is so flexible, it's like VB in that it takes forever to get anything done. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Tuesday, June 10, 2003 2:51 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] FoxPro vs Access Hi All, Does any on this list also use Visual FoxPro? I was just talking with someone who was telling me about FoxPro and is sounded very interesting. I was wondering what are the advantages/disadvantages of choosing FoxPro over Access. Is there a huge learning curve to move from Access to FoxPro? Thanks! Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Tue Jun 10 14:20:28 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 10 Jun 2003 15:20:28 -0400 Subject: [AccessD] AXP Question In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E50@dibble.observatory.donnslaw.co.uk> Message-ID: In a case like you mention, why not create a report frontend. Then use something like RFil5.0 (free) to allow for maximum variability in how they slice the data (you can even add some addition functionality of your own, to let them select fields to highlight, Create report titles, etc. Then save that information as a filter to the report. I have found that most database have a set number of often used information and then it is a matter of how that information is sliced. And having worked with end users in the legal and government as well as private sector, most users don't understand or want to understand that what may seem like a simple request, still takes time, especially if several people make "small requests". HTH, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Tue Jun 10 14:22:38 2003 From: papparuff at attbi.com (John Ruff) Date: Tue, 10 Jun 2003 12:22:38 -0700 Subject: [AccessD] recordset clones In-Reply-To: Message-ID: <01b001c32f85$a7fc9510$6401a8c0@papparuff> Your Set statement is incorrect. Change; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecordsetClone To; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form.RecordsetClone John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Jeanine Scott Sent: Tuesday, June 10, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] recordset clones I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 14:38:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 12:38:57 -0700 Subject: [AccessD] Field aliases Message-ID: Steve, You can alias the table or an expression or field using AS. You can even alias an in-line subquery that way. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at uswest.net] Sent: Tuesday, June 10, 2003 11:04 AM Subject: [AccessD] Field aliases Dear Group, SQL has always had the AS keyword to allow the assignment of an alias to a table name. Is there such a thing as an alias for a field name? Something like: SELECT A.[Really Long Field Name 1] AS F1, A.[Really Long From BarbaraRyan at cox.net Tue Jun 10 14:51:06 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 10 Jun 2003 15:51:06 -0400 Subject: [AccessD] Adding a worksheet to an existing Excel workbook Message-ID: <005a01c32f89$a25350a0$a2c50a44@hr.cox.net> How can I add an Excel spreadsheet (which I create within an Access 97 app) to an existing Excel workbook? If it helps, I can setup the Excel workbook to have a pre-defined worksheet that will accept the spreadsheet from Access. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Tue Jun 10 14:48:48 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue, 10 Jun 2003 14:48:48 -0500 Subject: [AccessD] AXP Question Message-ID: <869379ABF177D4118D3100508B5EF873063AB40B@corp-es00> Along these lines there are several report creation/selection Access products out there. They are generally Forms and code you drop into the mdb. I know datacreations has one. Jim Hale -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Tuesday, June 10, 2003 2:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question In a case like you mention, why not create a report frontend. Then use something like RFil5.0 (free) to allow for maximum variability in how they slice the data (you can even add some addition functionality of your own, to let them select fields to highlight, Create report titles, etc. Then save that information as a filter to the report. I have found that most database have a set number of often used information and then it is a matter of how that information is sliced. And having worked with end users in the legal and government as well as private sector, most users don't understand or want to understand that what may seem like a simple request, still takes time, especially if several people make "small requests". HTH, Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Tue Jun 10 14:57:45 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 10 Jun 2003 14:57:45 -0500 Subject: [AccessD] A2000: Disk or network error Message-ID: Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jscott at mchsi.com Tue Jun 10 15:22:00 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Tue, 10 Jun 2003 15:22:00 -0500 Subject: [AccessD] recordset clones In-Reply-To: <01b001c32f85$a7fc9510$6401a8c0@papparuff> Message-ID: Thank you for catching my "duh"! :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Ruff Sent: Tuesday, June 10, 2003 2:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] recordset clones Your Set statement is incorrect. Change; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecordsetClone To; Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form.RecordsetClone John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Jeanine Scott Sent: Tuesday, June 10, 2003 12:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] recordset clones I am attempting to refer to a subform's recordset clone from a different form (not the parent) the parent and subform are open. I am getting an error "object does not support this property or method". Is it not possible to refer to the subform's clone from a different form? Set rs = Forms![frmInitialMain]![frmInitialSubInstallments].Form![txtInstallID].R ecor dsetClone If Not rs.EOF Then Do Until rs.EOF Debug.Print rs("txtOrigTaxDueDate") rs.MoveNext Loop End If Thanks! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 15:26:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 13:26:28 -0700 Subject: [AccessD] A2000: Disk or network error Message-ID: Anything called run.reg.exe is a virus ubetcha!! My AV quarantined it right away. Charlotte Foust -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Tuesday, June 10, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Disk or network error Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Tue Jun 10 15:26:24 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 16:26:24 -0400 Subject: [AccessD] Delete Query problem Message-ID: Hi, ? Any help would be greatly appreciated.? ?I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response? "Could not delete from specified tables."? I have reviewed many similar posts and still cannot seem to get mine to work.? ? I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table).? Some (but not all) clients in "Dropouts" table are also in the "Clients" table.? I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table.? There is a one-to-one relationship between these tables. ? In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts').? I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. ? Several Attempts so far result in the right records in?a?Select Query view but results in "Could not delete...." message when?I run it as a?Delete Query. ? Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); ? Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); ? Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; ? DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; ? ? Attempt #4 (using tables and eliminating query as datasource;? reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); ? ? Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview).? Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews).? ? Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ? ======Access2002, WinXP Profl ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS? -? Evaluation and Program Monitoring Albany, NY? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From tortise at paradise.net.nz Tue Jun 10 15:29:00 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Wed, 11 Jun 2003 08:29:00 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links References: <01C32F2C.4960C110.bob@renaissancesiding.com> Message-ID: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work >> {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Tue Jun 10 15:29:37 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 10 Jun 2003 15:29:37 -0500 Subject: [AccessD] AXP Question Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DBA@cpixchng-1.cpiqpc.net> Roz, Peter's Software ( http://www.peterssoftware.com ) has some report tools that might do what you are wanting. Cub Editor and Cub Reporter. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ]On Behalf Of Roz Clarke Sent: Monday, June 09, 2003 5:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question This makes perfect sense if writing an application that doesn't have to get changed by the users. But consider this scenario: We are building a front end for a data warehousing application (data on SQL Server 7). We need the front end to be flexible as it must provide equivalent functionality to 4 Access databases currently in use, each holding anywhere from 4 - 40 forms and around 100 reports, which are updated & maintained solely by IT (a v. bad thing - we are committed to getting involved every time they want to change the layout of a report, and it causes an overnight delay as we can only write changes into the live database between 12 midnight and 6am. This has the users hopping mad and has resulted in the company failing to meet SLAs with client companies). We have been running AXP for 6 months and they have still not come to terms with the delays. In A97 I would have made the forms & reports flexible by allowing users to a) make temporary changes to objects at runtime, replacing these at the end of the session, and b) copy report objects and make their own changes to the new report. Now I can't. We can't provide each user with their own FE to hold even temporary changes as we are on terminal server. I'm starting to think that Access has become the wrong tool for the job. Any suggestions? Roz -----Original Message----- From: Wortz, Charles [ mailto:CWortz at tea.state.tx.us ] Sent: 06 June 2003 17:52 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Brett, You partition the app and have each developer work on their db. Then if the dbs need to be reunited you have a senior developer recombine them. You are using a configuration management and/or version control tool, are you not? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Brett Barabash [ mailto:BBarabash at TappeConstruction.com ] Sent: Friday 2003 Jun 06 11:10 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Question What about environments like ours where you have multiple developers developing in the same development MDB? It was fairly trivial to do this with older versions of Access. -----Original Message----- From: Wortz, Charles [ mailto:CWortz at tea.state.tx.us ] Sent: Friday, June 06, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question As I said in another post, since the dark ages of computing, professional developers have a development version of the application they work on, and the users use a production version of the application. When you are ready to move the development version to production, you follow a set procedure to replace the old production version with the new production version. Only in dire emergencies should a developer have to tinker with the actual production version. And even then, all the users should be out of the application. All the above applies whether the application is in Access, VB, Cobol, SQLServer, VFP, Oracle, etc. I doubt that you can find any software development shop that has been in business for a few years that doesn't follow this model. If you have been developing software for a while, I am sure you follow this model (at least informally) just to keep your sanity. Charles Wortz -----Original Message----- From: Charlotte Foust [ mailto:cfoust at infostatsystems.com ] Sent: Friday 2003 Jun 06 10:45 To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Not unwanted by everyone. I'm perfectly happy with that change. Charlotte Foust -----Original Message----- From: ACTEBS [ mailto:actebs at actebs.com.au ] Sent: Friday, June 06, 2003 7:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Question Terri, Charles just alerted me to the fact that since the release of A2K, if you use the Shift key to bypass the normal startup, you are opening the DB exclusively. A new unwanted feature kindly supplied by M$... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [ mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Terri Jarus Sent: Friday, 6 June 2003 10:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] AXP Question I have upgraded a FE database from A97 to AXP successfully, however, a major difference that is annoying me is the fact that in a multiuser environment, I am unable to make changes to the design unless I open exclusively. I never had this problem in A97 and now that my users are all getting upgraded to the AXP FE, I am running across a few areas that need to be tweaked and can't do it until everyone is out of the db. This is a shared network FE. I should probably give everyone their own copy on their desktop, however, this database has evolved greatly over the past 3 years and has required many changes. I have always been able to make these changes while the db was being used by others with no problem. There are about 20 users - so upgrading everyone's FE would be very tedious. I know there are some automated programs to do the updating, but one I had tried took too long and was cumbersome to the user. Any suggestions or ideas - is there a setting I'm missing that would allow design changes while in use??? Thanks for any help. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Tue Jun 10 15:37:46 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue, 10 Jun 2003 15:37:46 -0500 Subject: [AccessD] Adding a worksheet to an existing Excel workbook Message-ID: <869379ABF177D4118D3100508B5EF873063AB434@corp-es00> In an excel sheet turn the macro recorder on and go edit>move or copy sheet>check "create a copy">select "new book" from the dropdown menu. Turn off the recorder. The code in the resulting module should give you the basics of what you need to do to copy your woksheet programatically to an existing sheet. HTH Jim Hale -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, June 10, 2003 2:51 PM To: Access List Subject: [AccessD] Adding a worksheet to an existing Excel workbook How can I add an Excel spreadsheet (which I create within an Access 97 app) to an existing Excel workbook? If it helps, I can setup the Excel workbook to have a pre-defined worksheet that will accept the spreadsheet from Access. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 10 15:50:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 10 Jun 2003 16:50:53 -0400 Subject: [AccessD] A2000: Disk or network error In-Reply-To: Message-ID: as did mine. It told me the name of it, though I didn't really take notice. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, June 10, 2003 4:26 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2000: Disk or network error Anything called run.reg.exe is a virus ubetcha!! My AV quarantined it right away. Charlotte Foust -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Tuesday, June 10, 2003 11:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2000: Disk or network error Attachment? I thought we had disabled attachments. And and exe file???? Perhaps it's a virus???? <<<>>> Gary Kjos garykjos at hotmail.com >From: "Steven W. Erbach" >Subject: Re: [AccessD] A2000: Disk or network error >Date: Tue, 10 Jun 2003 14:09:52 -0500 > >Jim, > >I've passed along all comments to my client that's having the trouble. >Their >network guy is pretty competent. Thanks for the information. ><< RUN.reg.exe >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 15:54:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 13:54:19 -0700 Subject: [AccessD] Delete Query problem Message-ID: Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 10 16:12:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 10 Jun 2003 16:12:00 -0500 Subject: [AccessD] A2K: Query parameters disappear in break mode Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7DF@TAPPEEXCH01> My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Tue Jun 10 16:21:05 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:05 -0300 Subject: [AccessD] A2k - Different version FE's and One BE In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003 08:10:26 -0700, Charlotte Foust wrote: > Yes, performance. A2k is a dog linked to a 97 back end. > > Charlotte Foust > Hi Charlotte! Did you mean it is going to be low performance to manipulate A97 data??? :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Tue Jun 10 16:21:07 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:07 -0300 Subject: [AccessD] Repeat Emails In-Reply-To: References: Message-ID: On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From caa at highway.com.br Tue Jun 10 16:21:39 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Tue, 10 Jun 2003 18:21:39 -0300 Subject: [AccessD] OT - BugBear Message-ID: Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From JoyceRobinson at oasas.state.ny.us Tue Jun 10 16:24:55 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 17:24:55 -0400 Subject: [AccessD] Delete Query problem Message-ID: Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 16:36:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:36:38 -0700 Subject: [AccessD] Delete Query problem Message-ID: Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 10 16:37:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:37:33 -0700 Subject: [AccessD] A2k - Different version FE's and One BE Message-ID: I mean A2k will be SLOW, very, very SLOW. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2k - Different version FE's and One BE On Mon, 9 Jun 2003 08:10:26 -0700, Charlotte Foust wrote: > Yes, performance. A2k is a dog linked to a 97 back end. > > Charlotte Foust > Hi Charlotte! Did you mean it is going to be low performance to manipulate A97 data??? :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 16:37:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:37:53 -0700 Subject: [AccessD] OT - BugBear Message-ID: -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:22 PM To: AccessD List Subject: [AccessD] OT - BugBear Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 10 16:38:34 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 14:38:34 -0700 Subject: [AccessD] OT - BugBear Message-ID: I've only received one or two recently, not many. One today and I think one yesterday. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 1:22 PM To: AccessD List Subject: [AccessD] OT - BugBear Hi Mates! There are many messages from people on this list coming infested with BugBear. Please take care and update virus signature files. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Tue Jun 10 16:47:11 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Tue, 10 Jun 2003 17:47:11 -0400 Subject: [AccessD] Delete Query problem Message-ID: I cannot link the two tables directly since I had to modify the linking field from the DropOut data in order to match CID# in the Clients table. Is it then not possible to do this without first running a make-table query to create a revised DropOut table? That is, can you not include a query as one of the data sources in a delete query? Joyce Robinson -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 10 17:20:34 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 10 Jun 2003 18:20:34 -0400 Subject: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) In-Reply-To: <1236280981.20030609105643@cactus.dk> Message-ID: <01f101c32f9e$83231ac0$8e01a8c0@Rock> After considering it for a while, I agree. I plan to rewrite the template and its descendants along your line. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: June 9, 2003 4:57 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Static Function Tutorial (was Like Operator SQLSyntax) Hi Arthur > .. I use -1 as the reset value .. So what do you do when such a function carries a Boolean? Wouldn't Null be a better "value" to use for this? A solution to end such considerations is to add an optional parameter: > Static Function CurrentX(Optional lngNew As Long, _ > Optional ByVal booReset As Boolean) As Long It's a matter of taste and needs I guess. /gustav From cfoust at infostatsystems.com Tue Jun 10 17:37:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Jun 2003 15:37:23 -0700 Subject: [AccessD] Delete Query problem Message-ID: Sure you can include a query as one of the data sources, at least as long as it's being used to determine the matching records for the delete rather than being the object that's the target of the deletes. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem I cannot link the two tables directly since I had to modify the linking field from the DropOut data in order to match CID# in the Clients table. Is it then not possible to do this without first running a make-table query to create a revised DropOut table? That is, can you not include a query as one of the data sources in a delete query? Joyce Robinson -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Huh? If you didn't directly link the two tables, the result will be a cartesian product and you can't do a delete on that. Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 1:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Yes, I did that for all queries except the last one (#4) where I did not directly link the two tables together. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 10, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Delete Query problem Did you remember to set the query's UniqueRecords property to Yes? Charlotte Foust -----Original Message----- From: Robinson, Joyce [mailto:JoyceRobinson at oasas.state.ny.us] Sent: Tuesday, June 10, 2003 12:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Delete Query problem Hi, Any help would be greatly appreciated. I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response "Could not delete from specified tables." I have reviewed many similar posts and still cannot seem to get mine to work. I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table). Some (but not all) clients in "Dropouts" table are also in the "Clients" table. I want to delete all client records from the "Clients" table that are also found in the smaller "DropOuts" table. There is a one-to-one relationship between these tables. In most of my attempted delete queries, I have included the "Clients" table and a query of the 'DropOuts' data (called 'Q_DropOuts'). I used a query for DropOuts because the DropOut data came from a different data system and the linking field [CID#_Link] needed to be modified in order to match with the CID# from "Clients" table. Several Attempts so far result in the right records in a Select Query view but results in "Could not delete...." message when I run it as a Delete Query. Attempt #1 (using >From "Clients" right join Q_DropOuts ): DELETE DISTINCTROW Clients.*, Clients.[CID#] FROM Clients RIGHT JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link] WHERE (((Clients.[CID#]) Is Not Null)); Attempt #2 (using left join from DropOut query and a non-linking field in Client table as "not null" criteria): DELETE DISTINCTROW Clients.*, Clients.ID FROM [Q_DropOuts] LEFT JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#] WHERE (((Clients.ID) Is Not Null)); Attempt #3a and 3b (using inner joins): DELETE DISTINCTROW Clients.* FROM [Q_DropOuts] INNER JOIN Clients ON [Q_DropOuts].[CID#_Link] = Clients.[CID#]; DELETE DISTINCTROW Clients.* FROM Clients INNER JOIN [Q_DropOuts] ON Clients.[CID#] = [Q_DropOuts].[CID#_Link]; Attempt #4 (using tables and eliminating query as datasource; reformatted linking field directly in query) DELETE Clients.*, Clients.ID, [DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char] AS [CID#_Link] FROM Clients, [DroppedOut Clients_OL] WHERE (((Clients.ID) Is Not Null) AND (([DroppedOut Clients_OL].[Sex] & CStr(Format([DroppedOut Clients_OL].[Birth Date],"mmddyyyy")) & Format([DroppedOut Clients_OL].[Last 4 Ssn],"0000") & [L Name 2 Char])=[Clients].[CID#])); Also, I will also be doing a variation on this for a similar database, but where the "Client Interviews" table will contain one or more client records (i.e., where each record is really a client interview). Any client in the "DropOuts" table (or query) will have one or more records deleted from the "Client Interviews" table (where each client may be administered one or more interviews). Thanks very much for any help! NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. ======Access2002, WinXP Profl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joyce Robinson [Research Scientist] NYS OASAS - Evaluation and Program Monitoring Albany, NY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Tue Jun 10 18:12:15 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 11 Jun 2003 09:12:15 +1000 Subject: [AccessD] Append Query In-Reply-To: Message-ID: <3EE6F26F.31364.4E3C86@localhost> On 10 Jun 2003 at 10:24, Terri Jarus wrote: > I have data that I have imported into my database into a table named > ImportTbl. I will be doing this quarterly - and each time this > happens the field names get changed around a little bit by the person > submitting the data. For example, they might call the field Q1 Sales > and then the next time Q2 Sales - which isn't too bad, but then there > are other fields like Hospital Name, they might call Facility Name. > > I want to transfer the data from the ImportTbl to another table that I > have established generic field names - such as Sales, Name, etc. I > then have set up queries, reports etc, based on this table > (UpdateTbl). > > What is the best way to do this programmatically? > > Thanks for any help on this. > Assuming that you always have the same number of fields in the same order, you could do something like this: Set newdata = db.openrecordset("ImportTbl) Set maindata = db.openrecordset("UpdateTbl") While not newdata.eof maindata.addnew for loopcount = 0 to NoOfFields - 1 maindata(loopcount) = newdata(loopcount) next maindata.update newdata.movenext Wend -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Jun 10 21:12:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 10 Jun 2003 21:12:52 -0500 Subject: [AccessD] Emails as attachments... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D09@main2.marlow.com> Folks, a few emails have been coming through, where the message body is showing up as an attachment. I personally can open them, and read them, but I'm concerned about the archives. The archives only read the text of a message, so any message that comes through with the body set as an attachment is going to be put into the archives as a blank message. Please be sure to send emails to the list in plain text....that should avoid this problem (and also make people with slow or expensive ISP's happy). Drew From bbruen at bigpond.com Tue Jun 10 23:01:42 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 14:01:42 +1000 Subject: [AccessD] Displaying web page in a form Message-ID: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Dear List, Is there a way to display a web page inside a form! I want to click on a hyperlink and have the page appear within the form itself. Tia Bruce From accessd at shaw.ca Tue Jun 10 23:43:29 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 10 Jun 2003 21:43:29 -0700 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Message-ID: Hi Bruce: You can use MS's SHDOCVW.OCA and DLL files. I used these components for an inline web based browser, on a form, in VB and there should not ant reason why it can not be applied using the add-on option, in Access. If you can not find it on your computer it can be easily doenloaded from: http://www.dll-files.com/dllindex/dll-files.shtml?shdocvw HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Tuesday, June 10, 2003 9:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Displaying web page in a form Dear List, Is there a way to display a web page inside a form! I want to click on a hyperlink and have the page appear within the form itself. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Jun 11 01:54:15 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 11 Jun 2003 16:54:15 +1000 Subject: [AccessD] Displaying web page in a form References: <000001c32fce$2c4da3c0$7f00a8c0@bbb888> Message-ID: <00d601c32fe6$46154b10$3c619a89@DDICK> Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click on > a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 02:49:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 09:49:55 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <494951479.20030611094955@cactus.dk> Hi Joyce > NOTE: Sorry if this is a duplicate message. I tried to cancel previous oversized version. The oversize is due to the HTML formatting which bloats the message from 6K to 34K. /gustav From bbruen at bigpond.com Wed Jun 11 02:55:33 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 17:55:33 +1000 Subject: [AccessD] Displaying web page in a form In-Reply-To: <00d601c32fe6$46154b10$3c619a89@DDICK> Message-ID: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Jun 11 04:52:50 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 13:52:50 +0400 Subject: [AccessD] Displaying web page in a form References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <003501c32fff$3e7f4540$b501010a@DAISY.local> Bruce, If you use MS Access2000 and up then this should work: Dim objIE As SHDocVw.InternetExplorer Set objIE = Me.actx_WebBrowser.Object objIE.Navigate "http://www.microsoft.com" If you use MS Access97 it will not work - there is a problem with IE embedded in MS Access97's forms, which I believe is described in KB but I didn't have KB article's code. I do know it should work for MS Access97 too and and a funny thing is that I've it working here in one of my MS Access97 apps but I forgot the "magic steps" I passed to make it working under Acc97:) .... ...I've just created sample MS AccessXP app, created a form with Web Browser control and it worked OK. Then I made converion to Acc97 format and it worked OK under AccXP but when I opened this database in Acc97 it failed to work... If you or somebody else will not find this KB article I mentioned above then I will try to find it... Shamil P.S. Acc97 sample is here http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) - the weird thing is that Web Browser control can't be resized once inserted into MS Access97 form and saved... ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 11:55 AM Subject: RE: [AccessD] Displaying web page in a form > Hmm, > > Referenced OK > (Registered OK) > Inserted OK > But... > Me.actx_WebBrowser.navigate "some url" > gives runtime error 438 "Object doesn't support this property or > method" > > Any ideas? > > Tia > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: Wednesday, June 11, 2003 4:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Displaying web page in a form > > > Hi Bruce > Just like Jim said > Reference the shdocvw.dll in the references. > (It will show up in the list as Microsoft Internet controls) > > Then from your long list of available ActiveX objects find > one called Microsoft web browser. Insert that onto a form and call it > say...actX_WebBrowser > > then code will trigger it will be... Me.actX_WebBrowser.navigate > http://www.microsoft.com > > Hope this helps > > Darren > > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Wednesday, June 11, 2003 2:01 PM > Subject: [AccessD] Displaying web page in a form > > > > Dear List, > > > > Is there a way to display a web page inside a form! I want to click > > on a hyperlink and have the page appear within the form itself. > > > > Tia > > Bruce > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 05:04:19 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:04:19 +0200 Subject: [AccessD] Append Query In-Reply-To: References: Message-ID: <2513015355.20030611120419@cactus.dk> Hi Terri Again assuming that the order of the fields remains the same, you can also use a union query: SELECT ID AS SalesID, Sales AS QSales, ... Value AS QValue FROM tblSomeTable WHERE FALSE UNION SELECT * FROM ImportTbl; This will grab the fieldnames but no records from the first select and the records from the import table from the next select. tblSomeTable must be a copy of a typical import table; of course, adjust fieldnames as needed. Feed the output of this to an append query. I don't think a table creation query can be used as the output from a union query is all strings, thus all fields in a created table would be of type text. /gustav > I have data that I have imported into my database into a table named ImportTbl. I will be doing this quarterly - and each time this happens the field names get changed around a little bit by the > person submitting the data. For example, they might call the field Q1 Sales and then the next time Q2 Sales - which isn't too bad, but then there are other fields like Hospital Name, they might > call Facility Name. > I want to transfer the data from the ImportTbl to another table that I have established generic field names - such as Sales, Name, etc. I then have set up queries, reports etc, based on this table > (UpdateTbl). > What is the best way to do this programmatically? From gustav at cactus.dk Wed Jun 11 05:08:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:08:40 +0200 Subject: [AccessD] Why can't I import from Excel 2000 In-Reply-To: References: Message-ID: <9213276340.20030611120840@cactus.dk> Hi Don Have you tried linking the worksheet or named range? /gustav > When attempting to import (thru import data wizard) I get this error "There > is no object in this control" when I click OK (like a good user) the wizard > opens , blank. If I click anything but 'cancel' I get "The expression you > entered refers to an object that is closed or doesn't exist" - isn't this a > fine how-do-you-do?? Something is broken?? I checked the references I have > Visual Basic For Applications > Microsoft 10.0 Object Library > OLE Automation > Microsoft Activex data objects 2.1 library > Microsoft Excel 10.0 Object Library > I even added the last one, with the same result From rbgajewski at adelphia.net Wed Jun 11 05:36:57 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Wed, 11 Jun 2003 06:36:57 -0400 Subject: [AccessD] OT Generating Body Text in Automated E-mail links In-Reply-To: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Message-ID: David Yes, the question mark is used as a delimiter to indicate that a parameter is following, just as you have used in the "?subject" portion of your URL. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 16:29 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? [snip] What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston From gustav at cactus.dk Wed Jun 11 05:37:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 12:37:04 +0200 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <15914980440.20030611123704@cactus.dk> Hi Bruce >From IMATips 2000-07-25: --- Avoid errors with the browser control in Access forms (97) If you've ever tried to use the Microsoft Web Browser control in an Access 97 form, you may have been greeted with the error messsage "There is no object in this control," when you tried to view the form. This is because Access 97 isn't compatible with an updated DLL that was introduced with IE 4.0. Fortunately, the problem is easy to fix. Once you draw your browser control on the form, select it and press [Ctrl]X to cut it. Then, immediately press [Ctrl]V to paste it back on the form. Reposition the browser and you'll find that you can now open the form without any errors. Don't ask us why, but this works! --- And David SDC () 2002-10-11: --- I solved this problem some years ago and gave it to Ken Getz who included it in Access Adviser magazine. The trick is to add the browser object to your form, then drag it to the required size. Having sized it right, now copy it to the clipboard (control X) and then paste it back to your form (Control V). It will now keep its size. You can only do this once. To set to a different size, start from scratch by pasting a new control. I discovered this approach by accident, but think it is to do with getting two independent programs (Access and Active X) to agree on a setting at the same time. It works with other active X objects also. --- /gustav > Hmm, > Referenced OK > (Registered OK) > Inserted OK > But... > Me.actx_WebBrowser.navigate "some url" > gives runtime error 438 "Object doesn't support this property or > method" > Any ideas? > Tia > Bruce > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: Wednesday, June 11, 2003 4:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > Just like Jim said > Reference the shdocvw.dll in the references. > (It will show up in the list as Microsoft Internet controls) > Then from your long list of available ActiveX objects find > one called Microsoft web browser. Insert that onto a form and call it > say...actX_WebBrowser > then code will trigger it will be... Me.actX_WebBrowser.navigate > http://www.microsoft.com > Hope this helps > Darren From shamil at smsconsulting.spb.ru Wed Jun 11 06:10:11 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 15:10:11 +0400 Subject: [AccessD] Displaying web page in a form References: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> <15914980440.20030611123704@cactus.dk> Message-ID: <001301c3300a$0d35c620$b501010a@DAISY.local> > Don't ask us why, but this works! Yes, Gustav - you're right - this is how I did also manage to work it but I forgot :) - sample is here: http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) And writing: Me.WebBrowser2.Object.Navigate "http://www.microsoft.com" i.e. using .Object. is a must... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 11, 2003 2:37 PM Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > > >From IMATips 2000-07-25: > > --- > Avoid errors with the browser control in Access forms (97) > > If you've ever tried to use the Microsoft Web Browser control in an > Access 97 form, you may have been greeted with the error messsage > "There is no object in this control," when you tried to view the form. > This is because Access 97 isn't compatible with an updated DLL that was > introduced with IE 4.0. Fortunately, the problem is easy to fix. Once > you draw your browser control on the form, select it and press [Ctrl]X > to cut it. Then, immediately press [Ctrl]V to paste it back on the form. > Reposition the browser and you'll find that you can now open the form > without any errors. Don't ask us why, but this works! > --- > > And David SDC () 2002-10-11: > > --- > I solved this problem some years ago and gave it to Ken Getz who > included it in Access Adviser magazine. The trick is to add the browser > object to your form, then drag it to the required size. Having sized it > right, now copy it to the clipboard (control X) and then paste it back > to your form (Control V). It will now keep its size. You can only do > this once. To set to a different size, start from scratch by pasting a > new control. I discovered this approach by accident, but think it is to > do with getting two independent programs (Access and Active X) to agree > on a setting at the same time. It works with other active X objects > also. > --- > > /gustav > > > > Hmm, > > > Referenced OK > > (Registered OK) > > Inserted OK > > But... > > Me.actx_WebBrowser.navigate "some url" > > gives runtime error 438 "Object doesn't support this property or > > method" > > > Any ideas? > > > Tia > > Bruce > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > > Sent: Wednesday, June 11, 2003 4:54 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Displaying web page in a form > > > > Hi Bruce > > Just like Jim said > > Reference the shdocvw.dll in the references. > > (It will show up in the list as Microsoft Internet controls) > > > Then from your long list of available ActiveX objects find > > one called Microsoft web browser. Insert that onto a form and call it > > say...actX_WebBrowser > > > then code will trigger it will be... Me.actX_WebBrowser.navigate > > http://www.microsoft.com > > > Hope this helps > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 11 06:12:24 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 13:12:24 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <15417100288.20030611131224@cactus.dk> Hi Joyce Use a subquery to locate those clients: DELETE * FROM tblClients WHERE ID = (SELECT ID FROM tblDropOuts WHERE ID = tblClients.ID;); /gustav > Any help would be greatly appreciated.? ?I am trying unsuccessfully to run a Delete Query and keep getting the fairly common response? "Could not delete from specified tables."? I have reviewed > many similar posts and still cannot seem to get mine to work.? > ? > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller table).? Some (but not all) clients in "Dropouts" table are also in the "Clients" table.? I want to delete all client records > from the "Clients" table that are also found in the smaller "DropOuts" table.? There is a one-to-one relationship between these tables. From jarus at amerinet-gpo.com Wed Jun 11 06:59:18 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Wed, 11 Jun 2003 06:59:18 -0500 Subject: [AccessD] Database in Use Message-ID: I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 ********************************************************************** --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. From JHewson at karta.com Wed Jun 11 07:26:45 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed, 11 Jun 2003 07:26:45 -0500 Subject: [AccessD] Repeat Emails Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C0D@NT04> Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 07:34:00 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 22:34:00 +1000 Subject: [AccessD] Displaying web page in a form- SOLVED! In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: <000001c33015$bef6fd10$7f00a8c0@bbb888> Nevermind! Finally, declared a Webbrowser object, set it to the control object and navigate from it, viz Dim WB As WebBrowser Set WB = Me.actx_WebBrowser.Object WB.Navigate "someURL" That did the trick. No idea why direct navigation doesn't work though. Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, June 11, 2003 5:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Displaying web page in a form Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 11 07:38:11 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 11 Jun 2003 22:38:11 +1000 Subject: [AccessD] Database in Use In-Reply-To: Message-ID: <008e01c33016$547ae5e0$0c05a8c0@earth.local> Terri, This happened to me a few days ago and went away. I don't know what caused it, so couldn't work out why... The only thing I could do is close the DB down and the re-open and I was away again until after designing a few forms it would come back. Now it's gone so.............dodododododo....as in the Twighlight Zone.... Just so you know you're not the only one experiencing this. Good luck!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Wednesday, 11 June 2003 9:59 PM To: accessd at databaseadvisors.com Subject: [AccessD] Database in Use I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 ********************************************************************** ------------------------------------------------------------------------ --- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 07:46:44 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 07:46:44 -0500 Subject: [AccessD] OT? - Certification Message-ID: As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard From Rich_Lavsa at pghcorning.com Wed Jun 11 07:56:15 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 11 Jun 2003 08:56:15 -0400 Subject: [AccessD] Gather Information from Website Message-ID: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich From bbruen at bigpond.com Wed Jun 11 07:56:14 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 11 Jun 2003 22:56:14 +1000 Subject: [AccessD] Displaying web page in a form In-Reply-To: <001301c3300a$0d35c620$b501010a@DAISY.local> Message-ID: <000101c33018$d7db7ce0$7f00a8c0@bbb888> Shamil, Gustav, Darren and Jim (and all youse uzzer guys!) Thanks for the info. I had come up with Shamil's idea of forcing the object as per my out-of-line message. It's interesting to note that once I did force it that way, I added a second command button using the raw navigate on the control - and it works! Go figure????? :-} I am using the control in AXP on XP/SP1 (IE 6.0.28.. Shdocvw.dll ver 6.00.2800.1106 (xpsp1.020828-1920))- so the cut paste method wasn't necessary, but I guess all the gliches are still not out. Its an interesting beast - given that shdocvw, from my reading, is the IE "engine" that lets you have office apps inside IE... And it works the other way around as well. Its also very powerful, almost... I cant imagine a need for a MyComputer explorer inside an app, but there it is and it works, almost... I can see it could be possible to use .URLLocation, .document and the beforeNavigate events to do some fancy footwork. So, having given them (the yewsers) the tool to automatically grab html pages, parse them and present the info in Access forms, and now given them the view of the original page (on demand) where the data came from, I wonder what the buggers will want next! Thanks again. Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, June 11, 2003 9:10 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form > Don't ask us why, but this works! Yes, Gustav - you're right - this is how I did also manage to work it but I forgot :) - sample is here: http://www.smsconsulting.spb.ru/shamil_s/download/web97.zip (25 707 bytes) And writing: Me.WebBrowser2.Object.Navigate "http://www.microsoft.com" i.e. using .Object. is a must... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 11, 2003 2:37 PM Subject: Re: [AccessD] Displaying web page in a form > Hi Bruce > > >From IMATips 2000-07-25: > > --- > Avoid errors with the browser control in Access forms (97) > > If you've ever tried to use the Microsoft Web Browser control in an > Access 97 form, you may have been greeted with the error messsage > "There is no object in this control," when you tried to view the form. > This is because Access 97 isn't compatible with an updated DLL that > was introduced with IE 4.0. Fortunately, the problem is easy to fix. > Once you draw your browser control on the form, select it and press > [Ctrl]X to cut it. Then, immediately press [Ctrl]V to paste it back on > the form. Reposition the browser and you'll find that you can now open > the form without any errors. Don't ask us why, but this works! > --- > > And David SDC () 2002-10-11: > > --- > I solved this problem some years ago and gave it to Ken Getz who > included it in Access Adviser magazine. The trick is to add the > browser object to your form, then drag it to the required size. Having > sized it right, now copy it to the clipboard (control X) and then > paste it back to your form (Control V). It will now keep its size. You > can only do this once. To set to a different size, start from scratch > by pasting a new control. I discovered this approach by accident, but > think it is to do with getting two independent programs (Access and > Active X) to agree on a setting at the same time. It works with other > active X objects also. > --- > > /gustav > > > > Hmm, > > > Referenced OK > > (Registered OK) > > Inserted OK > > But... > > Me.actx_WebBrowser.navigate "some url" > > gives runtime error 438 "Object doesn't support this > > property or method" > > > Any ideas? > > > Tia > > Bruce > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren > > DICK > > Sent: Wednesday, June 11, 2003 4:54 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Displaying web page in a form > > > > Hi Bruce > > Just like Jim said > > Reference the shdocvw.dll in the references. > > (It will show up in the list as Microsoft Internet controls) > > > Then from your long list of available ActiveX objects find one > > called Microsoft web browser. Insert that onto a form and call it > > say...actX_WebBrowser > > > then code will trigger it will be... Me.actX_WebBrowser.navigate > > http://www.microsoft.com > > > Hope this helps > > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Wed Jun 11 07:59:21 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 11 Jun 2003 07:59:21 -0500 Subject: [AccessD] Repeat Emails Message-ID: <4AAC675EBAF3D411BCA200508BCFAA8E02F219EF@NATEXCH1> I imagine that like me, the disclaimer is added after I send my mail as the mail leaves our server. I know I don't need a disclaimer for this list, so I think most disclaimers are like mine and can't be stopped. Debbie -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, June 11, 2003 7:27 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From CWortz at tea.state.tx.us Wed Jun 11 08:40:26 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 08:40:26 -0500 Subject: [AccessD] Database in Use Message-ID: Teri, Does the .ldb exist? If it does, then one of the users probably made an abnormal exit that does not delete them from the .ldb and thus Access still thinks it is in use. When this happens I find either of these two methods usually work. Delete the .ldb file directly. Or open the Access app and close it. But if the .mdb has been corrupted, then neither of these methods may work. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Wednesday 2003 Jun 11 06:59 To: accessd at databaseadvisors.com Subject: [AccessD] Database in Use I'm trying to run some code in an AXP database and get the error: "Could not use db1.mdb; file already in use." I have the database opened exclusively. I can run everything fine in A97. Here's code attached to the command button: Private Sub cmdSelect_Click() On Error GoTo Err_cmdSelect_Click DoCmd.SetWarnings (False) DoCmd.OpenQuery "DelTbls" DoCmd.SetWarnings (True) ListAvailableTables ("U:\Suppliers\Pepsi\amerinet.mdb") lstTableNames.Requery MsgBox "Double Click on Table to Import." Exit_cmdSelect_Click: Exit Sub Err_cmdSelect_Click: MsgBox Err.Description Resume Exit_cmdSelect_Click End Sub ListAvailableTables is a module. If someone needs to see that, I can send offline or post here. Any ideas? This AXP is driving me crazy - so many things I did OK in 97 I run into problems with in XP. Thanks for any help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 From accessd at shaw.ca Wed Jun 11 08:47:44 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 11 Jun 2003 06:47:44 -0700 Subject: [AccessD] Displaying web page in a form In-Reply-To: <000101c32fee$d6fe2e50$7f00a8c0@bbb888> Message-ID: Hi Bruce: See: http://support.microsoft.com/default.aspx?scid=kb;en-us;174088 to register the control. If you are using Access97 you may have a problem; watch for wrap: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/q177/1/05.asp&NoWebContent=1 HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Wednesday, June 11, 2003 12:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Displaying web page in a form Hmm, Referenced OK (Registered OK) Inserted OK But... Me.actx_WebBrowser.navigate "some url" gives runtime error 438 "Object doesn't support this property or method" Any ideas? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, June 11, 2003 4:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Displaying web page in a form Hi Bruce Just like Jim said Reference the shdocvw.dll in the references. (It will show up in the list as Microsoft Internet controls) Then from your long list of available ActiveX objects find one called Microsoft web browser. Insert that onto a form and call it say...actX_WebBrowser then code will trigger it will be... Me.actX_WebBrowser.navigate http://www.microsoft.com Hope this helps Darren ----- Original Message ----- From: "Bruce Bruen" To: Sent: Wednesday, June 11, 2003 2:01 PM Subject: [AccessD] Displaying web page in a form > Dear List, > > Is there a way to display a web page inside a form! I want to click > on a hyperlink and have the page appear within the form itself. > > Tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 08:49:59 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 08:49:59 -0500 Subject: [AccessD] Repeat Emails Message-ID: Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday 2003 Jun 11 07:27 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim From shamil at smsconsulting.spb.ru Wed Jun 11 08:55:28 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 11 Jun 2003 17:55:28 +0400 Subject: [AccessD] Gather Information from Website References: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Message-ID: <000d01c33021$27390c50$b501010a@DAISY.local> Rich, Yes, this can be done - I did that for a customer to collect the info they are interested in and AFAIK it works now for several years without problems. It's better - more reliable and controllable - to use XMLHTTP from MSXMLx.dll (x>=3) to get web pages. In general your task is one of the tasks what web services should be used for - I mean the sources of information in the (near?) future will publish their data as web services not only as web pages - then the task to collect this info will be a childish game - and coming version(s) of MS Office will be tuned to work natively with such Web-services... Well, they will probably charge something to get access to such web services... HTH, Shamil ----- Original Message ----- From: "Lavsa, Rich" To: Sent: Wednesday, June 11, 2003 4:56 PM Subject: [AccessD] Gather Information from Website > Hello all, > > currently I am not developing this application, however since the topic of > web pages in access came up I thought that maybe I'd throw out a bone to see > if I can gain any knowledge before I attempt this on my own. > > My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball > and football leagues every year and is thinking of getting into hockey next. > he spends all his time looking on the internet and local paper to get stats > they he puts into an excel spreadsheet manually just about every day. There > is a large possibility that he could miss something, or add his points > system wrong, or simply enter it in the wrong cell. My thought was that > this information is already entered in databases, and is displayed on > hundreds of websites. So I was thinking that since this information is > already out there, why can't you just capture the stats every night. Of > course there would be some work on setting up the database, setting up the > rules of each league, however thought it might be a fun project and the more > I think about it the more work I think it will be. > > So to my question... > Is it possible to navigate out to a website for Stocks or Sport Stats, > download the information from the website to your database? > Has anyone out there done anything like this? > > Thanks in advance, > Rich > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 09:03:51 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 00:03:51 +1000 Subject: [AccessD] Gather Information from Website In-Reply-To: <833956F5C117124A89417638FDB11290EBCEB8@goexchange.pghcorning.com> Message-ID: <000201c33022$4a113990$7f00a8c0@bbb888> Dear Rich, Just been there, done that! Here a few things to consider, that I have learnt over the last few days regarding this type of info gathering. 1. You'll need an algorithm to parse the html (or text) received to "dig out" the info you need. This is not trivial. Each page we used needed a completely different method of finding the data in the chaff. As per the great advice received from Shamil (bless his socks) I based what we did on the mshtml.tlb method of parsing the actual html as this gave me the best way of finding the table I wanted and the best way of handling the "multi-record" data as each chunk of info we needed was in a pair. Also, the html out there in gagaland is NOT standard and (so far) mshtml has coped with the (even worse) html we get in auto-emails. All the parsing we did was CODED specific to the page or email layout. If you come up with a parameterised general parser I'd be glad to see it! 2. Beware of frames! Some sites may need a fair bit of digging to get to the actual html page you want. 3. As Marty Connoly warned - the buggers will change the site layout, or some chunk you are depending on to identify the data just when you don't want it to change. 4. Beware of page caching! If your coming through a proxy, or a seedy ISP you need to ensure that the page you get is the one you are after. And come up with a way of forcing the page refresh! We haven't solved this one yet! Other wise you just have to wait until you can get "today's" page. (This blew about 16 hours of budget - until one of the notwork guys informed us that the local proxy was set to "permanently" cache all pages accessed that weren't on their special list) 5. Shamil's (that Russian guy :-) ) excellent stuff is here http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm 6. The way to get the page is via the MSXML libs msxml4.dll (thanks to Marty) viz... Public Function UpdateSheet(addr As String) As String Dim strPageText As String Dim httpdoc As String Dim xmlhttp On Error GoTo US_ERR Set xmlhttp = CreateObject("Microsoft.XMLHTTP") 'Create the xmlhttp object Call xmlhttp.Open("GET", addr, False) 'Open a connection Call xmlhttp.send 'send a request to the server httpdoc = xmlhttp.responseText 'grab the response as text strPageText = ProcessHTML(httpdoc) 'perform some general preprocessing (mine removes
's and other junk) UpdateSheet = strPageText US_EXIT: Set xmlhttp = Nothing Exit Function US_ERR: .....your favourite error handler End Function Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, June 11, 2003 10:56 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 11 09:02:17 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 11 Jun 2003 09:02:17 -0500 Subject: [AccessD] OT? - Certification Message-ID: <869379ABF177D4118D3100508B5EF873063AB51D@corp-es00> ROFL! Jim Hale -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 7:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Jun 11 09:13:15 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 11 Jun 2003 10:13:15 -0400 Subject: [AccessD] Print Files from Access Message-ID: <000601c33023$9d982b90$ea360cd8@hargrove.internal> I have a situation that I was wondering if anybody else has encountered. We have some image files that are stored on the network that we occasionally need to email to clients for review. Up to now, we have been linking the images to an Access report and emailing a snapshot version to the client. Management would like to change this so that a PDF version of the picture is attached to an email and sent instead. We use PDF995 and I can easily set the Access default printer so that all output goes to the virtual PDF printer. My problem is that I don't know how to open the photo itself from Access and send it to the printer. Any thoughts? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com From Bryan_Carbonnell at cbc.ca Wed Jun 11 09:10:52 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 11 Jun 2003 10:10:52 -0400 Subject: [AccessD] Repeat Emails Message-ID: If they postmasters that add them follow standards, they should start with '--' or '-- ' (that's two dashes possibly followed by a space, I don't remeber which one it is) that may give our lovely list admins a possibility of stripping them that way. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. From actebs at actebs.com.au Wed Jun 11 09:21:43 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 00:21:43 +1000 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: <000001c33024$cb5bc1d0$0c05a8c0@earth.local> Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 09:25:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 10:25:27 -0400 Subject: [AccessD] Repeat Emails In-Reply-To: Message-ID: Doesn't it seem we have the cart before the horse here? If this is a standard disclaimer for businesses to use, shouldn't spam checkers ignore it? I know my two spam checkers don't shove these messages into my spam folder. Not that I mind getting rid of this crap from the messages we see... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Wednesday, June 11, 2003 10:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Repeat Emails If they postmasters that add them follow standards, they should start with '--' or '-- ' (that's two dashes possibly followed by a space, I don't remeber which one it is) that may give our lovely list admins a possibility of stripping them that way. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> Jim, As Debbie states, those disclaimers are added by their e-mail servers. Many organizations require them to "Cover Their A**es" so their admins have automatically added them to all e-mails sent by their e-mail servers. I'm sure our List Administrator would be glad if you could come up with a way to discover and strip off those disclaimers on incoming e-mails to the List. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 09:47:56 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 09:47:56 -0500 Subject: [AccessD] OT? - Certification Message-ID: Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday 2003 Jun 11 09:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- From Mark.Mitsules at ngc.com Wed Jun 11 09:56:30 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 10:56:30 -0400 Subject: [AccessD] Gather Information from Website Message-ID: If you are interested, you may be able to glean something from an Excel example that I ran across. http://www.cpearson.com/Zips/STOCKWEB.ZIP Mark -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Wednesday, June 11, 2003 8:56 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 09:58:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 09:58:04 -0500 Subject: [AccessD] Repeat Emails Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D0E@main2.marlow.com> Why not just add an exception to the spam filters to let anything from accessd at databaseadvisors.com through? I did that to our Spam filter...because a few posts about viruses had triggered the Spam filter... Drew -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, June 11, 2003 7:27 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Repeat Emails Periodically I receive repeat e-mails. Some days worse than others. My problem is the disclaimers at the bottom of some e-mails. They trigger the spam filter. My network guys have to review each one to determine if in fact it is spam. One day it was about 30% of the e-mails from this list? The statement: "If you have received this transmission in error..." or similar is a standard line that spammers like. What's the possibility of having those removed before the message is sent? Jim -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Tuesday, June 10, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Repeat Emails On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust wrote: > Yes, me. > > Charlotte Foust > > -----Original Message----- > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, June 09, > 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Repeat Emails > > > I have been receiving some of the same emails three times - but only a > few have done that - not all. Anyone else experiencing the same? > > ------------------------------------------------------------------------ No problems with repeated e-mails, but from time to time I can't send messages to the list. However I can read all messages posted from others. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 10:00:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 10:00:16 -0500 Subject: [AccessD] Gather Information from Website Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D0F@main2.marlow.com> Yes, quite possible, but you are going to have to tailor it per page, and you are also going to have to keep an eye on those pages to make sure they don't get changed from their end! Drew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Wednesday, June 11, 2003 7:56 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 10:03:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 10:03:45 -0500 Subject: [AccessD] OT? - Certification Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D10@main2.marlow.com> Oh so true. Just had to chime in on this one! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 9:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday 2003 Jun 11 09:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Charles, Well said!!!. I left to work for myself after what I saw in the business world from so called Highly Qualified Graduates.........Ummm, commonly referred to as regurgitators of info and no people skills whatsoever... I applaude your position... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Wortz, Charles Sent: Wednesday, 11 June 2003 10:47 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 10:08:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 11:08:33 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us From Rich_Lavsa at pghcorning.com Wed Jun 11 10:09:33 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 11 Jun 2003 11:09:33 -0400 Subject: [AccessD] Gather Information from Website Message-ID: <833956F5C117124A89417638FDB11290EBCEBA@goexchange.pghcorning.com> Thank you Shamil, Drew, and Bruce, As I feared, It sounds like more work then I had hoped for especially since I would be doing this as a friend for free. Other bad thing is that it would be a constant maintenance nightmare or so it seems. He is not one to be very computer literate so the thought of teaching him how to maintain it makes me cringe even more. Has anyone gotten into the WebQuery's or been able to use them in Access. I did a school project using one of these in Excel a few years ago to connect to a stock webpage and download information into excel. I haven't touched it since, wondering if this is an option. The Web Query was already built for us so I have no idea what had to be done to create that. I would imagine that comes from the website itself, but to be honest I don't know and since this isn't a work in progress I haven't spent any time researching any possibilities. anyway, thanks for the great info.... Rich -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 10:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Gather Information from Website Dear Rich, Just been there, done that! Here a few things to consider, that I have learnt over the last few days regarding this type of info gathering. 1. You'll need an algorithm to parse the html (or text) received to "dig out" the info you need. This is not trivial. Each page we used needed a completely different method of finding the data in the chaff. As per the great advice received from Shamil (bless his socks) I based what we did on the mshtml.tlb method of parsing the actual html as this gave me the best way of finding the table I wanted and the best way of handling the "multi-record" data as each chunk of info we needed was in a pair. Also, the html out there in gagaland is NOT standard and (so far) mshtml has coped with the (even worse) html we get in auto-emails. All the parsing we did was CODED specific to the page or email layout. If you come up with a parameterised general parser I'd be glad to see it! 2. Beware of frames! Some sites may need a fair bit of digging to get to the actual html page you want. 3. As Marty Connoly warned - the buggers will change the site layout, or some chunk you are depending on to identify the data just when you don't want it to change. 4. Beware of page caching! If your coming through a proxy, or a seedy ISP you need to ensure that the page you get is the one you are after. And come up with a way of forcing the page refresh! We haven't solved this one yet! Other wise you just have to wait until you can get "today's" page. (This blew about 16 hours of budget - until one of the notwork guys informed us that the local proxy was set to "permanently" cache all pages accessed that weren't on their special list) 5. Shamil's (that Russian guy :-) ) excellent stuff is here http://smsconsulting.spb.ru/shamil_s/topics/tableparser.htm 6. The way to get the page is via the MSXML libs msxml4.dll (thanks to Marty) viz... Public Function UpdateSheet(addr As String) As String Dim strPageText As String Dim httpdoc As String Dim xmlhttp On Error GoTo US_ERR Set xmlhttp = CreateObject("Microsoft.XMLHTTP") 'Create the xmlhttp object Call xmlhttp.Open("GET", addr, False) 'Open a connection Call xmlhttp.send 'send a request to the server httpdoc = xmlhttp.responseText 'grab the response as text strPageText = ProcessHTML(httpdoc) 'perform some general preprocessing (mine removes
's and other junk) UpdateSheet = strPageText US_EXIT: Set xmlhttp = Nothing Exit Function US_ERR: .....your favourite error handler End Function Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, June 11, 2003 10:56 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Gather Information from Website Hello all, currently I am not developing this application, however since the topic of web pages in access came up I thought that maybe I'd throw out a bone to see if I can gain any knowledge before I attempt this on my own. My goal is to come up for a friend of mine that runs 3 to 4 fantasy baseball and football leagues every year and is thinking of getting into hockey next. he spends all his time looking on the internet and local paper to get stats they he puts into an excel spreadsheet manually just about every day. There is a large possibility that he could miss something, or add his points system wrong, or simply enter it in the wrong cell. My thought was that this information is already entered in databases, and is displayed on hundreds of websites. So I was thinking that since this information is already out there, why can't you just capture the stats every night. Of course there would be some work on setting up the database, setting up the rules of each league, however thought it might be a fun project and the more I think about it the more work I think it will be. So to my question... Is it possible to navigate out to a website for Stocks or Sport Stats, download the information from the website to your database? Has anyone out there done anything like this? Thanks in advance, Rich From Mark.Mitsules at ngc.com Wed Jun 11 10:36:01 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 11:36:01 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Wed Jun 11 11:08:19 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 08:08:19 -0800 Subject: [AccessD] OT? - Certification Message-ID: I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From cfoust at infostatsystems.com Wed Jun 11 11:19:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 09:19:52 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 11:31:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:31:49 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: Mark, I don't think anyone really argues against the value of the thing for the purpose of getting a job. It's unfortunate that that is all too often the only value it serves. May yours provide a higher value. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Porter, Mark Sent: Wednesday, June 11, 2003 12:08 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 11:35:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:35:01 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: The sad part is not that they continue on, but that there is nothing outside the mainstream regular classroom to address their needs. Not to mention the fact that all too often these children fail not because of a lack of ability, but a lack of motivation. At an early age that can only be provided by the parent. How do you fix poor parenting? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 11:37:24 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 11:37:24 -0500 Subject: [AccessD] OT? - Certification Message-ID: Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. From JHewson at karta.com Wed Jun 11 11:48:07 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed, 11 Jun 2003 11:48:07 -0500 Subject: [AccessD] OT? - Certification Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C10@NT04> I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 11:53:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 09:53:44 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 8:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system The sad part is not that they continue on, but that there is nothing outside the mainstream regular classroom to address their needs. Not to mention the fact that all too often these children fail not because of a lack of ability, but a lack of motivation. At an early age that can only be provided by the parent. How do you fix poor parenting? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 12:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >>I suppose if we ignore the problem long enough, it will eventually go away No, it will eventually graduate a bunch of functional illiterates who won't be able to support themselves or function effectively in a high tech society except to play video games. The cult of self-esteeem has a great deal to answer for, but they will never be called to account ... Unlike the taxpayers who wind up supporting those who are unemployable. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 7:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system As an aside... I was told this morning from a spouse of a local elementary school teacher that the principal of said school has decided NOT to hold back a single student this year. Students with unsatisfactory (we can't say "failing", can we?) grades across the board are being sent on regardless of teacher recommendations. Of course the principal is only part of the problem. The teacher is also aware of parents (most?, some?, all?) who were advised to hold back their child have chosen instead to let their child continue on. ...I suppose if we ignore the problem long enough, it will eventually go away. :( Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jun 11 11:54:50 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 12:54:50 -0400 Subject: [AccessD] OT: Drumming up contract work? Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> Hi All, I am currently looking to earn some extra cash by doing some database contract work on the side. I have not done this type of contracting work before so I am a little lost as to how to get the whole thing started. I was wondering if anyone here has any pointers on how to find database work? Is it simply just a matter of going door to door to local businesses? Is there a way to find companies that may need a database application to automate their current systems? Any help to get me started would be greatly appreciated! Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jcolby at colbyconsulting.com Wed Jun 11 11:59:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 12:59:29 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: In 1972, as I was graduating from high school, I read that in Da Vinci's time a genius was capable of learning every piece of knowledge that mankind possessed. By 1972, a genius could no longer learn all of mankind's knowledge on a single branch of science such as biology, chemistry or physics. Further, in 1972, mankind's knowledge base was doubling every 4 years. It is no doubt doubling even faster today. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 12:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 11 12:05:34 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 13:05:34 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust From EdTesiny at oasas.state.ny.us Wed Jun 11 12:09:40 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 11 Jun 2003 13:09:40 -0400 Subject: [AccessD] OT? - Certification Message-ID: Every 18 months, it doubles. Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification It is no doubt doubling even faster today. John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Jun 11 12:16:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:16:32 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 11 12:24:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 12:24:06 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Or you are forced out if you do not get better with time! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust From john at winhaven.net Wed Jun 11 12:24:23 2003 From: john at winhaven.net (John Bartow) Date: Wed, 11 Jun 2003 12:24:23 -0500 Subject: [AccessD] Repeat Emails In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D0E@main2.marlow.com> Message-ID: My ISP filters SPAM and I have iHateSpam on my network. I put AccessD in my "friends" list and I have no problem with AccessD mail. My ISP doesn't seem to either. I do get repeats though. On the other hand my Yahoo email groups are always being filtered by the ISPs SPAM filter. But then it probably should be considering the junk they attach to every message! Being signed up with Yahoo groups is probably why I get so much SPAM in the first place (even though I decline it in my preferences). JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 9:58 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Repeat Emails > > > Why not just add an exception to the spam filters to let anything from > accessd at databaseadvisors.com through? I did that to our Spam > filter...because a few posts about viruses had triggered the Spam > filter... > > Drew > > -----Original Message----- > From: Jim Hewson [mailto:JHewson at karta.com] > Sent: Wednesday, June 11, 2003 7:27 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Repeat Emails > > > Periodically I receive repeat e-mails. Some days worse than others. > My problem is the disclaimers at the bottom of some e-mails. They trigger > the spam filter. > My network guys have to review each one to determine if in fact > it is spam. > One day it was about 30% of the e-mails from this list? > > The statement: "If you have received this transmission in error..." or > similar is a standard line that spammers like. > > What's the possibility of having those removed before the message is sent? > > Jim > > -----Original Message----- > From: Carlos Alberto Alves [mailto:caa at highway.com.br] > Sent: Tuesday, June 10, 2003 4:21 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Repeat Emails > > > On Mon, 9 Jun 2003 09:54:23 -0700, Charlotte Foust > wrote: > > > Yes, me. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, > June 09, > > 2003 8:43 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Repeat Emails > > > > > > I have been receiving some of the same emails three times - but only a > > few have done that - not all. Anyone else experiencing the same? > > > > ------------------------------------------------------------------------ > > No problems with repeated e-mails, but from time to time I can't send > messages to the list. However I can read all messages posted from others. > :( > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > * http://igspot.ig.com.br/forefront/ * > ************************************** > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwp.reid at qub.ac.uk Wed Jun 11 12:25:33 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 18:25:33 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001101c3303e$79229140$37f66e51@martinreid> There are books on being a parent and heres me thinking you made it up as you went along (<: Martin ----- Original Message ----- From: "Charlotte Foust" To: "accessd" Sent: Wednesday, June 11, 2003 5:53 PM Subject: RE: [AccessD] OT: the "Education" system > Well, after we shoot all the lawyers ... > > Actually, poor parenting may not always be the cause, but it certainly > can be and probably often is. The trouble is that the users manuals for > children were created by the same wonderful folks that brought us HTML > help, and there are no licensing requirements to make sure prospective > parents know what they're doing. Hmmn, that sounds a lot like some of > the so-called Access "developers" I've cleaned up after! > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 8:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > The sad part is not that they continue on, but that there is nothing > outside the mainstream regular classroom to address their needs. > > Not to mention the fact that all too often these children fail not > because of a lack of ability, but a lack of motivation. At an early age > that can only be provided by the parent. How do you fix poor parenting? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 11, 2003 12:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > >>I suppose if we ignore the problem long enough, it will eventually go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has a > great deal to answer for, but they will never be called to account ... > Unlike the taxpayers who wind up supporting those who are unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has decided > NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the board > are being sent on regardless of teacher recommendations. Of course the > principal is only part of the problem. The teacher is also aware of > parents (most?, some?, all?) who were advised to hold back their child > have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. According > to this article, the university system as we know it got it's start in > the middle ages. The average Joe did not go to school, did not know how > to read or write. Universities were originally designed to "educate" > the sons and daughters of the ruling class. The intended subjects of > the system did not work, they ruled. They had no need to "go get a > job". They needed skills distinctly different from those needed today. > > Unfortunately those in power in the university system do it "the way it > has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced to > do the "choose two from basket weaving, choose two from music, choose > two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is not > to train them to do a particular job (which is actually a good thing) > but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of info" > with "no people skills whatsoever" but also have no analytical skills. > > At most of the colleges and universities that I taught at I was the only > Computer Science faculty member that had any real-world experience as a > programmer/analyst. And I was the only one that designed my tests as > problems to solve, not multiple-guess or fill-in-the-blank type tests. I > wanted my students to learn how to analyze and solve problems, not > regurgitate data, which a trained monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads with > departmental chairs and school deans that didn't understand there was a > difference between theoretical knowledge and practical knowledge and > that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Wed Jun 11 12:30:18 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 18:30:18 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001f01c3303f$218e4270$37f66e51@martinreid> I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin From jscott at mchsi.com Wed Jun 11 12:36:23 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Wed, 11 Jun 2003 12:36:23 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! From jcolby at colbyconsulting.com Wed Jun 11 12:38:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:38:54 -0400 Subject: [AccessD] Exchange server Message-ID: My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Wed Jun 11 12:42:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 13:42:39 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <001f01c3303f$218e4270$37f66e51@martinreid> Message-ID: >I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. As well it should. We can see from this email that you weren't properly prepared to treat the world with arrogance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 11, 2003 1:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Jun 11 12:58:27 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 11 Jun 2003 13:58:27 -0400 Subject: [AccessD] Exchange server In-Reply-To: Message-ID: <000601c33043$130877d0$97350cd8@hargrove.internal> I believe you can do it by opening a MAPI session on the server via VBA. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 11 12:55:16 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 11 Jun 2003 13:55:16 -0400 Subject: [AccessD] Why can't I import from Excel 2000 Message-ID: An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Jun 11 12:59:14 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 11 Jun 2003 13:59:14 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Jeanine, <> In this case no and you can prove it to yourself with SHOWPLAN and the ISAMStats function. Showplan writes into a text file how JET with execute a specific query. ISAMStats can tell you the number of disk reads/writes done by JET. Showplan does have limitations, such as the fact that it can't handle sub-queries, but for your example it would work well. Anytime you execute a SQL statement, JET comes up with a costing plan, which is the most efficient way to execute a query. It looks at things such as: a. WHERE or HAVING statements b. ORDER BY c. JOINS d. Available indexes and the uniqueness of those indexes (table scans can be faster then using an index). e. Table stats. In the case of querydefs, the plan is saved with the query. For the most part, this is beneficial, but it can hurt you in some situations (ie. table stats are way off). What would happen in the example that you provided, is that the index pages for Unique ID would be returned. The number of pages depends on the size of the key and the number of record in the table. For a 100,000 record table, it probably would return no more then 5-10 index pages (JET uses a B-TREE ISAM index structure). So 5-10 reads for the index, and then 1 read for the record itself. There would be some additional overhead in reading Msysobjects, locating the index and table, etc., but in this case JET would definitely NOT read 100,000 records and pull them over the wire. For additional info on SHOWPLAN and ISAMSTATS, see: http://support.microsoft.com/default.aspx?scid=kb;en-us;162701 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeanine Scott Sent: Wednesday, June 11, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:00:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:00:48 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D13@main2.marlow.com> Unfortunately, the University systems problems roll out into the real world too. For example, in the military, Officers must hold a degree (at least most of them, there is a special type of officer that can be just an experienced enlisted person, but those positions are limited both in numbers and in advancement). This practice started way back in the beginning of our military history. When the Continental Army was formed, they needed educated people in charge. At the time, the only educated people were those that went to college, which also happened to be the social upper class. This worked out in two ways. By having commissioned officers with degrees, they were getting relatively educated officers, and they were keeping the upper class in leadership positions, instead of a grunt on the line. Modern companies also use the college system to determine how much someone should be paid, and/or if they should be management. The pay is easy to figure out. Accounting departments have to quantify things. You can't quantify intuitive thinking, but you can quantify degrees, or even experience in a job position. Oh well, I'd be more rantish, but I'm tired. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: the "Education" system I read something long ago that would indicate why this is so. According to this article, the university system as we know it got it's start in the middle ages. The average Joe did not go to school, did not know how to read or write. Universities were originally designed to "educate" the sons and daughters of the ruling class. The intended subjects of the system did not work, they ruled. They had no need to "go get a job". They needed skills distinctly different from those needed today. Unfortunately those in power in the university system do it "the way it has always been done". A classic example of this is the ludicrous practice of forcing medical interns to stay on duty 48 hours at a time with only a couple of hours sleep. Everyone acknowledges that this is dangerous, to the interns and even more so to the poor slob being seen by these sleep deprived interns. But... "that's the way it has always been done". And so we live in a world where the college graduate has been forced to do the "choose two from basket weaving, choose two from music, choose two from science". Yep, been there, done that. What a waste. And of course the defenders of the system CLAIM that the purpose is not to train them to do a particular job (which is actually a good thing) but to learn how to think. If only that were true! Try disputing anything the professor says and see how fast you are taught NOT to think! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, June 11, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Vlad, As a former college professor, I also notice that many of these "so called Highly Qualified Graduates" are not only "regurgitators of info" with "no people skills whatsoever" but also have no analytical skills. At most of the colleges and universities that I taught at I was the only Computer Science faculty member that had any real-world experience as a programmer/analyst. And I was the only one that designed my tests as problems to solve, not multiple-guess or fill-in-the-blank type tests. I wanted my students to learn how to analyze and solve problems, not regurgitate data, which a trained monkey can do. One of the reasons I quit teaching is I got tired of butting heads with departmental chairs and school deans that didn't understand there was a difference between theoretical knowledge and practical knowledge and that the graduate from a bachelor level program needs to have some practical knowledge if he/she is to expect to find a job in the real world. Only about 1% of the students could hope to become clones of their professors, they rest needed to be able to survive in the real world. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 11 13:00:16 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 11 Jun 2003 13:00:16 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <869379ABF177D4118D3100508B5EF873063AB5C5@corp-es00> That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Wed Jun 11 13:11:17 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 11 Jun 2003 14:11:17 -0400 Subject: [AccessD] OT: Drumming up contract work? In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> Message-ID: One place to look is RentACoder.com. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 12:55 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Drumming up contract work? Hi All, I am currently looking to earn some extra cash by doing some database contract work on the side. I have not done this type of contracting work before so I am a little lost as to how to get the whole thing started. I was wondering if anyone here has any pointers on how to find database work? Is it simply just a matter of going door to door to local businesses? Is there a way to find companies that may need a database application to automate their current systems? Any help to get me started would be greatly appreciated! Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:11:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:11:21 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D14@main2.marlow.com> No kidding. Heck, I've run into code that I wrote just a few months earlier and wondered what in the world was I thinking? One of my first 'big' ASP projects was an Employee Survey. Recently I've had to dig into that thing (I wrote it about 16 months ago)....what was I trying to accomplish with my classes? I have had half a mind to go in and rewrite it, but fortunately it is still working, I've just had to make a few adjustments. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:11:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:11:51 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D15@main2.marlow.com> That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Jun 11 13:11:54 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 11 Jun 2003 19:11:54 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <001501c33044$f1d01080$37f66e51@martinreid> LOL Needed a laugh tonight. Martin ----- Original Message ----- From: "John Colby" To: "accessd" Sent: Wednesday, June 11, 2003 6:42 PM Subject: RE: [AccessD] OT: the "Education" system > >I am on the faculty board and I have no Degree myself, something they think > should have restricted my participation in such things. > > As well it should. We can see from this email that you weren't properly > prepared to treat the world with arrogance. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 11, 2003 1:30 PM > To: accessd > Subject: Re: [AccessD] OT: the "Education" system > > > I take a Degree class for the University and I made it a "real life" this is > how its done in work type of course. I have ran into the most unbelieveable > arrogance from academic staff who have never earned a penny from computing > and yet teach many of the core subjects. I am more interested in my students > being able to do it as opposed to telling me how it should be done but > actually unable to do the work when faced with a keyboard. > > My students are required to have 6 mths programming experience before I get > them. Of course as I use VBA and .NET the faculty teach them Java they will > not permit me to take an intro course in either .NET or VBA to prepare them > for the stuff I wil be doing with them. > > I have had more than one row with academic staff at Board of Examiners > meetings. I am on the faculty board and I have no Degree myself, something > they think should have restricted my participation in such things. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JoyceRobinson at oasas.state.ny.us Wed Jun 11 13:12:57 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Wed, 11 Jun 2003 14:12:57 -0400 Subject: [AccessD] Delete Query problem Message-ID: Thanks Gustav. I tried your approach as best I could but it still does not seem to be working. I used the following [exact] syntax: DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); I got the error message: Syntax Error [missing operator] in query expression 'CID# = (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); I tried also adding brackets around the field names and 'Client' table and query 'Q_DropOuts' but that didn't help either. I'm obviously still doing something wrong. > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 11, 2003 7:12 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Delete Query problem > > Hi Joyce > > Use a subquery to locate those clients: > > > > DELETE > * > FROM > tblClients > WHERE > ID = > (SELECT > ID > FROM > tblDropOuts > WHERE > ID = tblClients.ID;); > > > > /gustav > > > > Any help would be greatly appreciated.? ?I am trying unsuccessfully to > run a Delete Query and keep getting the fairly common response? "Could not > delete from specified tables."? I have reviewed > > many similar posts and still cannot seem to get mine to work. > > > > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller > table).? Some (but not all) clients in "Dropouts" table are also in the > "Clients" table.? I want to delete all client records > > from the "Clients" table that are also found in the smaller "DropOuts" > table.? There is a one-to-one relationship between these tables. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Jun 11 13:13:26 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 14:13:26 -0400 Subject: [AccessD] Exchange server Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B32@mercury.tnco-inc.com> Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Jun 11 13:14:37 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:14:37 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D16@main2.marlow.com> Martin, I'm behind you 110%. What REALLY gets my goat, is when an instructor/teacher harps on semmantics over concepts. They would rather that a student knows the definition of a tuple, then have the student understand what fields in a table really are. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 11, 2003 12:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:16:12 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:16:12 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D17@main2.marlow.com> Yes....big question, is it Exchange 5.5 or Exchange 2000. Exchange 2000 has a direct ADO capability, which is slick (at least from the help files.....I'm stuck with a 5.5 version). Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? 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 JRojas at tnco-inc.com Wed Jun 11 13:16:18 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 11 Jun 2003 14:16:18 -0400 Subject: [AccessD] Access Data Retrieval Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B33@mercury.tnco-inc.com> The answer is yes, this is how Access works but with SQL Server and Stored Procedures, this would not be the case. "Select * from tblLoans where UniqueID = 1" would return one record. Joe R. -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Jun 11 13:18:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:18:52 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 13:19:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 13:19:22 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D19@main2.marlow.com> ROTFLMAO! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. As well it should. We can see from this email that you weren't properly prepared to treat the world with arrogance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 11, 2003 1:30 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system I take a Degree class for the University and I made it a "real life" this is how its done in work type of course. I have ran into the most unbelieveable arrogance from academic staff who have never earned a penny from computing and yet teach many of the core subjects. I am more interested in my students being able to do it as opposed to telling me how it should be done but actually unable to do the work when faced with a keyboard. My students are required to have 6 mths programming experience before I get them. Of course as I use VBA and .NET the faculty teach them Java they will not permit me to take an intro course in either .NET or VBA to prepare them for the stuff I wil be doing with them. I have had more than one row with academic staff at Board of Examiners meetings. I am on the faculty board and I have no Degree myself, something they think should have restricted my participation in such things. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 11 13:21:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 11 Jun 2003 14:21:46 -0400 Subject: [AccessD] OT: the "Education" system References: <869379ABF177D4118D3100508B5EF873063AB5C5@corp-es00> Message-ID: <02bf01c33046$548aeaa0$f3ecffcc@SusanOne> RE: [AccessD] OT: the "Education" systemI'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MPorter at acsalaska.com Wed Jun 11 13:31:06 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 10:31:06 -0800 Subject: [AccessD] OT? - Certification Message-ID: No, I did not get that impression at all. You seem to have a reputation which preceeds you, and allows you to work where you want. You do not need to bring the 'heat' of certs or degrees to get in the door. We also seem to agree that these qualifications are only valuable in obtaining a job. I also agree that the knowledge I gain (other than fundamental) will be worthless in 10 years - as will many certifications. The degree will not expire though. To me, most higher education (collegiate) is an exercise in BS. How much of it goes out the window on contact with your first real job? But it's an exercise you stuck with and completed, regardless of bureaucratic nonsense or professors. So in 10 years I will still have a Masters Degree, regardless of wether or not the knoweledge is still valid. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 8:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification Mark, I hope I didn't give you the impression that I thought a Masters degree was worthless. A good theoretical underpinning is always helpful, but not enough to solve practical problems. As to your comment that your degree will not expire; what you learn at the Masters level today will probably be expected to be the minimum for a Bachelors degree in ten years time. So you still have the degree, but your level of theoretical knowledge has shifted downward. What I did my dissertation research on is now taught in undergraduate courses! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday 2003 Jun 11 11:08 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From CWortz at tea.state.tx.us Wed Jun 11 13:38:34 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 13:38:34 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark From gustav at cactus.dk Wed Jun 11 13:41:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jun 2003 20:41:07 +0200 Subject: [AccessD] Delete Query problem In-Reply-To: References: Message-ID: <13144022871.20030611204107@cactus.dk> Hi Joyce Hmm ... those fieldnames are awful. Crosses, "#", are used for wrapping dates so these must be bracketed. Anyway, this should do: DELETE * FROM Clients WHERE Clients.[CID#] = (SELECT Q_DropOuts.[CID#_Link] FROM Q_DropOuts WHERE Q_DropOuts.[CID#_Link] = Clients.[CID#];); /gustav > Thanks Gustav. I tried your approach as best I could but it still does not seem to be working. I used the following [exact] syntax: > DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > I got the error message: > Syntax Error [missing operator] in query expression 'CID# = (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > I tried also adding brackets around the field names and 'Client' table and query 'Q_DropOuts' but that didn't help either. I'm obviously still doing something wrong. >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, June 11, 2003 7:12 AM >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Delete Query problem >> >> Hi Joyce >> >> Use a subquery to locate those clients: >> >> >> >> DELETE >> * >> FROM >> tblClients >> WHERE >> ID = >> (SELECT >> ID >> FROM >> tblDropOuts >> WHERE >> ID = tblClients.ID;); >> >> >> >> /gustav >> >> >> > Any help would be greatly appreciated.? ?I am trying unsuccessfully to >> > run a Delete Query and keep getting the fairly common response? "Could not >> > delete from specified tables."? I have reviewed >> > many similar posts and still cannot seem to get mine to work. >> > >> > I have 2 tables named "Clients" (larger table) and "DropOuts" (smaller >> > table).? Some (but not all) clients in "Dropouts" table are also in the >> > "Clients" table.? I want to delete all client records >> > from the "Clients" table that are also found in the smaller "DropOuts" >> > table.? There is a one-to-one relationship between these tables. From CWortz at tea.state.tx.us Wed Jun 11 13:47:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 11 Jun 2003 13:47:40 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Some on this list either learn new things too fast for their own good, or forget things too fast for their own good. Jim and Susan will have to decide if either applies to them. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday 2003 Jun 11 13:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system I'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. From MPorter at acsalaska.com Wed Jun 11 13:51:52 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Wed, 11 Jun 2003 10:51:52 -0800 Subject: [AccessD] OT: the "Education" system Message-ID: ...and I was wondering why I'm always getting put in charge! -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 10:39 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jscott at mchsi.com Wed Jun 11 13:58:35 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Wed, 11 Jun 2003 13:58:35 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> Message-ID: I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 11 14:06:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 11 Jun 2003 15:06:59 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: ...given the opportunity, perhaps those "incompetent programmer/analysts" became very competent IT management. One does not preclude the other... However, this does not excuse the fact that both groups should have completed a basic education regime on the merits of their efforts, and not "passed on" despite the very controls we have in place to prevent such a thing. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JoyceRobinson at oasas.state.ny.us Wed Jun 11 15:41:13 2003 From: JoyceRobinson at oasas.state.ny.us (Robinson, Joyce) Date: Wed, 11 Jun 2003 16:41:13 -0400 Subject: [AccessD] Delete Query problem Message-ID: Gustav, Thanks so much for your very helpful modification. I greatly appreciate your follow-up response. Obviously, I'm not a programmer and have quite a bit of learning to do. At least now, I can get rid of those pesty Dropouts. In the meantime, I will work on my future field names. :) > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, June 11, 2003 2:41 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Delete Query problem > > Hi Joyce > > Hmm ... those fieldnames are awful. Crosses, "#", are used for > wrapping dates so these must be bracketed. > > Anyway, this should do: > > DELETE * FROM Clients > WHERE Clients.[CID#] = > (SELECT Q_DropOuts.[CID#_Link] FROM Q_DropOuts > WHERE Q_DropOuts.[CID#_Link] = Clients.[CID#];); > > /gustav > > > > Thanks Gustav. I tried your approach as best I could but it still does > not seem to be working. I used the following [exact] syntax: > > > DELETE * FROM Clients WHERE CID# =(SELECT CID#_Link FROM Q_DropOuts > WHERE CID#_Link =Clients.CID#;); > > > > I got the error message: > > Syntax Error [missing operator] in query expression 'CID# = > (SELECT CID#_Link FROM Q_DropOuts WHERE CID#_Link =Clients.CID#;); > > > I tried also adding brackets around the field names and 'Client' table > and query 'Q_DropOuts' but that didn't help either. I'm obviously still > doing something wrong. > > > >> -----Original Message----- > >> From: Gustav Brock [mailto:gustav at cactus.dk] > >> Sent: Wednesday, June 11, 2003 7:12 AM > >> To: accessd at databaseadvisors.com > >> Subject: Re: [AccessD] Delete Query problem > >> > >> Hi Joyce > >> > >> Use a subquery to locate those clients: > >> > >> > >> > >> DELETE > >> * > >> FROM > >> tblClients > >> WHERE > >> ID = > >> (SELECT > >> ID > >> FROM > >> tblDropOuts > >> WHERE > >> ID = tblClients.ID;); > >> > >> > >> > >> /gustav > >> > >> > >> > Any help would be greatly appreciated.? ?I am trying unsuccessfully > to > >> > run a Delete Query and keep getting the fairly common response > "Could not > >> > delete from specified tables."? I have reviewed > >> > many similar posts and still cannot seem to get mine to work. > >> > > >> > I have 2 tables named "Clients" (larger table) and "DropOuts" > (smaller > >> > table).? Some (but not all) clients in "Dropouts" table are also in > the > >> > "Clients" table.? I want to delete all client records > >> > from the "Clients" table that are also found in the smaller > "DropOuts" > >> > table.? There is a one-to-one relationship between these tables. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 15:53:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 16:53:58 -0400 Subject: [AccessD] Exchange server In-Reply-To: <806536912C472E4A9D6515DF2E57261E0C5B32@mercury.tnco-inc.com> Message-ID: what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:03:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:03:29 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Fleas?? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, June 11, 2003 10:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system I'm scratching my head as we speak... Susan H. That nothing. I look at my work from YESTERDAY and scratch my head. :> Jim Hale I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. From bchacc at san.rr.com Wed Jun 11 16:05:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 11 Jun 2003 14:05:38 -0700 Subject: [AccessD] OT: the "Education" system References: Message-ID: <009b01c3305d$35ebe650$6501a8c0@HAL9002> Fine. Less competition for my kids. Rocky ----- Original Message ----- From: "Charlotte Foust" To: Sent: Wednesday, June 11, 2003 9:19 AM Subject: RE: [AccessD] OT: the "Education" system > >>I suppose if we ignore the problem long enough, it will eventually go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has a > great deal to answer for, but they will never be called to account ... > Unlike the taxpayers who wind up supporting those who are unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has decided > NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the board > are being sent on regardless of teacher recommendations. Of course the > principal is only part of the problem. The teacher is also aware of > parents (most?, some?, all?) who were advised to hold back their child > have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. According > to this article, the university system as we know it got it's start in > the middle ages. The average Joe did not go to school, did not know how > to read or write. Universities were originally designed to "educate" > the sons and daughters of the ruling class. The intended subjects of > the system did not work, they ruled. They had no need to "go get a > job". They needed skills distinctly different from those needed today. > > Unfortunately those in power in the university system do it "the way it > has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced to > do the "choose two from basket weaving, choose two from music, choose > two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is not > to train them to do a particular job (which is actually a good thing) > but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of info" > with "no people skills whatsoever" but also have no analytical skills. > > At most of the colleges and universities that I taught at I was the only > Computer Science faculty member that had any real-world experience as a > programmer/analyst. And I was the only one that designed my tests as > problems to solve, not multiple-guess or fill-in-the-blank type tests. I > wanted my students to learn how to analyze and solve problems, not > regurgitate data, which a trained monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads with > departmental chairs and school deans that didn't understand there was a > difference between theoretical knowledge and practical knowledge and > that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:06:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:06:39 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D1F@main2.marlow.com> I have a daily reminder of how right I am on that! ....really that should be Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 1:39 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, Unfortunately you are right. More than a few incompetent programmer/analysts have been promoted to IT management instead of let go. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday 2003 Jun 11 13:12 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Importance: Low That's not true in a lot of cases. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 12:24 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Or you are forced out if you do not get better with time! Charles Wortz -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 11 12:17 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:08:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:08:16 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Just FYI, VB behaves exactly the same way as Access when they're both using an MDB as a data store. Tell THAT to the vb developers and watch them squirm! Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:10:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:10:08 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Certainly there are books, Martin. I often used Dr. Spock to whack my youngster across his fundament when he was a sprout. I didn't say the books were for reading, after all! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 11, 2003 9:26 AM To: accessd Subject: Re: [AccessD] OT: the "Education" system There are books on being a parent and heres me thinking you made it up as you went along (<: Martin ----- Original Message ----- From: "Charlotte Foust" To: "accessd" Sent: Wednesday, June 11, 2003 5:53 PM Subject: RE: [AccessD] OT: the "Education" system > Well, after we shoot all the lawyers ... > > Actually, poor parenting may not always be the cause, but it certainly > can be and probably often is. The trouble is that the users manuals > for children were created by the same wonderful folks that brought us > HTML help, and there are no licensing requirements to make sure > prospective parents know what they're doing. Hmmn, that sounds a lot > like some of the so-called Access "developers" I've cleaned up after! > > Charlotte Foust > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 8:35 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > The sad part is not that they continue on, but that there is nothing > outside the mainstream regular classroom to address their needs. > > Not to mention the fact that all too often these children fail not > because of a lack of ability, but a lack of motivation. At an early > age that can only be provided by the parent. How do you fix poor > parenting? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 11, 2003 12:20 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > >>I suppose if we ignore the problem long enough, it will eventually > >>go > away > > No, it will eventually graduate a bunch of functional illiterates who > won't be able to support themselves or function effectively in a high > tech society except to play video games. The cult of self-esteeem has > a great deal to answer for, but they will never be called to account > ... Unlike the taxpayers who wind up supporting those who are > unemployable. > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Wednesday, June 11, 2003 7:36 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local > elementary school teacher that the principal of said school has > decided NOT to hold back a single student this year. Students with > unsatisfactory (we can't say "failing", can we?) grades across the > board are being sent on regardless of teacher recommendations. Of > course the principal is only part of the problem. The teacher is also > aware of parents (most?, some?, all?) who were advised to hold back > their child have chosen instead to let their child continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually > go away. :( > > > > Mark > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Wednesday, June 11, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: the "Education" system > > > I read something long ago that would indicate why this is so. > According to this article, the university system as we know it got > it's start in the middle ages. The average Joe did not go to school, > did not know how to read or write. Universities were originally > designed to "educate" the sons and daughters of the ruling class. The > intended subjects of the system did not work, they ruled. They had no > need to "go get a job". They needed skills distinctly different from > those needed today. > > Unfortunately those in power in the university system do it "the way > it has always been done". A classic example of this is the ludicrous > practice of forcing medical interns to stay on duty 48 hours at a time > with only a couple of hours sleep. Everyone acknowledges that this is > dangerous, to the interns and even more so to the poor slob being seen > by these sleep deprived interns. But... "that's the way it has always > been done". > > And so we live in a world where the college graduate has been forced > to do the "choose two from basket weaving, choose two from music, > choose two from science". Yep, been there, done that. What a waste. > > And of course the defenders of the system CLAIM that the purpose is > not to train them to do a particular job (which is actually a good > thing) but to learn how to think. If only that were true! > > Try disputing anything the professor says and see how fast you are > taught NOT to think! > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: Wednesday, June 11, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT? - Certification > > > Vlad, > > As a former college professor, I also notice that many of these "so > called Highly Qualified Graduates" are not only "regurgitators of > info" with "no people skills whatsoever" but also have no analytical > skills. > > At most of the colleges and universities that I taught at I was the > only Computer Science faculty member that had any real-world > experience as a programmer/analyst. And I was the only one that > designed my tests as problems to solve, not multiple-guess or > fill-in-the-blank type tests. I wanted my students to learn how to > analyze and solve problems, not regurgitate data, which a trained > monkey can do. > > One of the reasons I quit teaching is I got tired of butting heads > with departmental chairs and school deans that didn't understand there > was a difference between theoretical knowledge and practical knowledge > and that the graduate from a bachelor level program needs to have some > practical knowledge if he/she is to expect to find a job in the real > world. Only about 1% of the students could hope to become clones of > their professors, they rest needed to be able to survive in the real > world. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:11:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:11:31 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Oh, so YOU'RE the one, eh! Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, June 11, 2003 9:06 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 11 16:15:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:15:29 -0700 Subject: [AccessD] Exchange server Message-ID: Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:21:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:21:07 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D21@main2.marlow.com> CDO ( I believe Collaboration Data Objects) is actually the backbone of MAPI. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 3:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 16:21:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 17:21:35 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Precisely right, since both use JET to actually talk to the MDB. However... I saw mention of "going to SQL" later. If you are talking about SQL Server then you should design your app from the gitgo with that in mind. SQL Server doesn't understand VBA function calls, references to controls on forms, and many other things that makes Access the find RAD environment it is. You can paint yourself into some pretty tight corners if you don't think about these things in advance. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, June 11, 2003 5:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Just FYI, VB behaves exactly the same way as Access when they're both using an MDB as a data store. Tell THAT to the vb developers and watch them squirm! Charlotte Foust -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 9:36 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 16:30:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 16:30:58 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D23@main2.marlow.com> I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 11 16:48:05 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 11 Jun 2003 14:48:05 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: On the other hand, there are still some with principles. My niece was supposed to graduate tonight, but she failed her honors English class. It's literature and she just doesn't "get it" (she much prefers "facts" to imagination). Even though she's pretty much a straight A student, since she got an F in that class, she can't graduation. She has to take it over in summer school. She tried to talk the teacher into a D- so she could go through the graduation ceremony, but the teacher stuck to her guns. Tania is disappointed, of course, but she understand and holds no animosity. -- 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 Mitsules, Mark > Sent: 11 Jun 2003 8:36:AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > > As an aside... I was told this morning from a spouse of a local elementary > school teacher that the principal of said school has decided NOT to hold > back a single student this year. Students with unsatisfactory (we can't say > "failing", can we?) grades across the board are being sent on regardless of > teacher recommendations. Of course the principal is only part of the > problem. The teacher is also aware of parents (most?, some?, all?) who were > advised to hold back their child have chosen instead to let their child > continue on. > > > ...I suppose if we ignore the problem long enough, it will eventually go > away. :( > > > > Mark From cfoust at infostatsystems.com Wed Jun 11 16:51:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 14:51:17 -0700 Subject: [AccessD] Exchange server Message-ID: NOBODY programs MAPI if they have a choice. CDO has an object model with MAPI underneath it. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 11, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From caa at highway.com.br Wed Jun 11 17:03:18 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Wed, 11 Jun 2003 19:03:18 -0300 Subject: [AccessD] Why can't I import from Excel 2000 In-Reply-To: References: Message-ID: On Tue, 10 Jun 2003 13:15:31 -0400, Don Elliker wrote: > Latest is 2.7 I unchecked 2.1 and check 2.7 - no change. > >


"Things are only free to the extent that you don't pay for > them".-Don Elliker > > > >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the latest >> installed version of ADO and see if it makes a difference. >> >> Charlotte Foust >> >> -----Original Message----- >> From: Don Elliker [mailto:delliker at hotmail.com] >> Sent: Tuesday, June 10, 2003 8:45 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Why can't I import from Excel 2000 >> >> >> When attempting to import (thru import data wizard) I get this error >> "There >> is no object in this control" when I click OK (like a good user) the >> wizard >> opens , blank. If I click anything but 'cancel' I get "The expression >> you >> entered refers to an object that is closed or doesn't exist" - isn't >> this a >> fine how-do-you-do?? Something is broken?? I checked the references I >> have Visual Basic For Applications Microsoft 10.0 Object Library OLE >> Automation Microsoft Activex data objects 2.1 library Microsoft Excel >> 10.0 Object Library I even added the last one, with the same result >> Hi People! I think Excel 2000 library is "Microsoft Excel 9.0 Object Library". Check out that XP installation changes libraries from v9 to v10. ;-) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * * http://igspot.ig.com.br/forefront/ * ************************************** From DWUTKA at marlow.com Wed Jun 11 17:11:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 17:11:22 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D24@main2.marlow.com> Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 11 17:15:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 11 Jun 2003 17:15:18 -0500 Subject: [AccessD] Exchange server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D25@main2.marlow.com> I guess what is confusing, is that in VB, you get MAPI controls. I personally just set references to CDO, and do what I need to with CDO directly in code. So I was assuming that CDO was the underlying process to the MAPI stuff, based on the controls in VB. My bad. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:51 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server NOBODY programs MAPI if they have a choice. CDO has an object model with MAPI underneath it. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 11, 2003 1:31 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server I thought it was the other way around, that MAPI was a wrapper for CDO. Oh well, I need more coffee. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 4:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server Collaborative Data Objects, it's a programming wrapper over MAPI. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Exchange server what is cdo? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas Sent: Wednesday, June 11, 2003 2:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Exchange server Mind you that I don't have a code example but this code be achieved by using CDO instead of Outlook. Joe R. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 11, 2003 1:39 PM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 11 17:17:29 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 11 Jun 2003 18:17:29 -0400 Subject: [AccessD] Help with Mah Arithmetic Message-ID: <02a201c33067$3f4a6230$8e01a8c0@Rock> I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '--------------------------------------------------------------------------- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '--------------------------------------------------------------------------- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub References: <2F8793082E00D4119A1700B0D0216BF802226D18@main2.marlow.com> Message-ID: <3EE83821.25569.369D0A@localhost> As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:34:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:34:19 +1000 Subject: [AccessD] Print Files from Access In-Reply-To: <000601c33023$9d982b90$ea360cd8@hargrove.internal> Message-ID: <3EE83B0B.24305.41FF81@localhost> On 11 Jun 2003 at 10:13, Mike and Doris Manning wrote: > I have a situation that I was wondering if anybody else has encountered. We > have some image files that are stored on the network that we occasionally > need to email to clients for review. Up to now, we have been linking the > images to an Access report and emailing a snapshot version to the client. > > Management would like to change this so that a PDF version of the picture is > attached to an email and sent instead. We use PDF995 and I can easily set > the Access default printer so that all output goes to the virtual PDF > printer. > > My problem is that I don't know how to open the photo itself from Access and > send it to the printer. Any thoughts? > Why not print the same report you were "snapshotting" to the PDF writer? Just configure the report to "Use a Specific Printer" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:34:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:34:19 +1000 Subject: [AccessD] Repeat Emails In-Reply-To: References: Message-ID: <3EE83B0B.28060.41FF59@localhost> If spam checkers start ignoring "standard disclaimers", spammers will start sending messages with nothing but a "standard disclaimer" containing their message :-( On 11 Jun 2003 at 10:25, John Colby wrote: > Doesn't it seem we have the cart before the horse here? If this is a > standard disclaimer for businesses to use, shouldn't spam checkers ignore > it? I know my two spam checkers don't shove these messages into my spam > folder. > > Not that I mind getting rid of this crap from the messages we see... > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Wednesday, June 11, 2003 10:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Repeat Emails > > > If they postmasters that add them follow standards, they should start with > '--' or '-- ' (that's two dashes possibly followed by a space, I don't > remeber which one it is) that may give our lovely list admins a possibility > of stripping them that way. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> > Jim, > > As Debbie states, those disclaimers are added by their e-mail servers. > Many organizations require them to "Cover Their A**es" so their admins > have automatically added them to all e-mails sent by their e-mail > servers. > > I'm sure our List Administrator would be glad if you could come up with > a way to discover and strip off those disclaimers on incoming e-mails to > the List. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 17:40:27 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 08:40:27 +1000 Subject: [AccessD] Repeat Emails In-Reply-To: Message-ID: <3EE83C7B.8921.479EEB@localhost> On 11 Jun 2003 at 10:10, Bryan Carbonnell wrote: > If they postmasters that add them follow standards, they should start > with '--' or '-- ' (that's two dashes possibly followed by a space, I > don't remeber which one it is) that may give our lovely list admins a > possibility of stripping them that way. > Come on Brian, you know better than that :-). That's a convention not a standard :-) It doesn't appear in any RFC that I know of. It's actually a convention from the days of Fidonet etc when bandwidth was even more critical (300 baud modems and BBS operators paying phone charges by the minute to synchronise the forums) where programs like good ole SLMR would strip it automatically from replies. (and it's two dashes, space, CRLF) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From rusty.hammond at cpiqpc.com Wed Jun 11 17:43:29 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 11 Jun 2003 17:43:29 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DC0@cpixchng-1.cpiqpc.net> Jeanine, If you're IT folks need something in writing, the Access 97 Developer's Handbook (p 917 in the 3rd Edition) and the Access 2000 Developer's Handbook, Volume 2:Enterprise Edition (p94-95) basically state what everyone else on this list has already told you. Sorry, don't have Access XP yet so can't get you those page numbers. HTH Rusty -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, June 11, 2003 5:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 11 17:41:50 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 11 Jun 2003 18:41:50 -0400 Subject: [AccessD] OT: the "Education" system References: Message-ID: <006401c3306a$e1a96eb0$2f4afccc@SusanOne> :) either that or lice... ;) Susan H. > Fleas?? > From cfoust at infostatsystems.com Wed Jun 11 17:51:50 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Jun 2003 15:51:50 -0700 Subject: [AccessD] Help with Mah Arithmetic Message-ID: Try this: For intPhysicalRow = Abs(.ColumnHeads) To .ItemsSelected.Count - 1 When columnheads are turned on, they're in row zero, so you want to start with row 1. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, June 11, 2003 2:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub Message-ID: <3EE842AA.1560.5FC480@localhost> On 11 Jun 2003 at 18:17, Arthur Fuller wrote: > intCurrentRow = ctl.ItemsSelected(intPhysicalRow) Use ctl.ItemsSelected(intPhysicalRow) + ctl.ColumnHeads ie subtract one if headers are on, since ctl.ItemsSelected takes into account the Header when counting rows but ctl.Column() doesn't -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 11 18:12:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 09:12:00 +1000 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: Message-ID: <3EE843E0.18342.648215@localhost> Sorry, won't work. You still need to work from row 0 of ItemsSelected. It's the values in the ItemsSelected collection that are changed by ColumnHeads - not the index. On 11 Jun 2003 at 15:51, Charlotte Foust wrote: > Try this: > > > For intPhysicalRow = Abs(.ColumnHeads) To .ItemsSelected.Count - 1 > > When columnheads are turned on, they're in row zero, so you want to > start with row 1. > > Charlotte Foust > > -----Original Message----- > From: Arthur Fuller [mailto:artful at rogers.com] > Sent: Wednesday, June 11, 2003 2:17 PM > To: AccessD > Subject: [AccessD] Help with Mah Arithmetic > > > I've been staring at the following code and toying with this and that > and now I'm so punchy I really need a fresh set of eyes. > > Scenario: > > - a listbox with extended select, pk in column(0) > - a proc that works, called from the loop presented below > - said listbox has headings ON > > > '----------------------------------------------------------------------- > ---- > ------------ > ' Procedure : Send_Text_Confirmations > ' DateTime : 6/11/2003 14:50 > ' Author : Arthur Fuller > ' Purpose : Send confirmations not using Snapshot files, send > generated > text instead > ' : This code sends text email messages constaining the same > data > as the snapshot > ' : We use the report's data source directly to retrieve the > information we need. > '----------------------------------------------------------------------- > ---- > ------------ > ' > Private Sub Send_Text_Confirmations() > Dim ctl As Control > Dim intPhysicalRow As Integer, intCurrentRow As Integer > Dim strWhere As String > Dim strReportName As String > Dim lng_PK_Of_Interest As Long > > With Me > Set ctl = .Item_Selector_listbox > With ctl > 'column headings seem to screw this code up but I can't figure out > how > 'to account for them > For intPhysicalRow = 0 To .ItemsSelected.Count - 1 > intCurrentRow = ctl.ItemsSelected(intPhysicalRow) > If intPhysicalRow > 0 Then > lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) > Debug.Print "Creating mail for Practicum Placement #: " & > lng_PK_Of_Interest > Send_Text_PMail lng_PK_Of_Interest > End If > Next intPhysicalRow > End With > MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", > vbInformation, "Task Complete" > End With > > On Error GoTo 0 > Exit Sub > > Send_Text_Confirmations_Error: > > MsgBox "Error " & Err.Number & vbCrLf & _ > Err.Description & vbCrLf & _ > "in procedure Send_Text_Confirmations of VBA Document > Form_frm_Practica_Email_Select", _ > vbCritical, _ > "Program Error" > End Sub > > > The line > Send_Text_PMail lng_PK_Of_Interest > > Works and is not of interest. Just assume that whatever it does, it > works. The problem is in the arithmetic and I cannot see it. > > Well, ok, I'm old, and entitled to more senior moments than you :-) > > Symptoms: > Select 3 items. It does 2. Select 1. It does none. Select All and it > works. Headings off and on affect the results. I want the code to > interrogate HeadingsOn but can't seem to find the attribute. > > Revisions invited! > > Arthur > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bbruen at bigpond.com Wed Jun 11 18:15:09 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 09:15:09 +1000 Subject: [AccessD] ADO library version Message-ID: <000001c3306f$4df375d0$7f00a8c0@bbb888> Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? From jcolby at colbyconsulting.com Wed Jun 11 18:24:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 19:24:55 -0400 Subject: [AccessD] Repeat Emails In-Reply-To: <3EE83B0B.28060.41FF59@localhost> Message-ID: Uhhh... standard disclaimers are more and more prevalent. Thus EVERY valid email will end up being viewed as spam. I use Cloudmark and SpamAssasin. SpamAssasin puts a "[Spam]" in the subject as well as a lengthy discord on why it seems to think it is spam. Content analysis details: (12.50 points, 8 required) EXCUSE_3 (0.1 points) BODY: Claims you can be removed from the list BANG_MORE (0.5 points) BODY: Talks about more with an exclamation! RECEIVE_OFFER (0.5 points) BODY: Receive a special offer EXCUSE_19 (0.9 points) BODY: Claims you opted-in or registered EXCUSE_1 (0.1 points) BODY: Gives a lame excuse about why you were sent this spam OFFER (0.1 points) BODY: Free Offer OFFERS_ETC (0.6 points) BODY: Stop with the offers, coupons, discounts etc! HTML_LINK_CLICK_HERE (0.1 points) BODY: HTML link text says "click here" HTML_60_70 (0.1 points) BODY: Message is 60% to 70% HTML HTML_WEB_BUGS (0.1 points) BODY: Image tag with an ID code to identify you HTML_MESSAGE (0.1 points) BODY: HTML included in message HTML_IMAGE_ONLY_08 (0.9 points) BODY: HTML has images with 600-800 bytes of words HTML_FONT_BIG (0.1 points) BODY: FONT Size +2 and up or 3 and up HTML_IMAGE_RATIO_08 (0.3 points) BODY: HTML has a low ratio of text to image area HTML_FONT_COLOR_BLUE (0.1 points) BODY: HTML font color is blue NORMAL_HTTP_TO_IP (0.5 points) URI: Uses a dotted-decimal IP address in URL RCVD_IN_NJABL (1.0 points) RBL: Received via a relay in dnsbl.njabl.org [RBL check: found 139.200.119.64.dnsbl.njabl.org., type: 127.0.0.4] RCVD_IN_SBL (0.6 points) RBL: Received via SBLed relay, see http://www.spamhaus.org/sbl/ [RBL check: found 139.200.119.64.sbl.spamhaus.org.] RCVD_IN_OSIRUSOFT_COM (0.6 points) RBL: Received via a relay in relays.osirusoft.com [RBL check: found 139.200.119.64.relays.osirusoft.com., type: 127.0.0.6] X_OSIRU_SPAMWARE_SITE (1.1 points) RBL: DNSBL: sender is a Spamware site or vendor FORGED_MUA_MOZILLA (2.5 points) Forged mail pretending to be from Mozilla MIME_HEADER_CTYPE_ONLY (1.4 points) 'Content-Type' found without required MIME headers CLICK_BELOW (0.1 points) Asks you to click below MIME_HTML_ONLY (0.1 points) Message only has text/html MIME parts SpamAssasin NEVER gives a false positive. In fact the only false positives I get out of Cloudmark is an occasional newsletter that it seems to think is spam. Between the two systems I get about 140 messages a day sent to the spam folder. It is so reliable that I simply go to the spam folder and delete them all once daily. I do occasionally just scan down them to make sure nothing I want is there. As I said, something like .5% false positives. I end up with about 5-10 spams that don't get caught. Cloudmark allows me to "report" those to a database they use to decide what is spam (probably why the occasional newsletter gets marked as spam). AccessD got reported once by someone (to Cloudmark). I "unreported it" which allows them to get through to me. Other than that, no AccessD messages ever get sent to spam. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Repeat Emails If spam checkers start ignoring "standard disclaimers", spammers will start sending messages with nothing but a "standard disclaimer" containing their message :-( On 11 Jun 2003 at 10:25, John Colby wrote: > Doesn't it seem we have the cart before the horse here? If this is a > standard disclaimer for businesses to use, shouldn't spam checkers ignore > it? I know my two spam checkers don't shove these messages into my spam > folder. > > Not that I mind getting rid of this crap from the messages we see... > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Wednesday, June 11, 2003 10:11 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Repeat Emails > > > If they postmasters that add them follow standards, they should start with > '--' or '-- ' (that's two dashes possibly followed by a space, I don't > remeber which one it is) that may give our lovely list admins a possibility > of stripping them that way. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> CWortz at tea.state.tx.us 11-Jun-03 9:49:59 AM >>> > Jim, > > As Debbie states, those disclaimers are added by their e-mail servers. > Many organizations require them to "Cover Their A**es" so their admins > have automatically added them to all e-mails sent by their e-mail > servers. > > I'm sure our List Administrator would be glad if you could come up with > a way to discover and strip off those disclaimers on incoming e-mails to > the List. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Wed Jun 11 18:28:41 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 12 Jun 2003 09:28:41 +1000 Subject: [AccessD] Print Files from Access References: <000601c33023$9d982b90$ea360cd8@hargrove.internal> Message-ID: <00d601c33071$31a76ec0$54dd31d2@OfficePC> I se pdf995 to send pdf attachments with OUtlook. If you use pdf995edit then you can open access the autoname feature which allows you to specify a path and file name where files will always be output to, eg. C:\PDF Output\output.pdf. You can then add some code in your database to copy that file to a new more appropriate file name and attach that file to the email. HTH Kath ----- Original Message ----- From: Mike and Doris Manning To: AccessD at databaseadvisors.com Sent: Thursday, June 12, 2003 12:13 AM Subject: [AccessD] Print Files from Access I have a situation that I was wondering if anybody else has encountered. We have some image files that are stored on the network that we occasionally need to email to clients for review. Up to now, we have been linking the images to an Access report and emailing a snapshot version to the client. Management would like to change this so that a PDF version of the picture is attached to an email and sent instead. We use PDF995 and I can easily set the Access default printer so that all output goes to the virtual PDF printer. My problem is that I don't know how to open the photo itself from Access and send it to the printer. Any thoughts? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Wed Jun 11 18:42:03 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 12 Jun 2003 09:42:03 +1000 Subject: [AccessD] BEU Updater Message-ID: <00ed01c33073$0fd119c0$54dd31d2@OfficePC> Hi everybody - I have just started using the BEU tool. I clicked on 'Insert mod' and added my first modification, which was table, add field. field = directorname txt, size 75 to tblx. I then clicked on 'new mod' to add the same modification for a different table, ie. to insert a new field of the same name. I made a call to the beuDBAIsDBUpToDate routine and now find that it only made the first modification, not the second. When I go back into frmdbamain it shows the first modification as applied, but the second not. Now I cannot get that second modification to happen. When I re trigger the beuDBAIsDBUpToDate routine it appears to ignore the 2nd mod. (I have manually added the field myself to check that the field name / size etc is Ok and then undone that manual change). Since these 2 mods have to go into my production version early next week, any tips? TIA and thanks for all the work on BEU. Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Wed Jun 11 19:10:35 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 10:10:35 +1000 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: <002301c33077$0eeeac30$0c05a8c0@earth.local> Mark, Very clever...LOL!!! I p***ed myself when I read that...Good work!! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Thursday, 12 June 2003 3:06 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Jun 11 19:12:37 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 12 Jun 2003 10:12:37 +1000 Subject: [AccessD] OT: the "Education" system In-Reply-To: Message-ID: <002401c33077$57b88da0$0c05a8c0@earth.local> John, "I look at MY work from years ago and scratch my head"..........How true. I did that just a few weeks ago with a DB I did for a client about 5 years ago and laughed about how I went about things... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, 12 June 2003 3:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system I've got news for you, I look at MY work from years ago and scratch my head. We all get better if we do this long enough. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Wednesday, June 11, 2003 1:06 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system >Hmmn, that sounds a lot like some of the so-called Access "developers" >I've cleaned up after! Parenting notwithstanding >8|, ...I didn't realize anyone had seen my work ;) Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, June 11, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Well, after we shoot all the lawyers ... Actually, poor parenting may not always be the cause, but it certainly can be and probably often is. The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help, and there are no licensing requirements to make sure prospective parents know what they're doing. Hmmn, that sounds a lot like some of the so-called Access "developers" I've cleaned up after! Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Wed Jun 11 19:23:29 2003 From: papparuff at attbi.com (John Ruff) Date: Wed, 11 Jun 2003 17:23:29 -0700 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <02a201c33067$3f4a6230$8e01a8c0@Rock> Message-ID: <00e701c33078$d9af02c0$6401a8c0@papparuff> Why not just iterate through the items selected without worrying about count. Dim varItm as variant With ctl For Each varItm In .ItemsSelected lng_PK_Of_Interest = .Column(0, varItm) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest Next varItm End With Or, to do it with the code you already have: For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) ' This If statement is causing the problem. ' The count of .ItemsSelected is 0 based, not 1 based ' If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest ' End If Next intPhysicalRow John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Arthur Fuller Sent: Wednesday, June 11, 2003 3:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub I suspect you also have A2k on your machine or that you upgraded from it. On my work machine, I installed XP MOD clean, no upgrade, and my default is ADO 2.5. Charlotte Foust -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO library version Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Jun 11 19:53:44 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 11 Jun 2003 17:53:44 -0700 Subject: [AccessD] OT? - Certification In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294C10@NT04> Message-ID: To add.... I was recently hired in a job in which I had no specific training. A previous employee had filled this position, after matching all the certificate requirements, from A to D. The poor fellow did not work out and left. The employer decided to look for someone, as he put it, can do E to Z. He assumed that some one who has been it the business long enough could figure out anything. So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 11, 2003 9:48 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 11 20:10:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 12 Jun 2003 11:10:46 +1000 Subject: [AccessD] ADO library version In-Reply-To: Message-ID: <000001c3307f$74e9b900$7f00a8c0@bbb888> No, it was a clean install, including a complete reformat of the disk. But I have imported/upgraded several dozen 2000 dbs - would that do it? Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO library version I suspect you also have A2k on your machine or that you upgraded from it. On my work machine, I installed XP MOD clean, no upgrade, and my default is ADO 2.5. Charlotte Foust -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 11, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] ADO library version Charlotte, This: >> Why would you be using ADO 2.1 with Access XP? The installed version >> with XP is at least 2.5 or 2.6, if I remember correctly (I've got the >> latest version installed, so I can't check). Try changing to the >> latest installed version of ADO and see if it makes a difference. >> >> Charlotte Foust Reminded me. I run AXP, every time I create a new db it sets by default the ADO v2.1 library as the ADO reference. I have to manually change it to 2.6 Is there some way to make It default to the 2.6 library? Tia Bruce P.s. isn't it wonderful how you get so used to a "feature" that you don't even notice that you are working around it all the time? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Jun 11 20:15:47 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 11 Jun 2003 21:15:47 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: <3EE83821.25569.369D0A@localhost> Message-ID: Stuart, <> It doesn't even pull the entire index. Probably 5-10 pages at most. As I said in my post, Jeanine can easily check what's going on with SHOWPLAN and ISAMSTATS. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 11 22:11:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 11 Jun 2003 23:11:30 -0400 Subject: [AccessD] OT? - Certification In-Reply-To: Message-ID: > So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. Good Job!!! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, June 11, 2003 8:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification To add.... I was recently hired in a job in which I had no specific training. A previous employee had filled this position, after matching all the certificate requirements, from A to D. The poor fellow did not work out and left. The employer decided to look for someone, as he put it, can do E to Z. He assumed that some one who has been it the business long enough could figure out anything. So two weeks to learn Oracle, Toad, Cognos, Discover. Finished the first major report today. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 11, 2003 9:48 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I concur. I chose the higher education route and it has worked well for me. With the certification one seems to get pigeon-holed by the potential or current employer. They seem to think that with certification, a person's ability is linked to a certain set of skills and only those skills. While the degreed individual will have a broader sense of the business world and therefore their skill set is more diverse. Jim -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Wednesday, June 11, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I agree with your statement completely. Personally, I not hold much weight in either higher education or certifications. Once you are in the door they are effectively toilet paper. However, with your degrees and certifications you have the option of presenting them if it is convenient for you to do so. My route was a judgement call for going for higher education rather than certifications. I always seem to be put in charge after a time and figured it to be the best choice. We'll see how it pans out. Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 11, 2003 4:47 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification As one that has acquired many degrees and many certifications over the years, I have found they are only good for getting hired at the types of organization that I don't want to work for. I prefer working where I enjoy the work and they value my performance, not my degrees and certificates. I no longer even list any of my degrees and certificates on my business card. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Tuesday 2003 Jun 10 12:14 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT? - Certification I got tired of the certification and recertification mess before I even passed my first one. New ones came out (or were comming out) before I could complete my current ones. I'm pursuing a Masters in IT instead. At least they don't expire. -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 10, 2003 8:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification You hardly have to worry about that. In a year the entire set of technology from MS will be different, with new exams to take. Let's just hope that they get a raise for every exam they pass. That'll teach management to implement such silliness. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, June 10, 2003 12:12 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT? - Certification I apologize if this drives the discussion off-track, but I have to ask...what happens when you've passed all the exams? No more raises, ever? -Christopher- ---- Original Message ---- From: R.Griffiths at bury.gov.uk To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] OT? - Certification Date: Tue, 10 Jun 2003 09:03:06 +0100 >Hi > >Our management have decided to tie our salaries to passing MS .Net >certification exams. Does anyone one have any books recommendations >(or other resources) specific to passing MCSA and MCSE? > >Many thanks > >Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 12 02:27:19 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 12 Jun 2003 17:27:19 +1000 Subject: [AccessD] A2K: Freebie for list members Message-ID: <001501c330b4$0f3e6620$3c619a89@DDICK> Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren From subs at solution-providers.ie Thu Jun 12 02:56:23 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 12 Jun 2003 08:56:23 +0100 Subject: [AccessD] A2K: Freebie for list members References: <001501c330b4$0f3e6620$3c619a89@DDICK> Message-ID: <005701c330b8$216c0970$1b76fea9@D8TZHN0J> Hello Darren, What does it do ? Can you post the full functionality and list of system requirements? 386 processor, 16 MB ram etc :) Mark ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 12, 2003 8:27 AM Subject: [AccessD] A2K: Freebie for list members > Hello all > I have been working on a 'Drag and Drop' app for Access. > With my limited skill I could only go so far. > Stuart and Drew came along gave this thing the real 'oomph' to make > it look and feel right. > > So....anyone want a copy? > send an OFF LIST email to d.dick at uws.edu.au with > > Access Drag and Drop Request > > as your subject > > Also, do the official DBA web dudes wanna post this on the DBA downloads? > It's not a really heavy duty app, but it may be useful for someone. > > Many thanks > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From subs at solution-providers.ie Thu Jun 12 03:01:08 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 12 Jun 2003 09:01:08 +0100 Subject: [AccessD] Exchange server References: Message-ID: <007901c330b9$437cef10$1b76fea9@D8TZHN0J> Hello John, Can you not just ensure that Outlook is also installed on the Server, and run it from outlook on that machine, it should never be down. If for some reason, you cannot do that, can you install outlook on another server and do the same thing. Mark ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 11, 2003 6:38 PM Subject: [AccessD] Exchange server > My client uses Exchange server. > > I currently have Outlook running on an employee's workstation, and he > receives emails form their client with attachments which have to be > processed by the database. On this employee's machine I have a rule in > Outlook that moves all emails from their client with a specific subject into > a subfolder in Outlook. > > I then have an instance of Outlook running in the database (Withevents). > The database thus gets an event anytime an email comes into that > subdirectory. The event sink grabs every message in the subfolder and saves > the attachments into a working directory on the server, then copies the > email into a sub-sub folder so it isn't processed again. The attachements > are two text files and an excel spreadsheet. The text files are imported > using an import spec, and the spreadsheet is imported using append queries, > linking the spreadsheet to a known name. > > This all works very well. > > However we are moving this kind of process onto a server where it will run > continuously. We will no longer have to worry about keeping his workstation > turned on, power failures, his going on vacation etc. > > The client has asked me if he needs to have Outlook running on the server or > if I can pull the emails out of Exchange Server directly. > > Can I? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Jun 12 03:13:30 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 01:13:30 -0700 Subject: [AccessD] Exchange server In-Reply-To: Message-ID: Hi John: You can run everything from Exchange. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, June 11, 2003 10:39 AM To: AccessD Subject: [AccessD] Exchange server My client uses Exchange server. I currently have Outlook running on an employee's workstation, and he receives emails form their client with attachments which have to be processed by the database. On this employee's machine I have a rule in Outlook that moves all emails from their client with a specific subject into a subfolder in Outlook. I then have an instance of Outlook running in the database (Withevents). The database thus gets an event anytime an email comes into that subdirectory. The event sink grabs every message in the subfolder and saves the attachments into a working directory on the server, then copies the email into a sub-sub folder so it isn't processed again. The attachements are two text files and an excel spreadsheet. The text files are imported using an import spec, and the spreadsheet is imported using append queries, linking the spreadsheet to a known name. This all works very well. However we are moving this kind of process onto a server where it will run continuously. We will no longer have to worry about keeping his workstation turned on, power failures, his going on vacation etc. The client has asked me if he needs to have Outlook running on the server or if I can pull the emails out of Exchange Server directly. Can I? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 03:13:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 01:13:31 -0700 Subject: [AccessD] Reporting request form In-Reply-To: Message-ID: Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA Jim From roz.clarke at donnslaw.co.uk Thu Jun 12 03:36:11 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 12 Jun 2003 09:36:11 +0100 Subject: [AccessD] Reporting request form Message-ID: <61F915314798D311A2F800A0C9C83188047C5E97@dibble.observatory.donnslaw.co.uk> I've always found that the only way to make them happy is to get them to tell you what data they want to see (i.e. a list of all the red frogs with bus passes living in the Detford area) and then to draw a picture of how they expect the report to look, in terms of order of columns, totals etc. If you can't do that, these are some of the questions on a proforma I used to use: - Requested by, date, deadline; all that stuff. - Title: - Description (what information you want to see): - Full list of details or just counts? - Order of columns: - Sorted by which columns? - Grouped with totals? (e.g. showing all payments by trainee with a sum of payments per trainee) - If grouped, what are the levels? (e.g. Area, Trainee, Payments or Supervisor, Trainee, Payments) - Filters (e.g. you select a specific trainee or payment type when running the report, or a date range or other detail): None of this makes sense to a user the first time; they had to be trained to use the form. I included a space for drawing a picture and as I said, it was the most useful part. Can't see how a web page will give you that :( HTH Roz -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: 12 June 2003 09:14 To: accessd at databaseadvisors.com Subject: [AccessD] Reporting request form Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 04:01:17 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 02:01:17 -0700 Subject: [AccessD] Reporting request form In-Reply-To: <61F915314798D311A2F800A0C9C83188047C5E97@dibble.observatory.donnslaw.co.uk> Message-ID: Hi Roz: Thank you very much for the info... there is some good points I had not thought about. Jim PS ...a list of all the red frogs with bus passes living in the Detford area...Can't see how a web page will give you that :(. Another good point :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, June 12, 2003 1:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Reporting request form I've always found that the only way to make them happy is to get them to tell you what data they want to see (i.e. a list of all the red frogs with bus passes living in the Detford area) and then to draw a picture of how they expect the report to look, in terms of order of columns, totals etc. If you can't do that, these are some of the questions on a proforma I used to use: - Requested by, date, deadline; all that stuff. - Title: - Description (what information you want to see): - Full list of details or just counts? - Order of columns: - Sorted by which columns? - Grouped with totals? (e.g. showing all payments by trainee with a sum of payments per trainee) - If grouped, what are the levels? (e.g. Area, Trainee, Payments or Supervisor, Trainee, Payments) - Filters (e.g. you select a specific trainee or payment type when running the report, or a date range or other detail): None of this makes sense to a user the first time; they had to be trained to use the form. I included a space for drawing a picture and as I said, it was the most useful part. Can't see how a web page will give you that :( HTH Roz -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: 12 June 2003 09:14 To: accessd at databaseadvisors.com Subject: [AccessD] Reporting request form Hi All: I have to prepare a Reporting sheet...it will eventually be web page, that will give a client a nicely ordered list, that if they answer and fill out all the appropriate spots, will provide (or nearly provide) sufficient information to generate a report from. Has anyone created such a report request form before? Any help would be greatly appreciated. MTIA 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 JOHNWARDBELL at aol.com Thu Jun 12 04:51:11 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Thu, 12 Jun 2003 05:51:11 EDT Subject: [AccessD] OT? - Certification Message-ID: <148.138557c5.2c19a70f@aol.com> Charles Your experience in education is not different to that of mine, and like you I was the only lecturer in the division with commercial programmer/analyst experience. And this is in northern England. Why bang your head against a wall when a good working life (and income) can be had working for yourself. john bell -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Jun 12 06:13:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 07:13:20 -0400 Subject: [AccessD] Exchange server In-Reply-To: <007901c330b9$437cef10$1b76fea9@D8TZHN0J> Message-ID: Yep, we are trying to do that. this server has less than 200 mb free on it's C: drive. All by itself that is a cause for concern. Now try to squeeze Access and outlook in. And they wonder why the thing is slow! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Thursday, June 12, 2003 4:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Exchange server Hello John, Can you not just ensure that Outlook is also installed on the Server, and run it from outlook on that machine, it should never be down. If for some reason, you cannot do that, can you install outlook on another server and do the same thing. Mark ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Wednesday, June 11, 2003 6:38 PM Subject: [AccessD] Exchange server > My client uses Exchange server. > > I currently have Outlook running on an employee's workstation, and he > receives emails form their client with attachments which have to be > processed by the database. On this employee's machine I have a rule in > Outlook that moves all emails from their client with a specific subject into > a subfolder in Outlook. > > I then have an instance of Outlook running in the database (Withevents). > The database thus gets an event anytime an email comes into that > subdirectory. The event sink grabs every message in the subfolder and saves > the attachments into a working directory on the server, then copies the > email into a sub-sub folder so it isn't processed again. The attachements > are two text files and an excel spreadsheet. The text files are imported > using an import spec, and the spreadsheet is imported using append queries, > linking the spreadsheet to a known name. > > This all works very well. > > However we are moving this kind of process onto a server where it will run > continuously. We will no longer have to worry about keeping his workstation > turned on, power failures, his going on vacation etc. > > The client has asked me if he needs to have Outlook running on the server or > if I can pull the emails out of Exchange Server directly. > > Can I? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Thu Jun 12 06:43:44 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 12 Jun 2003 11:43:44 +0000 Subject: [AccessD] Msgbox HELP button Message-ID: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> To all, How do I get the msgbox to detect when the help button is pressed, I have the following code : pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") MsgBox pubUserResponse When the msgbox is displayed the ok button works fine but when I click the HELP button nothing happens, I assumed that it would store a value into pubUserResponse, but the msgbox doesn't even go away after clicking help. So my question is, how do I get to display a little help form or msgbox when the user clicks HELP..... Thanks in advance. Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Bryan_Carbonnell at cbc.ca Thu Jun 12 06:53:43 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 07:53:43 -0400 Subject: [AccessD] Repeat Emails Message-ID: In my early days online ('95) I was told it was a standard, so I never bothered to check, being a newbie an all. Oh well, it is a good idea though. Maybe the RFC needs to be ammended :) Bryan Carbonnell bryan_carbonnell at cbc.ca -- Thought for the day: A good friend will bail you out of jail. A TRUE friend will be sitting next to you saying "Damn.... We ****ed up." >>> stuart at lexacorp.com.pg 11-Jun-03 6:40:27 PM >>> On 11 Jun 2003 at 10:10, Bryan Carbonnell wrote: > If they postmasters that add them follow standards, they should start > with '--' or '-- ' (that's two dashes possibly followed by a space, I > don't remeber which one it is) that may give our lovely list admins a > possibility of stripping them that way. > Come on Brian, you know better than that :-). That's a convention not a standard :-) It doesn't appear in any RFC that I know of. It's actually a convention from the days of Fidonet etc when bandwidth was even more critical (300 baud modems and BBS operators paying phone charges by the minute to synchronise the forums) where programs like good ole SLMR would strip it automatically from replies. From stuart at lexacorp.com.pg Thu Jun 12 06:56:45 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 21:56:45 +1000 Subject: [dba-VB] [AccessD] Msgbox HELP button In-Reply-To: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> Message-ID: <3EE8F71D.7278.F899A1@localhost> On 12 Jun 2003 at 11:43, paul.hartland at fsmail.net wrote: > To all, > > How do I get the msgbox to detect when the help button is pressed, I have the following code : > > pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") > MsgBox pubUserResponse > > When the msgbox is displayed the ok button works fine but when I click > the HELP button nothing happens, I assumed that it would store a value > into pubUserResponse, but the msgbox doesn't even go away after > clicking help. So my question is, how do I get to display a little > help form or msgbox when the user clicks HELP..... > You need to provide the name of a helpfile and a context: MsgBox(prompt[, buttons] [, title] [, helpfile, context]) If you do, the help will pop up, but the msgbox will remain until you press on of the other buttons. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tinanfields at torchlake.com Thu Jun 12 06:58:51 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 07:58:51 -0400 Subject: [AccessD] OT: the "Education" system References: <001f01c3303f$218e4270$37f66e51@martinreid> Message-ID: <3EE86AFB.2060807@torchlake.com> Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Bryan_Carbonnell at cbc.ca Thu Jun 12 07:00:35 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 08:00:35 -0400 Subject: [AccessD] BEU Updater Message-ID: Kath, Did you run beuDBAisDBUptodate before you added the second mod? If so, you need to increase the version number for the second mod. Once the BEU hits the first mod in a version that is marked as being applied it determines that the upgrade for that version has already been done. If it you tried to do both mods at the same time and it didn't do the second mods, have a look at the error log in the FE directory. THat may give you some clues as to why it didn't work. Failing all that, if you want, you can send me the error log, the following two tables: tblDBAModifyDatabase tblDBAModifyDatabaseMods, and the version number in tblDBAversion and I'll see what I can see. You can send them to bryan_carbonnell at cbc.ca Bryan Carbonnell bryan_carbonnell at cbc.ca >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> Hi everybody - I have just started using the BEU tool. I clicked on 'Insert mod' and added my first modification, which was table, add field. field = directorname txt, size 75 to tblx. I then clicked on 'new mod' to add the same modification for a different table, ie. to insert a new field of the same name. I made a call to the beuDBAIsDBUpToDate routine and now find that it only made the first modification, not the second. When I go back into frmdbamain it shows the first modification as applied, but the second not. Now I cannot get that second modification to happen. When I re trigger the beuDBAIsDBUpToDate routine it appears to ignore the 2nd mod. (I have manually added the field myself to check that the field name / size etc is Ok and then undone that manual change). Since these 2 mods have to go into my production version early next week, any tips? From artful at rogers.com Thu Jun 12 07:03:22 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 12 Jun 2003 08:03:22 -0400 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <00e701c33078$d9af02c0$6401a8c0@papparuff> Message-ID: <030601c330da$9f4ad070$8e01a8c0@Rock> I've completed my experiments. Charlotte's suggestion misses the last item. Stuart's misses the first. Yours catches them all, but runs much more slowly than the others. I'll take correctness over speed any day. Thanks! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: June 11, 2003 8:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Help with Mah Arithmetic Why not just iterate through the items selected without worrying about count. Dim varItm as variant With ctl For Each varItm In .ItemsSelected lng_PK_Of_Interest = .Column(0, varItm) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest Next varItm End With Or, to do it with the code you already have: For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) ' This If statement is causing the problem. ' The count of .ItemsSelected is 0 based, not 1 based ' If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest ' End If Next intPhysicalRow John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Arthur Fuller Sent: Wednesday, June 11, 2003 3:17 PM To: AccessD Subject: [AccessD] Help with Mah Arithmetic I've been staring at the following code and toying with this and that and now I'm so punchy I really need a fresh set of eyes. Scenario: - a listbox with extended select, pk in column(0) - a proc that works, called from the loop presented below - said listbox has headings ON '----------------------------------------------------------------------- ---- ------------ ' Procedure : Send_Text_Confirmations ' DateTime : 6/11/2003 14:50 ' Author : Arthur Fuller ' Purpose : Send confirmations not using Snapshot files, send generated text instead ' : This code sends text email messages constaining the same data as the snapshot ' : We use the report's data source directly to retrieve the information we need. '----------------------------------------------------------------------- ---- ------------ ' Private Sub Send_Text_Confirmations() Dim ctl As Control Dim intPhysicalRow As Integer, intCurrentRow As Integer Dim strWhere As String Dim strReportName As String Dim lng_PK_Of_Interest As Long With Me Set ctl = .Item_Selector_listbox With ctl 'column headings seem to screw this code up but I can't figure out how 'to account for them For intPhysicalRow = 0 To .ItemsSelected.Count - 1 intCurrentRow = ctl.ItemsSelected(intPhysicalRow) If intPhysicalRow > 0 Then lng_PK_Of_Interest = ctl.Column(0, intCurrentRow) Debug.Print "Creating mail for Practicum Placement #: " & lng_PK_Of_Interest Send_Text_PMail lng_PK_Of_Interest End If Next intPhysicalRow End With MsgBox "Emails sent for " & ctl.ItemsSelected.Count & " Practica", vbInformation, "Task Complete" End With On Error GoTo 0 Exit Sub Send_Text_Confirmations_Error: MsgBox "Error " & Err.Number & vbCrLf & _ Err.Description & vbCrLf & _ "in procedure Send_Text_Confirmations of VBA Document Form_frm_Practica_Email_Select", _ vbCritical, _ "Program Error" End Sub Message-ID: <030b01c330db$f281f4c0$8e01a8c0@Rock> Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Jun 12 07:14:27 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 08:14:27 -0400 Subject: [AccessD] OT: the "Education" system References: Message-ID: <3EE86EA3.1010406@torchlake.com> Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local elementary >school teacher that the principal of said school has decided NOT to hold >back a single student this year. Students with unsatisfactory (we can't say >"failing", can we?) grades across the board are being sent on regardless of >teacher recommendations. Of course the principal is only part of the >problem. The teacher is also aware of parents (most?, some?, all?) who were >advised to hold back their child have chosen instead to let their child >continue on. > > >...I suppose if we ignore the problem long enough, it will eventually go >away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. According to >this article, the university system as we know it got it's start in the >middle ages. The average Joe did not go to school, did not know how to read >or write. Universities were originally designed to "educate" the sons and >daughters of the ruling class. The intended subjects of the system did not >work, they ruled. They had no need to "go get a job". They needed skills >distinctly different from those needed today. > >Unfortunately those in power in the university system do it "the way it has >always been done". A classic example of this is the ludicrous practice of >forcing medical interns to stay on duty 48 hours at a time with only a >couple of hours sleep. Everyone acknowledges that this is dangerous, to the >interns and even more so to the poor slob being seen by these sleep deprived >interns. But... "that's the way it has always been done". > >And so we live in a world where the college graduate has been forced to do >the "choose two from basket weaving, choose two from music, choose two from >science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not to >train them to do a particular job (which is actually a good thing) but to >learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are taught >NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so called >Highly Qualified Graduates" are not only "regurgitators of info" with "no >people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the only >Computer Science faculty member that had any real-world experience as a >programmer/analyst. And I was the only one that designed my tests as >problems to solve, not multiple-guess or fill-in-the-blank type tests. I >wanted my students to learn how to analyze and solve problems, not >regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and that >the graduate from a bachelor level program needs to have some practical >knowledge if he/she is to expect to find a job in the real world. Only >about 1% of the students could hope to become clones of their professors, >they rest needed to be able to survive in the real world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 12 07:14:51 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jun 2003 22:14:51 +1000 Subject: [AccessD] Help with Mah Arithmetic In-Reply-To: <030601c330da$9f4ad070$8e01a8c0@Rock> References: <00e701c33078$d9af02c0$6401a8c0@papparuff> Message-ID: <3EE8FB5B.32506.1092BC8@localhost> On 12 Jun 2003 at 8:03, Arthur Fuller wrote: > I've completed my experiments. Charlotte's suggestion misses the last item. > Stuart's misses the first. That's because I forgot to say, remove the IF, you need to look at the whole 0 based ItemsSelected collection : > ' If intPhysicalRow > 0 Then -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 12 07:31:48 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Jun 2003 14:31:48 +0200 Subject: [AccessD] Msgbox HELP button In-Reply-To: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> References: <20030612114350.BTCO7126.fep02-svc.ttys.com@localhost> Message-ID: <16223322806.20030612143148@cactus.dk> Hi paul This is not how it is supposed to work. Read on here (one line): http://msdn.microsoft.com/library/en-us/odeopg/html/decondisplayinghelpbyusinginputboxmsgboxfunctions.asp /gustav > How do I get the msgbox to detect when the help button is pressed, I have the following code : > pubUserResponse = MsgBox("User not found, please check & try again.", vbInformation + vbMsgBoxHelpButton, "**** USER WARNING ****") > MsgBox pubUserResponse > When the msgbox is displayed the ok button works fine but when I click the HELP button nothing happens, I assumed that it would store a value into pubUserResponse, but the msgbox doesn't even go > away after clicking help. So my question is, how do I get to display a little help form or msgbox when the user clicks HELP..... From jcolby at colbyconsulting.com Thu Jun 12 07:47:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 08:47:25 -0400 Subject: [AccessD] Replacing the C: drive on a server Message-ID: My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com From Bryan_Carbonnell at cbc.ca Thu Jun 12 07:57:08 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Thu, 12 Jun 2003 08:57:08 -0400 Subject: [AccessD] Replacing the C: drive on a server Message-ID: John, If you Ghost the drive, you can always use something like Partition Magic to resize the partition after dropping the image onto the new drive. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 12-Jun-03 8:47:25 AM >>> My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. From tinanfields at torchlake.com Thu Jun 12 08:05:37 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 12 Jun 2003 09:05:37 -0400 Subject: [AccessD] Make-Table Queries Combined Message-ID: <3EE87AA1.1040700@torchlake.com> Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina From jimdettman at earthlink.net Thu Jun 12 08:13:05 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:13:05 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: John, <> Yes. Most drive mfg's (Maxtor, Seagate, etc) include software to transfer the contents of the old drive to the new drive when you purchase a new drive. <> RAID controllers allow a "Virtual Partition" to span multiple drives, so yes it's possible. Without knowing a lot more though, it's hard to say which would be the best course of action. I'd clean out all junk on the "C" drive as a start no matter what. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 8:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 CWortz at tea.state.tx.us Thu Jun 12 08:14:35 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 08:14:35 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Tina, Just look at the number of questions on this list about how computers handle numbers shows you the dismal state of our educational system. How did some of these people get a job programming computers if their basic understanding of how computers work is so lacking? Now I am not knocking those on this list that started out as an office worker that took the initiative to start developing some software tools for the office to use and do not claim to be professional software developers. My comment is aimed at those that are supposed to be professional software developers, but aren't! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday 2003 Jun 12 07:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina From jimdettman at earthlink.net Thu Jun 12 08:14:59 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:14:59 -0400 Subject: [AccessD] Make-Table Queries Combined In-Reply-To: <3EE87AA1.1040700@torchlake.com> Message-ID: Tina, Yes, Access is trying to run the whole thing as one transaction. A better approach is code (or a macro) to run each of the 32 queries on it's one. Then it becomes a single button operation. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Thu Jun 12 08:18:57 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 12 Jun 2003 14:18:57 +0100 Subject: [AccessD] Make-Table Queries Combined Message-ID: <61F915314798D311A2F800A0C9C83188047C5EA0@dibble.observatory.donnslaw.co.uk> Hi Tina To be honest I'm not sure exactly why nested queries are so slow but I think your suspicion is close to the truth. However you can run a series of queries in code using DoCmd.RunQuery, then someone just has to kick the code off and all the queries will run in turn. Roz -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: 12 June 2003 14:06 To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Jun 12 08:18:37 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 12 Jun 2003 09:18:37 -0400 Subject: [AccessD] A2K: Freebie for list members Message-ID: Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 12, 2003 3:27 AM To: AccessD List Subject: [AccessD] A2K: Freebie for list members Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu Jun 12 08:21:23 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 12 Jun 2003 09:21:23 -0400 Subject: [AccessD] A2K: Freebie for list members Message-ID: Sorry premature ENTER key Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Tesiny, Ed Sent: Thursday, June 12, 2003 9:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K: Freebie for list members Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 12, 2003 3:27 AM To: AccessD List Subject: [AccessD] A2K: Freebie for list members Hello all I have been working on a 'Drag and Drop' app for Access. With my limited skill I could only go so far. Stuart and Drew came along gave this thing the real 'oomph' to make it look and feel right. So....anyone want a copy? send an OFF LIST email to d.dick at uws.edu.au with Access Drag and Drop Request as your subject Also, do the official DBA web dudes wanna post this on the DBA downloads? It's not a really heavy duty app, but it may be useful for someone. Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 12 08:25:48 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 12 Jun 2003 06:25:48 -0700 Subject: [AccessD] A2K: Query parameters disappear in break mode References: <426071E0B0A6D311B3C0006008B0AB2338C7DF@TAPPEEXCH01> Message-ID: <009801c330e6$22e43ba0$6501a8c0@HAL9002> Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Jun 12 08:31:38 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 12 Jun 2003 09:31:38 -0400 Subject: [AccessD] A2K: Query parameters disappear in break mode In-Reply-To: <009801c330e6$22e43ba0$6501a8c0@HAL9002> Message-ID: Rocky, The problem that you refer to is that if you don't explicitly indicate the data type in the control to the query (viq a PARAMETERS statement), Access will guess as to the data type. In some cases (Date/Time values), it can guess wrong. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 12, 2003 9:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Query parameters disappear in break mode Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Thu Jun 12 08:35:04 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 12 Jun 2003 08:35:04 -0500 Subject: [AccessD] A2K: Query parameters disappear in break mode Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7E2@TAPPEEXCH01> Yep, that's it! Normally I don't use this approach (i.e. directly referencing controls in queries). However, this was for a quick and dirty set of data conversion queries, and we needed to plug the date range into it. Thanks for the advice. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 12, 2003 8:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Query parameters disappear in break mode Brett: Are you referencing the control directly in the criteria line of the QBE - Forms!frmXyz!ctl123? I can't remember why but I always had such trouble getting values from controls off of forms and into my queries that I changed the criteria to reference a global function which returns the value of the control. Maybe that will dodge around the problem instead of solving it. HTH, Rocky ----- Original Message ----- From: Brett Barabash To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 10, 2003 2:12 PM Subject: [AccessD] A2K: Query parameters disappear in break mode My colleague ran across a strange problem in Access 2000, and I can't seem to find anything on any of the reference sites that mention this behavior: Created an append query that references form controls as it's criteria (start/end dates). Set a breakpoint in the command button event procedure. With the code in break mode, he tried opening the query manually, and no records were returned. After a little troubleshooting, we found that the referenced form control values disappear in the query if the form's code is in break mode! What a PITA! Has anyone else run across this problem? Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jscott at mchsi.com Thu Jun 12 08:42:02 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Thu, 12 Jun 2003 08:42:02 -0500 Subject: [AccessD] Access Data Retrieval In-Reply-To: Message-ID: Thank you all for the information!! I will definitely print it out and absorb it! Drew - thanks for your offer - that's so nice of you!!! John, we do have the approval to go to SQL. I've known we were going to go to SQL - with web based being the ultimate goal since the beginning of the project. I've tried to design the app for SQL as much as I was able but have to confess that we do use quite a few VBA functions. I'm not positive we'll be able to create stored procedures but I'm really pushing for that. We'll probably have to take two routes. With the forms and some of the code we'll probably have to use the linked tables approach. With a lot of the behind the scenes processing - of which there is a ton! - we'll use direct SQL. Calls. Again - thanks a lot!! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Wednesday, June 11, 2003 8:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Stuart, <> It doesn't even pull the entire index. Probably 5-10 pages at most. As I said in my post, Jeanine can easily check what's going on with SHOWPLAN and ISAMSTATS. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 11, 2003 6:22 PM To: Jeanine Scott; accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval As Drew said, Jet pulls the Index, not the data across the network. It then decides which records to retreive and pulls just those. Still with 100,000 records, just that one Index will show as noticeably traffic on the network. A straigth VB app using an Access BE will do exactly the same. If you move to SQL Server, the engine on the BE will do all the work and ONLY pass back the required data. Again it doesn't matter whether the FE is Access or VB - they will both get their data in the same way and generate the same amount of network traffic On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > I don't know how much traffic. All they will tell me is that the network > usage "spikes" and I don't know what questions to ask to find out more. What > I'm concerned with is when we move to SQL that it will still be a problem > because "access sucks" - their viewpoint - not mine. > > I'm working as a consultant for a Fortune 500 company which has it's own > extremely large internal IT department as well as consultants from other > companies and it's like pulling teeth to get any kind of information. I have > a lot of experience in designing relational databases and believe it or not > (considering my questions to this list) a fair amount of experience with vba > (thanks in a large part to this list!) but very little experience on how > data transfers work or the infrastructure of the network and such. So, any > information you all can give me is extremely helpful! > > > Jeanine > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Wednesday, June 11, 2003 1:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Access Data Retrieval > > First, the VBer's are wrong. You are actually going to pull the index for > the Autonumber field across the network. It is then going to pull the chunk > it needs for actual tables. How much traffic are you actually seeing? > > Drew > > -----Original Message----- > From: Jeanine Scott [mailto:jscott at mchsi.com] > Sent: Wednesday, June 11, 2003 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Data Retrieval > > > I need something explained to me - this just doesn't make any sense to me > but I've had quite a few hard core vb developer's swear that the following > scenario is how Access retrieves data. > > Scenario: > > FE on client > BE on Server > > tblLoans has 100,000 records with 3 fields > > tblLoans > UniqueID - AutoNumber > LoanNo (indexed) > LastName (indexed) > > You bind a form to a specified recordset such as > > "Select * from tblLoans where UniqueID = 1" > > or > > "Select * from tblLoans where LoanNo = 101" > > What I have been told is that when Access goes to the server it brings ALL > the records 100,000 records back to the client and then applies criteria to > find out which record you actually asked for. So, in effect you are > returning 100,000 rows of data back to the client even though you may have > only asked for 1. > > Is this correct? If it is why is this the case and how in the world can I > ever justify using Access as a development tool to a hard core VB'r?? If > it isn't correct how can I explain in the exact scenario above the fact that > the LAN tests show mega tons (ok -technical term there...) of data being > passed back to the client when this form is called? > > I'm understanding that SQL will work the same way? > > Thank you so much! > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jscott at mchsi.com Thu Jun 12 08:44:49 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Thu, 12 Jun 2003 08:44:49 -0500 Subject: [AccessD] On another subject - unbound forms In-Reply-To: Message-ID: OK - don't mean to get any discussions started here as I've read quite a few debates on this subject. However, I am looking at a process that I wrote 4 years ago and doing the "scratching my head" thing wondering if I can even claim to have written it! Anyway, I really think with this particular process I'd like to go unbound. However, my dilemma is this: I have to display - as they enter records - and allow the user to process multiple records at one time. Does anyone have an example they wouldn't mind sharing of a simple unbound app that would do this? I'd so much appreciate it! From mwp.reid at qub.ac.uk Thu Jun 12 09:00:36 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 15:00:36 +0100 Subject: [AccessD] For J Colby References: Message-ID: <007401c330ea$ffa68710$9111758f@aine> John >From our network guy Ghost allows you to resize the partition so if you like you can take a 20GB disk with a 2GB C: drive and copy it onto a 60GB disk and make the C: drive 10GB. Mirror disk shouldn't be a problem. Just ignore the mirror for the time being and use the original disk for the first ghosting step. Worry about mirroring it after it's back up and running. Martin ----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bobbedell15 at msn.com Thu Jun 12 09:01:15 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:01:15 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN documentation at your link is for Jet 3.5. The registry keys changed a bit for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no registry settings involved). Thanks, Bob >From: "Jim Dettman" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] Access Data Retrieval >Date: Wed, 11 Jun 2003 21:15:47 -0400 > >Stuart, > ><It then decides which records to retreive and pulls just those. >Still with 100,000 records, just that one Index will show as >noticeably traffic on the network. >> > > It doesn't even pull the entire index. Probably 5-10 pages at most. As >I >said in my post, Jeanine can easily check what's going on with SHOWPLAN and >ISAMSTATS. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >McLachlan >Sent: Wednesday, June 11, 2003 6:22 PM >To: Jeanine Scott; accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval > > >As Drew said, Jet pulls the Index, not the data across the network. >It then decides which records to retreive and pulls just those. >Still with 100,000 records, just that one Index will show as >noticeably traffic on the network. A straigth VB app using an >Access BE will do exactly the same. > >If you move to SQL Server, the engine on the BE will do all the work >and ONLY pass back the required data. Again it doesn't matter whether >the FE is Access or VB - they will both get their data in the same >way and generate the same amount of network traffic > >On 11 Jun 2003 at 13:58, Jeanine Scott wrote: > > > I don't know how much traffic. All they will tell me is that the network > > usage "spikes" and I don't know what questions to ask to find out more. >What > > I'm concerned with is when we move to SQL that it will still be a >problem > > because "access sucks" - their viewpoint - not mine. > > > > I'm working as a consultant for a Fortune 500 company which has it's own > > extremely large internal IT department as well as consultants from other > > companies and it's like pulling teeth to get any kind of information. I >have > > a lot of experience in designing relational databases and believe it or >not > > (considering my questions to this list) a fair amount of experience with >vba > > (thanks in a large part to this list!) but very little experience on how > > data transfers work or the infrastructure of the network and such. So, >any > > information you all can give me is extremely helpful! > > > > > > Jeanine > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > > Sent: Wednesday, June 11, 2003 1:19 PM > > To: 'accessd at databaseadvisors.com' > > Subject: RE: [AccessD] Access Data Retrieval > > > > First, the VBer's are wrong. You are actually going to pull the index >for > > the Autonumber field across the network. It is then going to pull the >chunk > > it needs for actual tables. How much traffic are you actually seeing? > > > > Drew > > > > -----Original Message----- > > From: Jeanine Scott [mailto:jscott at mchsi.com] > > Sent: Wednesday, June 11, 2003 12:36 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Access Data Retrieval > > > > > > I need something explained to me - this just doesn't make any sense to >me > > but I've had quite a few hard core vb developer's swear that the >following > > scenario is how Access retrieves data. > > > > Scenario: > > > > FE on client > > BE on Server > > > > tblLoans has 100,000 records with 3 fields > > > > tblLoans > > UniqueID - AutoNumber > > LoanNo (indexed) > > LastName (indexed) > > > > You bind a form to a specified recordset such as > > > > "Select * from tblLoans where UniqueID = 1" > > > > or > > > > "Select * from tblLoans where LoanNo = 101" > > > > What I have been told is that when Access goes to the server it brings >ALL > > the records 100,000 records back to the client and then applies criteria >to > > find out which record you actually asked for. So, in effect you are > > returning 100,000 rows of data back to the client even though you may >have > > only asked for 1. > > > > Is this correct? If it is why is this the case and how in the world can >I > > ever justify using Access as a development tool to a hard core VB'r?? >If > > it isn't correct how can I explain in the exact scenario above the fact >that > > the LAN tests show mega tons (ok -technical term there...) of data being > > passed back to the client when this form is called? > > > > I'm understanding that SQL will work the same way? > > > > Thank you so much! > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bchacc at san.rr.com Thu Jun 12 09:02:04 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 12 Jun 2003 07:02:04 -0700 Subject: [AccessD] Error on Next Record References: <05EBB8A3BEB95B4F8216BE4EF486077801076F@srciml1.ds.doc.state.or.us> Message-ID: <014401c330eb$34073040$6501a8c0@HAL9002> Coming a bit late to the party but: On Error GoTo IsIt2105: DoCmd.GoToRecord , , acPrevious Exit Sub IsIt2105: If err.Number = 2105 Then Exit Sub MsgBox "Error: " & err.Number & " - " & err.Description hth Rocky Smolin Beach Access Software ----- Original Message ----- From: "Gowey Mike W" To: Sent: Tuesday, June 10, 2003 8:01 AM Subject: [AccessD] Error on Next Record > > Hello Everyone, > > > Does someone possibly know how I can get rid of the following runtime > error? > > Runtime error '2105 > You can't go to the specified record. > > > I have a form that I use a query to extract certain information from a > Linked Oracle table. I have buttons on the form for the user to go to > next and previous records. When ever they reach the first record and > press the previous button again this error comes up and if they reach > the last record and press the next button again the error also comes up. > > Is there anyway to make this error not show and just stay on the current > record?? I don't want the user to have to answer the question to be > able to continue. > > Mike Gowey, MCP > Technical Support Analyst > SRCI ISSD Team Leader > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bobbedell15 at msn.com Thu Jun 12 09:32:32 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:32:32 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Never mind. Its the same deal. Just need to create the Debug key under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines The rest is the same. Thanks again. Bob >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval >Date: Thu, 12 Jun 2003 14:01:15 +0000 > >Hi Jim, > >Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN >documentation at your link is for Jet 3.5. The registry keys changed a bit >for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no >registry settings involved). > >Thanks, > >Bob > > >>From: "Jim Dettman" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Access Data Retrieval >>Date: Wed, 11 Jun 2003 21:15:47 -0400 >> >>Stuart, >> >><>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. >> >> >> It doesn't even pull the entire index. Probably 5-10 pages at most. >>As I >>said in my post, Jeanine can easily check what's going on with SHOWPLAN >>and >>ISAMSTATS. >> >>Jim Dettman >>President, >>Online Computer Services of WNY, Inc. >>(315) 699-3443 >>jimdettman at earthlink.net >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, June 11, 2003 6:22 PM >>To: Jeanine Scott; accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access Data Retrieval >> >> >>As Drew said, Jet pulls the Index, not the data across the network. >>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. A straigth VB app using an >>Access BE will do exactly the same. >> >>If you move to SQL Server, the engine on the BE will do all the work >>and ONLY pass back the required data. Again it doesn't matter whether >>the FE is Access or VB - they will both get their data in the same >>way and generate the same amount of network traffic >> >>On 11 Jun 2003 at 13:58, Jeanine Scott wrote: >> >> > I don't know how much traffic. All they will tell me is that the >>network >> > usage "spikes" and I don't know what questions to ask to find out more. >>What >> > I'm concerned with is when we move to SQL that it will still be a >>problem >> > because "access sucks" - their viewpoint - not mine. >> > >> > I'm working as a consultant for a Fortune 500 company which has it's >>own >> > extremely large internal IT department as well as consultants from >>other >> > companies and it's like pulling teeth to get any kind of information. I >>have >> > a lot of experience in designing relational databases and believe it or >>not >> > (considering my questions to this list) a fair amount of experience >>with >>vba >> > (thanks in a large part to this list!) but very little experience on >>how >> > data transfers work or the infrastructure of the network and such. So, >>any >> > information you all can give me is extremely helpful! >> > >> > >> > Jeanine >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >> > Sent: Wednesday, June 11, 2003 1:19 PM >> > To: 'accessd at databaseadvisors.com' >> > Subject: RE: [AccessD] Access Data Retrieval >> > >> > First, the VBer's are wrong. You are actually going to pull the index >>for >> > the Autonumber field across the network. It is then going to pull the >>chunk >> > it needs for actual tables. How much traffic are you actually seeing? >> > >> > Drew >> > >> > -----Original Message----- >> > From: Jeanine Scott [mailto:jscott at mchsi.com] >> > Sent: Wednesday, June 11, 2003 12:36 PM >> > To: accessd at databaseadvisors.com >> > Subject: [AccessD] Access Data Retrieval >> > >> > >> > I need something explained to me - this just doesn't make any sense to >>me >> > but I've had quite a few hard core vb developer's swear that the >>following >> > scenario is how Access retrieves data. >> > >> > Scenario: >> > >> > FE on client >> > BE on Server >> > >> > tblLoans has 100,000 records with 3 fields >> > >> > tblLoans >> > UniqueID - AutoNumber >> > LoanNo (indexed) >> > LastName (indexed) >> > >> > You bind a form to a specified recordset such as >> > >> > "Select * from tblLoans where UniqueID = 1" >> > >> > or >> > >> > "Select * from tblLoans where LoanNo = 101" >> > >> > What I have been told is that when Access goes to the server it brings >>ALL >> > the records 100,000 records back to the client and then applies >>criteria >>to >> > find out which record you actually asked for. So, in effect you are >> > returning 100,000 rows of data back to the client even though you may >>have >> > only asked for 1. >> > >> > Is this correct? If it is why is this the case and how in the world >>can I >> > ever justify using Access as a development tool to a hard core VB'r?? >>If >> > it isn't correct how can I explain in the exact scenario above the fact >>that >> > the LAN tests show mega tons (ok -technical term there...) of data >>being >> > passed back to the client when this form is called? >> > >> > I'm understanding that SQL will work the same way? >> > >> > Thank you so much! >> > >> > >> > >> > >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From bobbedell15 at msn.com Thu Jun 12 09:32:32 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Thu, 12 Jun 2003 14:32:32 +0000 Subject: [AccessD] Access Data Retrieval Message-ID: Hi Jim, Never mind. Its the same deal. Just need to create the Debug key under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines The rest is the same. Thanks again. Bob >From: "Bob Bedell" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Access Data Retrieval >Date: Thu, 12 Jun 2003 14:01:15 +0000 > >Hi Jim, > >Any idea how to get Jet 4.0 to kick out a query plan? The SHOWPLAN >documentation at your link is for Jet 3.5. The registry keys changed a bit >for 4.0. The ISAMStats function works fine with 4.0 (just DAO stuff, no >registry settings involved). > >Thanks, > >Bob > > >>From: "Jim Dettman" >>Reply-To: accessd at databaseadvisors.com >>To: >>Subject: RE: [AccessD] Access Data Retrieval >>Date: Wed, 11 Jun 2003 21:15:47 -0400 >> >>Stuart, >> >><>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. >> >> >> It doesn't even pull the entire index. Probably 5-10 pages at most. >>As I >>said in my post, Jeanine can easily check what's going on with SHOWPLAN >>and >>ISAMSTATS. >> >>Jim Dettman >>President, >>Online Computer Services of WNY, Inc. >>(315) 699-3443 >>jimdettman at earthlink.net >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, June 11, 2003 6:22 PM >>To: Jeanine Scott; accessd at databaseadvisors.com >>Subject: RE: [AccessD] Access Data Retrieval >> >> >>As Drew said, Jet pulls the Index, not the data across the network. >>It then decides which records to retreive and pulls just those. >>Still with 100,000 records, just that one Index will show as >>noticeably traffic on the network. A straigth VB app using an >>Access BE will do exactly the same. >> >>If you move to SQL Server, the engine on the BE will do all the work >>and ONLY pass back the required data. Again it doesn't matter whether >>the FE is Access or VB - they will both get their data in the same >>way and generate the same amount of network traffic >> >>On 11 Jun 2003 at 13:58, Jeanine Scott wrote: >> >> > I don't know how much traffic. All they will tell me is that the >>network >> > usage "spikes" and I don't know what questions to ask to find out more. >>What >> > I'm concerned with is when we move to SQL that it will still be a >>problem >> > because "access sucks" - their viewpoint - not mine. >> > >> > I'm working as a consultant for a Fortune 500 company which has it's >>own >> > extremely large internal IT department as well as consultants from >>other >> > companies and it's like pulling teeth to get any kind of information. I >>have >> > a lot of experience in designing relational databases and believe it or >>not >> > (considering my questions to this list) a fair amount of experience >>with >>vba >> > (thanks in a large part to this list!) but very little experience on >>how >> > data transfers work or the infrastructure of the network and such. So, >>any >> > information you all can give me is extremely helpful! >> > >> > >> > Jeanine >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka >> > Sent: Wednesday, June 11, 2003 1:19 PM >> > To: 'accessd at databaseadvisors.com' >> > Subject: RE: [AccessD] Access Data Retrieval >> > >> > First, the VBer's are wrong. You are actually going to pull the index >>for >> > the Autonumber field across the network. It is then going to pull the >>chunk >> > it needs for actual tables. How much traffic are you actually seeing? >> > >> > Drew >> > >> > -----Original Message----- >> > From: Jeanine Scott [mailto:jscott at mchsi.com] >> > Sent: Wednesday, June 11, 2003 12:36 PM >> > To: accessd at databaseadvisors.com >> > Subject: [AccessD] Access Data Retrieval >> > >> > >> > I need something explained to me - this just doesn't make any sense to >>me >> > but I've had quite a few hard core vb developer's swear that the >>following >> > scenario is how Access retrieves data. >> > >> > Scenario: >> > >> > FE on client >> > BE on Server >> > >> > tblLoans has 100,000 records with 3 fields >> > >> > tblLoans >> > UniqueID - AutoNumber >> > LoanNo (indexed) >> > LastName (indexed) >> > >> > You bind a form to a specified recordset such as >> > >> > "Select * from tblLoans where UniqueID = 1" >> > >> > or >> > >> > "Select * from tblLoans where LoanNo = 101" >> > >> > What I have been told is that when Access goes to the server it brings >>ALL >> > the records 100,000 records back to the client and then applies >>criteria >>to >> > find out which record you actually asked for. So, in effect you are >> > returning 100,000 rows of data back to the client even though you may >>have >> > only asked for 1. >> > >> > Is this correct? If it is why is this the case and how in the world >>can I >> > ever justify using Access as a development tool to a hard core VB'r?? >>If >> > it isn't correct how can I explain in the exact scenario above the fact >>that >> > the LAN tests show mega tons (ok -technical term there...) of data >>being >> > passed back to the client when this form is called? >> > >> > I'm understanding that SQL will work the same way? >> > >> > Thank you so much! >> > >> > >> > >> > >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at attbi.com Thu Jun 12 09:48:49 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 12 Jun 2003 07:48:49 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: <011f01c330f1$bc4cd7b0$6401a8c0@papparuff> John, You can use Drive Image 2002 by Powerquest to do this. One of its capabilities is to permit a user to make an exact copy of a hard-drive. One of the options that is available when making a copy of a hard-drive is the ability to resize the destination drive to fill the entire unallocated area on the new hard-drive. I've been using Powerquest's Drive Image and Partition Magic for over four years and I'm very happy with their products and their tech support. John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 John Colby Sent: Thursday, June 12, 2003 5:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 Mark.Mitsules at ngc.com Thu Jun 12 10:06:45 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 12 Jun 2003 11:06:45 -0400 Subject: [AccessD] OT: the "Education" system Message-ID: < Tina ("We have been ignoring the problem much too long.") < Rocky ("Fine. Less competition for my kids.") < Charlotte ("No, it will eventually graduate..." I applaud everyone's passion, but did anyone else realize that my statement was SARCASTIC and therefore, IMHO, rhetorical? It was not meant to be flame bait. My apologies, Mark -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 8:14 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local >elementary school teacher that the principal of said school has decided >NOT to hold back a single student this year. Students with >unsatisfactory (we can't say "failing", can we?) grades across the >board are being sent on regardless of teacher recommendations. Of >course the principal is only part of the problem. The teacher is also >aware of parents (most?, some?, all?) who were advised to hold back >their child have chosen instead to let their child continue on. > > >...I suppose if we ignore the problem long enough, it will eventually >go away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. >According to this article, the university system as we know it got it's >start in the middle ages. The average Joe did not go to school, did >not know how to read or write. Universities were originally designed >to "educate" the sons and daughters of the ruling class. The intended >subjects of the system did not work, they ruled. They had no need to >"go get a job". They needed skills distinctly different from those >needed today. > >Unfortunately those in power in the university system do it "the way it >has always been done". A classic example of this is the ludicrous >practice of forcing medical interns to stay on duty 48 hours at a time >with only a couple of hours sleep. Everyone acknowledges that this is >dangerous, to the interns and even more so to the poor slob being seen >by these sleep deprived interns. But... "that's the way it has always >been done". > >And so we live in a world where the college graduate has been forced to >do the "choose two from basket weaving, choose two from music, choose >two from science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not >to train them to do a particular job (which is actually a good thing) >but to learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are >taught NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so >called Highly Qualified Graduates" are not only "regurgitators of info" >with "no people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the >only Computer Science faculty member that had any real-world experience >as a programmer/analyst. And I was the only one that designed my tests >as problems to solve, not multiple-guess or fill-in-the-blank type >tests. I wanted my students to learn how to analyze and solve problems, >not regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and >that the graduate from a bachelor level program needs to have some >practical knowledge if he/she is to expect to find a job in the real >world. Only about 1% of the students could hope to become clones of >their professors, they rest needed to be able to survive in the real >world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Thu Jun 12 10:15:24 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 12 Jun 2003 10:15:24 -0500 Subject: [AccessD] BEU Updater In-Reply-To: Message-ID: Bryan has mentioned the best first step. That is to change the from and to version numbers of the 2nd mod. If the BEU doens't see any mods with a version number greater than the version of the BE then it doesn't do anything. Changing the version numbers will force the BEU to attemp the 2nd mod. Then if it fails look at the error log. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, June 12, 2003 7:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] BEU Updater > > > Kath, > > Did you run beuDBAisDBUptodate before you added the second mod? > > If so, you need to increase the version number for the second mod. > > Once the BEU hits the first mod in a version that is marked as > being applied it determines that the upgrade for that version has > already been done. > > If it you tried to do both mods at the same time and it didn't do > the second mods, have a look at the error log in the FE > directory. THat may give you some clues as to why it didn't work. > > Failing all that, if you want, you can send me the error log, the > following two tables: tblDBAModifyDatabase > tblDBAModifyDatabaseMods, and the version number in tblDBAversion > and I'll see what I can see. > > You can send them to bryan_carbonnell at cbc.ca > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> > Hi everybody - > > I have just started using the BEU tool. I clicked on 'Insert mod' > and added my first modification, which was table, add field. > field = directorname > txt, size 75 to tblx. > > I then clicked on 'new mod' to add the same modification for a > different table, ie. to insert a new field of the same name. > > I made a call to the beuDBAIsDBUpToDate routine and now find that > it only made the first modification, not the second. > > When I go back into frmdbamain it shows the first modification as > applied, but the second not. Now I cannot get that second > modification to happen. When I re trigger the beuDBAIsDBUpToDate > routine it appears to ignore the 2nd mod. > > (I have manually added the field myself to check that the field > name / size etc is Ok and then undone that manual change). > > Since these 2 mods have to go into my production version early > next week, any tips? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From delliker at hotmail.com Thu Jun 12 10:46:58 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 11:46:58 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: From jeffrey.demulling at usbank.com Thu Jun 12 10:59:30 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 12 Jun 2003 10:59:30 -0500 Subject: [AccessD] Phun with Excel / automation Message-ID: Once the Import Spreadsheet Wizard starts you should see two radio button (Show Worksheets and Show Named Ranges). Make sure the Show Worksheets one is checked and then you should see a list of the worksheets within your file. Then just select the one you want to import and keep answering the wizard's questions. Repeat the process for each worksheet to import. "Don Elliker" Sent by: accessd-bounces at databaseadvisors.com 06/12/2003 10:46 AM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: [AccessD] Phun with Excel / automation Folks, I am trying to import ,on a one time basis , the data from an excel workbook into Access XP. I can't use the 'import data' option, it only gets me the first worksheet (or am I doing it wrong?). I can get to the workbook in code easily enough but there seems no easy way to get the individual worksheets imported into separate tables. I tried using the 'transferspreadsheet' docmd thingie, but it gets hung up on the file name. I cannot just reference the worksheet object- it doesn't like that. I thought it was working out too easily...#-( - Sooo...does anyone have this experience...this is a one-off I just want the data in tables. "Things are only free to the extent that you don't pay for them".-Don Elliker Add photos to your e-mail with MSN 8. Get 2 months FREE*._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 12 11:08:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:08:04 -0500 Subject: [AccessD] A2K: Freebie for list members Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2B@main2.marlow.com> It's a good example of how to let a user drag a control to another spot on the form. Stuart and I had almost identical code to do a simple drag and drop. I added some functionality for Darren that showed how to keep the controls within a specific area, and Darren topped it by giving it a 'outline' look, where the outline moves in the drag, not the whole object. Drew -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Thursday, June 12, 2003 2:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Freebie for list members Hello Darren, What does it do ? Can you post the full functionality and list of system requirements? 386 processor, 16 MB ram etc :) Mark ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, June 12, 2003 8:27 AM Subject: [AccessD] A2K: Freebie for list members > Hello all > I have been working on a 'Drag and Drop' app for Access. > With my limited skill I could only go so far. > Stuart and Drew came along gave this thing the real 'oomph' to make > it look and feel right. > > So....anyone want a copy? > send an OFF LIST email to d.dick at uws.edu.au with > > Access Drag and Drop Request > > as your subject > > Also, do the official DBA web dudes wanna post this on the DBA downloads? > It's not a really heavy duty app, but it may be useful for someone. > > Many thanks > > Darren > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:11:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:11:01 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2C@main2.marlow.com> Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:13:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:13:32 -0500 Subject: [AccessD] Replacing the C: drive on a server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? 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 JHewson at karta.com Thu Jun 12 11:17:39 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 12 Jun 2003 11:17:39 -0500 Subject: [AccessD] Phun with Excel / automation Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C16@NT04> Don, If this a one time requirement you can import Excel worksheets through "Get External Data" under File on the Menu bar. It will give you an opportunity to list the Excel workbook. You will have to get each worksheet separately. The workbook needs to open to the desire worksheet. HTH Jim -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, June 12, 2003 10:47 AM To: accessd at databaseadvisors.com Subject: [AccessD] Phun with Excel / automation Folks, I am trying to import ,on a one time basis , the data from an excel workbook into Access XP. I can't use the 'import data' option, it only gets me the first worksheet (or am I doing it wrong?). I can get to the workbook in code easily enough but there seems no easy way to get the individual worksheets imported into separate tables. I tried using the 'transferspreadsheet' docmd thingie, but it gets hung up on the file name. I cannot just reference the worksheet object- it doesn't like that. I thought it was working out too easily...#-( - Sooo...does anyone have this experience...this is a one-off I just want the data in tables. "Things are only free to the extent that you don't pay for them".-Don Elliker _____ Add photos to your e-mail with MSN 8. Get 2 months FREE*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Jun 12 11:21:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 11:21:36 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina From DWUTKA at marlow.com Thu Jun 12 11:22:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:22:23 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2E@main2.marlow.com> It's a by product of 'standing on the shoulders of giants'. When I develop in VB, I constantly think I am standing on the shoulders of giants. For example, to get a line of text into the clipboard, I simply use Clipboard.SetText "My string value". Now, if you look at all of the processes actually involved, it's mind boggling. First, you are moving information into memory, which is a lot of fun, then the entire principle of the clipboard itself, which is an OS function. I find it hard to classify myself as a 'professional' programmer. I am really only good at VB (and VBA), I know an inkling of C++, but that's about it. (Well, I did program in DOS basic when I was a kid...and Apple basic for that matter....). However, I have been using computers since I was 5, and I never like to learn from a set of instructions. If I don't know how something works, then I dig until I find out. The problem is, since computers are becoming more and more complex, the interfaces are actually taking on a lot of the burden in interacting with everything. As a VB programmer, I don't need to know how the TCP/IP protocol stack converts information into data packets, or how it translates information coming in. It just 'works'. Because things are working at a 'higher' level, due to the giants that programmed in the past, a lot of new generation 'programmers' can get away with not understanding lower level fundamentals. The catch, of course, is when an anomaly occurs, that the new 'advanced' interfaces don't know what to do, or give false information about. If you are lacking in the fundamentals, it is a LOT more difficult to find out what is wrong. Just my two cents. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Tina, Just look at the number of questions on this list about how computers handle numbers shows you the dismal state of our educational system. How did some of these people get a job programming computers if their basic understanding of how computers work is so lacking? Now I am not knocking those on this list that started out as an office worker that took the initiative to start developing some software tools for the office to use and do not claim to be professional software developers. My comment is aimed at those that are supposed to be professional software developers, but aren't! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday 2003 Jun 12 07:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 11:27:04 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 12:27:04 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> Message-ID: He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 11:27:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 11:27:04 -0500 Subject: [AccessD] On another subject - unbound forms Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D2F@main2.marlow.com> What do you mean? Are you saying that you want to create an unbound version of a continuous form? Just a tip. If you want to go unbound, especially if this is a project that could start with an Access BE, and an Access FE, then move to a Web FE, with a different BE (which, by the way, Access works beautifully as a web BE, because when it is stored locally on the web server, it is just as fast as SQL Server), I recommend that you develop using Classes (and collections), to store your business processes, data retrieval/saving. That way your forms (or asp code for a web page) just have to interact with your classes. Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Thursday, June 12, 2003 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] On another subject - unbound forms OK - don't mean to get any discussions started here as I've read quite a few debates on this subject. However, I am looking at a process that I wrote 4 years ago and doing the "scratching my head" thing wondering if I can even claim to have written it! Anyway, I really think with this particular process I'd like to go unbound. However, my dilemma is this: I have to display - as they enter records - and allow the user to process multiple records at one time. Does anyone have an example they wouldn't mind sharing of a simple unbound app that would do this? I'd so much appreciate it! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Thu Jun 12 11:42:40 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 12:42:40 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 12 11:43:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 09:43:54 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Jun 12 11:56:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 12 Jun 2003 11:56:36 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina From gustav at cactus.dk Thu Jun 12 12:05:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Jun 2003 19:05:37 +0200 Subject: [AccessD] OT: the "Education" system In-Reply-To: References: Message-ID: <5339752110.20030612190537@cactus.dk> Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. From cfoust at infostatsystems.com Thu Jun 12 12:46:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 10:46:21 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Take a look at http://innumeracy.com/ and/or read John Allen Poulos' wonderful book, Innumeracy, for a look at how incompetent most adults are when it comes to simple math, let alone algebra. Charlotte Foust -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 4:14 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Mark, We have been ignoring the problem much too long. We already are graduating generations of functionally illiterate adults. Think of how many people cannot write a coherent English sentence. In a time when we are ever more dependent upon computers, which must be told exactly what to do, in terms they can understand, where the absence of a semicolon or a period will blow code right out of the water - is this the time to give up on teaching language skills and critical thinking? If we no longer can say what we mean, or even be certain of what we do mean, how can we properly program and control these stupid machines? I once taught an "electronic spreadsheet" course for my local college, and discovered in the first day of class that 5 of my 16 students could not figure out percentage and that 2 had gone all the way through high school without learning any Algebra. They all expected the program to do the analytical thinking for them and were apalled that they would have to figure out what their formulas should be. After I got over the shock, I redesigned the course to include the needed skills and experience. And, yes, I built all my quizzes and exams as real problems and projects - absolutely no "multiple guess" questions. I hate those. Almost always, a good case can be made for more than one answer, but only the officially RIGHT answer gets any credit at all. Okay, I'll quit ranting. Tina Mitsules, Mark wrote: >As an aside... I was told this morning from a spouse of a local >elementary school teacher that the principal of said school has decided >NOT to hold back a single student this year. Students with >unsatisfactory (we can't say "failing", can we?) grades across the >board are being sent on regardless of teacher recommendations. Of >course the principal is only part of the problem. The teacher is also >aware of parents (most?, some?, all?) who were advised to hold back >their child have chosen instead to let their child continue on. > > >...I suppose if we ignore the problem long enough, it will eventually >go away. :( > > > >Mark > > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, June 11, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: the "Education" system > > >I read something long ago that would indicate why this is so. >According to this article, the university system as we know it got it's >start in the middle ages. The average Joe did not go to school, did >not know how to read or write. Universities were originally designed >to "educate" the sons and daughters of the ruling class. The intended >subjects of the system did not work, they ruled. They had no need to >"go get a job". They needed skills distinctly different from those >needed today. > >Unfortunately those in power in the university system do it "the way it >has always been done". A classic example of this is the ludicrous >practice of forcing medical interns to stay on duty 48 hours at a time >with only a couple of hours sleep. Everyone acknowledges that this is >dangerous, to the interns and even more so to the poor slob being seen >by these sleep deprived interns. But... "that's the way it has always >been done". > >And so we live in a world where the college graduate has been forced to >do the "choose two from basket weaving, choose two from music, choose >two from science". Yep, been there, done that. What a waste. > >And of course the defenders of the system CLAIM that the purpose is not >to train them to do a particular job (which is actually a good thing) >but to learn how to think. If only that were true! > >Try disputing anything the professor says and see how fast you are >taught NOT to think! > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >Charles >Sent: Wednesday, June 11, 2003 10:48 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT? - Certification > > >Vlad, > >As a former college professor, I also notice that many of these "so >called Highly Qualified Graduates" are not only "regurgitators of info" >with "no people skills whatsoever" but also have no analytical skills. > >At most of the colleges and universities that I taught at I was the >only Computer Science faculty member that had any real-world experience >as a programmer/analyst. And I was the only one that designed my tests >as problems to solve, not multiple-guess or fill-in-the-blank type >tests. I wanted my students to learn how to analyze and solve problems, >not regurgitate data, which a trained monkey can do. > >One of the reasons I quit teaching is I got tired of butting heads with >departmental chairs and school deans that didn't understand there was a >difference between theoretical knowledge and practical knowledge and >that the graduate from a bachelor level program needs to have some >practical knowledge if he/she is to expect to find a job in the real >world. Only about 1% of the students could hope to become clones of >their professors, they rest needed to be able to survive in the real >world. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 12:47:56 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 10:47:56 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:56:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:56:23 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:05 -0500 Subject: [AccessD] Replacing the C: drive on a server Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D31@main2.marlow.com> I would completely remove the swap file from C. If he has D and E, he should run the swap from those drives only, free up his root drive. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 11:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:32 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:32 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D32@main2.marlow.com> Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 12:57:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 12:57:51 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D33@main2.marlow.com> As the entire list ducks and runs for cover.... Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 12, 2003 12:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jun 12 13:01:02 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 19:01:02 +0100 Subject: [AccessD] OT: the "Education" system References: Message-ID: <000b01c3310c$9910f5e0$37f66e51@martinreid> Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL From mwp.reid at qub.ac.uk Thu Jun 12 13:02:16 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 19:02:16 +0100 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: <001501c3310c$c2f04280$37f66e51@martinreid> Sorry Bob. Just seen your email. Bob has a point folks. OT is for this stuff. Even if I am taking part. Martin ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, June 12, 2003 6:56 PM Subject: RE: [AccessD] OT: the "Education" system > I wasn't even taking gender into account. I have seen both men and women > 'bow' to someone with a degree. I know I am a little stubborn , > but I stick to my guns with what I know. > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 11:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > Drew, > > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday 2003 Jun 12 11:11 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > Interesting. > > I have never really felt 'downhill' though. In fact, many times I feel > like I am uphill from people with degrees, because I see the solution, > and they are flapping in the wind. Oh well. > > Drew > > -----Original Message----- > From: Tina Norris Fields [mailto:tinanfields at torchlake.com] > Sent: Thursday, June 12, 2003 6:59 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: the "Education" system > > > Martin, you may have to go get that degree, just to shut them up. > > After some 14 years of experience as an export manager, with a side > interest in office automation and the stuff that supports it, I one day > found myself needing a new job. I had no degree, just knowledge. I had > > come from the midwest, where "equivalent experience" was a qualifier for > > those without the academic credentials. But, I was in New England > (Boston, to be exact), and "equivalent experience" carried no weight > whatsoever. I actually got turned down for a position where the only > other candidate was a recent graduate with a degree and no experience - > degree NOT in international trade or business, by the way. The > interviewer said: "I couldn't justify choosing you over a degreed > person." Wow! I did go back to school at New Hampshire College (now > Southern New Hampshire University) and got my degree in Business and > Computer Science. Now, I teach adults how to use computers - from the > complete "newbie" who doesn't know where the ON switch is, to folks > wanting to learn any of the Microsoft Office Suite programs. I also > develop Access database applications and stuff for private clients. > It's fun. > > The thing that really surprised me was that after I had my degree, I > felt different in those meetings with other staff. I hadn't realized > that I had felt "down hill" from everybody before the degree - but I did > > notice the change in my level of confidence once I was wearing my gold > key (yes Summa Cum Laude - motivation is a wonderful thing). So, in > your "free" time, Martin, why not enroll in a college or university that > > offers a complete degree in your area of interest via the Internet? > When you get your gold key, those pompous jerks will have to shut up. > > My local college hired me from time-to-time as adjunct faculty when they > > needed my knowledge and they couldn't get anyone with the academic > credentials to teach the class (summers, especially). I still work as a > > contract instructor for the Extended Education Services division of the > college - teaching adults who really want to know the stuff. > > Tina > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Jun 12 13:04:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:04:04 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: What, you're into domination?? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, June 12, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:04:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:04:54 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D34@main2.marlow.com> Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 13:05:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:05:22 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: What? Haven't you noticed how good I am with details? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, June 12, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Hi Charlotte Oh - now I see - I thought you were a man! /gustav > Careful, Charles. There aren't many "submissive" women on this list! > I don't have a degree and have never missed it. > Charlotte Foust > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 8:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or > have made a significant accomplishment such as getting a degree, they > tend to be submissive as adults. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 12 13:06:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 11:06:26 -0700 Subject: [AccessD] OT: the "Education" system Message-ID: Gahh! A fate worse than death! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 10:01 AM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 13:07:19 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 12:07:19 -0600 Subject: [AccessD] Canot display .jpg in Access image control? Message-ID: <410-22003641218719218@christopherhawkins.com> I know this is a "known issue" with Access. I also know that I have to "install the jpg decompression filter" in order to fix it. However, I have no clue as to where I can find this filter and how to install it. Has anyone ever fixed this issue before? Heeeeeeeeeeelp... -Christopher- From jcolby at colbyconsulting.com Thu Jun 12 13:08:53 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:08:53 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: >I know I am a little stubborn Uhhh... OK. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew From DWUTKA at marlow.com Thu Jun 12 13:08:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:08:47 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D35@main2.marlow.com> ROTFL Actually, it goes a long way in explaining Access 2000. Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 1:01 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 13:10:09 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:10:09 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <000b01c3310c$9910f5e0$37f66e51@martinreid> Message-ID: >I hope they all get jobs as Apple Mac programmers! ROTFL. The death of the Mac. I love it! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Thursday, June 12, 2003 2:01 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Pesonally I cant spell and my grammar is terrible. But I know a hell of a lot more about database design than the final year Computer Sci students those papers I am sitting marking at this moment. I hope they all get jobs as Apple Mac programmers! Martin LOL _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 12 13:12:31 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 12 Jun 2003 14:12:31 -0400 Subject: [AccessD] Access Data Retrieval In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D34@main2.marlow.com> Message-ID: So Drew, what is involved in distributing an app that uses JET? I am looking at a project that will use VB.Net and an Access BE. AFAIK Jet is not part of VB.Net so Jet has to come from somewhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 2:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:13:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:13:03 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D36@main2.marlow.com> I haven't seen that email yet. But I would say that a discussion about the Education system in relation to academic authority is a valid topic (somewhat). A lot of Access developers (both hopeful and salty) have run into situations where a degree or certification has overruled actual facts or experience. Who knows, we may come up with a new solution...let's make DBA the world wide authority on all relational database issues! Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, June 12, 2003 1:02 PM To: accessd Subject: Re: [AccessD] OT: the "Education" system Sorry Bob. Just seen your email. Bob has a point folks. OT is for this stuff. Even if I am taking part. Martin ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, June 12, 2003 6:56 PM Subject: RE: [AccessD] OT: the "Education" system > I wasn't even taking gender into account. I have seen both men and women > 'bow' to someone with a degree. I know I am a little stubborn , > but I stick to my guns with what I know. > > Drew > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Thursday, June 12, 2003 11:22 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT: the "Education" system > > > Drew, > > I think it is a cultural thing. Many women are trained from childhood > to be submissive. Thus, unless they get assertiveness training, or have > made a significant accomplishment such as getting a degree, they tend to > be submissive as adults. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday 2003 Jun 12 11:11 > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OT: the "Education" system > > Interesting. > > I have never really felt 'downhill' though. In fact, many times I feel > like I am uphill from people with degrees, because I see the solution, > and they are flapping in the wind. Oh well. > > Drew > > -----Original Message----- > From: Tina Norris Fields [mailto:tinanfields at torchlake.com] > Sent: Thursday, June 12, 2003 6:59 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: the "Education" system > > > Martin, you may have to go get that degree, just to shut them up. > > After some 14 years of experience as an export manager, with a side > interest in office automation and the stuff that supports it, I one day > found myself needing a new job. I had no degree, just knowledge. I had > > come from the midwest, where "equivalent experience" was a qualifier for > > those without the academic credentials. But, I was in New England > (Boston, to be exact), and "equivalent experience" carried no weight > whatsoever. I actually got turned down for a position where the only > other candidate was a recent graduate with a degree and no experience - > degree NOT in international trade or business, by the way. The > interviewer said: "I couldn't justify choosing you over a degreed > person." Wow! I did go back to school at New Hampshire College (now > Southern New Hampshire University) and got my degree in Business and > Computer Science. Now, I teach adults how to use computers - from the > complete "newbie" who doesn't know where the ON switch is, to folks > wanting to learn any of the Microsoft Office Suite programs. I also > develop Access database applications and stuff for private clients. > It's fun. > > The thing that really surprised me was that after I had my degree, I > felt different in those meetings with other staff. I hadn't realized > that I had felt "down hill" from everybody before the degree - but I did > > notice the change in my level of confidence once I was wearing my gold > key (yes Summa Cum Laude - motivation is a wonderful thing). So, in > your "free" time, Martin, why not enroll in a college or university that > > offers a complete degree in your area of interest via the Internet? > When you get your gold key, those pompous jerks will have to shut up. > > My local college hired me from time-to-time as adjunct faculty when they > > needed my knowledge and they couldn't get anyone with the academic > credentials to teach the class (summers, especially). I still work as a > > contract instructor for the Extended Education Services division of the > college - teaching adults who really want to know the stuff. > > Tina > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:14:54 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:14:54 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D37@main2.marlow.com> Okay, this off shoot is definitely OT, but I'd like to say it has nothing to do with domination, but instead an even playing field. I prefer to treat everyone as an equal. I may know more about something, but I would bet my bottom dollar they know something that I don't. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, June 12, 2003 1:04 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system What, you're into domination?? Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, June 12, 2003 9:58 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Couldn't agree more! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:57 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Charlotte, "There aren't many "submissive" women on this list!" And that is good!! Now if that was true of all the rest of humankind, it would be even better. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday 2003 Jun 12 11:44 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Importance: Low Careful, Charles. There aren't many "submissive" women on this list! I don't have a degree and have never missed it. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 8:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:19:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:19:24 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D38@main2.marlow.com> Hey, admitting it is half the battle! I haven't seen you at any of the meetings! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 1:09 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system >I know I am a little stubborn Uhhh... OK. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 1:56 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 13:24:10 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 13:24:10 -0500 Subject: [AccessD] Access Data Retrieval Message-ID: <2F8793082E00D4119A1700B0D0216BF802226D39@main2.marlow.com> You need to install MDAC. I actually haven't had to do anything special when distributing a runtime that uses ADO. When I set a reference to Microsoft ActiveX Data Objects 2.5, when I use the Package and Deployment wizard, it bundles MDAC with the installation. During the VB install, you'll see the MDAC installation run too. No idea if .Net does something different. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval So Drew, what is involved in distributing an app that uses JET? I am looking at a project that will use VB.Net and an Access BE. AFAIK Jet is not part of VB.Net so Jet has to come from somewhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 2:05 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but that is like saying that it's only one step more to copy an entire IIS site, versus an individual .html file. To run an SQL database at home, you have to have SQL (and Access if it's the FE). If I write something in VB, I don't need access at all, to get it to work, I just need the JET drivers. To run a SQL server DB at home, you have to have SQL server. Know what I mean? I know I was generalizing a lot, but I figured I would have been shot if I went into a 50 page dissertation. By the way.....it's two 'tiny' steps. (Backup, then restore). Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 7:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 haascnc.com Thu Jun 12 13:41:56 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 12 Jun 2003 11:41:56 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: <657FB70438B7D311AF320090279C1801026D7A4A@EXCHMAIL> Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 6784 bytes Desc: not available URL: From fahooper at trapo.com Thu Jun 12 13:31:15 2003 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 12 Jun 2003 14:31:15 -0400 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D2D@main2.marlow.com> Message-ID: <001701c33110$cec3c4c0$60a90944@fred> Temp and Tmp (usually they're the same directory) could also be taking up a lot of space. They can be emptied and/or moved to another drive. I've seen Ghost used to move the files on a single C: drive on W2000. The tech had a lot of trouble as Ghost wasn't easy to configure for SCSI disks with NTFS. If you can get it to work for a copy to a single drive, I'd think it should work the same way for another disk to be the mirrored pair. Fred |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka |Sent: Thursday, June 12, 2003 12:14 PM |To: 'accessd at databaseadvisors.com' |Subject: RE: [AccessD] Replacing the C: drive on a server | | |To get more space, put another drive in, and move the swap |file to it. That is probably taking a LARGE chunk of space up. | |Drew | |-----Original Message----- |From: John Colby [mailto:jcolby at colbyconsulting.com] |Sent: Thursday, June 12, 2003 7:47 AM |To: AccessD |Subject: [AccessD] Replacing the C: drive on a server | | |My client as a Windows NT 4x Server with a C: drive down to |80mb free. It had more until yesterday, when he tried to |install Access and Outlook. The installs failed due to lack |of space and wouldn't even uninstall. He has just plain |deleted the directories to get back up to 80mb. Obviously |this is bad - Windows doesn't like the C: drive to have no room. | |My question is, is it possible to go get a much larger hard |disk, and then somehow transfer the entire contents of the C: |drive onto the new drive such that it can be dropped in as the |C: drive and yet still be larger and have the extra room |available? My understanding of the imaging programs (Ghost |and the like) is that they create an exact image of the |original which would simply create a small partition on the |larger drive. | |The next issue is that the drive is mirrored. Is there any |way to just add two disks and "expand" the existing partition |to span the new disks? | |John W. Colby |www.colbyconsulting.com | | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | From papparuff at attbi.com Thu Jun 12 13:53:29 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 12 Jun 2003 11:53:29 -0700 Subject: [AccessD] Globally logging onto a SQL Server db In-Reply-To: <001701c33110$cec3c4c0$60a90944@fred> Message-ID: <000f01c33113$ea7d84a0$6401a8c0@papparuff> I'm having a devil of a time and I can use some assistance. I have a client who has two linked tables from a SQL database. He updates tables in a linked Access database from these two SQL tables each weekday through update queries. When he opens one of the tables or a query for the first time, he must always provide his userid and password. We want to automate the program and so we need to setup a method of automatically logging into the SQL database so that the queries will run without having to manually supply the userid and password. He is in Iowa and I'm in Washington so I don't have access to his SQL db to try and figure this out. Here's the script he get's after he creates a udl file and converts it to a txt file: [oledb] ; Everything after this line is an OLE DB initstring Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User ID=sales;Data Source=Dealer Information I got the DSN from the Description property of one of the attached tables. Here is the full Description. ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr vb,1433;TABLE=dbo.DEAL John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 From cfoust at infostatsystems.com Thu Jun 12 14:06:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Jun 2003 12:06:22 -0700 Subject: [AccessD] Replacing the C: drive on a server Message-ID: Ghost also has problem with laptop drive images. It works fine to drives in the same machine, but not between a laptop and an external drive. Charlotte Foust -----Original Message----- From: Fred Hooper [mailto:fahooper at trapo.com] Sent: Thursday, June 12, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server Temp and Tmp (usually they're the same directory) could also be taking up a lot of space. They can be emptied and/or moved to another drive. I've seen Ghost used to move the files on a single C: drive on W2000. The tech had a lot of trouble as Ghost wasn't easy to configure for SCSI disks with NTFS. If you can get it to work for a copy to a single drive, I'd think it should work the same way for another disk to be the mirrored pair. Fred |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka |Sent: Thursday, June 12, 2003 12:14 PM |To: 'accessd at databaseadvisors.com' |Subject: RE: [AccessD] Replacing the C: drive on a server | | |To get more space, put another drive in, and move the swap |file to it. That is probably taking a LARGE chunk of space up. | |Drew | |-----Original Message----- |From: John Colby [mailto:jcolby at colbyconsulting.com] |Sent: Thursday, June 12, 2003 7:47 AM |To: AccessD |Subject: [AccessD] Replacing the C: drive on a server | | |My client as a Windows NT 4x Server with a C: drive down to |80mb free. It had more until yesterday, when he tried to |install Access and Outlook. The installs failed due to lack |of space and wouldn't even uninstall. He has just plain |deleted the directories to get back up to 80mb. Obviously |this is bad - Windows doesn't like the C: drive to have no room. | |My question is, is it possible to go get a much larger hard |disk, and then somehow transfer the entire contents of the C: |drive onto the new drive such that it can be dropped in as the |C: drive and yet still be larger and have the extra room |available? My understanding of the imaging programs (Ghost |and the like) is that they create an exact image of the |original which would simply create a small partition on the |larger drive. | |The next issue is that the drive is mirrored. Is there any |way to just add two disks and "expand" the existing partition |to span the new disks? | |John W. Colby |www.colbyconsulting.com | | |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/ac|cessd |Website: |http://www.databaseadvisors.com | _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Jun 12 14:15:13 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 12 Jun 2003 15:15:13 -0400 Subject: [AccessD] Globally logging onto a SQL Server db In-Reply-To: <000f01c33113$ea7d84a0$6401a8c0@papparuff> Message-ID: <001101c33116$f6ff3db0$97310cd8@hargrove.internal> Just add the userid and password info to the DSN and you should be home free. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: Thursday, June 12, 2003 2:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Globally logging onto a SQL Server db I'm having a devil of a time and I can use some assistance. I have a client who has two linked tables from a SQL database. He updates tables in a linked Access database from these two SQL tables each weekday through update queries. When he opens one of the tables or a query for the first time, he must always provide his userid and password. We want to automate the program and so we need to setup a method of automatically logging into the SQL database so that the queries will run without having to manually supply the userid and password. He is in Iowa and I'm in Washington so I don't have access to his SQL db to try and figure this out. Here's the script he get's after he creates a udl file and converts it to a txt file: [oledb] ; Everything after this line is an OLE DB initstring Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User ID=sales;Data Source=Dealer Information I got the DSN from the Description property of one of the attached tables. Here is the full Description. ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr vb,1433;TABLE=dbo.DEAL John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Jun 12 14:14:14 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 20:14:14 +0100 Subject: [AccessD] Globally logging onto a SQL Server db References: <000f01c33113$ea7d84a0$6401a8c0@papparuff> Message-ID: <001001c33116$d1cd9aa0$37f66e51@martinreid> http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForSQLServer Connections for all occasions Martin ----- Original Message ----- From: "John Ruff" To: "accessd" Sent: Thursday, June 12, 2003 7:53 PM Subject: [AccessD] Globally logging onto a SQL Server db > I'm having a devil of a time and I can use some assistance. > > I have a client who has two linked tables from a SQL database. He > updates tables in a linked Access database from these two SQL tables > each weekday through update queries. When he opens one of the tables or > a query for the first time, he must always provide his userid and > password. We want to automate the program and so we need to setup a > method of automatically logging into the SQL database so that the > queries will run without having to manually supply the userid and > password. He is in Iowa and I'm in Washington so I don't have access to > his SQL db to try and figure this out. > > Here's the script he get's after he creates a udl file and converts it > to a txt file: > [oledb] > ; Everything after this line is an OLE DB initstring > > Provider=MSDASQL.1;Password=dealer;Persist Security Info=True;User > ID=sales;Data Source=Dealer Information > > I got the DSN from the Description property of one of the attached > tables. Here is the full Description. > > ODBC;DSN=Dealer Information;Description=dealer ;APP=MicrosoftR > Access;WSID=QUAYDW;DATABASE=dealer_master;Network=DBMSSOCN;Address=sqlsr > vb,1433;TABLE=dbo.DEAL > > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JRojas at tnco-inc.com Thu Jun 12 14:49:28 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 12 Jun 2003 15:49:28 -0400 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> Am I the only one who has ever looked for an Icon solution?!?! I have spent way too long trying to find a really nice, Windows XP style, icon collection! I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 color icons. This is very annoying! I finally came across http://design.iconfactory.com/pages/winicon/winicon.html. These guys make icons that are exactly the style I am looking for. After inquiring about their services they replied with telling me not only that they could not take on anymore projects at this time but that they charge hundreds of dollars per icon!! Does anyone on this list know of a website that makes icons similar to what can be found on the link above and doesn't charge an arm and a leg for them? Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mwp.reid at qub.ac.uk Thu Jun 12 15:14:56 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Jun 2003 21:14:56 +0100 Subject: [AccessD] Where the heck can I get good quality Icons??? References: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> Message-ID: <001001c3311f$4ca90b80$37f66e51@martinreid> http://www.aha-soft.com/iconxp/index.htm You could always haev a go at creating your own. Martin ----- Original Message ----- From: "Joe Rojas" To: Sent: Thursday, June 12, 2003 8:49 PM Subject: [AccessD] Where the heck can I get good quality Icons??? > Am I the only one who has ever looked for an Icon solution?!?! > > I have spent way too long trying to find a really nice, Windows XP style, > icon collection! > > I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 > color icons. This is very annoying! > I finally came across > http://design.iconfactory.com/pages/winicon/winicon.html. These guys make > icons that are exactly the style I am looking for. After inquiring about > their services they replied with telling me not only that they could not > take on anymore projects at this time but that they charge hundreds of > dollars per icon!! > > Does anyone on this list know of a website that makes icons similar to what > can be found on the link above and doesn't charge an arm and a leg for them? > > Thanks, > Joe R. > > > > > This electronic transmission is strictly confidential to TNCO, Inc. and > intended solely for the addressee. It may contain information which is > covered by legal, professional, or other privileges. If you are not the > intended addressee, or someone authorized by the intended addressee to > receive transmissions on behalf of the addressee, you must not retain, > disclose in any form, copy, or take any action in reliance on this > transmission. If you have received this transmission in error, please notify > the sender as soon as possible and destroy this message. While TNCO, Inc. > uses virus protection, the recipient should check this email and any > attachments for the presence of viruses. TNCO, Inc. accepts no liability for > any damage caused by any virus transmitted by this email. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From delliker at hotmail.com Thu Jun 12 15:19:05 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 12 Jun 2003 16:19:05 -0400 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 12 15:55:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 15:55:43 -0500 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E3E@main2.marlow.com> Get Axialis icons (axialis.com). It will grab icons, and lets you make icons. That is probably going to be your best bet! Drew -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Thursday, June 12, 2003 2:49 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Where the heck can I get good quality Icons??? Am I the only one who has ever looked for an Icon solution?!?! I have spent way too long trying to find a really nice, Windows XP style, icon collection! I have gone to hundreds of websites only to find crappy, old, 2D looking, 16 color icons. This is very annoying! I finally came across http://design.iconfactory.com/pages/winicon/winicon.html. These guys make icons that are exactly the style I am looking for. After inquiring about their services they replied with telling me not only that they could not take on anymore projects at this time but that they charge hundreds of dollars per icon!! Does anyone on this list know of a website that makes icons similar to what can be found on the link above and doesn't charge an arm and a leg for them? Thanks, Joe R. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 15:59:51 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 14:59:51 -0600 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Access image control? Message-ID: <63340-220036412205951164@christopherhawkins.com> ---- Original Message ---- From: clh at christopherhawkins.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Canot display .jpg in Access image control? Date: Thu, 12 Jun 2003 12:07:19 -0600 >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From jbusergroups at optushome.com.au Thu Jun 12 16:53:16 2003 From: jbusergroups at optushome.com.au (Joshua B) Date: Fri, 13 Jun 2003 7:53:16 +1000 Subject: [AccessD] Where the heck can I get good quality Icons??? Message-ID: <200306122152.h5CLqju26989@mail017.syd.optusnet.com.au> Hello Joe Rojas, http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ ======= At 2003-06-12, 15:49:00 you wrote: ======= >Am I the only one who has ever looked for an Icon solution?!?! > >I have spent way too long trying to find a really nice, Windows XP style, >icon collection! > = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B jbusergroups at optushome.com.au www.jbsolutions.com.au 2003-06-13 From selina at easydatabases.com.au Thu Jun 12 17:19:58 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 13 Jun 2003 08:19:58 +1000 Subject: [AccessD] Is MSWord.exe running?? References: <2F8793082E00D4119A1700B0D0216BF802226E3E@main2.marlow.com> Message-ID: <002f01c33130$c2597660$6465000a@venus> Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina From jim.hale at fleetpride.com Thu Jun 12 17:57:33 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 12 Jun 2003 17:57:33 -0500 Subject: [AccessD] Is MSWord.exe running?? Message-ID: <869379ABF177D4118D3100508B5EF8730656BD72@corp-es00> I modified this from code i use to close excel. It works but the line to save the word doc needs the correct syntax. HTH Jim Hale Function Word_is_running() As Boolean Dim appWord As Word.Application On Error Resume Next Set appWord = GetObject(, "Word.Application") Word_is_running = (Err.Number = 0) Set appWord = Nothing Err.Clear End Function Function CloseWord() As Boolean If Word_is_running = True Then Dim lngRetval As Long Dim appWord As Word.Application lngRetval = MsgBox( _ "Can Word be closed so I can proceed? All changes will be saved.", _ vbYesNo + vbExclamation + vbSystemModal + vbDefaultButton1, _ "Close Word") Select Case lngRetval Case vbYes On Error Resume Next Set appWord = GetObject(, "Word.Application") xlsClose appWord CloseWord = True Case vbNo CloseWord = False End Select Else CloseWord = True End If End Function Sub xlsClose(appWord As Word.Application) On Error Resume Next appWord.DisplayAlerts = False 'this syntax needs to be fixed: 'appWord.Close SaveChanges:=True appWord.Quit Set appWord = Nothing Exit_xlsClose: Exit Sub End Sub Sub test() CloseWord End Sub -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Thursday, June 12, 2003 5:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Is MSWord.exe running?? Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 12 18:30:30 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 13 Jun 2003 09:30:30 +1000 Subject: [AccessD] OT: the "Education" system References: Message-ID: <012701c3313a$9d34e720$54dd31d2@OfficePC> I think this comment is way out of line. You have just dismissed Tina's comments entirely - relegating her to a status you imagine her to have. Kath ----- Original Message ----- From: Wortz, Charles To: accessd at databaseadvisors.com Sent: Friday, June 13, 2003 2:21 AM Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Thu Jun 12 18:42:51 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 12 Jun 2003 18:42:51 -0500 Subject: [AccessD] Is MSWord.exe running?? Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF026E4344@PKDWB01C.ad.sprint.com> Selina, Have a look at Bryan Carbonnell's (July, 2002) articles on Word automation: http://www.databaseadvisors.com/newsletters.htm I believe he covers this topic in some detail. He includes things like handling Word sessions that are running when your code fires (you want to be sure that you don't hose the user's work by closing or otherwise messing with an existing session.) HTH! Don McGillivray -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Thursday, June 12, 2003 3:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Is MSWord.exe running?? Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:06:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:06:43 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: <3EE86AFB.2060807@torchlake.com> Message-ID: Hi Tina: I just could not let this go by without comment. I do have a degree, of sorts, if you count B of FA, few do. I would love to have the opportunity to go back to school to get a degree in Computer Science but reality rears it ugly head. With a family to keep and two kids going to university, my income is manditory. Maybe some rich unknown relative will die and leave me a small fortune, but that is unlikely. If someone out there is interested in bank-rolling a wonderful family of artists and geeks, for the next four or five years, you will receive our heart-felt thanks and I will have that degree in Computer Science. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 4:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:26:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:26:46 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: Hi John: Get a copy of Symantec's Ghost. It will copy byte per byte from one hard drive to another and even expand the partition out to the new size. You may have to do a file fix, from the 4 disk NT boot set, because NT gets confused when drive changes but that should be all...no data loss. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 5:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Jun 12 20:34:05 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 13 Jun 2003 11:34:05 +1000 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Accessimage control? References: <63340-220036412205951164@christopherhawkins.com> Message-ID: <046901c3314b$e0c32720$3c619a89@DDICK> How?? Darren ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, June 13, 2003 6:59 AM Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in Accessimage control? > > > ---- Original Message ---- > From: clh at christopherhawkins.com > To: accessd at databaseadvisors.com, > Subject: RE: [AccessD] Canot display .jpg in Access image control? > Date: Thu, 12 Jun 2003 12:07:19 -0600 > > >I know this is a "known issue" with Access. I also know that I have > >to "install the jpg decompression filter" in order to fix it. > >However, I have no clue as to where I can find this filter and how to > >install it. > > > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > > > >-Christopher- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 20:36:59 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:36:59 -0700 Subject: [AccessD] Make-Table Queries Combined In-Reply-To: <3EE87AA1.1040700@torchlake.com> Message-ID: Hi Tina: Large and complex queries are bound to start bouncing off system limits. The best way around this is to limit the query grouping and use temp files instead. The complexity is down, speed is back to normal and all that is needed is a bit of programming to manage and delete the temp files when the process is finished. This method should push a full job down to about half and hour. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 6:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Make-Table Queries Combined Hi List, A friend's company has this situation: A particular report is actually based on about 32 make-table queries. Running them one at a time works well, but requires someone to run each one in sequence. My friend combined these small queries into a big one that gathers them all together. He finds that when it gets to about the 14th query, everything slows down to a crawl. In fact, it may take up to 12 hours for the large combining query to finish its job. I don't know anything more about this situation. Does anyone here know why this happens? Is it something like the system has to keep everything in memory until the query finishes? Thanks for your thoughts. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Thu Jun 12 20:36:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 18:36:22 -0700 Subject: [AccessD] Columns w/o sacrificing headers Message-ID: I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. I want to have my report thus: this is my everypage header that is centered Date here page x of y here Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff I can't get it to be columner at all, let alone have a page header above. Here is what I've got so far: http://altadenabaptist.org/images/Image1.jpg If you enlarge to see detail on left, you'll see my layout so far including the column and width. On left part of right image, you'll see what I get, which is acceptable as far as it goes. But I want two columns, like I pasted on for the photo. I've done something similar on a web page. http://altadenabaptist.org/photos/photos.htm What do I need to do to get the layout I want? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From martyconnelly at shaw.ca Thu Jun 12 20:35:53 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 12 Jun 2003 18:35:53 -0700 Subject: [AccessD] OT: the "Education" system References: Message-ID: <3EE92A79.7020708@shaw.ca> Both computer certification and degrees have a best before date. Degrees are generally about 10 years longer especially in the sciences. For example, new biologists look down on older biologists who have never used Microarrays. Charlotte Foust wrote: >Take a look at http://innumeracy.com/ and/or read John Allen Poulos' >wonderful book, Innumeracy, for a look at how incompetent most adults >are when it comes to simple math, let alone algebra. > >Charlotte Foust > >-----Original Message----- >From: Tina Norris Fields [mailto:tinanfields at torchlake.com] >Sent: Thursday, June 12, 2003 4:14 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: the "Education" system > > >Mark, > >We have been ignoring the problem much too long. We already are >graduating generations of functionally illiterate adults. Think of how >many people cannot write a coherent English sentence. In a time when we > >are ever more dependent upon computers, which must be told exactly what >to do, in terms they can understand, where the absence of a semicolon or > >a period will blow code right out of the water - is this the time to >give up on teaching language skills and critical thinking? If we no >longer can say what we mean, or even be certain of what we do mean, how >can we properly program and control these stupid machines? > >I once taught an "electronic spreadsheet" course for my local college, >and discovered in the first day of class that 5 of my 16 students could >not figure out percentage and that 2 had gone all the way through high >school without learning any Algebra. They all expected the program to >do the analytical thinking for them and were apalled that they would >have to figure out what their formulas should be. After I got over the >shock, I redesigned the course to include the needed skills and >experience. And, yes, I built all my quizzes and exams as real problems > >and projects - absolutely no "multiple guess" questions. I hate those. > Almost always, a good case can be made for more than one answer, but >only the officially RIGHT answer gets any credit at all. > >Okay, I'll quit ranting. > >Tina > > >Mitsules, Mark wrote: > > > >>As an aside... I was told this morning from a spouse of a local >>elementary school teacher that the principal of said school has decided >> >> > > > >>NOT to hold back a single student this year. Students with >>unsatisfactory (we can't say "failing", can we?) grades across the >>board are being sent on regardless of teacher recommendations. Of >>course the principal is only part of the problem. The teacher is also >>aware of parents (most?, some?, all?) who were advised to hold back >>their child have chosen instead to let their child continue on. >> >> >>...I suppose if we ignore the problem long enough, it will eventually >>go away. :( >> >> >> >>Mark >> >> >>-----Original Message----- >>From: John Colby [mailto:jcolby at colbyconsulting.com] >>Sent: Wednesday, June 11, 2003 11:09 AM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] OT: the "Education" system >> >> >>I read something long ago that would indicate why this is so. >>According to this article, the university system as we know it got it's >> >> > > > >>start in the middle ages. The average Joe did not go to school, did >>not know how to read or write. Universities were originally designed >>to "educate" the sons and daughters of the ruling class. The intended >>subjects of the system did not work, they ruled. They had no need to >>"go get a job". They needed skills distinctly different from those >>needed today. >> >>Unfortunately those in power in the university system do it "the way it >> >> > > > >>has always been done". A classic example of this is the ludicrous >>practice of forcing medical interns to stay on duty 48 hours at a time >>with only a couple of hours sleep. Everyone acknowledges that this is >>dangerous, to the interns and even more so to the poor slob being seen >>by these sleep deprived interns. But... "that's the way it has always >>been done". >> >>And so we live in a world where the college graduate has been forced to >> >> > > > >>do the "choose two from basket weaving, choose two from music, choose >>two from science". Yep, been there, done that. What a waste. >> >>And of course the defenders of the system CLAIM that the purpose is not >> >> > > > >>to train them to do a particular job (which is actually a good thing) >>but to learn how to think. If only that were true! >> >>Try disputing anything the professor says and see how fast you are >>taught NOT to think! >> >>John W. Colby >>www.colbyconsulting.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, >>Charles >>Sent: Wednesday, June 11, 2003 10:48 AM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] OT? - Certification >> >> >>Vlad, >> >>As a former college professor, I also notice that many of these "so >>called Highly Qualified Graduates" are not only "regurgitators of info" >> >> > > > >>with "no people skills whatsoever" but also have no analytical skills. >> >>At most of the colleges and universities that I taught at I was the >>only Computer Science faculty member that had any real-world experience >> >> > > > >>as a programmer/analyst. And I was the only one that designed my tests >> >> > > > >>as problems to solve, not multiple-guess or fill-in-the-blank type >>tests. I wanted my students to learn how to analyze and solve problems, >> >> > > > >>not regurgitate data, which a trained monkey can do. >> >>One of the reasons I quit teaching is I got tired of butting heads with >> >> > > > >>departmental chairs and school deans that didn't understand there was a >> >> > > > >>difference between theoretical knowledge and practical knowledge and >>that the graduate from a bachelor level program needs to have some >>practical knowledge if he/she is to expect to find a job in the real >>world. Only about 1% of the students could hope to become clones of >>their professors, they rest needed to be able to survive in the real >>world. >> >>Charles Wortz >>Software Development Division >>Texas Education Agency >>1701 N. Congress Ave >>Austin, TX 78701-1494 >>512-463-9493 >>CWortz at tea.state.tx.us >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bbruen at bigpond.com Thu Jun 12 20:40:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 11:40:46 +1000 Subject: [AccessD] Eliminating duplicate rows Message-ID: <000001c3314c$d20a9410$7f00a8c0@bbb888> Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce From accessd at shaw.ca Thu Jun 12 20:47:02 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 18:47:02 -0700 Subject: [AccessD] Replacing the C: drive on a server In-Reply-To: Message-ID: John...Smart move. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, June 12, 2003 9:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Replacing the C: drive on a server He dropped the swap file from 512 to 256 on C: and raised the swapfile on D & E. that got him up to 380m free on C: John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 12:14 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Replacing the C: drive on a server To get more space, put another drive in, and move the swap file to it. That is probably taking a LARGE chunk of space up. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, June 12, 2003 7:47 AM To: AccessD Subject: [AccessD] Replacing the C: drive on a server My client as a Windows NT 4x Server with a C: drive down to 80mb free. It had more until yesterday, when he tried to install Access and Outlook. The installs failed due to lack of space and wouldn't even uninstall. He has just plain deleted the directories to get back up to 80mb. Obviously this is bad - Windows doesn't like the C: drive to have no room. My question is, is it possible to go get a much larger hard disk, and then somehow transfer the entire contents of the C: drive onto the new drive such that it can be dropped in as the C: drive and yet still be larger and have the extra room available? My understanding of the imaging programs (Ghost and the like) is that they create an exact image of the original which would simply create a small partition on the larger drive. The next issue is that the drive is mirrored. Is there any way to just add two disks and "expand" the existing partition to span the new disks? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:00:48 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:00:48 -0600 Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg inAccessimage control? Message-ID: <49810-2200365132048593@christopherhawkins.com> Total reinstall of Office. I'm not even sure which options were installed differently this time. it just...worked! -C- ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: Re: Solved! Never Mind. RE: [AccessD] Canot display .jpg inAccessimage control? Date: Fri, 13 Jun 2003 11:34:05 +1000 >How?? > >Darren > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Friday, June 13, 2003 6:59 AM >Subject: Solved! Never Mind. RE: [AccessD] Canot display .jpg in >Accessimage control? > > >> >> >> ---- Original Message ---- >> From: clh at christopherhawkins.com >> To: accessd at databaseadvisors.com, >> Subject: RE: [AccessD] Canot display .jpg in Access image control? >> Date: Thu, 12 Jun 2003 12:07:19 -0600 >> >> >I know this is a "known issue" with Access. I also know that I >have >> >to "install the jpg decompression filter" in order to fix it. >> >However, I have no clue as to where I can find this filter and >how to >> >install it. >> > >> >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... >> > >> >-Christopher- >> > >> >_______________________________________________ >> >AccessD mailing list >> >AccessD at databaseadvisors.com >> >http://databaseadvisors.com/mailman/listinfo/accessd >> >Website: http://www.databaseadvisors.com >> > >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Jun 12 21:07:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:07:06 -0700 Subject: [AccessD] OT: the "Education" system In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226D30@main2.marlow.com> Message-ID: My father had a fairly different view of the world, from many here. Real men, didn't work in offices they built and fixed things. There were men with trades and then there were 'whimps'. He working in construction all his life, ran his own construction company until he retired and was proud of his superiority. A sort of inverse snobbery. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:04:50 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:04:50 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? Message-ID: <6640-2200365132450109@christopherhawkins.com> So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- From DWUTKA at marlow.com Thu Jun 12 21:12:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:12:56 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E45@main2.marlow.com> I hear ya brother. I only have one kid, but between work, home, and contract work, I don't have time to get a degree, let alone the money! Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, June 12, 2003 8:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Hi Tina: I just could not let this go by without comment. I do have a degree, of sorts, if you count B of FA, few do. I would love to have the opportunity to go back to school to get a degree in Computer Science but reality rears it ugly head. With a family to keep and two kids going to university, my income is manditory. Maybe some rich unknown relative will die and leave me a small fortune, but that is unlikely. If someone out there is interested in bank-rolling a wonderful family of artists and geeks, for the next four or five years, you will receive our heart-felt thanks and I will have that degree in Computer Science. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tina Norris Fields Sent: Thursday, June 12, 2003 4:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina Martin Reid wrote: >I take a Degree class for the University and I made it a "real life" this is >how its done in work type of course. I have ran into the most unbelieveable >arrogance from academic staff who have never earned a penny from computing >and yet teach many of the core subjects. I am more interested in my students >being able to do it as opposed to telling me how it should be done but >actually unable to do the work when faced with a keyboard. > >My students are required to have 6 mths programming experience before I get >them. Of course as I use VBA and .NET the faculty teach them Java they will >not permit me to take an intro course in either .NET or VBA to prepare them >for the stuff I wil be doing with them. > >I have had more than one row with academic staff at Board of Examiners >meetings. I am on the faculty board and I have no Degree myself, something >they think should have restricted my participation in such things. > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:14:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:14:35 -0500 Subject: [AccessD] Eliminating duplicate rows Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E46@main2.marlow.com> I believe you can use Distinct Row (Just look up Distinct in the help files). Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 12, 2003 8:41 PM To: accessd at databaseadvisors.com Subject: [AccessD] Eliminating duplicate rows Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Thu Jun 12 21:04:50 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:04:50 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? Message-ID: <6640-2200365132450109@christopherhawkins.com> So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:17:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:17:40 -0500 Subject: [AccessD] Columns w/o sacrificing headers Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E47@main2.marlow.com> I thought you got an Access report to run multiple columns by making it's width small enough to do so? Sorry, a little groggy at the moment, I could be way off. Drew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Thursday, June 12, 2003 8:36 PM To: dbAdvisors (AccessD) Subject: [AccessD] Columns w/o sacrificing headers I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. I want to have my report thus: this is my everypage header that is centered Date here page x of y here Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff Last - First photo Last - First photo xyz stuff xyz stuff I can't get it to be columner at all, let alone have a page header above. Here is what I've got so far: http://altadenabaptist.org/images/Image1.jpg If you enlarge to see detail on left, you'll see my layout so far including the column and width. On left part of right image, you'll see what I get, which is acceptable as far as it goes. But I want two columns, like I pasted on for the photo. I've done something similar on a web page. http://altadenabaptist.org/photos/photos.htm What do I need to do to get the layout I want? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Jun 12 21:26:34 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 12 Jun 2003 21:26:34 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E48@main2.marlow.com> Actually, I know where he is coming from. I was a mechanic for years. One of the many similarities between being a mechanic, and being in the computer field, is that most of the people that use what you create at work, have no clue of how it works, nor do they have an inkling of appreciation for the sweat and tears involved. I saw The Matrix Reloaded. In that movie, there is an interesting scene between Neo, and the leader of Zion. The leader takes Neo down to the inner depths of Zion, and shows him the 'engine room', per se. He explains that all of the machinery down there keeps them alive and well, but no one cares about it, or even tries to figure out how it works, until something goes wrong. There was another point to that conversation (he was trying to explain to Neo that people depend on machines just as much as machines depend on them...it's a never ending circle.), but the point I doubt many people caught, was that we take a lot of things for granted. Now I don't know if your father would agree that a lot of the aggrevation between a hard labor job does occur with a 'brainy' desk job, like an IT Tech, but there are very similar strains. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Thursday, June 12, 2003 9:07 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system My father had a fairly different view of the world, from many here. Real men, didn't work in offices they built and fixed things. There were men with trades and then there were 'whimps'. He working in construction all his life, ran his own construction company until he retired and was proud of his superiority. A sort of inverse snobbery. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Thursday, June 12, 2003 10:56 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system I wasn't even taking gender into account. I have seen both men and women 'bow' to someone with a degree. I know I am a little stubborn , but I stick to my guns with what I know. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Thursday, June 12, 2003 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: the "Education" system Drew, I think it is a cultural thing. Many women are trained from childhood to be submissive. Thus, unless they get assertiveness training, or have made a significant accomplishment such as getting a degree, they tend to be submissive as adults. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday 2003 Jun 12 11:11 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Interesting. I have never really felt 'downhill' though. In fact, many times I feel like I am uphill from people with degrees, because I see the solution, and they are flapping in the wind. Oh well. Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Thursday, June 12, 2003 6:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Martin, you may have to go get that degree, just to shut them up. After some 14 years of experience as an export manager, with a side interest in office automation and the stuff that supports it, I one day found myself needing a new job. I had no degree, just knowledge. I had come from the midwest, where "equivalent experience" was a qualifier for those without the academic credentials. But, I was in New England (Boston, to be exact), and "equivalent experience" carried no weight whatsoever. I actually got turned down for a position where the only other candidate was a recent graduate with a degree and no experience - degree NOT in international trade or business, by the way. The interviewer said: "I couldn't justify choosing you over a degreed person." Wow! I did go back to school at New Hampshire College (now Southern New Hampshire University) and got my degree in Business and Computer Science. Now, I teach adults how to use computers - from the complete "newbie" who doesn't know where the ON switch is, to folks wanting to learn any of the Microsoft Office Suite programs. I also develop Access database applications and stuff for private clients. It's fun. The thing that really surprised me was that after I had my degree, I felt different in those meetings with other staff. I hadn't realized that I had felt "down hill" from everybody before the degree - but I did notice the change in my level of confidence once I was wearing my gold key (yes Summa Cum Laude - motivation is a wonderful thing). So, in your "free" time, Martin, why not enroll in a college or university that offers a complete degree in your area of interest via the Internet? When you get your gold key, those pompous jerks will have to shut up. My local college hired me from time-to-time as adjunct faculty when they needed my knowledge and they couldn't get anyone with the academic credentials to teach the class (summers, especially). I still work as a contract instructor for the Extended Education Services division of the college - teaching adults who really want to know the stuff. Tina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 21:28:31 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:28:31 -0700 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: Hi Bruce: You could use something like this: select distinctrow first([Myfield1]) AS [Myfield1 Field], first([Myfield2]) AS [Myfield2 Field], count([Myfield1]) AS NumberOfDuplicates from MyTable group by Myfield1, Myfield2 having count([Myfield1]) > 1 and count([Myfield2]) > 1 This will at least expose your duplicates. Note the use of Access's First function to set the table position to the first match. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Thursday, June 12, 2003 6:41 PM To: accessd at databaseadvisors.com Subject: [AccessD] Eliminating duplicate rows Dear List, Due to a (ahem) programming feature, I now have a table with several thousand rows of which hundreds are redundant. I am loking for a way to delete the redundant rows. I have used the previously discussed method of using a max (recID) subquery in a delete query before, but it will only eliminate one of the duplicates at a time. Short of running the delete query over and over until they are removed, is there a way to get rid of all but one of the duplicates? tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Jun 12 21:37:11 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 12 Jun 2003 19:37:11 -0700 Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? In-Reply-To: <6640-2200365132450109@christopherhawkins.com> Message-ID: Hi Christopher: In order for the process to work you will need two copies of the picture, one the thumbnail and one the full-size version. They could he named like 'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to force a image to a specific size on a web page. Too much process and a poor quality images. Check out the tag for html coding. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 12, 2003 7:05 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB6: Using the Webbrowser control to view files - Thumbnail view? So here's my dilemma. I have a form that is displaying data from a database. My client wants to see a thumnail of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but I need to see a thumbnail view, not a list view. I can right-click in the control and select View > Thumbnail, but my client wants the images to appear in thumbnail view without his users having to do anything. I am thus far unable to find a property of the WebBrowser control that would allow this, and Google has failed me. Does anyone have any ideas? -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 12 21:39:08 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 12 Jun 2003 19:39:08 -0700 Subject: [AccessD] Phun with Excel / automation References: Message-ID: <3EE9394C.2010405@shaw.ca> You can get at it this way using ADO 2.7 with something like this Dim oConn As New ADODB.Connection Dim Ors As ADODB.Recordset Dim c as long Set Ors = New ADODB.Recordset With oConn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Extended Properties").Value = "Excel 8.0" .Open "C:\Excel\ExcelADO\results\Products.xls" .CursorLocation = adUseClient 'need otherwise recordcount=-1 '.... Ors.Open "Select * from [Products]", oConn, adOpenStatic 'Sheet1$ or Products sheetname For c = 0 To Ors.RecordCount - 1 'the field order of columns does not always follow the sheet order Debug.Print Ors.Fields(0).Value; Ors.Fields(0).Name Debug.Print Ors.Fields(1).Value Ors.MoveNext 'just stuff these values in a table Next End With oConn.Close ------------------ or look at the schema of the sheet for sheet names and field names and types Dim oConn As New ADODB.Connection Dim rst As New ADODB.Recordset Dim intTblCnt As Integer, intTblFlds As Integer Dim strTbl As String Dim rstSch As ADODB.Recordset Dim rsC As ADODB.Recordset Dim Ors As ADODB.Recordset Dim intColCnt As Integer, intColFlds As Integer Dim strCol As String Dim t As Integer, c As Integer, f As Integer With oConn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Extended Properties").Value = "Excel 8.0" .Open "C:\Excel\ExcelADO\results\Products.xls" .CursorLocation = adUseClient 'need otherwise recordcount=-1 '.... 'Me.cmbSheetCombo.RowSource = rst Set rstSch = oConn.OpenSchema(adSchemaTables) intTblCnt = rstSch.RecordCount intTblFlds = rstSch.Fields.Count MsgBox intTblCnt & "*?" & intTblFlds 'List1.AddItem "Tables: " & intTblCnt 'List1.AddItem "--------------------" Dim strList As String strList = "" For t = 1 To intTblCnt strTbl = rstSch.Fields("TABLE_NAME").Value Debug.Print vbTab & "Table #" & t & ": " & strTbl Debug.Print vbTab & "--------------------" MsgBox strTbl strList = strList & strTbl & ";" For f = 0 To intTblFlds - 1 Debug.Print vbTab & rstSch.Fields(f).Name & _ vbTab & rstSch.Fields(f).Value Next ' List1.AddItem "--------------------" Set rsC = oConn.OpenSchema(adSchemaColumns, Array(Empty, Empty, strTbl, Empty)) intColCnt = rsC.RecordCount intColFlds = rsC.Fields.Count For c = 1 To intColCnt strCol = rsC.Fields("COLUMN_NAME").Value Debug.Print vbTab & vbTab & "Column #" & c & ": " & strCol Debug.Print vbTab & vbTab & "--------------------" For f = 0 To intColFlds - 1 ' Debug.Print vbTab & vbTab & rsC.Fields(f).Name & _ ' vbTab & rsC.Fields(f).Value Next 'List1.AddItem vbTab & vbTab & "--------------------" rsC.MoveNext Next rsC.Close 'List1.AddItem "--------------------" Next End With oConn.Close Don Elliker wrote: > Then I am back to the "There is no object in this control" error > reported earlier. This comes up when attempting to import using the > wizard....I just AM screwed am I not? Well , I have the no-help desk > personnel coming for a visit later > _D > > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > >Once the Import Spreadsheet Wizard starts you should see two radio > button > >(Show Worksheets and Show Named Ranges). Make sure the Show > Worksheets >one is checked and then you should see a list of the > worksheets within >your file. Then just select the one you want to > import and keep answering >the wizard's questions. Repeat the process > for each worksheet to import. > > > > >"Don Elliker" >Sent by: > accessd-bounces at databaseadvisors.com >06/12/2003 10:46 AM >Please > respond to accessd > > > To: accessd at databaseadvisors.com > cc: > > Subject: [AccessD] Phun with Excel / automation > > >Folks, >I am > trying to import ,on a one time basis , the data from an excel > >workbook into Access XP. I can't use the 'import data' option, it > only >gets me the first worksheet (or am I doing it wrong?). I can get > to the >workbook in code easily enough but there seems no easy way to > get the >individual worksheets imported into separate tables. I tried > using the >'transferspreadsheet' docmd thingie, but it gets hung up on > the file name. >I cannot just reference the worksheet object- it > doesn't like that. I >thought it was working out too easily...#-( - > Sooo...does anyone have >this experience...this is a one-off I just > want the data in tables. >"Things are only free to the extent that you > don't pay for them".-Don >Elliker > >Add photos to your e-mail with > MSN 8. Get 2 months > 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 > > ------------------------------------------------------------------------ > MSN 8 helps ELIMINATE E-MAIL VIRUSES. > Get 2 months FREE*. > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From clh at christopherhawkins.com Thu Jun 12 21:52:34 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 12 Jun 2003 20:52:34 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Message-ID: <63340-22003651325234874@christopherhawkins.com> OK, let me ask this, then: Is there a way to embed Windows Explorer into a VB form? -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Date: Thu, 12 Jun 2003 19:37:11 -0700 >Hi Christopher: > >In order for the process to work you will need two copies of the >picture, >one the thumbnail and one the full-size version. They could he named >like >'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to >force a >image to a specific size on a web page. Too much process and a poor >quality >images. Check out the tag for html coding. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] VB6: Using the Webbrowser control to view files - >Thumbnail view? > > >So here's my dilemma. > >I have a form that is displaying data from a database. > >My client wants to see a thumnail of all the images that are related >to the record being viewed - the images are stored in a folder with >the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but I need to >see a thumbnail view, not a list view. > >I can right-click in the control and select View > Thumbnail, but my >client wants the images to appear in thumbnail view without his users >having to do anything. > >I am thus far unable to find a property of the WebBrowser control >that would allow this, and Google has failed me. Does anyone have >any ideas? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From harkins at iglou.com Thu Jun 12 23:02:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 00:02:46 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: <007801c33160$c0b08080$d8ecffcc@SusanOne> Use the Duplicates Wizard to find the duplicates. Then, open the SQL window and change the SELECT to DELETE... make copies of your table and test it first -- just to be safe. Susan H. > Dear List, > > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way to > delete the redundant rows. > > I have used the previously discussed method of using a max (recID) > subquery in a delete query before, but it will only eliminate one of the > duplicates at a time. > > Short of running the delete query over and over until they are removed, > is there a way to get rid of all but one of the duplicates? > > tia > Bruce > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From michael.mattys at adelphia.net Thu Jun 12 23:21:26 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 13 Jun 2003 00:21:26 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000001c3314c$d20a9410$7f00a8c0@bbb888> <007801c33160$c0b08080$d8ecffcc@SusanOne> Message-ID: <004d01c33163$448d7370$6401a8c0@default> Also ... if your data can fit this scenerio, try this: Create a structure only copy of your table, go into design mode and set an index on the data you do not want to be duplicated, and set the duplicates allowed property to NO. Copy all the data from your first table to your second table. A database error will result telling you that the number of duplicate records not allowed to be copies, however all of the other records will be copied successfully. Your second table is now your duplicate free table. Michael R. Mattys www.mattysconsulting.com > > Dear List, > > > > Due to a (ahem) programming feature, I now have a table with several > > thousand rows of which hundreds are redundant. I am loking for a way to > > delete the redundant rows. > > > > I have used the previously discussed method of using a max (recID) > > subquery in a delete query before, but it will only eliminate one of the > > duplicates at a time. > > > > Short of running the delete query over and over until they are removed, > > is there a way to get rid of all but one of the duplicates? > > > > tia > > Bruce > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Jun 12 23:37:48 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jun 2003 14:37:48 +1000 Subject: [AccessD] Columns w/o sacrificing headers In-Reply-To: Message-ID: <3EE9E1BC.6309.16F4C40@localhost> In Report Design View. Go to the File-Page Setup-Columns tab. Make sure "Column size - Same as Detail" is NOT ticked, otherwise, you can't stretch the Page header over the two columns. On 12 Jun 2003 at 18:36, Kathryn Bassett wrote: > I'm trying to do something that I know I can do with WordPerfect picking up data from Access, but I'm trying to do it with an Access report instead. > > I want to have my report thus: > > this is my everypage header that is centered > Date here page x of y here > > Last - First photo Last - First photo > xyz stuff xyz stuff > > Last - First photo Last - First photo > xyz stuff xyz stuff > > Last - First photo Last - First photo > xyz stuff xyz stuff > > I can't get it to be columner at all, let alone have a page header above. > Here is what I've got so far: > http://altadenabaptist.org/images/Image1.jpg > If you enlarge to see detail on left, you'll see my layout so far including the column and width. > On left part of right image, you'll see what I get, which is acceptable as far as it goes. > But I want two columns, like I pasted on for the photo. > > I've done something similar on a web page. > http://altadenabaptist.org/photos/photos.htm > > What do I need to do to get the layout I want? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Fri Jun 13 00:47:31 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 22:47:31 -0700 Subject: SOLVED - RE: [AccessD] Columns w/o sacrificing headers In-Reply-To: <3EE9E1BC.6309.16F4C40@localhost> Message-ID: Wow, there are property settings all kinds of places that I didn't thing to look. Thanks so much, Stuart - that did the trick! Here's my result: http://altadenabaptist.org/images/Image2.jpg Now to pose another question but in a new subject line called "IF-Then in a report" -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 12 Jun 2003 9:38:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] Columns w/o sacrificing headers > > > In Report Design View. > > Go to the File-Page Setup-Columns tab. > > Make sure "Column size - Same as Detail" is NOT ticked, otherwise, > you can't stretch the Page header over the two columns. > > > > > > > On 12 Jun 2003 at 18:36, Kathryn Bassett wrote: > > > I'm trying to do something that I know I can do with WordPerfect picking up data > from Access, but I'm trying to do it with an Access report instead. > > > > I want to have my report thus: > > > > this is my everypage header that is centered > > Date here page x of y here > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > Last - First photo Last - First photo > > xyz stuff xyz stuff > > > > I can't get it to be columner at all, let alone have a page header above. > > Here is what I've got so far: > > http://altadenabaptist.org/images/Image1.jpg > > If you enlarge to see detail on left, you'll see my layout so far including the > column and width. > > On left part of right image, you'll see what I get, which is acceptable as far as it goes. > > But I want two columns, like I pasted on for the photo. > > > > I've done something similar on a web page. > > http://altadenabaptist.org/photos/photos.htm > > > > What do I need to do to get the layout I want? > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From kathryn at bassett.net Fri Jun 13 01:03:26 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 12 Jun 2003 23:03:26 -0700 Subject: [AccessD] If-Then in a report Message-ID: Thanks again to Stuart, my report is almost exactly what I want (except final lining up etc): http://altadenabaptist.org/images/Image2.jpg Next, I want to know how to make the Connections *label* to only show up if there is content in the field. Going back to the image that shows the layout: http://altadenabaptist.org/images/Image1.jpg you can see how it's set at present. I know how to trim in the content, but not how to make the label appear/disappear. My thoughts are: If the field called "connections" is not blank, then print Connections followed by a colon and then a space, and then the contents of the Connections field. I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. I tried this: =trim(Connections: & " " & [connections]) but it tells me I've entered an operand without an operator. I need the correct syntax, and also need to know if I'm right that if the connections field is empty, it will not put anything, including the Connections: or is there some other solution? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From accessd at shaw.ca Fri Jun 13 02:29:22 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 00:29:22 -0700 Subject: [AccessD] VB6: Using the Webbrowser control to view files-Thumbnail view? In-Reply-To: <63340-22003651325234874@christopherhawkins.com> Message-ID: Hi Christopher: Yes there is: Option Explicit Public 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 Const SW_SHOWNORMAL = 1 Private Sub frmButton01_Click() Call ShellExecute(0&, "Open", _ "explorer.exe", "/e,/n,c:\", _ 0&, SW_SHOWNORMAL) End Sub Something like this would work. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Thursday, June 12, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files-Thumbnail view? OK, let me ask this, then: Is there a way to embed Windows Explorer into a VB form? -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to view files -Thumbnail view? Date: Thu, 12 Jun 2003 19:37:11 -0700 >Hi Christopher: > >In order for the process to work you will need two copies of the >picture, >one the thumbnail and one the full-size version. They could he named >like >'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable to >force a >image to a specific size on a web page. Too much process and a poor >quality >images. Check out the tag for html coding. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:05 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] VB6: Using the Webbrowser control to view files - >Thumbnail view? > > >So here's my dilemma. > >I have a form that is displaying data from a database. > >My client wants to see a thumnail of all the images that are related >to the record being viewed - the images are stored in a folder with >the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but I need to >see a thumbnail view, not a list view. > >I can right-click in the control and select View > Thumbnail, but my >client wants the images to appear in thumbnail view without his users >having to do anything. > >I am thus far unable to find a property of the WebBrowser control >that would allow this, and Google has failed me. Does anyone have >any ideas? > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Fri Jun 13 02:45:10 2003 From: lists at theopg.com (Mark H) Date: Fri, 13 Jun 2003 08:45:10 +0100 Subject: [AccessD] Access Data Retrieval In-Reply-To: <657FB70438B7D311AF320090279C1801026D7A4A@EXCHMAIL> Message-ID: <002b01c3317f$b7f41460$6f8387d9@laptop> And you can always use MSDE which is free with Office... :o) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 12 June 2003 19:42 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Fri Jun 13 01:53:27 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 13 Jun 2003 16:53:27 +1000 Subject: [AccessD] BEU Updater References: Message-ID: <000001c33182$75a1e6c0$54dd31d2@OfficePC> Thanks Bryan and Reuben - I've been swamped today - I'll go through this and try again in the next day or so. Kath ----- Original Message ----- From: Reuben Cummings To: accessd at databaseadvisors.com Sent: Friday, June 13, 2003 1:15 AM Subject: RE: [AccessD] BEU Updater Bryan has mentioned the best first step. That is to change the from and to version numbers of the 2nd mod. If the BEU doens't see any mods with a version number greater than the version of the BE then it doesn't do anything. Changing the version numbers will force the BEU to attemp the 2nd mod. Then if it fails look at the error log. Reuben Cummings Director of Software Development GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Thursday, June 12, 2003 7:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] BEU Updater > > > Kath, > > Did you run beuDBAisDBUptodate before you added the second mod? > > If so, you need to increase the version number for the second mod. > > Once the BEU hits the first mod in a version that is marked as > being applied it determines that the upgrade for that version has > already been done. > > If it you tried to do both mods at the same time and it didn't do > the second mods, have a look at the error log in the FE > directory. THat may give you some clues as to why it didn't work. > > Failing all that, if you want, you can send me the error log, the > following two tables: tblDBAModifyDatabase > tblDBAModifyDatabaseMods, and the version number in tblDBAversion > and I'll see what I can see. > > You can send them to bryan_carbonnell at cbc.ca > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> SDSSoftware at Optusnet.com.au 11-Jun-03 7:42:03 PM >>> > Hi everybody - > > I have just started using the BEU tool. I clicked on 'Insert mod' > and added my first modification, which was table, add field. > field = directorname > txt, size 75 to tblx. > > I then clicked on 'new mod' to add the same modification for a > different table, ie. to insert a new field of the same name. > > I made a call to the beuDBAIsDBUpToDate routine and now find that > it only made the first modification, not the second. > > When I go back into frmdbamain it shows the first modification as > applied, but the second not. Now I cannot get that second > modification to happen. When I re trigger the beuDBAIsDBUpToDate > routine it appears to ignore the 2nd mod. > > (I have manually added the field myself to check that the field > name / size etc is Ok and then undone that manual change). > > Since these 2 mods have to go into my production version early > next week, any tips? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 05:08:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 12:08:41 +0200 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <000001c3314c$d20a9410$7f00a8c0@bbb888> References: <000001c3314c$d20a9410$7f00a8c0@bbb888> Message-ID: <6611637053.20030613120841@cactus.dk> Hi Bruce > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way to > delete the redundant rows. You may use an idea I received once from Bill (William) Mitchell for a similar job (is he still with us?). The trick is the use of "Not In" which frees you from locking the main table: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Have fun. /gustav From carbonnb at sympatico.ca Fri Jun 13 05:10:13 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 06:10:13 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: Message-ID: <3EE96AC5.4065.26C282@localhost> On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Connections field. I'm guessing it is done by somehow using the trim > (& not using the label), but can't figure out the exact syntax. I > tried this: =trim(Connections: & " " & [connections]) but it tells me > I've entered an operand without an operator. In the On Format event of the Details section add this code: If Connections = "" then [ConnectionsLabel].visible = false else [ConnectionsLabel].visible = true end if If you try and concatenate "Connections" onto the front of the Connections Field you will most likely end up with something like this for multiple lines: Connections: Bassett, Bennet Bevins, Test of instead of it being lined up like this (which probably won't look right either :) Connections: Bassett, Bennet Bevins, Test of -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. From stuart at lexacorp.com.pg Fri Jun 13 06:30:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jun 2003 21:30:35 +1000 Subject: [AccessD] If-Then in a report In-Reply-To: Message-ID: <3EEA427B.30631.2E93AB3@localhost> On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Thanks again to Stuart, my report is almost exactly what I want (except final lining up etc): > http://altadenabaptist.org/images/Image2.jpg > > Next, I want to know how to make the Connections *label* to only show up if there is content in the field. > Going back to the image that shows the layout: > http://altadenabaptist.org/images/Image1.jpg > you can see how it's set at present. I know how to trim in the content, but not how to make the label appear/disappear. My thoughts are: > If the field called "connections" is not blank, then print Connections followed by a colon and then a space, and then the contents of the Connections field. > I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. > I tried this: > =trim(Connections: & " " & [connections]) > but it tells me I've entered an operand without an operator. > > I need the correct syntax, and also need to know if I'm right that if the connections field is empty, it will not put anything, including the Connections: or is there some other solution? > Looks like Label17 is not tied to the connections field. In that case. in your Detail_format() put: If connections < " " then connections.visible = false label17.visible = false else connections.visible = true label17.visible = true end if or if connections can be null you need if nz(connections,"") < " " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From actebs at actebs.com.au Fri Jun 13 06:52:34 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 21:52:34 +1000 Subject: [AccessD] Where's William Message-ID: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> Gustav, You bring up a good point - "Where is Mr Hindman"??? Is he still active on this list? Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:13:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:13:05 +0200 Subject: [AccessD] Where's William In-Reply-To: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> References: <000501c331a2$4a40f5a0$0c05a8c0@earth.local> Message-ID: <3819100274.20030613141305@cactus.dk> Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still active > on this list? From bbruen at bigpond.com Fri Jun 13 07:21:05 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 22:21:05 +1000 Subject: [AccessD] Eliminating duplicate rows In-Reply-To: <6611637053.20030613120841@cactus.dk> Message-ID: <000b01c331a6$43f9ea90$7f00a8c0@bbb888> Thanks to you all! Gustav ( and Bill!) get the Guernsey as further investigations revealed that we want to keep the last (latest added) record. So by changing First to Max (surrogate PK - but of course! At least I got that right) this is a sweet and elegant way of removing the dups. Susan, I think your method will delete all records that are duplicates. Moral lesson learnt: Carving fixes at 2:00am is not a good idea if you cant even tell the difference between Insert and Update. Thanks to all Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, June 13, 2003 8:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Eliminating duplicate rows Hi Bruce > Due to a (ahem) programming feature, I now have a table with several > thousand rows of which hundreds are redundant. I am loking for a way > to delete the redundant rows. You may use an idea I received once from Bill (William) Mitchell for a similar job (is he still with us?). The trick is the use of "Not In" which frees you from locking the main table: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Have fun. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Fri Jun 13 07:23:31 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 13 Jun 2003 22:23:31 +1000 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <3819100274.20030613141305@cactus.dk> Message-ID: <000c01c331a6$9ab80830$7f00a8c0@bbb888> Which one was(is) the "mad cow chaser"? I miss him. B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, June 13, 2003 10:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still > active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at eunet.yu Fri Jun 13 07:29:03 2003 From: viner at eunet.yu (Ervin Brindza) Date: Fri, 13 Jun 2003 14:29:03 +0200 Subject: [AccessD] TOP n ordered book Message-ID: <001301c331a7$67b63640$0100a8c0@razvoj> Hi, I have a table with 2 columns: BookId BookOrdered 1 10 2 25 1 2 3 50 1 3 and want to get the top e.g. 2 most popular books: BookId BookOrdered 3 50 2 25 Are there any clue? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:38:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:38:05 +0200 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <000c01c331a6$9ab80830$7f00a8c0@bbb888> References: <000c01c331a6$9ab80830$7f00a8c0@bbb888> Message-ID: <9420600742.20030613143805@cactus.dk> Hi Bruce That was Bill Marriott I faintly recall he did sign off. /gustav > Which one was(is) the "mad cow chaser"? I miss him. > B > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, June 13, 2003 10:13 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > Hi Vlad > Well, that's another Bill/William - and he's probably busy trying to > figure out some Active Directory fun stuff which keeps chasing him ... > /gustav >> You bring up a good point - "Where is Mr Hindman"??? Is he still >> active on this list? From jscott at mchsi.com Fri Jun 13 07:42:24 2003 From: jscott at mchsi.com (Jeanine Scott) Date: Fri, 13 Jun 2003 07:42:24 -0500 Subject: [AccessD] TOP n ordered book In-Reply-To: <001301c331a7$67b63640$0100a8c0@razvoj> Message-ID: Try this: Select TOP 2 from tblBooks Order By BookOrdered DESC Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ervin Brindza Sent: Friday, June 13, 2003 7:29 AM To: AccessD at databaseadvisors.com Subject: [AccessD] TOP n ordered book Hi, I have a table with 2 columns: BookId BookOrdered 1 10 2 25 1 2 3 50 1 3 and want to get the top e.g. 2 most popular books: BookId BookOrdered 3 50 2 25 Are there any clue? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Jun 13 07:41:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jun 2003 14:41:58 +0200 Subject: [AccessD] TOP n ordered book In-Reply-To: <001301c331a7$67b63640$0100a8c0@razvoj> References: <001301c331a7$67b63640$0100a8c0@razvoj> Message-ID: <4320833857.20030613144158@cactus.dk> Hi Ervin Yes! Look up: "Selecting Nth Max or Min from a table" in the archive at 2003-05-01. /gustav > I have a table with 2 columns: > > BookId BookOrdered > 1 10 > 2 25 > 1 2 > 3 50 > 1 3 > > and want to get the top e.g. 2 most popular books: > BookId BookOrdered > > 3 50 > 2 25 > > Are there any clue? From actebs at actebs.com.au Fri Jun 13 08:17:27 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 23:17:27 +1000 Subject: [AccessD] Where's William In-Reply-To: <3819100274.20030613141305@cactus.dk> Message-ID: <002601c331ae$2305d080$0c05a8c0@earth.local> Gustav, Hmmm, Active Directory...Excitement city....NOT!!! I feel for the guy... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 13 June 2003 10:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Hi Vlad Well, that's another Bill/William - and he's probably busy trying to figure out some Active Directory fun stuff which keeps chasing him ... /gustav > You bring up a good point - "Where is Mr Hindman"??? Is he still > active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 13 08:19:56 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 13 Jun 2003 23:19:56 +1000 Subject: OT: RE: [AccessD] Where's William In-Reply-To: <9420600742.20030613143805@cactus.dk> Message-ID: <002701c331ae$7eca17f0$0c05a8c0@earth.local> Yeah, I remember him - nice bloke. Wasn't he mucking around with a Cow tracking DB or something years ago? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 13 June 2003 10:38 PM To: accessd at databaseadvisors.com Subject: Re: OT: RE: [AccessD] Where's William Hi Bruce That was Bill Marriott I faintly recall he did sign off. /gustav > Which one was(is) the "mad cow chaser"? I miss him. > B > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Friday, June 13, 2003 10:13 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > Hi Vlad > Well, that's another Bill/William - and he's probably busy trying to > figure out some Active Directory fun stuff which keeps chasing him ... > /gustav >> You bring up a good point - "Where is Mr Hindman"??? Is he still >> active on this list? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Jun 13 09:06:22 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 08:06:22 -0600 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Message-ID: <91070-22003651314622313@christopherhawkins.com> Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From harkins at iglou.com Fri Jun 13 09:23:57 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 10:23:57 -0400 Subject: [AccessD] Eliminating duplicate rows References: <000b01c331a6$43f9ea90$7f00a8c0@bbb888> Message-ID: <003f01c331b7$9d484040$fae6ffcc@SusanOne> > > Susan, I think your method will delete all records that are duplicates. ============You mean both records? Could be -- I didn't actually try it and it's been a while since I used the wizard for duplicates so I couldn't remember the SQL it used. Too bad -- would be an easy solution if it worked. Susan H. From harkins at iglou.com Fri Jun 13 09:25:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 10:25:09 -0400 Subject: [AccessD] Where's William References: <002601c331ae$2305d080$0c05a8c0@earth.local> Message-ID: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the guy... From delliker at hotmail.com Fri Jun 13 09:43:53 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 13 Jun 2003 10:43:53 -0400 Subject: [AccessD] Phun with Excel / automation Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Jun 13 09:48:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 09:48:58 -0500 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thu mbnail view? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4C@main2.marlow.com> Just an off the wall suggestion. Why not build either a custom form or web page, that does what you are trying to do? It would probably be easier then trying to modify something that's out there already. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 13, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scotttgage at yahoo.com Fri Jun 13 09:52:54 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Fri, 13 Jun 2003 07:52:54 -0700 (PDT) Subject: [AccessD] Syntex help In-Reply-To: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Message-ID: <20030613145254.19629.qmail@web10412.mail.yahoo.com> I need some help with a piece of VB code in Access. My Db has records that I need to e-mail to seven users. I built a tbl to house these addresses and want to dim a Var to = the right record and field in this tbl. dim mailoh as string mailoh = ????????????? mailoh = Mail.Admin_mail:=1 [didn't work] DoCmd.TransferText acExportFixed, "Send", "Send", Pathname MyItem.Subject = "Lab100 results" MyItem.Body = "Blah, Blah, Blah" MyItem.To = mailoh (where "mailoh" is equal to tblMail. strStateMail.Record # 1) MyItem.Attachments.Add Pathname MyItem.Send Do I have to tie this tbl to a form and use the GoToRecord Action? ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From cfoust at infostatsystems.com Fri Jun 13 10:47:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 08:47:30 -0700 Subject: [AccessD] If-Then in a report Message-ID: label17.visible = len(Me.Connections & "")>0 Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, June 13, 2003 3:31 AM To: Kathryn Bassett; accessd at databaseadvisors.com Subject: Re: [AccessD] If-Then in a report On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > Thanks again to Stuart, my report is almost exactly what I want > (except final lining up etc): > http://altadenabaptist.org/images/Image2.jpg > > Next, I want to know how to make the Connections *label* to only show > up if there is content in the field. Going back to the image that > shows the layout: http://altadenabaptist.org/images/Image1.jpg > you can see how it's set at present. I know how to trim in the > content, but not how to make the label appear/disappear. My thoughts > are: If the field called "connections" is not blank, then print > Connections followed by a colon and then a space, and then the > contents of the Connections field. I'm guessing it is done by somehow using the trim (& not using the label), but can't figure out the exact syntax. I tried this: > =trim(Connections: & " " & [connections]) > but it tells me I've entered an operand without an operator. > > I need the correct syntax, and also need to know if I'm right that if > the connections field is empty, it will not put anything, including > the Connections: or is there some other solution? > Looks like Label17 is not tied to the connections field. In that case. in your Detail_format() put: If connections < " " then connections.visible = false label17.visible = false else connections.visible = true label17.visible = true end if or if connections can be null you need if nz(connections,"") < " " -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 13 10:48:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 08:48:27 -0700 Subject: [AccessD] Access Data Retrieval Message-ID: Oh, yeah, and try restoring a backup in it. Charlotte Foust -----Original Message----- From: Mark H [mailto:lists at theopg.com] Sent: Thursday, June 12, 2003 11:45 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval And you can always use MSDE which is free with Office... :o) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 12 June 2003 19:42 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Yes, but if you are the SQL developer, you should be able to backup/restore. Also, if the FE is an ADP, how much easier is it to reconnect your FE to your BE compared to the linked table manager in Access (especially if you are linking to more than one db in Access) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, June 12, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Now, Arthur. Restoring a SQL database is not *quite* as straightforward as a file copy, and it requires someone who can DO it from SQL Server. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, June 12, 2003 4:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval Your statement contains several specious arguments, but I'll concentrate on just one: "The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....)" Nothing to it. I do it almost every day. Back up the SQL database, copy the .BAK file to a CD, bring it home, restore the database. One tiny step more complicated than a straight file copy. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: June 11, 2003 6:11 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval Oh, BRING EM ON!!!! First of all, Access is a superb database system. Actually, JET is, Access is a superb RAD. JET is a client side database. SQL Server is a Server side database. There are distinct differences. A client side database shifts the processing to the local computers (where you usually have lots of available processing time), server side relies on that one machine to do all of the processing. The advantages of a server side db, are that you can set triggers (data driven events....since only one machine is reading/writing to the database, it is that much easier to have that machine allow for 'traps' when certain things are read or written too. Also, server side databases send mostly data through the network lines, so network traffic is lower, usually, with a server side db. Finally, a server side database keeps transaction logs, so when a failure occurs, it can bring the database back up, by going through it's transaction logs. Disadvantages of a server side database are complexity, and price. If Joe Schmoe wants to create a database to track the time he spends on the phone, he is going to find it a little over his head to set that up with a SQL Server...not too mention the access rights he would need in order to do anything in the first place. Also, the pricing on a Server side database is three fold. You have the software, the licenses per user/connection, then the hardware to support it all. On a client side database, it is run off of a file server, which is supporting all of your non-database files too, so it isn't a dedicated machine, not in respect to a database. The advantages of a client side database are that it's cheaper, easier to develop, more portable (you can copy an .mdb to CD, bring it home, and open it...try doing that with a SQL server....) and you don't need a machine dedicated just to that db. Disadvantages, no triggers, no transaction logs, and more importantly, you are dealing with a file size limitation (in Access 97 1 gig). Now, when deciding what to use for database development, do three things. First, ignore costs initially, money shouldn't get in the way of deciding the system requirements. Second, determine how much data is going to be stored/added into the system. If your database isn't going to exceed an Access db's limit, that is a big plus for Access. You can certainly dump a lot of data into an access database, but the maintenance level needs to be looked at. Dumping 500 megs a day into a database is going to cause a nightmare with Access. Even on a Server side db, you'll run out of space pretty fast, but you can compensate with more drive space. Third, determine the reliability of the system. Access is extremely reliable. However, if you are talking about a system where 1 lost bit of information is going to cost millions, then SQL would be the better choice. Do not look at reliability in respect to downtime, because both can be down just as long. The only reliability issue between a client side and server side db, is then the moment the power goes down, you are going to lose everything going into either. However, depending on the timing with a client side, you may lose some information sent right before, where as the transaction logs on a server side will bring you back up to the moment of failure. Those two factors should determine what you go with(size and reliability). Nothing else. Money shouldn't be involved because SQL is more expensive, however, if it is necessary, then it is a necessary expense. Access is cheaper, but building an application in Access, for something that needs to run in SQL is just wasting money. Network traffic isn't an issue either. Access can be made to run as a pseudo server db. Simply put the db on a web server, and interact through the IIS server. Web based FE's are lighter and very flexible. Feel free to send this to your IT fellows....I'll even give you my number if they want to call and talk...I'm an IT fellow too...and nothing aggravates me more then an unfounded accusation. (The two big problems that cause the 'Access sucks' myth in IT Departments is that IT guys want bigger and faster machines (so the slight reliability advantage comes up.... and IT Departments want to control the stuff within their realm (they are going to get calls on it, so they need to support it), and since Access is really controlled by the develops (and users if developers don't lock their stuff down), it leaves the IT department in a VERY open position.). Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 1:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access Data Retrieval I don't know how much traffic. All they will tell me is that the network usage "spikes" and I don't know what questions to ask to find out more. What I'm concerned with is when we move to SQL that it will still be a problem because "access sucks" - their viewpoint - not mine. I'm working as a consultant for a Fortune 500 company which has it's own extremely large internal IT department as well as consultants from other companies and it's like pulling teeth to get any kind of information. I have a lot of experience in designing relational databases and believe it or not (considering my questions to this list) a fair amount of experience with vba (thanks in a large part to this list!) but very little experience on how data transfers work or the infrastructure of the network and such. So, any information you all can give me is extremely helpful! Jeanine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 11, 2003 1:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Access Data Retrieval First, the VBer's are wrong. You are actually going to pull the index for the Autonumber field across the network. It is then going to pull the chunk it needs for actual tables. How much traffic are you actually seeing? Drew -----Original Message----- From: Jeanine Scott [mailto:jscott at mchsi.com] Sent: Wednesday, June 11, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access Data Retrieval I need something explained to me - this just doesn't make any sense to me but I've had quite a few hard core vb developer's swear that the following scenario is how Access retrieves data. Scenario: FE on client BE on Server tblLoans has 100,000 records with 3 fields tblLoans UniqueID - AutoNumber LoanNo (indexed) LastName (indexed) You bind a form to a specified recordset such as "Select * from tblLoans where UniqueID = 1" or "Select * from tblLoans where LoanNo = 101" What I have been told is that when Access goes to the server it brings ALL the records 100,000 records back to the client and then applies criteria to find out which record you actually asked for. So, in effect you are returning 100,000 rows of data back to the client even though you may have only asked for 1. Is this correct? If it is why is this the case and how in the world can I ever justify using Access as a development tool to a hard core VB'r?? If it isn't correct how can I explain in the exact scenario above the fact that the LAN tests show mega tons (ok -technical term there...) of data being passed back to the client when this form is called? I'm understanding that SQL will work the same way? Thank you so much! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 13 11:23:13 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 02:23:13 +1000 Subject: [AccessD] Where's William In-Reply-To: <004001c331b7$9e2f6bf0$fae6ffcc@SusanOne> Message-ID: <003601c331c8$194a5d30$0c05a8c0@earth.local> Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Fri Jun 13 11:27:58 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Fri, 13 Jun 2003 09:27:58 -0700 Subject: [AccessD] Where the heck can I get good quality Icons??? References: <806536912C472E4A9D6515DF2E57261E0C5B46@mercury.tnco-inc.com> <001001c3311f$4ca90b80$37f66e51@martinreid> Message-ID: <00af01c331c8$c0ad9f10$fd512304@amd2k> My favorite Icon creation utility is Happy Icon check it out here.. http://www.logipole.com/ Why do I like it so much? cuz I can take anything (pictures) images, drawings, whatever, printscreen to bmp or whatever and make it an ICON. I highly recommend it, plus it creates all sorts of icons including the ability of creating cursors and animated cursors (if that's your bag). Features include icon sets that are fully compatible w/ Winodws XP -Francisco http://rcm.netfirms.com/ On Thursday, June 12, 2003 1:14 PM [GMT -8], Martin Reid wrote: : http://www.aha-soft.com/iconxp/index.htm : : You could always haev a go at creating your own. : : Martin : : : ----- Original Message ----- : From: "Joe Rojas" : To: : Sent: Thursday, June 12, 2003 8:49 PM : Subject: [AccessD] Where the heck can I get good quality Icons??? : : :: Am I the only one who has ever looked for an Icon solution?!?! :: :: I have spent way too long trying to find a really nice, Windows XP :: style, icon collection! :: :: I have gone to hundreds of websites only to find crappy, old, 2D :: looking, 16 color icons. This is very annoying! :: I finally came across :: http://design.iconfactory.com/pages/winicon/winicon.html. These guys :: make icons that are exactly the style I am looking for. After :: inquiring about their services they replied with telling me not only :: that they could not take on anymore projects at this time but that :: they charge hundreds of dollars per icon!! :: :: Does anyone on this list know of a website that makes icons similar :: to what can be found on the link above and doesn't charge an arm and :: a leg for them? :: :: Thanks, :: Joe R. :: :: :: :: :: This electronic transmission is strictly confidential to TNCO, Inc. :: and intended solely for the addressee. It may contain information :: which is covered by legal, professional, or other privileges. If you :: are not the intended addressee, or someone authorized by the :: intended addressee to receive transmissions on behalf of the :: addressee, you must not retain, disclose in any form, copy, or take :: any action in reliance on this transmission. If you have received :: this transmission in error, please notify the sender as soon as :: possible and destroy this message. While TNCO, Inc. uses virus :: protection, the recipient should check this email and any :: attachments for the presence of viruses. TNCO, Inc. accepts no :: liability for any damage caused by any virus transmitted by this :: email. _______________________________________________ :: AccessD mailing list :: AccessD at databaseadvisors.com :: http://databaseadvisors.com/mailman/listinfo/accessd :: Website: http://www.databaseadvisors.com :: : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 11:33:19 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 12:33:19 -0400 Subject: [AccessD] Where's William Message-ID: Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Jun 13 11:51:43 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 13 Jun 2003 12:51:43 -0400 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000901c331cc$152ac600$e43b0cd8@hargrove.internal> Let's not start a war over this one...take it offline, please... Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 12:33 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 13 13:09:49 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 13 Jun 2003 14:09:49 -0400 Subject: [AccessD] Where's William Message-ID: An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Fri Jun 13 13:30:57 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Jun 2003 19:30:57 +0100 Subject: [AccessD] OT Friday Humour In-Reply-To: Message-ID: <006101c331d9$eee42820$b274d0d5@andypc> Just back from hols so nothing useful to contribute but thought I'd share this before the week-end. For non-UK dwellers Delia is a homely TV chef (think Martha Stewart but without the insider trading). ------------------------------------------------------------------------ ---- Do you inhabit the Delia Smith world or the real one? A test for you. Delia's Way 1: Stuff a miniature marshmallow in the bottom of a sugar cone to prevent ice cream drips. The Real Women's Way : Just suck the ice cream out of the bottom of the cone, for Heaven's sake! You are probably lying on the couch with your feet up eating it anyway. Delia's Way 2: To keep potatoes from budding, place an apple in the bag with the potatoes. The Real Women's Way : Buy Smash mashed potato mix and keep it in the pantry for up to a year. Delia's Way 3 : When a cake recipe calls for flouring the baking tin, use a bit of the dry cake mix instead and there won't be any white mess on the outside of the cake. The Real Women's Way : Tesco's sell cakes. They even do decorated versions. Delia's Way 4 : If you accidentally over-salt a dish while it's still cooking, drop in a potato slice. The Real Women's Way : If you over salt a dish while you are cooking, that's too bad. Recite with me the Real Women's Motto: "I made it and you will eat it and like it." Delia's Way 5 : Wrap celery in aluminium foil when putting in the refrigerator and it will keep for weeks. The Real Women's Way : It could keep forever. Who eats celery? Delia's Way 6 : Brush some beaten egg white over piecrust before baking to yield beautiful glossy finish. The Real Women's Way : Sainsbury's frozen pie directions do not include brushing any egg white over the crust so I don't do that. Delia's Way 7 : Cure for headaches: Take a lime, cut it in half and rub it on your forehead. The throbbing will go away. The Real Women's Way : Cure for headaches: Take a lime, cut it in half and drop it in 8 ounces of tequila. Drink the tequila. You might still have the headache, but you won't notice. Delia's Way 8 : If you have a problem opening jars, try using latex dishwashing gloves. They give a non-slip grip that makes opening jars easy. The Real Women's Way : What's the point of blokes then? And finally the most important tip - Delia's Way 9 : Freeze leftover wine into ice cubes for future use in casseroles and sauces. The Real Women's Way : Leftover wine???? Hello!!!!! Andy Lacey http://www.minstersystems.co.uk From Mark.Mitsules at ngc.com Fri Jun 13 14:26:11 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:26:11 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark From mikedorism at ntelos.net Fri Jun 13 14:33:37 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 13 Jun 2003 15:33:37 -0400 Subject: [AccessD] OT: Software Recommendations In-Reply-To: Message-ID: <000c01c331e2$b38343c0$85360cd8@hargrove.internal> Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 14:33:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:33:51 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Jun 13 14:37:59 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 13 Jun 2003 14:37:59 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark From MPorter at acsalaska.com Fri Jun 13 14:38:55 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 13 Jun 2003 11:38:55 -0800 Subject: [AccessD] OT: Software Recommendations Message-ID: I use Quicken for personal finances and it has all I've needed, from balancing checkbooks to budgeting. Many online banks will provide transaction files for both quicken and money which can be imported. For business I'd use Quickbooks. I do not (mine is not that complicated), but I know that my Accountant prefers to prepare his business clients taxes directly from their Quickbook files. Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From jim.hale at fleetpride.com Fri Jun 13 14:41:24 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 13 Jun 2003 14:41:24 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <869379ABF177D4118D3100508B5EF8730656BF0D@corp-es00> Quickbooks is great for running a small business. Quicken is directed more toward personal use. Quicken comes in different flavors which can handle just basic checkbook (Quicken basic) on up to investments, tax planning, etc. (Quicken premier). Well worth the money IMHO. Jim Hale -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Fri Jun 13 14:44:38 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:44:38 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Charles, Actually, based on my own research, I had made that same assumption. Thank you for confirming it. Is anyone aware of any user interface issues that would lend weight one way or another? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 13, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 13 14:46:16 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 13 Jun 2003 15:46:16 -0400 Subject: [AccessD] OT: Software Recommendations Message-ID: Thank you Mark. That is an area I had not researched...my banks capabilities. Mark -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Friday, June 13, 2003 3:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations I use Quicken for personal finances and it has all I've needed, from balancing checkbooks to budgeting. Many online banks will provide transaction files for both quicken and money which can be imported. For business I'd use Quickbooks. I do not (mine is not that complicated), but I know that my Accountant prefers to prepare his business clients taxes directly from their Quickbook files. Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 11:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 13 14:48:07 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 13 Jun 2003 12:48:07 -0700 Subject: [AccessD] OT: Software Recommendations Message-ID: I've tried Quicken but hated it. I prefer Money. My son, on the other hand, loves Quicken. You need to look at them hands on and decide what best suits. Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 11:34 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Jun 13 14:52:50 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 13 Jun 2003 14:52:50 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DCB@cpixchng-1.cpiqpc.net> If you do any contract work on the side you might take a look at Quicken Home and Business. I use a version that's a year or two old but it's nice for billing and reporting for the occasional side job that I do, but it also has all the features of a personal finance package to help track your investments, etc... -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Fri Jun 13 15:08:37 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Fri, 13 Jun 2003 16:08:37 -0400 Subject: [AccessD] Generating Body Text in Automated E-mail links In-Reply-To: <06cf01c32f8e$ed067230$0900a8c0@P1200n> Message-ID: Very cool site, and very fast. Love it! Nancy L. nancy.lytle at auatac.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ On Monday, June 09, 2003 20:02 PM, Tortise at Paradise [SMTP:tortise at paradise.net.nz] wrote: > Hi > > In Access I can generate automated e-mails including specifying the bo dy's text > > I have the following on a web page > > E-mail to a friend > > I'd like to specify the body text also, can anyone tell me if one can, and if so how? The logical ?body= added does not seem to > work >> {If this is too off list can the person telling me tell me the list to go to please?!} > > In anticipation many thanks > > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Jun 13 15:12:38 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 13 Jun 2003 15:12:38 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF0278AE5B@PKDWB01C.ad.sprint.com> Mark, I seem to remember an OT thread on this list not so long ago in which several users of Intuit products complained about their intrusive installation control strategy. Don't recall if it was just TurboTax or all their apps, but IIRC it involved some sort of spyware program that was impossible (or very difficult) to remove even after uninstalling the program. That might be a consideration, if it applies to Quicken. Other listers may have a better memory or personal experience that clarifies the question. Don -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 12:45 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Charles, Actually, based on my own research, I had made that same assumption. Thank you for confirming it. Is anyone aware of any user interface issues that would lend weight one way or another? Mark -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, June 13, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Both Quicken and M$ Money work well. Both also work with the two major tax packages TaxCut and TurboTax. Whatever new feature one introduces you can expect to see in the other's next release, so it is mainly a matter of personal preferences. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday 2003 Jun 13 14:26 To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Jun 13 15:11:04 2003 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 13 Jun 2003 16:11:04 -0400 Subject: [AccessD] OT: Software Recommendations In-Reply-To: Message-ID: <008101c331e7$eb0fe640$64aba8c0@ashlandnet.com> I've used Quicken for the last 12 years.....I really like it. I use Quick Books for my business...it does a pretty good job also. Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Software Recommendations Thank you Doris. Have you used any/all of these and do you have a preference? Mark -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, June 13, 2003 3:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Software Recommendations Quickbooks Basic, Microsoft Money, or Quicken if you are just looking to balance your own checkbook or track credit card purchases. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Friday, June 13, 2003 3:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Fri Jun 13 15:53:10 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 14 Jun 2003 08:53:10 +1200 Subject: [AccessD] Generating Body Text in Automated E-mail links References: Message-ID: <006401c331ed$ccc02320$0900a8c0@P1200n> Thank you indeed Nancy. (Blushing grin) And thank you Bob also. Your advice is now implemented. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Nancy Lytle" To: Sent: Saturday, June 14, 2003 8:08 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links Very cool site, and very fast. Love it! Nancy L. nancy.lytle at auatac.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Tuesday, June 10, 2003 4:29 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Generating Body Text in Automated E-mail links Thank you indeed Bob and may I reassure you? The intent is definitely not to generate Spam, I battle it every day now..... It is for a promotional "Mother of All Search Engines" website for users to recommend the site to others. (personal referrals only!). That is why the e-mail address was not included - users enter it themselves. You may check out your contribution at http://www.engines2go.com/! {It is the only search engine I know of that searches multiple search engines and automatically and simultaneously opens multiple web pages. If there are any others I'd be interested to hear} What do you mean a "?" is a delimiter? (Does delimiter mean it is sometimes interpreted to signal end of text or something?) Thank you again. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Automated search engine manager: http://www.engines2go.com/ Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Bob Gajewski" To: Cc: Sent: Wednesday, June 11, 2003 12:42 AM Subject: RE: [AccessD] Generating Body Text in Automated E-mail links David Only the first parameter uses the question mark; all subsequent must use the ampersand. Also, it is MUCH safer to always use %20 instead of a space, due to some programs having problems with parsing. Don't forget to put a recipient email address after the 'mailto:' and substitute the %3F for your question mark, since that is a delimiter. E-mail to a friend Regards, Bob Gajewski PS - I am only reply to this in the hopes that you are not planning to propagate spam, which your link suspiciously looks like ................ {snip} From harkins at iglou.com Fri Jun 13 16:23:09 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 17:23:09 -0400 Subject: [AccessD] Where's William References: <003601c331c8$194a5d30$0c05a8c0@earth.local> Message-ID: <00ea01c331f2$982034c0$3b4afccc@SusanOne> Well geez.... I said Crap because someone mentioned William was working with it and I had not posted the link, which might have been helpful to him. I can't believe I even have to explain it. :( Susan H. > Susan, > > Hmmm, crap...great response. A lot of thought went into that!!! I was > just passing on what I thought of it with my experience. It wasn't what > I would call enthralling stuff. But that's just me...If you like AD then > great, but because I think it's a bore like most network/security/user > related stuff, I think that's my prerogative...and NOT Crap... > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, 14 June 2003 12:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > > > Crap... I just saw a white paper on this and thought aobut listing the > link and didn't -- I can try to find it again if anybody really needs > it. > > Susan H. > > > > Gustav, > > > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > > guy... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Jun 13 16:23:35 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 13 Jun 2003 17:23:35 -0400 Subject: [AccessD] Where's William References: Message-ID: <00eb01c331f2$98efb9c0$3b4afccc@SusanOne> Thank you -- exactly. Susan H. > Vlad, > > Since I saw no indication otherwise, I'm assuming that you were offended by > Susan's post. This is just my opinion, but I don't think "Crap" was > directed towards your post or the subject, but rather to the fact that Susan > "regrets" not sending the link to the white paper when she first ran across > it. I believe that "crap" was an expletive towards herself...but I could be > wrong ;) From DWUTKA at marlow.com Fri Jun 13 17:20:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 17:20:50 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4D@main2.marlow.com> Ironically, I am building my own. There isn't a heck of a lot to a personal finance package....in fact Excel would do just fine. In my case, I run my own web server, so I am putting my 'budget' online. A lot of what you are paying for are graphics. Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Jun 13 17:21:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 13 Jun 2003 17:21:26 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E4E@main2.marlow.com> Whoops, on my last post, if you are looking for Tax help, that's a different story! Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Friday, June 13, 2003 2:26 PM To: 'AccessD' Subject: [AccessD] OT: Software Recommendations Group, What are your recommendations for a personal finance package (US)? I'm not even sure what questions to ask myself in order to determine my criteria for choosing such a package. Price is not a limiting factor, however the 80/20 rule may very well apply here. I don't necessarily want to pay double the price for only 20% more options unless they are value-added options either in time savings or functionality/interoperability. Although I have read the advertisements and feature lists I was hoping for some "real world" opinions. Thanks for your time, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Fri Jun 13 18:15:49 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 14 Jun 2003 11:15:49 +1200 Subject: [AccessD] A Quickie re XP System Information References: <006401c331ed$ccc02320$0900a8c0@P1200n> Message-ID: <00cc01c33201$baa99d60$0900a8c0@P1200n> Hi I am trying to support a customer with XP. In Windows 2000 one can get a detailed summary of the PC system. {Go .../Accessories/System Information. Save as System Information File...} Can someone with XP tell me if it does the same, and in the same way? In anticipation many thanks and Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From stuart at lexacorp.com.pg Fri Jun 13 19:03:22 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 14 Jun 2003 10:03:22 +1000 Subject: [AccessD] Where the heck can I get good quality Icons??? In-Reply-To: <00af01c331c8$c0ad9f10$fd512304@amd2k> Message-ID: <3EEAF2EA.26557.387CD5@localhost> On 13 Jun 2003 at 9:27, Francisco Tapia wrote: > My favorite Icon creation utility is Happy Icon check it out here.. > > http://www.logipole.com/ > > Why do I like it so much? cuz I can take anything (pictures) images, > drawings, whatever, printscreen to bmp or whatever and make it an ICON. > > I highly recommend it, plus it creates all sorts of icons including the > ability of creating cursors and animated cursors (if that's your bag). > Features include icon sets that are fully compatible w/ Winodws XP > If you got Irfanview, which we've talked about before for simple graphic manipulation, you can also use that to crop/resize photos/logos/drawings etc in almost any format and save them as icons. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Fri Jun 13 19:03:22 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 14 Jun 2003 10:03:22 +1000 Subject: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: <3EEAF2EA.16132.387CFD@localhost> On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > Well, that code will launch Windows Explorer, but I'm tasked with > actually integrating some type of image browser into the app. That's > why I used ther WebBrowser in the first place. > The subject says VB6, so I presume you are doing this in VB, not VBA in an access app. If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From clh at christopherhawkins.com Fri Jun 13 19:26:44 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 18:26:44 -0600 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Message-ID: <410-22003661402644117@christopherhawkins.com> "If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox." I already know how to do that. My problem is that it doesn't allow a thumbnail view - or rather, my problem is that I don't know how to make it display a thumbnail view. I need to display a series of thumbnails in my app. -C- ---- Original Message ---- From: stuart at lexacorp.com.pg To: clh at christopherhawkins.com, accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Date: Sat, 14 Jun 2003 10:03:22 +1000 >On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > >> Well, that code will launch Windows Explorer, but I'm tasked with >> actually integrating some type of image browser into the app. >That's >> why I used ther WebBrowser in the first place. >> > >The subject says VB6, so I presume you are doing this in VB, not VBA >in an access app. > >If that it the case, it should only take five minutes to roll your >own using a DriveListBox, DirListBox, FileListBox and an Image or >PictureBox. > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Fri Jun 13 21:21:16 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 19:21:16 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA427B.30631.2E93AB3@localhost> Message-ID: Well, shoot, I tried suggestions by Stuart, Byran, and Charlotte, and I gues I'm not getting exactly where I'm to put the code. If I'm understanding correctly, it goes in the same area as the Image5.Picture = photo. So, I tried this: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo If connections < " " Then connections.Visible = False Label17.Visible = False Else connections.Visible = True Label17.Visible = True End If End Sub But that didn't make any difference. Connections: still shows up with empty fields. Trying Bryan's code: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo If connections = "" Then [ConnectionsLabel].Visible = False Else [ConnectionsLabel].Visible = True End If End Sub Gives me a debug error [ConnectionsLabel].Visible = True And using Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Image5.Picture = photo Label17.Visible = Len(Me.connections & "") > 0 End Sub won't even compile (yes, I've finally learned enough to remember that step). It's A2k if that makes a difference. I zipped it (about 1mg zipped) and it's at: http://altadenabaptist.org/abc.zip and the report is: PhotoDirectory - Photos Done - Connections I'm guessing that I'm still missing something. Thanks, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 13 Jun 2003 4:31:AM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] If-Then in a report > > > On 12 Jun 2003 at 23:03, Kathryn Bassett wrote: > > > Thanks again to Stuart, my report is almost exactly what I want (except final > lining up etc): > > http://altadenabaptist.org/images/Image2.jpg > > > > Next, I want to know how to make the Connections *label* to only show up if there > is content in the field. > > Going back to the image that shows the layout: > > http://altadenabaptist.org/images/Image1.jpg > > you can see how it's set at present. I know how to trim in the content, but not how > to make the label appear/disappear. My thoughts are: > > If the field called "connections" is not blank, then print Connections followed by > a colon and then a space, and then the contents of the Connections field. > > I'm guessing it is done by somehow using the trim (& not using the label), but > can't figure out the exact syntax. > > I tried this: > > =trim(Connections: & " " & [connections]) > > but it tells me I've entered an operand without an operator. > > > > I need the correct syntax, and also need to know if I'm right that if the > connections field is empty, it will not put anything, including the Connections: or > is there some other solution? > > > Looks like Label17 is not tied to the connections field. In that > case. > > in your Detail_format() put: > > If connections < " " then > connections.visible = false > label17.visible = false > else > connections.visible = true > label17.visible = true > end if > > or if connections can be null you need > if nz(connections,"") < " " > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > From rbgajewski at adelphia.net Fri Jun 13 21:28:52 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 13 Jun 2003 22:28:52 -0400 Subject: [AccessD] A Quickie re XP System Information In-Reply-To: <00cc01c33201$baa99d60$0900a8c0@P1200n> Message-ID: David Programs ..Accessories ....System Tools ......System Information Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tortise at Paradise Sent: Friday, June 13, 2003 19:16 To: accessd at databaseadvisors.com Subject: [AccessD] A Quickie re XP System Information Hi I am trying to support a customer with XP. In Windows 2000 one can get a detailed summary of the PC system. {Go .../Accessories/System Information. Save as System Information File...} Can someone with XP tell me if it does the same, and in the same way? In anticipation many thanks and Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Fri Jun 13 21:44:18 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 22:44:18 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: References: <3EEA427B.30631.2E93AB3@localhost> Message-ID: <3EEA53C2.21249.40C561@localhost> On 13 Jun 2003 at 19:21, Kathryn Bassett wrote: > won't even compile (yes, I've finally learned enough to remember that > step). It's A2k if that makes a difference. I zipped it (about 1mg > zipped) and it's at: http://altadenabaptist.org/abc.zip and the report > is: PhotoDirectory - Photos Done - Connections > > I'm guessing that I'm still missing something. Kathryn, Here is the code you need, it's kind of a combination of all of the suggertions: rivate Sub Detail_Format(Cancel As Integer, FormatCount As Integer) 'Image5.Picture = photo If Nz(connections, "") = "" Then Me.Controls("Label17").Visible = False Me.Controls("connections").Visible = False Else Me.Controls("Label17").Visible = True Me.Controls("connections").Visible = True End If End Sub -- Bryan Carbonnell - carbonnb at sympatico.ca I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams From kathryn at bassett.net Fri Jun 13 22:18:03 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 20:18:03 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA53C2.21249.40C561@localhost> Message-ID: Yeah, almost perfect now. Two really minor quibbles. Here's the image again (I switched the old one, so you may have to refresh): http://altadenabaptist.org/images/Image2.jpg Although I have Connections: in the label, the colon doesn't show up. And for some reason, there is a period on the line right under the C in Connections. Know what causes that? I can live with both, but would like to know what causes these two anomolies. Thanks so much "you guys"! -- 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 Bryan > Carbonnell > Sent: 13 Jun 2003 7:44:PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] If-Then in a report > > > On 13 Jun 2003 at 19:21, Kathryn Bassett wrote: > > > won't even compile (yes, I've finally learned enough to remember that > > step). It's A2k if that makes a difference. I zipped it (about 1mg > > zipped) and it's at: http://altadenabaptist.org/abc.zip and the report > > is: PhotoDirectory - Photos Done - Connections > > > > I'm guessing that I'm still missing something. > > Kathryn, > > Here is the code you need, it's kind of a combination of all of the > suggertions: > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > 'Image5.Picture = photo > If Nz(connections, "") = "" Then > Me.Controls("Label17").Visible = False > Me.Controls("connections").Visible = False > Else > Me.Controls("Label17").Visible = True > Me.Controls("connections").Visible = True > End If > End Sub > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > I love deadlines. I like the whooshing sound they make as they fly > by. - Douglas Adams > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at hotmail.com Fri Jun 13 22:27:01 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 13 Jun 2003 22:27:01 -0500 Subject: [AccessD] OT: Software Recommendations Message-ID: It was TurboTax and Intuit has made an announcement that they wouldn't be using the same method of protection in the future because of the big backlash it caused this year. Still, if they did it once, it is something to consider. I use quicken and have for many years. I don't work it very hard though. Just basic checkibook function. Works just fine. Gary Kjos garykjos at hotmail.com >From: "Mcgillivray, Donald [ITS]" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] OT: Software Recommendations >Date: Fri, 13 Jun 2003 15:12:38 -0500 > >Mark, > >I seem to remember an OT thread on this list not so long ago in which >several users of Intuit products complained about their intrusive >installation control strategy. Don't recall if it was just TurboTax or >all their apps, but IIRC it involved some sort of spyware program that >was impossible (or very difficult) to remove even after uninstalling the >program. That might be a consideration, if it applies to Quicken. >Other listers may have a better memory or personal experience that >clarifies the question. > >Don > > > >-----Original Message----- >From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] >Sent: Friday, June 13, 2003 12:45 PM >To: 'accessd at databaseadvisors.com' >Subject: RE: [AccessD] OT: Software Recommendations > > >Charles, > >Actually, based on my own research, I had made that same assumption. >Thank you for confirming it. Is anyone aware of any user interface >issues that would lend weight one way or another? > > > >Mark > > >-----Original Message----- >From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] >Sent: Friday, June 13, 2003 3:38 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: Software Recommendations > > >Both Quicken and M$ Money work well. Both also work with the two major >tax packages TaxCut and TurboTax. Whatever new feature one introduces >you can expect to see in the other's next release, so it is mainly a >matter of personal preferences. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] >Sent: Friday 2003 Jun 13 14:26 >To: 'AccessD' >Subject: [AccessD] OT: Software Recommendations > >Group, > >What are your recommendations for a personal finance package (US)? I'm >not even sure what questions to ask myself in order to determine my >criteria for choosing such a package. Price is not a limiting factor, >however the 80/20 rule may very well apply here. I don't necessarily >want to pay double the price for only 20% more options unless they are >value-added options either in time savings or >functionality/interoperability. Although I have read the advertisements >and feature lists I was hoping for some "real world" opinions. > > >Thanks for your time, > >Mark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From carbonnb at sympatico.ca Fri Jun 13 22:43:00 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 13 Jun 2003 23:43:00 -0400 Subject: [AccessD] If-Then in a report In-Reply-To: References: <3EEA53C2.21249.40C561@localhost> Message-ID: <3EEA6184.7889.7684B2@localhost> On 13 Jun 2003 at 20:18, Kathryn Bassett wrote: > Yeah, almost perfect now. Two really minor quibbles. > > Here's the image again (I switched the old one, so you may have to > refresh): http://altadenabaptist.org/images/Image2.jpg Although I have > Connections: in the label, the colon doesn't show up. And for some > reason, there is a period on the line right under the C in > Connections. Know what causes that? Yep. Label17 isn't quite wide enough. The colon actually does show up partially. It's the period under the C. If you widen label17 just a smidge, then the colon won't wrap to the next line and show up as a dot. -- Bryan Carbonnell - carbonnb at sympatico.ca Artificial intelligence is no match for natural stupidity. From accessd at shaw.ca Fri Jun 13 22:46:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 20:46:00 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: Christopher, you should explained what result you required, not how to get there; you got exactly what you ask for but not what you needed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 13 22:56:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 20:56:03 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <91070-22003651314622313@christopherhawkins.com> Message-ID: Hi Christopher: If you are going to bringing images into an application from various remote sites I can send you some html code that is the FE to this process. There are a variety of BE options to subsequently managing the received image. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 7:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public 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 Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Fri Jun 13 22:58:56 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 13 Jun 2003 20:58:56 -0700 Subject: [AccessD] If-Then in a report In-Reply-To: <3EEA6184.7889.7684B2@localhost> Message-ID: Duh! Why didn't I think of that. You are right, of course; that did the trick. Thanks, -- 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 Bryan > Carbonnell > Sent: 13 Jun 2003 8:43:PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] If-Then in a report > > > On 13 Jun 2003 at 20:18, Kathryn Bassett wrote: > > > Yeah, almost perfect now. Two really minor quibbles. > > > > Here's the image again (I switched the old one, so you may have to > > refresh): http://altadenabaptist.org/images/Image2.jpg Although I have > > Connections: in the label, the colon doesn't show up. And for some > > reason, there is a period on the line right under the C in > > Connections. Know what causes that? > > Yep. Label17 isn't quite wide enough. > > The colon actually does show up partially. It's the period under the > C. > > If you widen label17 just a smidge, then the colon won't wrap to the > next line and show up as a dot. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Artificial intelligence is no match for natural stupidity. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Jun 13 23:06:09 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 13 Jun 2003 21:06:09 -0700 Subject: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? In-Reply-To: <410-22003661402644117@christopherhawkins.com> Message-ID: Hi Christopher: You first have to make the thumbnails from you current full size pictures. To do that you have to have a graphic tool or product. The commercial varieties are endles, Illustrator, Photoshop, ImageReady, PaintShop, Fireworks, Painter etc... They all have fuctions in them which will allow you to create thumbnails in mass. HTH Jim PS There are a group of freebies out there but I have done no research on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, June 13, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? "If that it the case, it should only take five minutes to roll your own using a DriveListBox, DirListBox, FileListBox and an Image or PictureBox." I already know how to do that. My problem is that it doesn't allow a thumbnail view - or rather, my problem is that I don't know how to make it display a thumbnail view. I need to display a series of thumbnails in my app. -C- ---- Original Message ---- From: stuart at lexacorp.com.pg To: clh at christopherhawkins.com, accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control toviewfiles-Thumbnail view? Date: Sat, 14 Jun 2003 10:03:22 +1000 >On 13 Jun 2003 at 8:06, Christopher Hawkins wrote: > >> Well, that code will launch Windows Explorer, but I'm tasked with >> actually integrating some type of image browser into the app. >That's >> why I used ther WebBrowser in the first place. >> > >The subject says VB6, so I presume you are doing this in VB, not VBA >in an access app. > >If that it the case, it should only take five minutes to roll your >own using a DriveListBox, DirListBox, FileListBox and an Image or >PictureBox. > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Sat Jun 14 00:13:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 23:13:56 -0600 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Message-ID: <62090-22003661451356854@christopherhawkins.com> I did explain the outcome I was after. >From my original message: "My client *wants to see a thumbnail* of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but *I need to see a thumbnail view*, not a list view. I can right-click in the control and select View > Thumbnail, but *my client wants the images to appear in thumbnail view* without his users having to do anything." The question is hereby withdrawn. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 20:46:00 -0700 >Christopher, you should explained what result you required, not how >to get >there; you got exactly what you ask for but not what you needed. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, June 13, 2003 7:06 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control >toviewfiles-Thumbnail view? > > >Well, that code will launch Windows Explorer, but I'm tasked with >actually integrating some type of image browser into the app. That's >why I used ther WebBrowser in the first place. > >Good idea, though. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to >viewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 00:29:22 -0700 > >>Hi Christopher: >> >>Yes there is: >> >>Option Explicit >> >>Public 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 Const SW_SHOWNORMAL = 1 >> >> >>Private Sub frmButton01_Click() >> >> Call ShellExecute(0&, "Open", _ >> "explorer.exe", "/e,/n,c:\", _ >> 0&, SW_SHOWNORMAL) >> >>End Sub >> >>Something like this would work. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:53 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files-Thumbnail view? >> >> >>OK, let me ask this, then: >> >>Is there a way to embed Windows Explorer into a VB form? >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files -Thumbnail view? >>Date: Thu, 12 Jun 2003 19:37:11 -0700 >> >>>Hi Christopher: >>> >>>In order for the process to work you will need two copies of the >>>picture, >>>one the thumbnail and one the full-size version. They could he >>named >>>like >>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>to >>>force a >>>image to a specific size on a web page. Too much process and a poor >>>quality >>>images. Check out the tag for html coding. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>Christopher >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:05 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >- >>>Thumbnail view? >>> >>> >>>So here's my dilemma. >>> >>>I have a form that is displaying data from a database. >>> >>>My client wants to see a thumnail of all the images that are >related >>>to the record being viewed - the images are stored in a folder with >>>the same name as the record ID, so finding them is easy. >>> >>>I dropped a Webbrowser control on the form, fed it the appropriate >>>path, and BAM! I'm looking at a list of files. Close, but I need >>to >>>see a thumbnail view, not a list view. >>> >>>I can right-click in the control and select View > Thumbnail, but >my >>>client wants the images to appear in thumbnail view without his >>users >>>having to do anything. >>> >>>I am thus far unable to find a property of the WebBrowser control >>>that would allow this, and Google has failed me. Does anyone have >>>any ideas? >>> >>>-Christopher- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Sat Jun 14 00:13:56 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 13 Jun 2003 23:13:56 -0600 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Message-ID: <62090-22003661451356854@christopherhawkins.com> I did explain the outcome I was after. >From my original message: "My client *wants to see a thumbnail* of all the images that are related to the record being viewed - the images are stored in a folder with the same name as the record ID, so finding them is easy. I dropped a Webbrowser control on the form, fed it the appropriate path, and BAM! I'm looking at a list of files. Close, but *I need to see a thumbnail view*, not a list view. I can right-click in the control and select View > Thumbnail, but *my client wants the images to appear in thumbnail view* without his users having to do anything." The question is hereby withdrawn. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 20:46:00 -0700 >Christopher, you should explained what result you required, not how >to get >there; you got exactly what you ask for but not what you needed. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, June 13, 2003 7:06 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control >toviewfiles-Thumbnail view? > > >Well, that code will launch Windows Explorer, but I'm tasked with >actually integrating some type of image browser into the app. That's >why I used ther WebBrowser in the first place. > >Good idea, though. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to >viewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 00:29:22 -0700 > >>Hi Christopher: >> >>Yes there is: >> >>Option Explicit >> >>Public 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 Const SW_SHOWNORMAL = 1 >> >> >>Private Sub frmButton01_Click() >> >> Call ShellExecute(0&, "Open", _ >> "explorer.exe", "/e,/n,c:\", _ >> 0&, SW_SHOWNORMAL) >> >>End Sub >> >>Something like this would work. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:53 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files-Thumbnail view? >> >> >>OK, let me ask this, then: >> >>Is there a way to embed Windows Explorer into a VB form? >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>files -Thumbnail view? >>Date: Thu, 12 Jun 2003 19:37:11 -0700 >> >>>Hi Christopher: >>> >>>In order for the process to work you will need two copies of the >>>picture, >>>one the thumbnail and one the full-size version. They could he >>named >>>like >>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>to >>>force a >>>image to a specific size on a web page. Too much process and a poor >>>quality >>>images. Check out the tag for html coding. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>Christopher >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:05 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >- >>>Thumbnail view? >>> >>> >>>So here's my dilemma. >>> >>>I have a form that is displaying data from a database. >>> >>>My client wants to see a thumnail of all the images that are >related >>>to the record being viewed - the images are stored in a folder with >>>the same name as the record ID, so finding them is easy. >>> >>>I dropped a Webbrowser control on the form, fed it the appropriate >>>path, and BAM! I'm looking at a list of files. Close, but I need >>to >>>see a thumbnail view, not a list view. >>> >>>I can right-click in the control and select View > Thumbnail, but >my >>>client wants the images to appear in thumbnail view without his >>users >>>having to do anything. >>> >>>I am thus far unable to find a property of the WebBrowser control >>>that would allow this, and Google has failed me. Does anyone have >>>any ideas? >>> >>>-Christopher- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:00:01 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:00:01 +1000 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000d01c3324a$f8344650$0c05a8c0@earth.local> Mark, Yes, I did take offence, thinking Susan was indicating that my comment on AD was codswallop. I must say at this juncture that it was about 2am and I had been finishing an app for a client to meet a deadline for Monday, so I was in kind of a fragile mind set and would have jumped at any perceived comment at that point in the sleep deprived haze that I have been under for the past 2 weeks... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Saturday, 14 June 2003 2:33 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:08:06 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:08:06 +1000 Subject: [AccessD] Where's William In-Reply-To: <00eb01c331f2$98efb9c0$3b4afccc@SusanOne> Message-ID: <000e01c3324c$18dbff00$0c05a8c0@earth.local> Sorry. I must re-iterate the sleep deprived haze. Susan, it goes to show how different a reaction can be depending on the persons current mind set. Hmmm, perhaps mine wasn't where it should have been... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 7:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Thank you -- exactly. Susan H. > Vlad, > > Since I saw no indication otherwise, I'm assuming that you were > offended by > Susan's post. This is just my opinion, but I don't think "Crap" was > directed towards your post or the subject, but rather to the fact that Susan > "regrets" not sending the link to the white paper when she first ran across > it. I believe that "crap" was an expletive towards herself...but I > could be > wrong ;) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Jun 14 03:00:01 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 14 Jun 2003 18:00:01 +1000 Subject: [AccessD] Where's William In-Reply-To: Message-ID: <000d01c3324a$f8344650$0c05a8c0@earth.local> Mark, Yes, I did take offence, thinking Susan was indicating that my comment on AD was codswallop. I must say at this juncture that it was about 2am and I had been finishing an app for a client to meet a deadline for Monday, so I was in kind of a fragile mind set and would have jumped at any perceived comment at that point in the sleep deprived haze that I have been under for the past 2 weeks... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark Sent: Saturday, 14 June 2003 2:33 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Where's William Vlad, Since I saw no indication otherwise, I'm assuming that you were offended by Susan's post. This is just my opinion, but I don't think "Crap" was directed towards your post or the subject, but rather to the fact that Susan "regrets" not sending the link to the white paper when she first ran across it. I believe that "crap" was an expletive towards herself...but I could be wrong ;) Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, June 13, 2003 12:23 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Where's William Susan, Hmmm, crap...great response. A lot of thought went into that!!! I was just passing on what I thought of it with my experience. It wasn't what I would call enthralling stuff. But that's just me...If you like AD then great, but because I think it's a bore like most network/security/user related stuff, I think that's my prerogative...and NOT Crap... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 14 June 2003 12:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William Crap... I just saw a white paper on this and thought aobut listing the link and didn't -- I can try to find it again if anybody really needs it. Susan H. > Gustav, > > Hmmm, Active Directory...Excitement city....NOT!!! I feel for the > guy... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 14 11:54:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 14 Jun 2003 12:54:22 -0400 Subject: [AccessD] Where's William References: <000e01c3324c$18dbff00$0c05a8c0@earth.local> Message-ID: <008f01c33297$fa1d98c0$164afccc@SusanOne> And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on the > persons current mind set. Hmmm, perhaps mine wasn't where it should have > been... From artful at rogers.com Sat Jun 14 14:35:11 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 14 Jun 2003 15:35:11 -0400 Subject: [AccessD] Where's William In-Reply-To: <008f01c33297$fa1d98c0$164afccc@SusanOne> Message-ID: <000c01c332ac$1230fd30$8e01a8c0@Rock> My guess is that William stepped into the .NET well and it will be a week or three before he resurfaces :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 14, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on > the persons current mind set. Hmmm, perhaps mine wasn't where it > should have been... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Jun 14 16:05:15 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 14 Jun 2003 14:05:15 -0700 Subject: [AccessD] OT: Late Friday humour In-Reply-To: <000c01c332ac$1230fd30$8e01a8c0@Rock> Message-ID: NO ARCHIVE Just got this joke from a friend and had to share it before I forgot about it: A Housework Moment This one is cute........ One day, my "housework-challenged" husband decided to wash his msweatshirt. Seconds after he stepped into the laundry room, he shouted to me, "Honey, what setting do I use on the washing machine?" "It depends," I replied. "What does it say on your shirt?" He yelled back, "Vancouver Canucks". And they say blondes are dumb...... Have a good day. Jim From martyconnelly at shaw.ca Sun Jun 15 00:13:29 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 22:13:29 -0700 Subject: [AccessD] Phun with Excel / automation References: <3EE9394C.2010405@shaw.ca> Message-ID: <3EEC0079.6070903@shaw.ca> Here is another way to import or export excel worksheets to and fro from Access using ADO only Lite on error checking.You will have to check for various tables, sheets and files existance. I was suprised you could write these types of SQL strings, but they work. 'sample call 'ExportSpreadSheet "c:\excel\excelrankfunction.mdb","c:\excel\products.xls","BooksXLS","Books" Sub ExportSpreadSheet(strAccessFile As String, strExcelFile As String, _ strAccessTable As String, strSheetName As String) 'Export Access table into named Excel worksheet 'needs ADO reference, using ADO 2.7 'Will not work if .xls file open or .xls file does not exist Dim cnSrc As New ADODB.Connection Dim num_copied As Long Dim strSQL As String cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" strSQL = "SELECT * INTO [Excel 8.0;" & _ "Database=" & strExcelFile & "].[" & strSheetName & "] FROM " & _ strAccessTable Debug.Print strSQL cnSrc.Execute strSQL, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Sub 'sample call 'ImportSpreadSheet "c:\excel\excelrankfunction.mdb","c:\excel\products.xls","BooksXLS","Books" Sub ImportSpreadSheet(strAccessFile As String, strExcelFile As String, _ strAccessTable As String, strSheetName As String) 'Import named Excel worksheet into Access table 'needs ADO reference, using ADO 2.7 ' Access table must not exist Dim cnSrc As New ADODB.Connection Dim num_copied As Long Dim strSQL cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" strSQL = "SELECT * INTO " & strAccessTable & " From [Excel 8.0;" & _ "Database=" & strExcelFile & "].[" & strSheetName & "]" Debug.Print strSQL cnSrc.Execute strSQL, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Sub MartyConnelly wrote: > You can get at it this way using ADO 2.7 with something like this > > Dim oConn As New ADODB.Connection > Dim Ors As ADODB.Recordset > Dim c as long > Set Ors = New ADODB.Recordset > > With oConn > .Provider = "Microsoft.Jet.OLEDB.4.0" > .Properties("Extended Properties").Value = "Excel 8.0" > .Open "C:\Excel\ExcelADO\results\Products.xls" > .CursorLocation = adUseClient 'need otherwise recordcount=-1 > '.... > Ors.Open "Select * from [Products]", oConn, adOpenStatic 'Sheet1$ or > Products sheetname > > For c = 0 To Ors.RecordCount - 1 > 'the field order of columns does not always follow the sheet order > Debug.Print Ors.Fields(0).Value; Ors.Fields(0).Name > Debug.Print Ors.Fields(1).Value > Ors.MoveNext > 'just stuff these values in a table > Next > End With > oConn.Close > > ------------------ or look at the schema of the sheet for sheet names > and field names and types > > Dim oConn As New ADODB.Connection > Dim rst As New ADODB.Recordset > Dim intTblCnt As Integer, intTblFlds As Integer > Dim strTbl As String > Dim rstSch As ADODB.Recordset > Dim rsC As ADODB.Recordset > Dim Ors As ADODB.Recordset > Dim intColCnt As Integer, intColFlds As Integer > Dim strCol As String > Dim t As Integer, c As Integer, f As Integer > > With oConn > .Provider = "Microsoft.Jet.OLEDB.4.0" > .Properties("Extended Properties").Value = "Excel 8.0" > .Open "C:\Excel\ExcelADO\results\Products.xls" > .CursorLocation = adUseClient 'need otherwise recordcount=-1 > '.... > 'Me.cmbSheetCombo.RowSource = rst > Set rstSch = oConn.OpenSchema(adSchemaTables) > intTblCnt = rstSch.RecordCount > intTblFlds = rstSch.Fields.Count > MsgBox intTblCnt & "*?" & intTblFlds > 'List1.AddItem "Tables: " & intTblCnt > 'List1.AddItem "--------------------" > Dim strList As String > strList = "" > For t = 1 To intTblCnt > strTbl = rstSch.Fields("TABLE_NAME").Value > Debug.Print vbTab & "Table #" & t & ": " & strTbl > Debug.Print vbTab & "--------------------" > MsgBox strTbl > strList = strList & strTbl & ";" > For f = 0 To intTblFlds - 1 > Debug.Print vbTab & rstSch.Fields(f).Name & _ > vbTab & rstSch.Fields(f).Value > Next > ' List1.AddItem "--------------------" > Set rsC = oConn.OpenSchema(adSchemaColumns, Array(Empty, Empty, > strTbl, Empty)) > intColCnt = rsC.RecordCount > intColFlds = rsC.Fields.Count > For c = 1 To intColCnt > strCol = rsC.Fields("COLUMN_NAME").Value > Debug.Print vbTab & vbTab & "Column #" & c & ": " & strCol > Debug.Print vbTab & vbTab & "--------------------" > For f = 0 To intColFlds - 1 > ' Debug.Print vbTab & vbTab & rsC.Fields(f).Name & _ > ' vbTab & rsC.Fields(f).Value > Next > 'List1.AddItem vbTab & vbTab & "--------------------" > rsC.MoveNext > Next > rsC.Close > 'List1.AddItem "--------------------" > Next > > End With > oConn.Close > > > Don Elliker wrote: > >> Then I am back to the "There is no object in this control" error >> reported earlier. This comes up when attempting to import using the >> wizard....I just AM screwed am I not? Well , I have the no-help desk >> personnel coming for a visit later >> _D >> >> >> >> >> "Things are only free to the extent that you don't pay for them".-Don >> Elliker >> >> >Once the Import Spreadsheet Wizard starts you should see two radio >> button >> >(Show Worksheets and Show Named Ranges). Make sure the Show >> Worksheets >one is checked and then you should see a list of the >> worksheets within >your file. Then just select the one you want to >> import and keep answering >the wizard's questions. Repeat the process >> for each worksheet to import. > > > > >"Don Elliker" >Sent by: >> accessd-bounces at databaseadvisors.com >06/12/2003 10:46 AM >Please >> respond to accessd > > > To: accessd at databaseadvisors.com > cc: > >> Subject: [AccessD] Phun with Excel / automation > > >Folks, >I am >> trying to import ,on a one time basis , the data from an excel >> >workbook into Access XP. I can't use the 'import data' option, it >> only >gets me the first worksheet (or am I doing it wrong?). I can >> get to the >workbook in code easily enough but there seems no easy >> way to get the >individual worksheets imported into separate tables. >> I tried using the >'transferspreadsheet' docmd thingie, but it gets >> hung up on the file name. >I cannot just reference the worksheet >> object- it doesn't like that. I >thought it was working out too >> easily...#-( - Sooo...does anyone have >this experience...this is a >> one-off I just want the data in tables. >"Things are only free to the >> extent that you don't pay for them".-Don >Elliker > >Add photos to >> your e-mail with MSN 8. Get 2 months >> 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 >> >> ------------------------------------------------------------------------ >> MSN 8 helps ELIMINATE E-MAIL VIRUSES. >> Get 2 months 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 > From martyconnelly at shaw.ca Sun Jun 15 00:35:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 22:35:11 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC058F.5090208@shaw.ca> Don't know how to fix but all these are available including conversion from various types under VB.Net Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sun Jun 15 01:49:12 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 23:49:12 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC16E8.8040305@shaw.ca> Here is an excerpt from Larry Linsons document on Images in Access There is documentation in a word file and Sample Access programs http://members.tripod.com/accdevel/imaging.htm ----------------- Image Controls Access version 7.0 (Access 95) and later versions, include a new Control for displaying images: the Image Control. A limited set of image file formats stored in their native file format, external to Access, can be displayed in the Image Control. The number of file formats supported can be significantly increased by installing the graphics filters provided with any version of Microsoft Office or with a standalone installation of Microsoft Word. These filters are not included with the standalone Microsoft Access product, and they are not installed by default. Youll need to choose the Custom Install and specifically select them. If you are distributing your Access application with the Office Developer Edition runtime, you are not allowed to distribute the graphics filters  each user must have a license to the software that includes them and have installed them separately. ------------------- Maybe you can find some code that might work using the LoadImage API function here http://www.vb-helper.com/whats_new.html. Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > > > From martyconnelly at shaw.ca Sun Jun 15 01:51:43 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 14 Jun 2003 23:51:43 -0700 Subject: [AccessD] Canot display .jpg in Access image control? References: <410-22003641218719218@christopherhawkins.com> Message-ID: <3EEC177F.2030402@shaw.ca> Found something else on Tony Toews site. http://www.granite.ab.ca/access/imagehandling.htm Christopher Hawkins wrote: >I know this is a "known issue" with Access. I also know that I have >to "install the jpg decompression filter" in order to fix it. >However, I have no clue as to where I can find this filter and how to >install it. > >Has anyone ever fixed this issue before? Heeeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From actebs at actebs.com.au Sun Jun 15 02:48:52 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 17:48:52 +1000 Subject: [AccessD] AXP Can't Make MDE File Message-ID: <000a01c33312$939ca390$0c05a8c0@earth.local> Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Sun Jun 15 02:54:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 15 Jun 2003 08:54:19 +0100 Subject: [AccessD] AXP Can't Make MDE File References: <000a01c33312$939ca390$0c05a8c0@earth.local> Message-ID: <001a01c33313$555fe910$37f66e51@martinreid> MessageIs it a 2000 file format db Martin ----- Original Message ----- From: ACTEBS To: access group Sent: Sunday, June 15, 2003 8:48 AM Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sun Jun 15 02:57:26 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 17:57:26 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <001a01c33313$555fe910$37f66e51@martinreid> Message-ID: <001901c33313$c5b11d60$0c05a8c0@earth.local> Martin, Yes, but I convert it to AXP before creating the MDE. Do you think you know the problem? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Sunday, 15 June 2003 5:54 PM To: accessd Subject: Re: [AccessD] AXP Can't Make MDE File Is it a 2000 file format db Martin ----- Original Message ----- From: ACTEBS To: access group Sent: Sunday, June 15, 2003 8:48 AM Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Sun Jun 15 06:17:58 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 15 Jun 2003 07:17:58 -0400 Subject: [AccessD] Access to NET conversion tool Message-ID: <003101c3332f$c68e2630$8e01a8c0@Rock> MicroTools US has an Access to NET conversion tool for $249, with a free 60-day trial download. I just downloaded it so can't yet comment on its quality, but since there is considerabe interest in .NET technology, here's the URL to the info and download: http://doc.advisor.com/Articles.nsf/nl/12367 MicroTools provides versions for VB.NET and C#/J#. Arthur From jimdettman at earthlink.net Sun Jun 15 07:20:24 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 15 Jun 2003 08:20:24 -0400 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <000a01c33312$939ca390$0c05a8c0@earth.local> Message-ID: MessageVlad, Does this database have a large number of objects? Access has an internal tableID limit of 2048. Often you bump into this when creating a MDE file. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Sunday, June 15, 2003 3:49 AM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Sun Jun 15 07:38:12 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 15 Jun 2003 22:38:12 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: Message-ID: <000501c3333a$fe4b66e0$0c05a8c0@earth.local> Jim, No, it's about an average small app. About 20-30 forms - No linked tables, no macros, 6-7 modules and No reports. The reports are held externally... Do you have any idea? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, 15 June 2003 10:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Can't Make MDE File Vlad, Does this database have a large number of objects? Access has an internal tableID limit of 2048. Often you bump into this when creating a MDE file. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Sunday, June 15, 2003 3:49 AM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Sun Jun 15 11:09:03 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sun, 15 Jun 2003 10:09:03 -0600 Subject: [AccessD] AXP Can't Make MDE File Message-ID: In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ From martyconnelly at shaw.ca Sun Jun 15 12:10:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 15 Jun 2003 10:10:57 -0700 Subject: [AccessD] AXP Can't Make MDE File References: <001901c33313$c5b11d60$0c05a8c0@earth.local> Message-ID: <3EECA8A1.9020309@shaw.ca> Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > From Susan.Klos at fldoe.org Sun Jun 15 13:06:51 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 15 Jun 2003 14:06:51 -0400 Subject: [AccessD] Format a field in a query for proper case Message-ID: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. From sgoodhall at comcast.net Sun Jun 15 13:40:34 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sun, 15 Jun 2003 14:40:34 -0400 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: I ran this through my test bed and it works. SELECT StrConv([Table1]![T1Text],3) AS Expr1 FROM Table1; Table1 contents T1ID T1Text 1 ALL UPPER 2 all lower 3 Already Proper 4 iNVERSE cASE Query Output Expr1 All Upper All Lower Already Proper Inverse Case Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 15, 2003 2:07 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Format a field in a query for proper case I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Jun 15 13:42:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 15 Jun 2003 20:42:59 +0200 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> References: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <9747149477.20030615204259@cactus.dk> Hi Susan StrConv() can do this at a basic level. /gustav > I guess the subject tells it all. I have a query that contains school names > which are almost all upper case. I would like to set them to proper case in > the query. From stuart at lexacorp.com.pg Sun Jun 15 17:42:20 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 16 Jun 2003 08:42:20 +1000 Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <3EED82EC.30189.11A063@localhost> On 15 Jun 2003 at 14:06, Klos, Susan wrote: > I guess the subject tells it all. I have a query that contains school names > which are almost all upper case. I would like to set them to proper case in > the query. As Gustav said strConv() can do it on a basic level. It is however a bit limited in what it regards as delimiters (it doesn't handle names like O'Connor or brackets etc. Here's the one I use which you you modify to define your own delimiters, just put them in the "whitespace" string: Function Propercase(words As String) As String Dim loopcount As Long Dim whitespace As String Dim newword As Boolean Dim strChar As String whitespace = " .,:-;([{}])`'" & Chr$(34) strlowers = "abcdefghijklmnopqrstuvwxyz" words = LCase$(words) newword = True For loopcount = 1 To Len(words) strChar = Mid$(words, loopcount, 1) If newword And InStr(strlowers, strChar) > 0 Then Mid$(words, loopcount, 1) = Chr$(Asc(strChar) - 32) End If If InStr(whitespace, strChar) > 0 Then newword = True Else newword = False End If Next Propercase = words End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From scotttgage at yahoo.com Sun Jun 15 17:54:27 2003 From: scotttgage at yahoo.com (Scott Gage) Date: Sun, 15 Jun 2003 15:54:27 -0700 (PDT) Subject: [AccessD] Format a field in a query for proper case In-Reply-To: <8213C1F49875D61195DA0002A5412A0301407007@mail.doe.state.fl.us> Message-ID: <20030615225427.85151.qmail@web10406.mail.yahoo.com> I ran a separate update query on the tbl just before I export it. UCase([Last_Na]) on the Last_Na field. ===== -------------------- Scott T. Gage Scott.gage at promedica.org 419.291-7177 __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From Susan.Klos at fldoe.org Sun Jun 15 18:36:55 2003 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Sun, 15 Jun 2003 19:36:55 -0400 Subject: [AccessD] Format a field in a query for proper case Message-ID: <8213C1F49875D61195DA0002A5412A0301407008@mail.doe.state.fl.us> That worked great. Thanks. -----Original Message----- From: Steve Goodhall [mailto:sgoodhall at comcast.net] Sent: Sunday, June 15, 2003 2:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Format a field in a query for proper case I ran this through my test bed and it works. SELECT StrConv([Table1]![T1Text],3) AS Expr1 FROM Table1; Table1 contents T1ID T1Text 1 ALL UPPER 2 all lower 3 Already Proper 4 iNVERSE cASE Query Output Expr1 All Upper All Lower Already Proper Inverse Case Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Klos, Susan Sent: Sunday, June 15, 2003 2:07 PM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Format a field in a query for proper case I guess the subject tells it all. I have a query that contains school names which are almost all upper case. I would like to set them to proper case in the query. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:01:40 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:01:40 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: Message-ID: <000601c333bb$fdd65950$0c05a8c0@earth.local> Henry, I wasn't aware of that thanks, but I made the relevant changes and still no go any other ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Henry Simpson Sent: Monday, 16 June 2003 2:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:06:27 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:06:27 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <3EECA8A1.9020309@shaw.ca> Message-ID: <000701c333bc$abf53d30$0c05a8c0@earth.local> Martin, Yep, runs with the /runtime switch. Any other ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, 16 June 2003 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AXP Can't Make MDE File Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Jun 15 23:28:16 2003 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 16 Jun 2003 14:28:16 +1000 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <3EECA8A1.9020309@shaw.ca> Message-ID: <000801c333bf$b83e5a10$0c05a8c0@earth.local> Does anyone want to have a look at the app for me? I'll email it to you to see whether you can recreate the problem... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, 16 June 2003 3:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AXP Can't Make MDE File Will the mdb file run from a shortcut with the /runtime command line argument? It emulates the runtime. ACTEBS wrote: > Martin, > > Yes, but I convert it to AXP before creating the MDE. Do you think you > know the problem? > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: Sunday, 15 June 2003 5:54 PM > To: accessd > Subject: Re: [AccessD] AXP Can't Make MDE File > > Is it a 2000 file format db > > Martin > > ----- Original Message ----- > From: ACTEBS > To: access group > Sent: Sunday, June 15, 2003 8:48 AM > Subject: [AccessD] AXP Can't Make MDE File > > Hi Guys, > > I have encountered an unusual problem in that AXP refuses to > create an MDE file of the application. I have done all of the > following and nothing seems to rectify the problem: > > a) Compiled the app - No errors > b) Decompiled the app - No errors > c) Imported into a new app - No errors > d) Checked all the references - No MISSING references > > Is there anything else I can check. The app runs fine and no > errors are present anywhere...MS Access just returns a msgbox > saying "Microsoft Access can't create the mde file." That's > it! No help option just OK....Hmmm, well handled by MS I must > say... > > Any ideas where I should go to from here? > > Regards > Vlad > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Sun Jun 15 23:39:15 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Mon, 16 Jun 2003 14:39:15 +1000 Subject: [AccessD] Sending raw HTML to a browser control Message-ID: <000401c333c1$46f9da30$7f00a8c0@bbb888> Hi List, More from the HTML front.... Does anyone know how to send raw HTML, held in a form recordset field to a browser control embedded in the form. That is, for those following this saga, the yewser has downloaded the page and saved the HTML in the table. Now when they open the form with the browser control, they want the stored page to be displayed (grrrrr!). (Why, because the actual web pages are updated daily and they want to be able to refer to the pricing page that was active when they made the decision. i.e. the page that we have now stored for them.) I have tried MSDN, the web in general, and several books. All of which superbly (now that I understand it thanks to list members) explain how to Navigate to a web page, but none explain what to do with the HRML if you've already got it. If all else fails I will write the damn thing out to a file and load it using Navigate "file://..." but I dislike the inelegancy of that approach - and the level of housekeeping that will be necessary. Any ideas? Tia Bruce From stuart at lexacorp.com.pg Sun Jun 15 23:45:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 16 Jun 2003 14:45:37 +1000 Subject: [AccessD] Sending raw HTML to a browser control In-Reply-To: <000401c333c1$46f9da30$7f00a8c0@bbb888> Message-ID: <3EEDD811.31508.15E3784@localhost> On 16 Jun 2003 at 14:39, Bruce Bruen wrote: > > If all else fails I will write the damn thing out to a file and load it > using Navigate "file://..." but I dislike the inelegancy of that > approach - and the level of housekeeping that will be necessary. > Inelegant maybe, but no real housekeeping if you write the page out to a standard temporary file every time they want to see it and delete the temporary file when the form with the browser control is closed. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From pcs at azizaz.com Mon Jun 16 01:06:23 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 16 Jun 2003 16:06:23 +1000 Subject: [AccessD] AXP Can't Make MDE File References: <000801c333bf$b83e5a10$0c05a8c0@earth.local> Message-ID: <03bb01c333cd$6b150dc0$be0e90cb@prosys.local> Vlad, Happy to give it a go.... I have a box with A97 and AXP on WinXP Regards Borge Hansen ----- Original Message ----- From: "ACTEBS" To: Sent: Monday, June 16, 2003 2:28 PM Subject: RE: [AccessD] AXP Can't Make MDE File > Does anyone want to have a look at the app for me? I'll email it to you > to see whether you can recreate the problem... > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Monday, 16 June 2003 3:11 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] AXP Can't Make MDE File > > > Will the mdb file run from a shortcut with the /runtime command line > argument? It emulates the runtime. > > ACTEBS wrote: > > > Martin, > > > > Yes, but I convert it to AXP before creating the MDE. Do you think you > > know the problem? > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > Reid > > Sent: Sunday, 15 June 2003 5:54 PM > > To: accessd > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > Is it a 2000 file format db > > > > Martin > > > > ----- Original Message ----- > > From: ACTEBS > > To: access group > > Sent: Sunday, June 15, 2003 8:48 AM > > Subject: [AccessD] AXP Can't Make MDE File > > > > Hi Guys, > > > > I have encountered an unusual problem in that AXP refuses to > > create an MDE file of the application. I have done all of the > > following and nothing seems to rectify the problem: > > > > a) Compiled the app - No errors > > b) Decompiled the app - No errors > > c) Imported into a new app - No errors > > d) Checked all the references - No MISSING references > > > > Is there anything else I can check. The app runs fine and no > > errors are present anywhere...MS Access just returns a msgbox > > saying "Microsoft Access can't create the mde file." That's > > it! No help option just OK....Hmmm, well handled by MS I must > > say... > > > > Any ideas where I should go to from here? > > > > Regards > > Vlad > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Jun 16 08:18:44 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 16 Jun 2003 23:18:44 +1000 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 References: <000701c333bc$abf53d30$0c05a8c0@earth.local> Message-ID: <03f501c33409$d1b891f0$be0e90cb@prosys.local> We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen From roz.clarke at donnslaw.co.uk Mon Jun 16 08:42:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 16 Jun 2003 14:42:25 +0100 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 Message-ID: <61F915314798D311A2F800A0C9C83188047C5ED2@dibble.observatory.donnslaw.co.uk> Is there any reason you can't make it numeric? -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: 16 June 2003 14:19 To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 16 08:43:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 16 Jun 2003 08:43:40 -0500 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 Message-ID: Alphabetic data sorts alphabetically, not numerically. If you want it to sort as if it is numeric, then insert a zero (0) in front of all the values less than ten (10). Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday 2003 Jun 16 08:19 To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen From JHewson at karta.com Mon Jun 16 08:55:20 2003 From: JHewson at karta.com (Jim Hewson) Date: Mon, 16 Jun 2003 08:55:20 -0500 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294C21@NT04> In your querydef use the Val() function. Sort Asc both on Val(Field) then the field. Your query will sort by the value of the field to the second decimal point. Then it will sort the rest. HTH Jim -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday, June 16, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Jun 16 09:07:50 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 16 Jun 2003 16:07:50 +0200 Subject: [AccessD] AXP Can't Make MDE File Message-ID: <104AB6116A2DD511A7580008C7097A982198C2@AARDBEI> I Had this once.... A corrupt vba form module was the problem, due to this unsolved problem with VBa6.dll when using A2K and AXP on same pc. Decompiling/compiling does no resolve the prob. You need to find wich module is corrupt. Only one way to find out. Doubleclick on every form and ohter modules and classes to see the code. If you see the code, than OK If corrupt, you get an error. Then you have to recreate the app. Make a new DB, import everithing EXCEPT the form/module/class that is in error. Recreate the missing form manualy. You can write a function that opens up all modules one by one. I seen it before but I dont have the code at first sight. I blieve its pretty easy to do. Erwin -----Oorspronkelijk bericht----- Van: Henry Simpson [mailto:hsimpson88 at hotmail.com] Verzonden: zondag 15 juni 2003 18:09 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Mon Jun 16 09:47:58 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 16 Jun 2003 09:47:58 -0500 Subject: [AccessD] AXP Can't Make MDE File In-Reply-To: <104AB6116A2DD511A7580008C7097A982198C2@AARDBEI> Message-ID: I've had this happen as Erwin describes, too. But just to make sure: have you checked if the MDE failure occurs on a brand new database? It would be good to rule out the possibility of an Access level problem rather than an app level problem. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, June 16, 2003 9:08 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] AXP Can't Make MDE File I Had this once.... A corrupt vba form module was the problem, due to this unsolved problem with VBa6.dll when using A2K and AXP on same pc. Decompiling/compiling does no resolve the prob. You need to find wich module is corrupt. Only one way to find out. Doubleclick on every form and ohter modules and classes to see the code. If you see the code, than OK If corrupt, you get an error. Then you have to recreate the app. Make a new DB, import everithing EXCEPT the form/module/class that is in error. Recreate the missing form manualy. You can write a function that opens up all modules one by one. I seen it before but I dont have the code at first sight. I blieve its pretty easy to do. Erwin -----Oorspronkelijk bericht----- Van: Henry Simpson [mailto:hsimpson88 at hotmail.com] Verzonden: zondag 15 juni 2003 18:09 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] AXP Can't Make MDE File In the old days Access 97 used to choke without error making mde files when there were too many consecutive line continuations in any module. The max may be higher but I've always limited it to 9 and the problem never recurred. If this is the issue, wonder why they add new features but don't fix known bugs that carry over from year to year. Hen >Hi Guys, > >I have encountered an unusual problem in that AXP refuses to create an >MDE file of the application. I have done all of the following and >nothing seems to rectify the problem: > >a) Compiled the app - No errors >b) Decompiled the app - No errors >c) Imported into a new app - No errors >d) Checked all the references - No MISSING references > >Is there anything else I can check. The app runs fine and no errors are >present anywhere...MS Access just returns a msgbox saying "Microsoft >Access can't create the mde file." That's it! No help option just >OK....Hmmm, well handled by MS I must say... > >Any ideas where I should go to from here? > >Regards >Vlad _________________________________________________________________ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 10:18:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 08:18:49 -0700 Subject: [AccessD] AXP Can't Make MDE File Message-ID: You can only create an MDE in AXP if the file is in 2002 format. If you're trying to work with a 2000 format file, it won't work. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Saturday, June 14, 2003 11:49 PM To: access group Subject: [AccessD] AXP Can't Make MDE File Hi Guys, I have encountered an unusual problem in that AXP refuses to create an MDE file of the application. I have done all of the following and nothing seems to rectify the problem: a) Compiled the app - No errors b) Decompiled the app - No errors c) Imported into a new app - No errors d) Checked all the references - No MISSING references Is there anything else I can check. The app runs fine and no errors are present anywhere...MS Access just returns a msgbox saying "Microsoft Access can't create the mde file." That's it! No help option just OK....Hmmm, well handled by MS I must say... Any ideas where I should go to from here? Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Mon Jun 16 11:59:21 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Mon, 16 Jun 2003 09:59:21 -0700 Subject: [AccessD] Slow Monday? Message-ID: <023301c33428$a1e6f5b0$fd512304@amd2k> NO ARCHIVE I've only received a few messages today... just tesing... -Francisco http://rcm.netfirms.com/ From mwp.reid at qub.ac.uk Mon Jun 16 13:35:10 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Jun 2003 19:35:10 +0100 Subject: [AccessD] AXP Can't Make MDE File References: <000801c333bf$b83e5a10$0c05a8c0@earth.local> <03bb01c333cd$6b150dc0$be0e90cb@prosys.local> Message-ID: <007401c33436$05a95e50$37f66e51@martinreid> Zip it up and send it over. I will look at it this week Martin ----- Original Message ----- From: "Borge Steen Hansen" To: "accessd" Sent: Monday, June 16, 2003 7:06 AM Subject: Re: [AccessD] AXP Can't Make MDE File > Vlad, > Happy to give it a go.... > > I have a box with A97 and AXP on WinXP > > Regards > Borge Hansen > > > ----- Original Message ----- > From: "ACTEBS" > To: > Sent: Monday, June 16, 2003 2:28 PM > Subject: RE: [AccessD] AXP Can't Make MDE File > > > > Does anyone want to have a look at the app for me? I'll email it to you > > to see whether you can recreate the problem... > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > > Sent: Monday, 16 June 2003 3:11 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > > > Will the mdb file run from a shortcut with the /runtime command line > > argument? It emulates the runtime. > > > > ACTEBS wrote: > > > > > Martin, > > > > > > Yes, but I convert it to AXP before creating the MDE. Do you think you > > > know the problem? > > > > > > Vlad > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > > Reid > > > Sent: Sunday, 15 June 2003 5:54 PM > > > To: accessd > > > Subject: Re: [AccessD] AXP Can't Make MDE File > > > > > > Is it a 2000 file format db > > > > > > Martin > > > > > > ----- Original Message ----- > > > From: ACTEBS > > > To: access group > > > Sent: Sunday, June 15, 2003 8:48 AM > > > Subject: [AccessD] AXP Can't Make MDE File > > > > > > Hi Guys, > > > > > > I have encountered an unusual problem in that AXP refuses to > > > create an MDE file of the application. I have done all of the > > > following and nothing seems to rectify the problem: > > > > > > a) Compiled the app - No errors > > > b) Decompiled the app - No errors > > > c) Imported into a new app - No errors > > > d) Checked all the references - No MISSING references > > > > > > Is there anything else I can check. The app runs fine and no > > > errors are present anywhere...MS Access just returns a msgbox > > > saying "Microsoft Access can't create the mde file." That's > > > it! No help option just OK....Hmmm, well handled by MS I must > > > say... > > > > > > Any ideas where I should go to from here? > > > > > > Regards > > > Vlad > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From PBudge at cbsol.com Mon Jun 16 14:56:51 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon, 16 Jun 2003 14:56:51 -0500 Subject: [AccessD] Where's William Message-ID: Hey! Good news! I got an email from William today and he says he's fine and will be back to the list soon. Although, I've no idea what "soon" means to a guy living in Florida - I hear they like to move slower in the south - all that overheated airborne water you know. ;-))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "Arthur Fuller" To: Sent by: cc: accessd-bounces at databasea Subject: RE: [AccessD] Where's William dvisors.com 06/14/2003 02:35 PM Please respond to accessd My guess is that William stepped into the .NET well and it will be a week or three before he resurfaces :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 14, 2003 12:54 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where's William And you think mine's where it's supposed to be at any given time of the day. Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) Susan H. > Sorry. I must re-iterate the sleep deprived haze. > > Susan, it goes to show how different a reaction can be depending on > the persons current mind set. Hmmm, perhaps mine wasn't where it > should have been... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Jun 16 15:11:52 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Jun 2003 21:11:52 +0100 Subject: [AccessD] Where's William References: Message-ID: <004101c33443$874efde0$37f66e51@martinreid> Glad to here it. Would u ask him to give me a shout Pamela. Martin ----- Original Message ----- From: To: Sent: Monday, June 16, 2003 8:56 PM Subject: RE: [AccessD] Where's William > > Hey! Good news! I got an email from William today and he says he's fine > and will be back to the list soon. > > Although, I've no idea what "soon" means to a guy living in Florida - I > hear they like to move slower in the south - all that overheated airborne > water you know. ;-))))) > > > Pamela G. Budge > PBudge at cbsol.com > Creative Business Solutions > > > > "Arthur Fuller" > To: > Sent by: cc: > accessd-bounces at databasea Subject: RE: [AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > > My guess is that William stepped into the .NET well and it will be a week > or > three before he resurfaces :-) > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: June 14, 2003 12:54 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Where's William > > > And you think mine's where it's supposed to be at any given time of the > day. > Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > > Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 hotmail.com Mon Jun 16 15:24:48 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 16 Jun 2003 15:24:48 -0500 Subject: [AccessD] Where's William Message-ID: Thanks for the William update Pamela. Gary Kjos garykjos at hotmail.com >From: PBudge at cbsol.com >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where's William >Date: Mon, 16 Jun 2003 14:56:51 -0500 > > >Hey! Good news! I got an email from William today and he says he's fine >and will be back to the list soon. > >Although, I've no idea what "soon" means to a guy living in Florida - I >hear they like to move slower in the south - all that overheated airborne >water you know. ;-))))) > > >Pamela G. Budge >PBudge at cbsol.com >Creative Business Solutions > > > > "Arthur Fuller" > To: > > Sent by: cc: > accessd-bounces at databasea Subject: RE: >[AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > >My guess is that William stepped into the .NET well and it will be a week >or >three before he resurfaces :-) > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: June 14, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where's William > > >And you think mine's where it's supposed to be at any given time of the >day. >Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > >Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From jeffrey.demulling at usbank.com Mon Jun 16 15:38:09 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 16 Jun 2003 15:38:09 -0500 Subject: [AccessD] Using Animated GIF file on a form Message-ID: Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Mon Jun 16 15:44:17 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 16 Jun 2003 15:44:17 -0500 Subject: [AccessD] Using Animated GIF file on a form Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7EB@TAPPEEXCH01> The quick 'n' dirty method is to embed an internet control on your form, and set the path to your .GIF as it's address. There are also several VB samples on planet-source-code.com, that could possibly be modified to suit your Access needs. -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Monday, June 16, 2003 3:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Using Animated GIF file on a form Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Mon Jun 16 15:44:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 13:44:28 -0700 Subject: [AccessD] Using Animated GIF file on a form Message-ID: As far as I know, you would have to break the ani into its component images, put each of them on the form and use a timer to show them sequentially. Charlotte Foust -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Monday, June 16, 2003 12:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Using Animated GIF file on a form Is there a way to use an animated GIF file on a form? Thanks in advance for any comments, suggestions, etc. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 16 15:49:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 16:49:46 -0400 Subject: [AccessD] OpenArgs question Message-ID: <002c01c33448$d4979760$d0e6ffcc@SusanOne> This should be an easy one. The following event procedure opens a report and passes the list box' value as th OpenArgs setting. Private Sub lstCategories_DblClick(Cancel As Integer) Dim str As String str = Chr(34) & Me.lstCategories.Value & Chr(34) Debug.Print str DoCmd.OpenReport ReportName:="Catalog", _ View:=acViewPreview, _ OpenArgs:=str End Sub Problem is, I can't get the report to recognize it -- in any report event. Reports!reportname.OpenArgs Me.OpenArgs rpt.OpenArgs I've tried all three in most of the report's events after opening it via the form and the setting isn't making it to the form. Any clue what I'm doing wrong? Susan H. From PBudge at cbsol.com Mon Jun 16 16:03:52 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Mon, 16 Jun 2003 16:03:52 -0500 Subject: [AccessD]OT Where's William Message-ID: Oh, after the Where's William thread started (excuse me while I have a where's Waldo moment. . . lol), I gave him a shout (all caps!) and told him to let somebody know he was ok or I was gonna send out a search and rescue party . . . ;-))))))))))))))))) Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "Gary Kjos" To: accessd at databaseadvisors.com Sent by: cc: accessd-bounces at databasea Subject: RE: [AccessD] Where's William dvisors.com 06/16/2003 03:24 PM Please respond to accessd Thanks for the William update Pamela. Gary Kjos garykjos at hotmail.com >From: PBudge at cbsol.com >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Where's William >Date: Mon, 16 Jun 2003 14:56:51 -0500 > > >Hey! Good news! I got an email from William today and he says he's fine >and will be back to the list soon. > >Although, I've no idea what "soon" means to a guy living in Florida - I >hear they like to move slower in the south - all that overheated airborne >water you know. ;-))))) > > >Pamela G. Budge >PBudge at cbsol.com >Creative Business Solutions > > > > "Arthur Fuller" > To: > > Sent by: cc: > accessd-bounces at databasea Subject: RE: >[AccessD] Where's William > dvisors.com > > > 06/14/2003 02:35 PM > Please respond to accessd > > > > > > >My guess is that William stepped into the .NET well and it will be a week >or >three before he resurfaces :-) > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >Sent: June 14, 2003 12:54 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Where's William > > >And you think mine's where it's supposed to be at any given time of the >day. >Hardly... ;) I avoid it if at all possible -- that's why I'm so poor! ;) > >Susan H. > > > > Sorry. I must re-iterate the sleep deprived haze. > > > > Susan, it goes to show how different a reaction can be depending on > > the persons current mind set. Hmmm, perhaps mine wasn't where it > > should have been... > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Mon Jun 16 16:07:05 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 16 Jun 2003 17:07:05 -0400 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226D2C@main2.marlow.com> Message-ID: <3EEE3179.9030602@torchlake.com> Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >Drew > > > From Lambert.Heenan at AIG.com Mon Jun 16 16:08:29 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 16 Jun 2003 17:08:29 -0400 Subject: [AccessD] OpenArgs question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389792F@xlivmbx12.aig.com> Reports don't have an OpenArgs property, and there is as a result no OpenArgs parameter for the OpenReport method. OpenReport does however have a "wherecondition" parameter and that's the one you want to use. It's a standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Monday, June 16, 2003 4:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > This should be an easy one. The following event procedure opens a report > and > passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it via > the > form and the setting isn't making it to the form. Any clue what I'm doing > wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 16:28:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 14:28:48 -0700 Subject: [AccessD] OpenArgs question Message-ID: In AXP, reports DO have an OpenArgs parameter. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Monday, June 16, 2003 1:08 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OpenArgs question Reports don't have an OpenArgs property, and there is as a result no OpenArgs parameter for the OpenReport method. OpenReport does however have a "wherecondition" parameter and that's the one you want to use. It's a standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Monday, June 16, 2003 4:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 16 16:36:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 14:36:02 -0700 Subject: [AccessD] OpenArgs question Message-ID: Susan, I'm getting confused. Where are you trying to recognize it, and where does a form come into the equation? Only A2002 has an OpenArgs argument for reports. Earlier versions didn't have it. We use it in reports without problems, so what are you trying to do that isn't succeeding? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 12:50 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OpenArgs question This should be an easy one. The following event procedure opens a report and passes the list box' value as th OpenArgs setting. Private Sub lstCategories_DblClick(Cancel As Integer) Dim str As String str = Chr(34) & Me.lstCategories.Value & Chr(34) Debug.Print str DoCmd.OpenReport ReportName:="Catalog", _ View:=acViewPreview, _ OpenArgs:=str End Sub Problem is, I can't get the report to recognize it -- in any report event. Reports!reportname.OpenArgs Me.OpenArgs rpt.OpenArgs I've tried all three in most of the report's events after opening it via the form and the setting isn't making it to the form. Any clue what I'm doing wrong? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Jun 16 16:38:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 16 Jun 2003 16:38:44 -0500 Subject: [AccessD] OT: the "Education" system Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Hmmm, so you think you realized something afterwards, that you hadn't pin pointed before? Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Monday, June 16, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >Drew > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 16 16:48:35 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 17:48:35 -0400 Subject: [AccessD] OpenArgs question References: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389792F@xlivmbx12.aig.com> Message-ID: <00a001c33451$5f775fc0$d0e6ffcc@SusanOne> That's odd -- the OpenArgs Applies to list includes reports. Thanks. Susan H. > Reports don't have an OpenArgs property, and there is as a result no > OpenArgs parameter for the OpenReport method. OpenReport does however have a > "wherecondition" parameter and that's the one you want to use. It's a > standard SQL WHERE Clause without the word 'WHERE' - see the on-line help. From harkins at iglou.com Mon Jun 16 16:50:56 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 17:50:56 -0400 Subject: [AccessD] OpenArgs question References: Message-ID: <00a101c33451$60505aa0$d0e6ffcc@SusanOne> OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs argument > for reports. Earlier versions didn't have it. We use it in reports > without problems, so what are you trying to do that isn't succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a report > and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it via > the form and the setting isn't making it to the form. Any clue what I'm > doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Mon Jun 16 17:20:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 15:20:22 -0700 Subject: [AccessD] OpenArgs question Message-ID: And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Jun 16 17:25:11 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 18:25:11 -0400 Subject: [AccessD] RE:Opening Workgroup Protected DB SOLVED In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Message-ID: Well for those who care to know, the code below shells out the process.. So simply, but man, did it take me a while to get it right.... Sub sOpenDBWithPwd() Dim strDB As String Dim strWG As String Dim strCmd As String Dim objSecuredDB As Access.Application Dim SecuredDB As String On Error GoTo HandleErr strDB = """C:\Program Files\ServiceXp\SXPMANT.mdb""" strWG = """C:\Program Files\ServiceXp\SXPSEC.mdw""" strCmd = SysCmd(acSysCmdAccessDir) & "MSAccess.exe " _ & strDB & " /wrkgrp " & strWG _ & " /user Administrator" & " /pwd adminpassword" Call Shell(strCmd, vbNormalNoFocus) DoEvents: DoEvents: DoEvents 'Set objSecuredDB = GetObject(strDB) ' If you wan't to set the focus to the newly opened db ExitHere: Exit Sub ' Error handling block added by Error Handler Add-In. DO NOT EDIT this block of code. ' Automatic error handler last updated at 06-09-2003 18:58:17 'ErrorHandler:$$D=06-09-2003 'ErrorHandler:$$T=18:58:17 HandleErr: Select Case Err.Number Case -2147467259 ' Error is caused by somthing to do with the toolbars not refreshing fast enough, very strange Resume Next Case -2147221020 'Cant find the cause of this error, although ignoring it doesn't seem to cause any problems Resume Next Case Else MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, "crypt.sOpenDBWithPwd" 'ErrorHandler:$$N=crypt.sOpenDBWithPwd 'Log Error Call ErrorRecordSystem(Err.Number, Err.Description, Now, "Un-Expected Error In Proc; " & "crypt.sOpenDBWithPwd", CurrentUser()) 'ErrorHandler:$$N=crypt.sOpenDBWithPwd End Select ' End Error handling block. End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, June 16, 2003 5:39 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: the "Education" system Hmmm, so you think you realized something afterwards, that you hadn't pin pointed before? Drew -----Original Message----- From: Tina Norris Fields [mailto:tinanfields at torchlake.com] Sent: Monday, June 16, 2003 4:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Drew, Oh yes, you probably are "up hill" of most of the people you ever will meet. So are many of the contributors on this list. What surprised me was that I didn't know until after I had the degree that I had ever felt "down hill." Tina Drew Wutka wrote: >Interesting. > >I have never really felt 'downhill' though. In fact, many times I feel like >I am uphill from people with degrees, because I see the solution, and they >are flapping in the wind. Oh well. > >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 From Subscriptions at servicexp.com Mon Jun 16 17:28:20 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 18:28:20 -0400 Subject: [AccessD] adding Time In-Reply-To: Message-ID: A2K I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) format. How do I go about adding up the time? Everything I try, I get a data mismatch error... Thanks Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 16, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OpenArgs question And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 16 17:32:13 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 16 Jun 2003 18:32:13 -0400 Subject: [AccessD] OpenArgs question References: Message-ID: <00ef01c33457$25ddd540$d0e6ffcc@SusanOne> I removed the Chr(34) already. I added them because it wouldn't work and I thought maybe that was it -- you know how finicky Access can be about its delimiters. :) Charlotte, it's working now, but I really have no clue what I did. It wasn't working, now it is -- it's a mystery. Thanks anyway. :) Susan H. > And in the report's events, it can't see the OpenArgs string value? Is > the listbox value a string in the first place? I notice you're > delimiting it with chr(34)s, but you don't need them if it's not a date > or numeric value. > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 1:51 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OpenArgs question > > > OK, I'm using AXP. > > I'm selecting a single item from a list box and trying to pass that > value (a > string) to the report via the report's OpenArgs value. > > Susan H. > > > > Susan, > > > > I'm getting confused. Where are you trying to recognize it, and where > > > does a form come into the equation? Only A2002 has an OpenArgs > > argument for reports. Earlier versions didn't have it. We use it in > > reports without problems, so what are you trying to do that isn't > > succeeding? > > > > Charlotte Foust > > > > -----Original Message----- > > From: Susan Harkins [mailto:harkins at iglou.com] > > Sent: Monday, June 16, 2003 12:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OpenArgs question > > > > > > This should be an easy one. The following event procedure opens a > > report and passes the list box' value as th OpenArgs setting. > > > > Private Sub lstCategories_DblClick(Cancel As Integer) > > Dim str As String > > str = Chr(34) & Me.lstCategories.Value & Chr(34) > > Debug.Print str > > DoCmd.OpenReport ReportName:="Catalog", _ > > View:=acViewPreview, _ > > OpenArgs:=str > > End Sub > > > > Problem is, I can't get the report to recognize it -- in any report > > event. > > > > Reports!reportname.OpenArgs > > Me.OpenArgs > > rpt.OpenArgs > > > > I've tried all three in most of the report's events after opening it > > via the form and the setting isn't making it to the form. Any clue > > what I'm doing wrong? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Mon Jun 16 17:45:09 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 16 Jun 2003 17:45:09 -0500 Subject: [AccessD] adding Time Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E55@main2.marlow.com> You might find this link useful: http://mvps.org/access/datetime/date0009.htm Drew -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, June 16, 2003 5:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] adding Time A2K I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) format. How do I go about adding up the time? Everything I try, I get a data mismatch error... Thanks Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, June 16, 2003 6:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OpenArgs question And in the report's events, it can't see the OpenArgs string value? Is the listbox value a string in the first place? I notice you're delimiting it with chr(34)s, but you don't need them if it's not a date or numeric value. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Monday, June 16, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OpenArgs question OK, I'm using AXP. I'm selecting a single item from a list box and trying to pass that value (a string) to the report via the report's OpenArgs value. Susan H. > Susan, > > I'm getting confused. Where are you trying to recognize it, and where > does a form come into the equation? Only A2002 has an OpenArgs > argument for reports. Earlier versions didn't have it. We use it in > reports without problems, so what are you trying to do that isn't > succeeding? > > Charlotte Foust > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Monday, June 16, 2003 12:50 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OpenArgs question > > > This should be an easy one. The following event procedure opens a > report and passes the list box' value as th OpenArgs setting. > > Private Sub lstCategories_DblClick(Cancel As Integer) > Dim str As String > str = Chr(34) & Me.lstCategories.Value & Chr(34) > Debug.Print str > DoCmd.OpenReport ReportName:="Catalog", _ > View:=acViewPreview, _ > OpenArgs:=str > End Sub > > Problem is, I can't get the report to recognize it -- in any report > event. > > Reports!reportname.OpenArgs > Me.OpenArgs > rpt.OpenArgs > > I've tried all three in most of the report's events after opening it > via the form and the setting isn't making it to the form. Any clue > what I'm doing wrong? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Jun 16 18:27:15 2003 From: john at winhaven.net (John Bartow) Date: Mon, 16 Jun 2003 18:27:15 -0500 Subject: [AccessD] Sort mixed alpha numeric data Message-ID: I have a test field where the data is generally 1,2,3,4,5 but can also include 1a, 1b, 1c. Would any one happen to have ideas for a way (or code for a function that will) sort mixed data numerically first and then alphabetically? TIA JB PS: This is the way it is and there is no way there is going to be any additional fields added to the table. From cfoust at infostatsystems.com Mon Jun 16 18:56:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 16 Jun 2003 16:56:02 -0700 Subject: [AccessD] Sort mixed alpha numeric data Message-ID: Sort on the Ascii value of the field. Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, June 16, 2003 3:27 PM To: AccessD Subject: [AccessD] Sort mixed alpha numeric data I have a test field where the data is generally 1,2,3,4,5 but can also include 1a, 1b, 1c. Would any one happen to have ideas for a way (or code for a function that will) sort mixed data numerically first and then alphabetically? TIA JB PS: This is the way it is and there is no way there is going to be any additional fields added to the table. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 16 18:57:22 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Jun 2003 16:57:22 -0700 Subject: [AccessD] adding Time References: Message-ID: <3EEE5962.9000704@shaw.ca> How about some variation of this you can use datediff or dateadd functions Sub diftest() Dim TheDate As Date Dim Msg As String Dim testdate As Date Dim testtime As Date testdate = Date + #10:59:00 AM# Msg = "Minutes from previous: " & Abs(DateDiff("n", Now, testdate)) MsgBox Msg End Sub Robert Gracie wrote: >A2K > > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) >format. > >How do I go about adding up the time? Everything I try, I get a data >mismatch error... > > > >Thanks >Robert Gracie > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, June 16, 2003 6:20 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OpenArgs question > > >And in the report's events, it can't see the OpenArgs string value? Is >the listbox value a string in the first place? I notice you're >delimiting it with chr(34)s, but you don't need them if it's not a date >or numeric value. > >Charlotte Foust > >-----Original Message----- >From: Susan Harkins [mailto:harkins at iglou.com] >Sent: Monday, June 16, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OpenArgs question > > >OK, I'm using AXP. > >I'm selecting a single item from a list box and trying to pass that >value (a >string) to the report via the report's OpenArgs value. > >Susan H. > > > > >>Susan, >> >>I'm getting confused. Where are you trying to recognize it, and where >> >> > > > >>does a form come into the equation? Only A2002 has an OpenArgs >>argument for reports. Earlier versions didn't have it. We use it in >>reports without problems, so what are you trying to do that isn't >>succeeding? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Susan Harkins [mailto:harkins at iglou.com] >>Sent: Monday, June 16, 2003 12:50 PM >>To: AccessD at databaseadvisors.com >>Subject: [AccessD] OpenArgs question >> >> >>This should be an easy one. The following event procedure opens a >>report and passes the list box' value as th OpenArgs setting. >> >>Private Sub lstCategories_DblClick(Cancel As Integer) >> Dim str As String >> str = Chr(34) & Me.lstCategories.Value & Chr(34) >> Debug.Print str >> DoCmd.OpenReport ReportName:="Catalog", _ >> View:=acViewPreview, _ >> OpenArgs:=str >>End Sub >> >>Problem is, I can't get the report to recognize it -- in any report >>event. >> >>Reports!reportname.OpenArgs >>Me.OpenArgs >>rpt.OpenArgs >> >>I've tried all three in most of the report's events after opening it >>via the form and the setting isn't making it to the form. Any clue >>what I'm doing wrong? >> >>Susan H. >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Subscriptions at servicexp.com Mon Jun 16 19:15:47 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 16 Jun 2003 20:15:47 -0400 Subject: [AccessD] adding Time In-Reply-To: <3EEE5962.9000704@shaw.ca> Message-ID: Ok this is what I have right now, and it "Seems" to work, what do you guys think? Robert Gracie www.servicexp.com Private Sub cmdCalcTime_Click() Dim SUX As Date Dim MOX As Date Dim TUX As Date Dim WEX As Date Dim THX As Date Dim FRX As Date Dim SAX As Date Dim TotalMin As Variant On Error GoTo HandleErr SUX = Me.txtSunTotal MOX = Me.txtMonTotal TUX = Me.txtTueTotal WEX = Me.txtWedTotal THX = Me.txtThurTotal FRX = Me.txtFriTotal SAX = Me.txtSatTotal TotalMin = SUX + MOX + TUX + WEX + THX + FRX + SAX Me.txtTotalHours = FormatInterval(TotalMin, "H M") ExitHere: Exit Sub ' Error handling block added by Error Handler Add-In. DO NOT EDIT this block of code. ' Automatic error handler last updated at 06-16-2003 20:06:06 'ErrorHandler:$$D=06-16-2003 'ErrorHandler:$$T=20:06:06 HandleErr: Select Case Err.Number Case Else MsgBox "Error " & Err.Number & ": " & Err.Description, vbCritical, "Form_frmTimeCardDates.cmdCalcTime_Click" 'ErrorHandler:$$N=Form_frmTimeCardDates.cmdCalcTime_Click 'Log Error Call ErrorRecordSystem(Err.Number, Err.Description, Now, "Un-Expected Error In Proc; " & "Form_frmTimeCardDates.cmdCalcTime_Click", CurrentUser) 'ErrorHandler:$$N=Form_frmTimeCardDates.cmdCalcTime_Click End Select ' End Error handling block. End Sub Function FormatInterval(ByVal interval As Variant, Fmt As String) ' ' Formats the difference between 2 dates or sum of 2 times ' to show day as well as hours, minutes, and seconds. ' ' Supports the following formats: ' D H 5 Days 5 Hours ' D H:MM 5 Days 5:15 ' D HH:MM 5 Days 05:15 ' D H:MM:SS 5 Days 5:15:45 ' D HH:MM:SS 5 Days 05:15:45 ' H M 125 Hours 15 Minutes ' H:MM 125:15 ' H:MM:SS 125:15:45 ' M S 7515 Minutes 45 Seconds ' Dim days As Long, hours As Long, minutes As Long, Seconds As Long ' ' Check for Date or Double ' If varType(interval) <> 7 And varType(interval) <> 5 Then Exit Function ' ' Parse Days ' days = Int(interval) interval = interval - days If interval > #11:59:59 PM# Then days = days + 1 interval = 0# End If ' ' Parse Hours ' interval = interval * 24 hours = Int(interval) interval = interval - hours If interval > 3599# / 3600# Then hours = hours + 1 interval = 0# End If ' ' Parse Minutes ' interval = interval * 60 minutes = Int(interval) interval = interval - minutes If interval > 59# / 60# Then minutes = minutes + 1 interval = 0# End If ' ' Parse Seconds ' Seconds = Int(interval * 60 + 0.5) ' ' Normalize ' If Seconds = 60 Then minutes = minutes + 1 Seconds = 0 End If If minutes > 59 Then hours = hours + 1 minutes = minutes - 60 End If If hours > 23 Then days = days + 1 hours = hours - 24 End If ' ' Create format ' Select Case Fmt Case "D H" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & IIf(hours <> 1, " Hours", " Hour") Case "D H:MM" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & ":" & Format(minutes, "00") Case "D HH:MM" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & Format(hours, "00") & ":" & Format(minutes, "00") Case "D H:MM:SS" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & hours & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "D HH:MM:SS" FormatInterval = days & IIf(days <> 1, " Days ", " Day ") & Format(hours, "00") & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "H M" hours = hours + days * 24 FormatInterval = hours & IIf(hours <> 1, " Hours ", " Hour ") & minutes & IIf(minutes <> 1, " Minutes", " Minute") Case "H:MM" hours = hours + days * 24 FormatInterval = hours & ":" & Format(minutes, "00") Case "H:MM:SS" hours = hours + days * 24 FormatInterval = hours & ":" & Format(minutes, "00") & ":" & Format(Seconds, "00") Case "M S" minutes = minutes + (hours + days * 24) * 60 FormatInterval = minutes & IIf(minutes <> 1, " Minutes ", " Minute ") & Seconds & IIf(Seconds <> 1, " Seconds", " Second") Case Else FormatInterval = Null End Select End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Monday, June 16, 2003 7:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] adding Time How about some variation of this you can use datediff or dateadd functions Sub diftest() Dim TheDate As Date Dim Msg As String Dim testdate As Date Dim testtime As Date testdate = Date + #10:59:00 AM# Msg = "Minutes from previous: " & Abs(DateDiff("n", Now, testdate)) MsgBox Msg End Sub Robert Gracie wrote: >A2K > > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) >format. > >How do I go about adding up the time? Everything I try, I get a data >mismatch error... > > > >Thanks >Robert Gracie > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, June 16, 2003 6:20 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OpenArgs question > > >And in the report's events, it can't see the OpenArgs string value? Is >the listbox value a string in the first place? I notice you're >delimiting it with chr(34)s, but you don't need them if it's not a date >or numeric value. > >Charlotte Foust > >-----Original Message----- >From: Susan Harkins [mailto:harkins at iglou.com] >Sent: Monday, June 16, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OpenArgs question > > >OK, I'm using AXP. > >I'm selecting a single item from a list box and trying to pass that >value (a >string) to the report via the report's OpenArgs value. > >Susan H. > > > > >>Susan, >> >>I'm getting confused. Where are you trying to recognize it, and where >> >> > > > >>does a form come into the equation? Only A2002 has an OpenArgs >>argument for reports. Earlier versions didn't have it. We use it in >>reports without problems, so what are you trying to do that isn't >>succeeding? >> >>Charlotte Foust >> >>-----Original Message----- >>From: Susan Harkins [mailto:harkins at iglou.com] >>Sent: Monday, June 16, 2003 12:50 PM >>To: AccessD at databaseadvisors.com >>Subject: [AccessD] OpenArgs question >> >> >>This should be an easy one. The following event procedure opens a >>report and passes the list box' value as th OpenArgs setting. >> >>Private Sub lstCategories_DblClick(Cancel As Integer) >> Dim str As String >> str = Chr(34) & Me.lstCategories.Value & Chr(34) >> Debug.Print str >> DoCmd.OpenReport ReportName:="Catalog", _ >> View:=acViewPreview, _ >> OpenArgs:=str >>End Sub >> >>Problem is, I can't get the report to recognize it -- in any report >>event. >> >>Reports!reportname.OpenArgs >>Me.OpenArgs >>rpt.OpenArgs >> >>I've tried all three in most of the report's events after opening it >>via the form and the setting isn't making it to the form. Any clue >>what I'm doing wrong? >> >>Susan H. >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Mon Jun 16 22:26:16 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Mon, 16 Jun 2003 23:26:16 -0400 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294C21@NT04> Message-ID: Those who suggest making it numeric or using the val() function have not given thought to the values like "3.1.1". I would write a function that pads everything to a fixed length per level so that "3.1.1" became "03.01.01" or "003.001.002" and "1.1" would become "001.001.000", etc. Then write a query using the function and order on the function value. Regards, Steve Goodhall -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, June 16, 2003 9:55 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 1 0 In your querydef use the Val() function. Sort Asc both on Val(Field) then the field. Your query will sort by the value of the field to the second decimal point. Then it will sort the rest. HTH Jim -----Original Message----- From: Borge Steen Hansen [mailto:pcs at azizaz.com] Sent: Monday, June 16, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 We have a text field with data like this when sorted ascending: 1 1.1 1.2 10 10.1 11 11.1 11.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 etc etc. Any one got ideas for how to sort the field like this: 1 1.1 1.2 2 2.1 2.2 3 3.1. 3.1.1 3.1.2 3.1.3 4 .... 10 10.1 11 11.1 11.2 ????? Regards Borge Hansen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 17 01:37:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 08:37:22 +0200 Subject: [AccessD] Email directly to/from Access database with PostieDB Message-ID: <1153251425.20030617083722@cactus.dk> Hi all Just noticed that Postie (a truly magic email command line program) now is available in a version that communicates directly with a Jet database, PostieDB: http://www.infradig.com/postie/index.shtml Once Postie was obtainable at zero cost for non-commercial use; that doesn't seem to be the case anymore. /gustav From gustav at cactus.dk Tue Jun 17 02:12:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 09:12:45 +0200 Subject: [AccessD] Sort mixed alpha numeric data In-Reply-To: References: Message-ID: <415374107.20030617091245@cactus.dk> Hi John > I have a test field where the data is generally 1,2,3,4,5 but can also > include 1a, 1b, 1c. > Would any one happen to have ideas for a way (or code for a function that > will) sort mixed data numerically first and then alphabetically? So how are you sorting them now? The data must be strings and sorted as such. Or do you have data with more than one digit, like 15c? If so, sort on the numeric value then the ascii value: SELECT * FROM tblYourTable ORDER BY Val(StringID), StringID; /gustav From paul.hartland at fsmail.net Tue Jun 17 03:02:51 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 17 Jun 2003 8:02:51 +0000 Subject: [AccessD] VB6 Help - Command Objects within the Data Environment Message-ID: <20030617080251.FPKX28680.fep03-svc.ttys.com@localhost> To all, I have a DataEnvironment (DEEmploy), which has a command tblEmps which uses a SQL Statement to get all the records from tblEmps like so : SELECT * FROM tblEmps Now I have reached a point where I only want to bring one employee back from the back-end, so what I need to know is can I build a SQL statement on the fly (something like (SELECT TOP 1 * FROM tblEmps) or (SELECT * FROM tblEmps WHERE (Criteria)) ) and assign that select statement to the Command object tblEmps so that it only returns employees that meet the criteria thats been built on the fly.... Thanks in advance for any help Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From R.Griffiths at bury.gov.uk Tue Jun 17 03:37:42 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 17 Jun 2003 09:37:42 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Hi Group can anyone help with my current heated office discussion which is concerning whether of not you can still puchase VB6 cd's. It appears that are are no longer available (at least in the UK). Can anyone confirm this? Thanks Richard From gustav at cactus.dk Tue Jun 17 05:52:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 12:52:59 +0200 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Message-ID: <6918588508.20030617125259@cactus.dk> Hi Richard > can anyone help with my current heated office discussion which is concerning > whether of not you can still puchase VB6 cd's. > It appears that are are no longer available (at least in the UK). Can > anyone confirm this? Media kits (w/o license) are available here (DK): partno. 203-01186. /gustav From andy at minstersystems.co.uk Tue Jun 17 05:59:25 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 17 Jun 2003 11:59:25 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B3@MAILGATE.bury.gov.uk> Message-ID: <003301c334bf$841878a0$b274d0d5@andypc> Hi Richard There are plenty on ebay if that helps. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Griffiths, Richard > Sent: 17 June 2003 09:38 > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] OT:Can VB6 still be purchased? > > > Hi Group > > can anyone help with my current heated office discussion > which is concerning whether of not you can still puchase VB6 cd's. > > It appears that are are no longer available (at least in the > UK). Can anyone confirm this? > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From gustav at cactus.dk Tue Jun 17 06:04:52 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 13:04:52 +0200 Subject: [AccessD] adding Time In-Reply-To: References: Message-ID: <3619301363.20030617130452@cactus.dk> Hi Robert > I have 7 unbound text boxes that have time amounts listed in HH:MM (8:27) > format. > How do I go about adding up the time? Everything I try, I get a data > mismatch error... Your problem is that the textboxes though formatted as time contain nothing more than text. You can add these using CDate([txtYourControl]) but you may end up having more than 24 hours and then the fun begins because you are "adding" different points in time while you wish to sum spans or intervals of time. Thus, convert to time intervals like seconds and add these. We use this function (watch for line breaks): Function TimeAdd(ParamArray astrTimes() As Variant) As Long ' Adds time values and time formatted strings. ' Adds pure numerals as seconds. ' Day, month, and year are stripped as these for time values are assumed to be current date. ' Nulls and badly formatted strings are ignored. ' Returns added times of more than 40 years in total as seconds. ' Example which returns rounded minutes: ' lngMinutes = (TimeAdd("15:34", Null, [Forms]![frmForm]![txtTime], 23, #1:22:10#, "57") + 30) \ 60 ' 1999-11-08. Cactus Data ApS. CPH. ' Use constants as Long to prevent overruns. Const clngSecondsMinute As Long = 60 Const clngSecondsHour As Long = 60 * clngSecondsMinute Dim datTime As Date Dim lngSeconds As Long Dim lngLoop As Long ' No special error handling. Ignore excessive inputs. On Error Resume Next For lngLoop = LBound(astrTimes) To UBound(astrTimes) If IsDate(astrTimes(lngLoop)) Then ' Input is a date/time value or expression. datTime = CDate(astrTimes(lngLoop)) If datTime <> 0 Then ' Add seconds, minutes, and hours as seconds. lngSeconds = lngSeconds + Second(datTime) lngSeconds = lngSeconds + (clngSecondsMinute * Minute(datTime)) lngSeconds = lngSeconds + (clngSecondsHour * Hour(datTime)) End If ElseIf IsNumeric(astrTimes(lngLoop)) Then ' Add a pure numeral as seconds. lngSeconds = lngSeconds + astrTimes(lngLoop) End If Next lngLoop TimeAdd = lngSeconds End Function /gustav From R.Griffiths at bury.gov.uk Tue Jun 17 06:24:54 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 17 Jun 2003 12:24:54 +0100 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> so is this the official line then, ie no more VB6 cd's other than what is already out there (on shelves, ebay etc)? > -----Original Message----- > From: Andy Lacey [SMTP:andy at minstersystems.co.uk] > Sent: 17 June 2003 11:59 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OT:Can VB6 still be purchased? > > Hi Richard > There are plenty on ebay if that helps. > Andy > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Griffiths, Richard > > Sent: 17 June 2003 09:38 > > To: 'AccessD at databaseadvisors.com' > > Subject: [AccessD] OT:Can VB6 still be purchased? > > > > > > Hi Group > > > > can anyone help with my current heated office discussion > > which is concerning whether of not you can still puchase VB6 cd's. > > > > It appears that are are no longer available (at least in the > > UK). Can anyone confirm this? > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Tue Jun 17 07:09:49 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 17 Jun 2003 14:09:49 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <181301c334ca$2c679590$0300a8c0@S856> The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik From marcel.vreuls at achmea.nl Tue Jun 17 07:22:04 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Tue, 17 Jun 2003 14:22:04 +0200 Subject: Betreft: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: Lembit, I will be there. Just let me know if i can help you with anything. Greetz. Marcel Lembit.Soobik at t-online.de (Lembit Soobik)@databaseadvisors.com op 17-06-2003 14:09:49 Antwoord aub aan accessd at databaseadvisors.com Verzonden door: accessd-bounces at databaseadvisors.com Aan: , cc: "Mark L. Breen" , gustav at cactus.dk, Arthur Fuller Onderwerp: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ***************************************************************** Dit bericht is bij binnenkomst gecontroleerd op de aanwezigheid van virussen. Er zijn geen (bekende) virussen gevonden. Active ***************************************************************** ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From Lambert.Heenan at AIG.com Tue Jun 17 08:31:08 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 17 Jun 2003 09:31:08 -0400 Subject: [AccessD] OpenArgs question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897934@xlivmbx12.aig.com> I sit corrected :-) I've not yet had the pleasure (???) of working with Access beyond A97. > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Monday, June 16, 2003 5:29 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] OpenArgs question > > In AXP, reports DO have an OpenArgs parameter. > > Charlotte Foust > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Monday, June 16, 2003 1:08 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] OpenArgs question > > > Reports don't have an OpenArgs property, and there is as a result no > OpenArgs parameter for the OpenReport method. OpenReport does however > have a "wherecondition" parameter and that's the one you want to use. > It's a standard SQL WHERE Clause without the word 'WHERE' - see the > on-line help. > > Lambert > > > -----Original Message----- > > From: Susan Harkins [SMTP:harkins at iglou.com] > > Sent: Monday, June 16, 2003 4:50 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OpenArgs question > > > > This should be an easy one. The following event procedure opens a > > report and passes the list box' value as th OpenArgs setting. > > > > Private Sub lstCategories_DblClick(Cancel As Integer) > > Dim str As String > > str = Chr(34) & Me.lstCategories.Value & Chr(34) > > Debug.Print str > > DoCmd.OpenReport ReportName:="Catalog", _ > > View:=acViewPreview, _ > > OpenArgs:=str > > End Sub > > > > Problem is, I can't get the report to recognize it -- in any report > > event. > > > > Reports!reportname.OpenArgs > > Me.OpenArgs > > rpt.OpenArgs > > > > I've tried all three in most of the report's events after opening it > > via the form and the setting isn't making it to the form. Any clue > > what I'm doing wrong? > > > > Susan H. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 17 10:13:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:13:29 +0200 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 In-Reply-To: <03f501c33409$d1b891f0$be0e90cb@prosys.local> References: <000701c333bc$abf53d30$0c05a8c0@earth.local> <03f501c33409$d1b891f0$be0e90cb@prosys.local> Message-ID: <12534219054.20030617171329@cactus.dk> Hi B?rge I found something from an old similar conversion routine. It's a query which cannot be sorted, so feed the output to another query where you select the needed fields only and order by Fld1, Fld2, Fld3. SELECT *, InStr(1,[StringID],".") AS Dot1, Val(IIf([Dot1]=0, [StringID], IIf([Dot1]=1, "", Left([StringID],[Dot1]-1)))) AS Fld1, IIf([Dot1]=0, "", Mid([StringID],1+[Dot1])) AS FldRest1, InStr(1,[FldRest1],".") AS Dot2, Val(IIf([Dot2]=0, "" & [FldRest1], Left([FldRest1],[Dot2]-1))) AS Fld2, IIf([Dot2]=0, "", Mid([FldRest1],1+[Dot2])) AS FldRest2, InStr(1,[FldRest2],".") AS Dot3, Val(IIf([Dot3]=0, "" & [FldRest2], Left([FldRest2],[Dot3]-1))) AS Fld3 FROM tblYourTable; It will also handle entries like .8.70 and ..61 /gustav > We have a text field with data like this when sorted ascending: > 1 > 1.1 > 1.2 > 10 > 10.1 > 11 > 11.1 > 11.2 > 2 > 2.1 > 2.2 > 3 > 3.1. > 3.1.1 > 3.1.2 > 3.1.3 > 4 > etc etc. > Any one got ideas for how to sort the field like this: > 1 > 1.1 > 1.2 > 2 > 2.1 > 2.2 > 3 > 3.1. > 3.1.1 > 3.1.2 > 3.1.3 > 4 > .... > 10 > 10.1 > 11 > 11.1 > 11.2 > ????? > Regards > Borge Hansen From harkins at iglou.com Tue Jun 17 10:25:51 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 17 Jun 2003 11:25:51 -0400 Subject: [AccessD] OpenArgs question References: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897934@xlivmbx12.aig.com> Message-ID: <006301c334e6$586f7dd0$9fe6ffcc@SusanOne> And you have to stay there a minute for every year buster! :) I love it when they put me in timeout... :) Susan H. > I sit corrected :-) From gustav at cactus.dk Tue Jun 17 10:56:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:56:32 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <181301c334ca$2c679590$0300a8c0@S856> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> Message-ID: <1336801908.20030617175632@cactus.dk> Hi Lembit What is EIBUS? /gustav > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access From gustav at cactus.dk Tue Jun 17 10:59:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Jun 2003 17:59:23 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <181301c334ca$2c679590$0300a8c0@S856> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> Message-ID: <14036972583.20030617175923@cactus.dk> Hi Lembit Arthur to arrive in M?nchen? Boy had I known that ... /gustav > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) From delliker at hotmail.com Tue Jun 17 11:15:48 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:15:48 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Tue Jun 17 11:43:03 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 17 Jun 2003 18:43:03 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> <1336801908.20030617175632@cactus.dk> Message-ID: <188b01c334ef$85ee2230$0300a8c0@S856> EIBUS is the European Insallation Bus all control signals for a house electrical Install tion are transmitted from the 'switches' over one single twisted pair as telegrams to actuators, so power (230V) is only running from actuators to lights or whatever you switch. you can any time reprogram any switch to do something else that originally planned or you can use a PC and write a program to control anything in your house. I have for example programmed the blinds to go down and some lights to turn on at a certain darkness in the evening, or they go down and open to act as shades when a certain temperature is reached. to avoid overheating inside, or I have programmed one switch at teh bedroom to turn all lights off in the whole house. from a certain size of the house on it can save a lot of money (for a new house) for instllation costs and much more even for later changes Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, June 17, 2003 5:56 PM Subject: Re: [AccessD] *** Invitation to 3rd AccessD Conference *** > Hi Lembit > > What is EIBUS? > > /gustav > > > - Lembit Soobik: Chances and Problems developing > > Visualization Programs for EIBUS with Access > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Tue Jun 17 11:48:19 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 17 Jun 2003 12:48:19 -0400 Subject: [AccessD] List box misbehaving In-Reply-To: Message-ID: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> As you have quickly learned, listboxes don't always like being overlayed... either move it to somewhere else or make it invisible in the section of code that makes the subform become visible. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don Elliker Sent: Tuesday, June 17, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker _____ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 11:46:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 09:46:16 -0700 Subject: [AccessD] List box misbehaving Message-ID: Have you tried setting the listbox's visible property to false when you make the subform visible? That is the simplest way to handle it. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 17, 2003 8:16 AM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker STOP MORE SPAM with the new MSN 8 and get 2 months FREE* From delliker at hotmail.com Tue Jun 17 11:49:23 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:49:23 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 17 11:51:26 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 12:51:26 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Tue Jun 17 11:59:12 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 17 Jun 2003 11:59:12 -0500 Subject: [AccessD] Import Excel File Into Access XP Message-ID: I'm getting the Microsoft Error box when trying to utilize the import wizard for an Excel file into AXP. It works fine in A97 and it AXP works fine on another computer. Anyone have any idea why my new computer gets an error? I can copy and paste append the data into a table, but not import - only on the new computer. I have all the AXP features installed. Thanks for any insights. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 17 12:06:59 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 13:06:59 -0400 Subject: [AccessD] Import Excel File Into Access XP Message-ID: An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 12:10:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 10:10:41 -0700 Subject: [AccessD] List box misbehaving Message-ID: List boxes are almost like subforms in their behavior. There is no point in reporting it because it is a "feature", not a bug. They've behaved this way in every version of Access. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Tuesday, June 17, 2003 8:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] List box misbehaving I was more intent on trying to discover why it misbehaves in the first place - but yes, that certainly SHOULD 'fix' it - Is this reportable to the M$ code police? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: accessd at databaseadvisors.com >To: >Subject: RE: [AccessD] List box misbehaving >Date: Tue, 17 Jun 2003 09:46:16 -0700 > >Have you tried setting the listbox's visible property to false when you >make the subform visible? That is the simplest way to handle it. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Tuesday, June 17, 2003 8:16 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] List box misbehaving > > >Hi folks, >I have an XP app that is giving me the business. Bound form with a >tabcontrol for various memo fields. A list box with a separate data >source (query of another table related to bound form recordsource) An >invisible subform which is the same data as the mainform but in a more >'Excel-like' display. When they request to see the data as presented by >the invisible form I make it visible (Ta Dah!) It overlays some of the >controls and the listbox is one of them. The listbox refuses to be >overlayed...it floats on top of the subform. I have played with >everything I can think of - including deleting the control and >compacting and repairing, then re-creating the control. It still floats >on top (super-annoying) -I checked for requeries of the listbox. I >checked taborders and remnant code, there are no repaints or restore >commands. >Interestingly, I cannot get the listbox to 'move to back' nicely...it >flickers but stays on top of the Box it sits on - none of the other >controls act this way. Also, if I maximize the form...it doesn't >misbehave...but that, of course, is NOT the solution......??? >Thanks, >_D > > > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > > >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Tired of spam? Get advanced junk mail protection with MSN 8. From delliker at hotmail.com Tue Jun 17 12:23:00 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 17 Jun 2003 13:23:00 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 17 12:50:40 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 17 Jun 2003 18:50:40 +0100 Subject: [AccessD] OT SQL Server References: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> Message-ID: <002801c334f8$f884eaa0$37f66e51@martinreid> MessageI am working with SQL Server 2000 on my pc at home. Linking to a WIndows SharePoint Server in the USA. The WSS server cannot see the SQL Server and I have been told to make SQL Server "outward facing" I have not a clue what that means. ANyone here have any ideas? Martin ----- Original Message ----- From: Mike and Doris Manning To: accessd Sent: Tuesday, June 17, 2003 5:48 PM Subject: RE: [AccessD] List box misbehaving As you have quickly learned, listboxes don't always like being overlayed... either move it to somewhere else or make it invisible in the section of code that makes the subform become visible. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don Elliker Sent: Tuesday, June 17, 2003 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] List box misbehaving Hi folks, I have an XP app that is giving me the business. Bound form with a tabcontrol for various memo fields. A list box with a separate data source (query of another table related to bound form recordsource) An invisible subform which is the same data as the mainform but in a more 'Excel-like' display. When they request to see the data as presented by the invisible form I make it visible (Ta Dah!) It overlays some of the controls and the listbox is one of them. The listbox refuses to be overlayed...it floats on top of the subform. I have played with everything I can think of - including deleting the control and compacting and repairing, then re-creating the control. It still floats on top (super-annoying) -I checked for requeries of the listbox. I checked taborders and remnant code, there are no repaints or restore commands. Interestingly, I cannot get the listbox to 'move to back' nicely...it flickers but stays on top of the Box it sits on - none of the other controls act this way. Also, if I maximize the form...it doesn't misbehave...but that, of course, is NOT the solution......??? Thanks, _D "Things are only free to the extent that you don't pay for them".-Don Elliker ---------------------------------------------------------------------------- STOP MORE SPAM with the new MSN 8 and get 2 months FREE* ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From EdTesiny at oasas.state.ny.us Tue Jun 17 12:53:16 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 17 Jun 2003 13:53:16 -0400 Subject: [AccessD] Renaming Wizard Message-ID: Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancy.lytle at auatac.com Tue Jun 17 13:25:11 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 17 Jun 2003 14:25:11 -0400 Subject: [AccessD] Renaming Wizard In-Reply-To: Message-ID: MessageWorked a bit with Speed Ferret, it's a find and replace utility for the database, not sure if that's what you're looking for, anyway check it out. It's well worth the money. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Tuesday, June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 17 13:39:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 17 Jun 2003 19:39:19 +0100 Subject: [AccessD] OT PDAs References: Message-ID: <00b001c334ff$c41967d0$37f66e51@martinreid> MessageAnyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ranthony at wrsystems.com Tue Jun 17 13:58:22 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Tue, 17 Jun 2003 14:58:22 -0400 Subject: [AccessD] Renaming Wizard Message-ID: <5F21A4E8B8DD734992EF9E70AC9D306412865A@mail2.wrsystems.com> I can recommend Rick Fisher's FindandReplace tool. www.rickworld.com Good support and it's inexpensive. -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Tuesday, June 17, 2003 2:25 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Renaming Wizard Worked a bit with Speed Ferret, it's a find and replace utility for the database, not sure if that's what you're looking for, anyway check it out. It's well worth the money. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Tuesday, June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 17 14:13:39 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 17 Jun 2003 14:13:39 -0500 Subject: [AccessD] Renaming Wizard Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7EF@TAPPEEXCH01> I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com . -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 14:11:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 12:11:52 -0700 Subject: [AccessD] access97 application on win2000 Message-ID: <00e101c33504$4f6ed230$6501a8c0@HAL9002> Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Tue Jun 17 14:51:01 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 17 Jun 2003 15:51:01 -0400 Subject: [AccessD] access97 application on win2000 Message-ID: <916187228923D311A6FE00A0CC3FAA305279D3@ADGSERVER> It's working fine for me here. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 17, 2003 3:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Tue Jun 17 14:49:54 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Tue, 17 Jun 2003 14:49:54 -0500 Subject: [AccessD] Import Excel File Into Access XP Message-ID: My IS dept figured out the problem - it is in the MS Knowledge Base #303805 - had to do with registering the correct version of accwiz.dll. All is well. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> delliker at hotmail.com 06/17/03 12:06PM >>> Have you got SP2 loaded on that machine? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Terri Jarus" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] Import Excel File Into Access XP >Date: Tue, 17 Jun 2003 11:59:12 -0500 > >I'm getting the Microsoft Error box when trying to utilize the import wizard for an Excel file into AXP. It works fine in A97 and it AXP works fine on another computer. > >Anyone have any idea why my new computer gets an error? I can copy and paste append the data into a table, but not import - only on the new computer. > >I have all the AXP features installed. > >Thanks for any insights. > >Terri Jarus >Director, Contract Support Services >jarus at amerinet-gpo.com >314-542-1902 > > >--------------------------------------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individuals or entities to whom they >are addressed. If you have received this email in error please return >it to the sender, and erase any copies thereof. >Copyright 2003 AmeriNet 1nc. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Protect your PC - Click here for McAfee.com VirusScan Online -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Jun 17 14:58:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 12:58:35 -0700 Subject: [AccessD] Renaming Wizard Message-ID: The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 databases without any problems that I've found. I use it on 97 and XP databases all the time. Plus it works on VB and SQL Server. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 17, 2003 11:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Renaming Wizard I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com. -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Tue Jun 17 15:00:53 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 17 Jun 2003 13:00:53 -0700 Subject: [AccessD] OT PDAs Message-ID: There have been some discussions on this in Woody's Lounge (www.wopr.com), but unfortunately the search function is down at present, so I can't point you at anything particular. Non-Palm OS PDAs can run a version of Access if they run Windows CE, but Palm can only run things like HandBase. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 17, 2003 10:39 AM To: accessd Subject: [AccessD] OT PDAs Anyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 17 15:06:32 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 17 Jun 2003 15:06:32 -0500 Subject: [AccessD] Renaming Wizard Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7F1@TAPPEEXCH01> If it works on SQL Server, I'm in! I'll take a look. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 17, 2003 2:59 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Renaming Wizard The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 databases without any problems that I've found. I use it on 97 and XP databases all the time. Plus it works on VB and SQL Server. Charlotte Foust -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 17, 2003 11:14 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Renaming Wizard I know that Speed Ferret would choke on older Access databases (hopefully they've improved it since A2!). I use the Find & Replace add-in by Rick Fisher. Cheap ($37) and works great! His website is www.rickworld.com. -----Original Message----- From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] Sent: Tuesday, June 17, 2003 12:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From DWUTKA at marlow.com Tue Jun 17 15:19:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:19:22 -0500 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E59@main2.marlow.com> Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 15:22:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:22:51 -0500 Subject: [AccessD] access97 application on win2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Jun 17 15:26:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 15:26:04 -0500 Subject: [AccessD] OT PDAs Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5B@main2.marlow.com> Actually, AppForge let's you use Access databases....sort of. You have to convert them into .pdb's (the palm's db format), but you can setup HotSync conduits with an ODBC connection to sync a .pdb to a table within an .mdb. I have an older version of appforge, which is kind of limited it what it can do. (No collections, or classes, etc.). It runs in VB, so you make a VB project, and then you can compile it to a palm prc file. Works great, but the version I have is really limited as far as actual VB capabilities. The current version looks like you can do almost anything you can do in a normal VB 6 project (classes, collections, events, etc). But it's a little pricey (I think it's around 8 or 9 hundred dollars). Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, June 17, 2003 3:01 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT PDAs There have been some discussions on this in Woody's Lounge ( www.wopr.com ), but unfortunately the search function is down at present, so I can't point you at anything particular. Non-Palm OS PDAs can run a version of Access if they run Windows CE, but Palm can only run things like HandBase. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 17, 2003 10:39 AM To: accessd Subject: [AccessD] OT PDAs Anyone any experience of using PDAs on a large scale. I am looking at the use of PDAs for database access for students for example logging into internal student systems using a wireless network. Was wondering if anyone has been involved in anything like this? Particulary in education. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Jun 17 15:35:22 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 17 Jun 2003 16:35:22 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E59@main2.marlow.com> Message-ID: LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 17, 2003 4:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 16:37:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 16:37:50 -0500 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5C@main2.marlow.com> Actually I worded that wrong. Lately I haven't had either, time nor money. But I do know what you mean. I've actually been burning out though. For the last two or three weekends I have only spent an hour or two (a weekend) on the computer, which is VERY light for me. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, June 17, 2003 3:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, June 17, 2003 4:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nealakling at yahoo.com Tue Jun 17 16:56:12 2003 From: nealakling at yahoo.com (Neal Kling) Date: Tue, 17 Jun 2003 14:56:12 -0700 (PDT) Subject: [AccessD] Access 97 employment opportunity Message-ID: <20030617215612.69933.qmail@web14303.mail.yahoo.com> Dear List, I am getting ready to leave my last remaining Access client. My personal interests no longer leave me time to persue a hobby as an Access developer. The client is a medical case management company with about a dozen employees. They have a reasonably mature A97 database that I inherited about a year ago. It is split front and back end. I have incorporated the Back End Upgrader available here, and the client is used to, and comfortable with, working via email and phone. I have made one on-site visit, but most, if not all, work can be done off-site. It is a mixture of both decent and poorly written code. There are essentially no macros. The project includes 73 tables (not including support tables such as Back End Upgrader), about 130 saved queries, 175 forms/subforms and about 40 reports. The table relationships are fairly complex. They have just recently brought up the possibility of moving to Access2K which I don't think will be a problem. There are no odd references. I seem to spend about 5 to 10 hours a month on this project adding new capabilites and reports as requested. I consider this a project for someone that is quite comfortable with database normalization. It is heavy on complex forms with many interdependant subforms. This is not a beginner project. My intention is to pre-screen potential developers and forward info/resumes in the next month or so. Please contact me off-list if you're interested, or for further details. Neal __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From JOHNWARDBELL at aol.com Tue Jun 17 17:05:24 2003 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Tue, 17 Jun 2003 18:05:24 EDT Subject: [AccessD] Access 97 employment opportunity Message-ID: <3e.3129e0e8.2c20eaa4@aol.com> Neal Where in the world are you? johnb -------------- next part -------------- An HTML attachment was scrubbed... URL: From nealakling at yahoo.com Tue Jun 17 17:24:05 2003 From: nealakling at yahoo.com (Neal Kling) Date: Tue, 17 Jun 2003 15:24:05 -0700 (PDT) Subject: [AccessD] Access 97 employment opportunity Message-ID: <20030617222405.79858.qmail@web14307.mail.yahoo.com> John, John, and Ron, etal, So that we don't clog the list please contact me off-list at nealakling at yahoo.com. But, a couple of good questions were raised. First, the client is in Pennsylvania. Second, my screening process will be pretty loose, but might include phone conversation, submission of sample work or code snippets, references etc. Mainly I need to be assured that you can take over a piece of work that has been handled by various developers (and the obvious problems that entails) and that you can handle a fairly complex project. Neal __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From hsimpson88 at hotmail.com Tue Jun 17 17:25:17 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Tue, 17 Jun 2003 16:25:17 -0600 Subject: [AccessD] List box misbehaving Message-ID: It doesn't begin to be fun until you have dueling listboxes competing for identical screen real estate with overlap. You can use overlapping multi select lists to good effect if you get a kick out of confusing users. If you work at it you can even confuse yourself. Just about every control will disappear behind a list which is really fun when you are playing with drag & drop and your textbox goes submarine. Hen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:57:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:57:12 -0700 Subject: [AccessD] access97 application on win2000 References: <916187228923D311A6FE00A0CC3FAA305279D3@ADGSERVER> Message-ID: <022a01c3352c$2d8219c0$6501a8c0@HAL9002> I don't have the problem myself, so it's real hard to figure out what might be causing it. He moves the app to a different box, it works. So it's something in his OS, I believe. Rocky ----- Original Message ----- From: Bobby Heid To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 12:51 PM Subject: RE: [AccessD] access97 application on win2000 It's working fine for me here. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 17, 2003 3:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:58:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:58:12 -0700 Subject: [AccessD] access97 application on win2000 References: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Message-ID: <023801c3352c$4fd3ce60$6501a8c0@HAL9002> Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Jun 17 18:58:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 17 Jun 2003 16:58:12 -0700 Subject: [AccessD] access97 application on win2000 References: <2F8793082E00D4119A1700B0D0216BF802226E5A@main2.marlow.com> Message-ID: <023801c3352c$4fd3ce60$6501a8c0@HAL9002> Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 17 19:18:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 19:18:43 -0500 Subject: [AccessD] access97 application on win2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5D@main2.marlow.com> It was only happening on W2k machines, but there was another quirk. It was occurring on a database that people were opening a link to from an intranet page. They were getting the Open From location or Save options. The Open option was opening to instances of the database, the first 'locked', the second got the error. When I switched the code, the first still locked, but the second opened. When the second instance was closed by the user, the first instance closed too. It was wierd. I do know that Jet 3.51 has a quirk in MDAC 2.5 (and I think up to 2.7), I always use Jet 4.0, but that's with ADO, not DAO. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 6:58 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] access97 application on win2000 Rats. I would hate to do that because I've moved the app to A2K and they're still on A97. Was the problem associated with W2K? Rocky ----- Original Message ----- From: Drew Wutka To: 'accessd at databaseadvisors.com' Sent: Tuesday, June 17, 2003 1:22 PM Subject: RE: [AccessD] access97 application on win2000 Yes, don't create a variable to reference CurrentDB. Just use the CurrentDB object. I had this happen to one of the databases (before my starting here) that had an Access created switchboard. The switchboard code failed on the set db=currentdb line, so I just removed db in all places and replaced it with just CurrentDB. Worked great. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, June 17, 2003 2:12 PM To: AccessD at databaseadvisors.com Subject: [AccessD] access97 application on win2000 Dear List: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Tuesday, June 17, 2003 11:56 AM Subject: Fw: access97 application on win2000 Rocky, I found some else with a similar problem. Dave ----- Original Message ----- From: Dave McDonald To: "Victor" Sent: Tuesday, June 17, 2003 2:00 PM Subject: RE: access97 application on win2000 Hello Victor, If you ever get an answer, please pass it on to me. I have the same problem, running Access97 in Windows2000. Tried removing and re-installing Access and W2000. No help. I used to get the "ActiveX component can't create object" (Error 429). Debug would take me to the same location as you in the mdb , Set db As database() Set and rerun would not help. Now Access won't even open the mdb. I get a message " has generated errors and will be closed by Windows" which it does. Please pass any advice along to me. Thanks, Dave dmcdonald at trci.net -----Original Message----- From: "Victor" < vescalera at apelcan.com > Sent: 6/16/2003 1:00:44 PM Subject: access97 application on win2000 I have an access97 application perfectly running on win95, win98 and winxp, but no on win2000 (at least in the server edition). If I execute the application on win2000, it spends several seconds (with an intensive use of the hard disk) in the instruction: set db= currentdb() 'db as an object of the database. .... and finally the application is closed without messages. In the original application I used DAO 3.51. In win2000 DAO 3.6 is marked in references. I have installed the MDAC 2.7 but the problem is not removed. How can I solve the problem? Thanks Victor . _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 17 19:33:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:33:06 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <14036972583.20030617175923@cactus.dk> Message-ID: <014801c33531$2fb708e0$6501a8c0@Rock> Well I have to wonder what you might have done in the light of said rumour/fact Gustav! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: June 17, 2003 11:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] *** Invitation to 3rd AccessD Conference *** Hi Lembit Arthur to arrive in M?nchen? Boy had I known that ... /gustav From artful at rogers.com Tue Jun 17 19:37:19 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:37:19 -0400 Subject: [AccessD] Renaming Wizard In-Reply-To: Message-ID: <014901c33531$c69b9320$6501a8c0@Rock> I don't know that product but I really like Rick Fisher's Find-And-Replace tool. It has paid for itself many times over. If only it would work with ADPs, alas... Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: June 17, 2003 1:53 PM To: accessd at databaseadvisors.com Subject: [AccessD] Renaming Wizard Hi All, Has anyone had any experience with the Renaming Wizard from ACC technology or a similar program. Have some older databases that could use an overhaul. Thanks. Ed Edward P. Tesiny New York State OASAS Evaluation and Program Monitoring 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Jun 17 19:39:44 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 17 Jun 2003 20:39:44 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: Message-ID: <014e01c33532$1ce03b00$6501a8c0@Rock> Fuller's First Law: Money never arrives at an inopportune moment. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: June 17, 2003 4:35 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL, isn't it amazing how we either have too much time, or too much money, but never enough of both? Of course come to think about it, I've pretty much ALWAYS had too much time and not enough money, but you know what I mean. John W. Colby www.colbyconsulting.com From pcs at azizaz.com Tue Jun 17 19:57:05 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Wed, 18 Jun 2003 10:57:05 +1000 Subject: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 References: <000701c333bc$abf53d30$0c05a8c0@earth.local> <03f501c33409$d1b891f0$be0e90cb@prosys.local> <12534219054.20030617171329@cactus.dk> Message-ID: <023d01c33534$8a2ccff0$be0e90cb@prosys.local> Gustav, Thanks much. Tried it out and it works perfectly!!! Yesterday, I did something similar in the sense of creating three fields to sort on. However, a very crude solution based on some string manipulation code that separates the words in a delimeted string, using "." as the delimter. I created separate functions for the up to three "words" I knew could be in the string. Using these three functions in the sql code, I created FirstSort, SecondSort and ThirdSort. I then found that the query cannot be sorted. Further, saving the query and then linking the query to the table to be sorted didn't work either: unable to use the three fields to sort on. So I ended up adding the three redundant sort fields to the table, and applying the sql as an update query. As I said... crude Regards Borge ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, June 18, 2003 1:13 AM Subject: Re: [AccessD] Text Field Sort Order 1.1 - 10 - 2 into 1.1 - 2 - 10 > Hi B?rge > > I found something from an old similar conversion routine. > It's a query which cannot be sorted, so feed the output to another > query where you select the needed fields only and order by Fld1, Fld2, > Fld3. > > > > SELECT > *, > InStr(1,[StringID],".") AS Dot1, > Val(IIf([Dot1]=0, > [StringID], > IIf([Dot1]=1, > "", > Left([StringID],[Dot1]-1)))) AS Fld1, > IIf([Dot1]=0, > "", > Mid([StringID],1+[Dot1])) AS FldRest1, > InStr(1,[FldRest1],".") AS Dot2, > Val(IIf([Dot2]=0, > "" & [FldRest1], > Left([FldRest1],[Dot2]-1))) AS Fld2, > IIf([Dot2]=0, > "", > Mid([FldRest1],1+[Dot2])) AS FldRest2, > InStr(1,[FldRest2],".") AS Dot3, > Val(IIf([Dot3]=0, > "" & [FldRest2], > Left([FldRest2],[Dot3]-1))) AS Fld3 > FROM > tblYourTable; > > > > It will also handle entries like > > .8.70 > > and > > ..61 > > /gustav > > > > We have a text field with data like this when sorted ascending: > > > 1 > > 1.1 > > 1.2 > > 10 > > 10.1 > > 11 > > 11.1 > > 11.2 > > 2 > > 2.1 > > 2.2 > > 3 > > 3.1. > > 3.1.1 > > 3.1.2 > > 3.1.3 > > 4 > > etc etc. > > > Any one got ideas for how to sort the field like this: > > 1 > > 1.1 > > 1.2 > > 2 > > 2.1 > > 2.2 > > 3 > > 3.1. > > 3.1.1 > > 3.1.2 > > 3.1.3 > > 4 > > .... > > > 10 > > 10.1 > > 11 > > 11.1 > > 11.2 > > > ????? > > > Regards > > Borge Hansen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 17 21:05:45 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:05:45 -0700 Subject: [AccessD] OT:Can VB6 still be purchased? References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <3EEFC8F9.4060204@shaw.ca> Well you might get with a MSDN Universal subscription haven't checked. Appforge sells VB6 student edition with a book for $30 On same page is a link to retailers of VB6 Pro http://www.appforge.com/dev/getvb.html Griffiths, Richard wrote: >so is this the official line then, ie no more VB6 cd's other than what is >already out there (on shelves, ebay etc)? > > > >>-----Original Message----- >>From: Andy Lacey [SMTP:andy at minstersystems.co.uk] >>Sent: 17 June 2003 11:59 >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] OT:Can VB6 still be purchased? >> >>Hi Richard >>There are plenty on ebay if that helps. >>Andy >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>>Griffiths, Richard >>>Sent: 17 June 2003 09:38 >>>To: 'AccessD at databaseadvisors.com' >>>Subject: [AccessD] OT:Can VB6 still be purchased? >>> >>> >>>Hi Group >>> >>>can anyone help with my current heated office discussion >>>which is concerning whether of not you can still puchase VB6 cd's. >>> >>>It appears that are are no longer available (at least in the >>>UK). Can anyone confirm this? >>> >>>Thanks >>> >>>Richard >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/a> ccessd >>>Website: >>>http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 21:21:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:21:46 -0700 Subject: [AccessD] OT SQL Server References: <000301c334f0$46f6f150$cf340cd8@hargrove.internal> <002801c334f8$f884eaa0$37f66e51@martinreid> Message-ID: <3EEFCCBA.9090707@shaw.ca> I think you may have to open one of the ports 1433, 1434 or 1435 to allow internet access to SQL server depending on your config and authorization.. Make sure you have SQL SP3 (slammer) patch installed. Martin Reid wrote: > I am working with SQL Server 2000 on my pc at home. Linking to a > WIndows SharePoint Server in the USA. The WSS server cannot see the > SQL Server and I have been told to make SQL Server "outward facing" I > have not a clue what that means. > > ANyone here have any ideas? > > Martin > > > > ----- Original Message ----- > From: Mike and Doris Manning > To: accessd > Sent: Tuesday, June 17, 2003 5:48 PM > Subject: RE: [AccessD] List box misbehaving > > As you have quickly learned, listboxes don't always like being > overlayed... either move it to somewhere else or make it invisible > in the section of code that makes the subform become visible. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don > Elliker > Sent: Tuesday, June 17, 2003 12:16 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] List box misbehaving > > Hi folks, > > I have an XP app that is giving me the business. Bound form > with a tabcontrol for various memo fields. A list box with a > separate data source (query of another table related to bound > form recordsource) An invisible subform which is the same data > as the mainform but in a more 'Excel-like' display. When they > request to see the data as presented by the invisible form I > make it visible (Ta Dah!) It overlays some of the controls and > the listbox is one of them. The listbox refuses to be > overlayed...it floats on top of the subform. I have played > with everything I can think of - including deleting the > control and compacting and repairing, then re-creating the > control. It still floats on top (super-annoying) -I checked > for requeries of the listbox. I checked taborders and remnant > code, there are no repaints or restore commands. > > Interestingly, I cannot get the listbox to 'move to back' > nicely...it flickers but stays on top of the Box it sits on - > none of the other controls act this way. Also, if I maximize > the form...it doesn't misbehave...but that, of course, is NOT > the solution......??? > Thanks, > > _D > > > > > "Things are only free to the extent that you don't pay for > them".-Don Elliker > > ------------------------------------------------------------------------ > STOP MORE SPAM with the new MSN 8 > and get 2 months 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 > > From martyconnelly at shaw.ca Tue Jun 17 21:27:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:27:32 -0700 Subject: [AccessD] OT StartOffice References: <1049909180.3e9457bc77efa@hosea.qub.ac.uk> <1049912749.26548.50.camel@sgsax-th4022c> <1049913718.3e946976b3732@hosea.qub.ac.uk> <1049915226.27231.67.camel@sgsax-th4022c> <019101c2fedc$dea746c0$6101a8c0@amd2k512> Message-ID: <3EEFCE14.7020900@shaw.ca> SAPdb is a code fork from ADABASE-D but even it's loosely documented. SAPDB has an Oracle like SQL syntax. http://www.sapdb.org William Hindman wrote: >...its Adabase D from Software AG ...trouble is that afaik it only supports >database functions in the other apps like a word merge or spreadsheet tables >...there is no standalone product interface, front-end, or VBA like program >support ...which means its not even close to MySQL as a db development >environment, much less Access :( > >William Hindman >"War is an ugly thing but not the ugliest of things; the decayed and >degraded state of moral and patriotic feelings which thinks that nothing is >worth war is much worse. A man who has nothing for which he is willing to >fight, nothing which is more important than his own personal safety, is a >miserable creature and has no chance of being free unless made and kept so >by the exertions of better men than himself." John Stuart Mill > >----- Original Message ----- >From: "Seth Galitzer" >To: "accessd" >Sent: Wednesday, April 09, 2003 3:07 PM >Subject: Re: [AccessD] OT StartOffice > > > > >>Martin, >> >>The database has always been seperate, not sure why, other than >>tradition. The name of the database app is Adabase D. If you can find >>that somewhere then you're home free. I think I have a copy of it, but >>the uni here also has a software contract with Sun. I will say that 6.0 >>was a huge improvement over 5.2, mostly because 5.2 had a massive >>integrated desktop environment that you had to use in order to use the >>suite. 6.0 got rid of that garbage entirely. I think it's much nicer >>now. >> >>Seth >> >>On Wed, 2003-04-09 at 13:41, Mwp.Reid at Queens-Belfast.AC.UK wrote: >> >> >>>Thanks Seth >>> >>>Just installed it on Win XP Pro. Giving it a look now. Only thing didnt >>>install was the database which is not part of the default set up files >>> >>> >and > > >>>cant find it on sun site. >>> >>>Martin >>> >>> >>-- >>Seth Galitzer sgsax at ksu.edu >>Computing Specialist http://puma.agron.ksu.edu/~sgsax >>Dept. of Plant Pathology >>Kansas State University >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 21:29:58 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 19:29:58 -0700 Subject: [AccessD] RE:OT slightly? Translation References: Message-ID: <3EEFCEA6.4080801@shaw.ca> Maybe hunt around here. http://www.microsoft.com/globaldev Jim Lawrence (AccessD) wrote: >Hi All: > >I have a question about language translation. Microsoft has installed what I >think/hope is the correct udf-8 language module for a foreign language. (It >happens to be Japanese) Ninety percent of the characters are correctly >displayed, with a few notable exceptions, that appear as boxes. How can I >find out what character set I am missing so the my MS products can translate >the remaining symbols? > >TIA >Jim > > >> >> >> From john at winhaven.net Tue Jun 17 21:49:12 2003 From: john at winhaven.net (John Bartow) Date: Tue, 17 Jun 2003 21:49:12 -0500 Subject: [AccessD] Renaming Wizard In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C7F1@TAPPEEXCH01> Message-ID: I highly recommended it also. I've found that if I think I should be able to do something with it but its not in my face obvious I just ask the support and they will explain how. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash > Sent: Tuesday, June 17, 2003 3:07 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Renaming Wizard > > > If it works on SQL Server, I'm in! > I'll take a look. > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, June 17, 2003 2:59 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Renaming Wizard > > > The latest version of SpeedFerret (4.1) handles 97, 2000 and 2002 > databases without any problems that I've found. I use it on 97 and XP > databases all the time. Plus it works on VB and SQL Server. > > Charlotte Foust > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Tuesday, June 17, 2003 11:14 AM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Renaming Wizard > > > I know that Speed Ferret would choke on older Access databases > (hopefully they've improved it since A2!). I use the Find & Replace > add-in by Rick Fisher. Cheap ($37) and works great! His website is > www.rickworld.com. > > -----Original Message----- > From: Tesiny, Ed [mailto:EdTesiny at oasas.state.ny.us] > Sent: Tuesday, June 17, 2003 12:53 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Renaming Wizard > > > Hi All, > Has anyone had any experience with the Renaming Wizard from ACC > technology or a similar program. Have some older databases that could > use an overhaul. Thanks. > Ed > > Edward P. Tesiny > New York State OASAS > Evaluation and Program Monitoring > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > EdTesiny at oasas.state.ny.us > > > > ------------------------------------------------------------------------ > -------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ------------------------------------------------------------------ > -------------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Tue Jun 17 21:49:13 2003 From: john at winhaven.net (John Bartow) Date: Tue, 17 Jun 2003 21:49:13 -0500 Subject: [AccessD] Sort mixed alpha numeric data In-Reply-To: <415374107.20030617091245@cactus.dk> Message-ID: Hi Gustav, Thanks for the suggestion. I'll give it a try in the morning. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, June 17, 2003 2:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Sort mixed alpha numeric data > > > Hi John > > > I have a test field where the data is generally 1,2,3,4,5 but can also > > include 1a, 1b, 1c. > > > Would any one happen to have ideas for a way (or code for a > function that > > will) sort mixed data numerically first and then alphabetically? > > So how are you sorting them now? The data must be strings and sorted > as such. Or do you have data with more than one digit, like 15c? > > If so, sort on the numeric value then the ascii value: > > > > SELECT > * > FROM > tblYourTable > ORDER BY > Val(StringID), > StringID; > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Tue Jun 17 22:14:56 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 17 Jun 2003 20:14:56 -0700 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E5C@main2.marlow.com> Message-ID: Hi All: I was wondering if there would be a way to video-conference to the conference. How much hardware, software and know-how would be involved? What about sponsors, like Uncle Bill who we have been supporting for years? All joking aside is it do-able? Viable? Realistic? How many programmers does it take to hook up video conferencing? Just a thought. Jim From d.dick at uws.edu.au Tue Jun 17 22:31:07 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 13:31:07 +1000 Subject: [AccessD] A2K: Date in Query Message-ID: <01d801c3354a$0e203670$3c619a89@DDICK> Hello all When I put msgbox Year(Date) behind a button click I get 2003. No Prob When I put that criteria Year(Date) into a query Access changes it to Year("Date") and of course it fails. What is the correct syntax to search on the 'current year' on a field that holds that data? Many thanks Darren From accessd at shaw.ca Tue Jun 17 22:22:57 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 17 Jun 2003 20:22:57 -0700 Subject: [AccessD] RE:OT slightly? Translation In-Reply-To: <3EEFCEA6.4080801@shaw.ca> Message-ID: Hi Marty: Thanks for the information. Now to work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, June 17, 2003 7:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] RE:OT slightly? Translation Maybe hunt around here. http://www.microsoft.com/globaldev Jim Lawrence (AccessD) wrote: >Hi All: > >I have a question about language translation. Microsoft has installed what I >think/hope is the correct udf-8 language module for a foreign language. (It >happens to be Japanese) Ninety percent of the characters are correctly >displayed, with a few notable exceptions, that appear as boxes. How can I >find out what character set I am missing so the my MS products can translate >the remaining symbols? > >TIA >Jim > > >> >> >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Jun 17 22:40:22 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 13:40:22 +1000 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: Message-ID: <01e301c3354b$58f2c3b0$3c619a89@DDICK> Hi Jim Actually videoconferencing (vcf) is my full time gig To videoconference, using a 'web cam' device is easy but the results are crap. But of course cheap. To do it semi professionally requires a little bit of intervention but primarily it would require money. Money to hire the necessary sites at each end and the cost of the call if it is done via ISDN. If people at the relevant ends have access to a very wide bandwidth symmetric pipe then it can be done quite cheaply via IP. I would even offer to bridge the call/s :-) - No fee Depends on who is paying and from where to where basically. If this is to be seriously looked at then can the dba Conference organisers contact me off line and we can talk serious. Have a great day Darren ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: Sent: Wednesday, June 18, 2003 1:14 PM Subject: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > Hi All: > > I was wondering if there would be a way to video-conference to the > conference. How much hardware, software and know-how would be involved? What > about sponsors, like Uncle Bill who we have been supporting for years? All > joking aside is it do-able? Viable? Realistic? How many programmers does it > take to hook up video conferencing? > > Just a thought. > 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 Tue Jun 17 23:06:32 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Jun 2003 14:06:32 +1000 Subject: [AccessD] A2K: Date in Query In-Reply-To: <01d801c3354a$0e203670$3c619a89@DDICK> Message-ID: <3EF071E8.22468.17EFF5A@localhost> On 18 Jun 2003 at 13:31, Darren DICK wrote: > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that holds that data? > Try Year(Date()) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Tue Jun 17 23:37:44 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 17 Jun 2003 23:37:44 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E5F@main2.marlow.com> Year(Date()). Without the (), the query thinks it's text. Do we need an Access 101 course Darren? , just kidding, I've been nabbed about a dozen times in the past week for putting Date in a query, and having it quote it on me...ARG! I need a vacation! Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Tuesday, June 17, 2003 10:31 PM To: AccessD List Subject: [AccessD] A2K: Date in Query Hello all When I put msgbox Year(Date) behind a button click I get 2003. No Prob When I put that criteria Year(Date) into a query Access changes it to Year("Date") and of course it fails. What is the correct syntax to search on the 'current year' on a field that holds that data? Many thanks Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 17 23:51:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 21:51:36 -0700 Subject: [AccessD] VB6: Using the Webbrowser controltoviewfiles-Thumbnail view? References: <62090-22003661451356854@christopherhawkins.com> Message-ID: <3EEFEFD8.7010205@shaw.ca> Have a look at this code produces multiple thumbnails as an index on 1 bmp Should be other code on this site http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=46216 Christopher Hawkins wrote: >I did explain the outcome I was after. > >>From my original message: >"My client *wants to see a thumbnail* of all the images that are >related to the record being viewed - the images are stored in a >folder with the same name as the record ID, so finding them is easy. > >I dropped a Webbrowser control on the form, fed it the appropriate >path, and BAM! I'm looking at a list of files. Close, but *I need to >see a thumbnail view*, not a list view. > >I can right-click in the control and select View > Thumbnail, but *my >client wants the images to appear in thumbnail view* without his >users having to do anything." > >The question is hereby withdrawn. > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser >controltoviewfiles-Thumbnail view? >Date: Fri, 13 Jun 2003 20:46:00 -0700 > > > >>Christopher, you should explained what result you required, not how >>to get >>there; you got exactly what you ask for but not what you needed. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >>Hawkins >>Sent: Friday, June 13, 2003 7:06 AM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] VB6: Using the Webbrowser control >>toviewfiles-Thumbnail view? >> >> >>Well, that code will launch Windows Explorer, but I'm tasked with >>actually integrating some type of image browser into the app. That's >>why I used ther WebBrowser in the first place. >> >>Good idea, though. >> >>-C- >> >>---- Original Message ---- >>From: accessd at shaw.ca >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] VB6: Using the Webbrowser control to >>viewfiles-Thumbnail view? >>Date: Fri, 13 Jun 2003 00:29:22 -0700 >> >> >> >>>Hi Christopher: >>> >>>Yes there is: >>> >>>Option Explicit >>> >>>Public 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 Const SW_SHOWNORMAL = 1 >>> >>> >>>Private Sub frmButton01_Click() >>> >>> Call ShellExecute(0&, "Open", _ >>> "explorer.exe", "/e,/n,c:\", _ >>> 0&, SW_SHOWNORMAL) >>> >>>End Sub >>> >>>Something like this would work. >>> >>>HTH >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>> >>> >>Christopher >> >> >>>Hawkins >>>Sent: Thursday, June 12, 2003 7:53 PM >>>To: accessd at databaseadvisors.com >>>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>>files-Thumbnail view? >>> >>> >>>OK, let me ask this, then: >>> >>>Is there a way to embed Windows Explorer into a VB form? >>> >>>-C- >>> >>>---- Original Message ---- >>>From: accessd at shaw.ca >>>To: accessd at databaseadvisors.com, >>>Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >>>files -Thumbnail view? >>>Date: Thu, 12 Jun 2003 19:37:11 -0700 >>> >>> >>> >>>>Hi Christopher: >>>> >>>>In order for the process to work you will need two copies of the >>>>picture, >>>>one the thumbnail and one the full-size version. They could he >>>> >>>> >>>named >>> >>> >>>>like >>>>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >>>> >>>> >>>to >>> >>> >>>>force a >>>>image to a specific size on a web page. Too much process and a poor >>>>quality >>>>images. Check out the tag for html coding. >>>> >>>>HTH >>>>Jim >>>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>> >>>> >>>Christopher >>> >>> >>>>Hawkins >>>>Sent: Thursday, June 12, 2003 7:05 PM >>>>To: accessd at databaseadvisors.com >>>>Subject: [AccessD] VB6: Using the Webbrowser control to view files >>>> >>>> >>- >> >> >>>>Thumbnail view? >>>> >>>> >>>>So here's my dilemma. >>>> >>>>I have a form that is displaying data from a database. >>>> >>>>My client wants to see a thumnail of all the images that are >>>> >>>> >>related >> >> >>>>to the record being viewed - the images are stored in a folder with >>>>the same name as the record ID, so finding them is easy. >>>> >>>>I dropped a Webbrowser control on the form, fed it the appropriate >>>>path, and BAM! I'm looking at a list of files. Close, but I need >>>> >>>> >>>to >>> >>> >>>>see a thumbnail view, not a list view. >>>> >>>>I can right-click in the control and select View > Thumbnail, but >>>> >>>> >>my >> >> >>>>client wants the images to appear in thumbnail view without his >>>> >>>> >>>users >>> >>> >>>>having to do anything. >>>> >>>>I am thus far unable to find a property of the WebBrowser control >>>>that would allow this, and Google has failed me. Does anyone have >>>>any ideas? >>>> >>>>-Christopher- >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Jun 17 23:57:46 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 17 Jun 2003 21:57:46 -0700 Subject: [AccessD] RE:OT slightly? Translation References: Message-ID: <3EEFF14A.9060300@shaw.ca> You might want to have a look at Micheal Kaplan's book on VB6 Internationalization Explains a lot about different language packs and OS's and how they interlink with UTS-8 and Unicode especially for DBCS languages. Link to book on his web site http://www.trigeminal.com Jim Lawrence (AccessD) wrote: >Hi Marty: > >Thanks for the information. Now to work. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Tuesday, June 17, 2003 7:30 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] RE:OT slightly? Translation > > >Maybe hunt around here. >http://www.microsoft.com/globaldev > > >Jim Lawrence (AccessD) wrote: > > > >>Hi All: >> >>I have a question about language translation. Microsoft has installed what >> >> >I > > >>think/hope is the correct udf-8 language module for a foreign language. (It >>happens to be Japanese) Ninety percent of the characters are correctly >>displayed, with a few notable exceptions, that appear as boxes. How can I >>find out what character set I am missing so the my MS products can >> >> >translate > > >>the remaining symbols? >> >>TIA >>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 bbruen at bigpond.com Wed Jun 18 00:05:34 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Wed, 18 Jun 2003 15:05:34 +1000 Subject: [AccessD] Cross referencing records - ideas Message-ID: <000001c33557$419f9470$7f00a8c0@bbb888> Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce From d.dick at uws.edu.au Wed Jun 18 00:20:24 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 15:20:24 +1000 Subject: [AccessD] A2K: Date in Query References: <2F8793082E00D4119A1700B0D0216BF802226E5F@main2.marlow.com> Message-ID: <021f01c33559$523a74b0$3c619a89@DDICK> I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 00:33:34 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 00:33:34 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E60@main2.marlow.com> Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 00:35:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 00:35:42 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E61@main2.marlow.com> Well, maybe someone should make up a list of topics, and we can post about them, to create a ad-hoc 101 course here. Pick a topic a week. Like Query Building, Table Design, Shortcut keys, etc. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 12:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Jun 18 01:07:13 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 18 Jun 2003 16:07:13 +1000 Subject: [AccessD] A2K: Date in Query References: <2F8793082E00D4119A1700B0D0216BF802226E61@main2.marlow.com> Message-ID: <024101c3355f$dcdb4a30$3c619a89@DDICK> SOunds like a great idea. Volunteering?? DD ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 3:35 PM Subject: RE: [AccessD] A2K: Date in Query > Well, maybe someone should make up a list of topics, and we can post about > them, to create a ad-hoc 101 course here. Pick a topic a week. > > Like Query Building, Table Design, Shortcut keys, etc. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 18, 2003 12:20 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K: Date in Query > > > I would love a 101 Course - really > We can do it Via videoconference > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Wednesday, June 18, 2003 2:37 PM > Subject: RE: [AccessD] A2K: Date in Query > > > > Year(Date()). Without the (), the query thinks it's text. > > > > Do we need an Access 101 course Darren? , just kidding, I've > been > > nabbed about a dozen times in the past week for putting Date in a query, > and > > having it quote it on me...ARG! I need a vacation! > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Tuesday, June 17, 2003 10:31 PM > > To: AccessD List > > Subject: [AccessD] A2K: Date in Query > > > > > > Hello all > > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > > When I put that criteria Year(Date) into a query Access changes it to > > Year("Date") > > and of course it fails. > > What is the correct syntax to search on the 'current year' on a field that > > holds that data? > > > > Many thanks > > > > Darren > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 05:22:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 12:22:02 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <014801c33531$2fb708e0$6501a8c0@Rock> References: <014801c33531$2fb708e0$6501a8c0@Rock> Message-ID: <19917423864.20030618122202@cactus.dk> Hi Arthur > Well I have to wonder what you might have done in the light of said > rumour/fact Gustav! Stayed away, of course! No, seriously, now I have to figure out something clever to present between the beer sessions. /gustav PS: Did you know that one of my ancestors - he even had the same name - was one of the three founders of Tuborg Breweries in 1873? > Arthur to arrive in M?nchen? > Boy had I known that ... From Erwin.Craps at ithelps.be Wed Jun 18 05:24:10 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 18 Jun 2003 12:24:10 +0200 Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Message-ID: <104AB6116A2DD511A7580008C7097A982198E9@AARDBEI> Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Jun 18 05:57:43 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 18 Jun 2003 06:57:43 -0400 Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. In-Reply-To: <104AB6116A2DD511A7580008C7097A982198E9@AARDBEI> Message-ID: <018901c33588$717f0500$6501a8c0@Rock> This little function won't do everything you want, but it should help considerably. A little cutting and pasting and you're there: Public Function FieldList(strSource As String, Optional intType As Integer, _ Optional bIncludePK As Boolean) As String 'Returns a comma-delimited list of the fieldnames from a table 'Not including the first field 'On the assumption that this field is the Primary Key 'TODO: refine this assumption before publication, make it test against PK ' Dim rst As ADODB.Recordset Dim fld As ADODB.Field Dim i As Integer 'Dim cnn As Connection Dim strList As String 'Set cnn = CurrentProject.Connection Set rst = New ADODB.Recordset rst.Open strSource, CurrentProject.Connection For i = 0 To rst.Fields.Count - 1 'skip the first field (PK usually) Set fld = rst.Fields(i) With fld If Left$(.Name, 2) <> "s_" And Left$(.Name, 4) <> "MSys" Then Select Case intType Case 0 strList = strList & .Name & ", " Case 1 strList = strList & "[" & strSource & "].[" & .Name & "], " End Select End If End With Next FieldList = Left(strList, Len(strList) - 2) 'drop the final ", " rst.Close Set rst = Nothing Set fld = Nothing End Function "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: June 18, 2003 6:24 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Importance: High Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinanfields at torchlake.com Wed Jun 18 07:07:01 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 18 Jun 2003 08:07:01 -0400 Subject: [AccessD] OT: the "Education" system References: <2F8793082E00D4119A1700B0D0216BF802226E54@main2.marlow.com> Message-ID: <3EF055E5.30607@torchlake.com> Drew, Yes. It may well be one of those "paradigm" things - those things that are so much a part of our environment that we don't question them, or in some cases even see them. I'm not exactly a self-efacing type, and I'm not unaware of the intellectual gifts I got handed at birth. What's more, I knew full well that my high school education stood up very well against most of the standard college curricula (we were using Boolean Algebra and Differential Calculus in our senior year, and most of us got advanced placement in one or more subjects, based on our college entrance exam scores). Yet, once I did complete the trip across the stage to collect that degree, I had changed inside. I knew I had achieved something. Was I especially different? Well, no - most of what I now had a "stamp of approval" on was stuff I had been using for years. But, from then on, I had a sort of "I have one, too" attitude that completely surprised me. (Could be "leftovers" from the traditional cultural point that Charles mentioned.) Tina Drew Wutka wrote: >Hmmm, so you think you realized something afterwards, that you hadn't pin >pointed before? > >Drew > >-----Original Message----- >From: Tina Norris Fields [mailto:tinanfields at torchlake.com] >Sent: Monday, June 16, 2003 4:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: the "Education" system > > >Drew, >Oh yes, you probably are "up hill" of most of the people you ever will >meet. So are many of the contributors on this list. What surprised me >was that I didn't know until after I had the degree that I had ever felt >"down hill." > Tina > >Drew Wutka wrote: > > > >>Interesting. >> >>I have never really felt 'downhill' though. In fact, many times I feel >> >> >like > > >>I am uphill from people with degrees, because I see the solution, and they >>are flapping in the wind. Oh well. >> >>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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 18 07:24:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 08:24:14 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. John W. Colby www.colbyconsulting.com From serbach at new.rr.com Wed Jun 18 07:27:15 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 18 Jun 2003 07:27:15 -0500 Subject: [AccessD] OT: the "Education" system References: Message-ID: <016b01c33595$aa78ab60$3c06d018@W2k> Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain From roz.clarke at donnslaw.co.uk Wed Jun 18 07:36:25 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 18 Jun 2003 13:36:25 +0100 Subject: [AccessD] OT: the "Education" system Message-ID: <61F915314798D311A2F800A0C9C83188047C5EF4@dibble.observatory.donnslaw.co.uk> As promised on Friday, this thread is now squashed. Please take your comments to our delicious, nutritious OT list. Thanks Roz -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 18 June 2003 13:27 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 07:37:03 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 08:37:03 -0400 Subject: [AccessD] OT: the "Education" system In-Reply-To: <016b01c33595$aa78ab60$3c06d018@W2k> Message-ID: >How about "Miss Manners' Guide to Excruciatingly Correct Behavior?" I have a two year old boy. I would buy that! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, June 18, 2003 8:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: the "Education" system Charlotte, >> The trouble is that the users manuals for children were created by the same wonderful folks that brought us HTML help << How about "Miss Manners' Guide to Rearing Perfect Children?" Or "Miss Manners' Guide to Excruciatingly Correct Behavior?" Regards, Steve Erbach Scientific Marketing Neenah, WI "Nothing so needs reforming as other people's habits." - Mark Twain _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Jun 18 07:42:57 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Jun 2003 22:42:57 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: Message-ID: <3EF0EAF1.6794.357CF23@localhost> On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Erwin.Craps at ithelps.be Wed Jun 18 07:45:44 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 18 Jun 2003 14:45:44 +0200 Subject: SOLVED : [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Message-ID: <104AB6116A2DD511A7580008C7097A982198EA@AARDBEI> Thank you -----Oorspronkelijk bericht----- Van: Arthur Fuller [mailto:artful at rogers.com] Verzonden: woensdag 18 juni 2003 12:58 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. This little function won't do everything you want, but it should help considerably. A little cutting and pasting and you're there: Public Function FieldList(strSource As String, Optional intType As Integer, _ Optional bIncludePK As Boolean) As String 'Returns a comma-delimited list of the fieldnames from a table 'Not including the first field 'On the assumption that this field is the Primary Key 'TODO: refine this assumption before publication, make it test against PK ' Dim rst As ADODB.Recordset Dim fld As ADODB.Field Dim i As Integer 'Dim cnn As Connection Dim strList As String 'Set cnn = CurrentProject.Connection Set rst = New ADODB.Recordset rst.Open strSource, CurrentProject.Connection For i = 0 To rst.Fields.Count - 1 'skip the first field (PK usually) Set fld = rst.Fields(i) With fld If Left$(.Name, 2) <> "s_" And Left$(.Name, 4) <> "MSys" Then Select Case intType Case 0 strList = strList & .Name & ", " Case 1 strList = strList & "[" & strSource & "].[" & .Name & "], " End Select End If End With Next FieldList = Left(strList, Len(strList) - 2) 'drop the final ", " rst.Close Set rst = Nothing Set fld = Nothing End Function "Those who would sacrifice liberty for security deserve neither." -- Benjamin Franklin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: June 18, 2003 6:24 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] URGENT: Accessing DBF files from VBA with more than 255 Fields. Importance: High Hi I have linked DBF files into my AXP, importing does not work, with more than 255 fields. I need to cross check two identical tables, for typo errors. But I can acces these tables from VBA (tried DAO and ADODB recordset) with a SELECT * statement due to these +255 fields problem. I could use "SELECT Field1, Field2, Field3" etc but you understand this is some typ work. Is there an SQL statement that I could use? Something that allows me to select fields 1 to 250 and afterwards fields 1,2,3,4,5, field 251 to last field. Or do I really need to typ in every fields name... Or can numericly refer to a field instead of using field names in my SQL string? Thanks Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Wed Jun 18 07:52:49 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 13:52:49 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: <002501c33598$86237e40$ea39fc3e@netboxxp> Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark From Lists at theopg.com Wed Jun 18 07:57:37 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 13:57:37 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <002501c33598$86237e40$ea39fc3e@netboxxp> Message-ID: <002601c33599$31a8f290$ea39fc3e@netboxxp> 'scuse the typo in the subject line please folks... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: 18 June 2003 13:53 To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Jun 18 07:57:47 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 18 Jun 2003 08:57:47 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: John, if it helps... Quite a lot of command line options are shown here: http://office.microsoft.com/assistance/2002/articles/OlCommandLineSwitches.a spx Outlook 2002 Object Model Map http://www.microeye.com/resources/ObjectModel2002.htm Mark -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:24 AM To: AccessD Subject: [AccessD] OT: Programming in Outlook Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 08:07:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 09:07:07 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 08:18:48 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 09:18:48 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF0EAF1.6794.357CF23@localhost> Message-ID: Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 08:33:47 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 14:33:47 +0100 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: Message-ID: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Jun 18 08:44:42 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 18 Jun 2003 09:44:42 -0400 Subject: [AccessD] List box misbehaving Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Wed Jun 18 09:12:19 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 00:12:19 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> References: Message-ID: <3EF0FFE3.19331.3A9A092@localhost> On 18 Jun 2003 at 14:33, Mark H wrote: > You may need to set the macro security to medium (TOOLS - MACRO - > SECURITY)... > > I'm using Outlook 2002 btw - tried what you did and it worked fine on > medium (got prompt to enable macros though) > Same here with O2K -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From dwaters at usinternet.com Wed Jun 18 09:13:38 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 18 Jun 2003 09:13:38 -0500 Subject: [AccessD] Outlook / Access Email Security (was OT: Programming in Outlook) In-Reply-To: <000001c3359e$3ef822e0$ea39fc3e@netboxxp> Message-ID: <000001c335a3$d021e710$de1811d8@DanWaters> I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Wed Jun 18 09:11:45 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Wed, 18 Jun 2003 09:11:45 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <869379ABF177D4118D3100508B5EF8730656C3DB@corp-es00> Hmmm....A lot of people contribute great answers often complete with code. The best of these could be invited to present them in question and answer form for use on the website. If this is done as they occur (a best answer of the week award?) it would, over time, produce a respectable body of knowledge. DBA could even raise operating funds by publishing a book along the lines of the Access Cookbook (which earlier was published as the Access 95 How To). Just a thought. Jim Hale -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, June 18, 2003 12:36 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] A2K: Date in Query Well, maybe someone should make up a list of topics, and we can post about them, to create a ad-hoc 101 course here. Pick a topic a week. Like Query Building, Table Design, Shortcut keys, etc. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 12:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query I would love a 101 Course - really We can do it Via videoconference ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 2:37 PM Subject: RE: [AccessD] A2K: Date in Query > Year(Date()). Without the (), the query thinks it's text. > > Do we need an Access 101 course Darren? , just kidding, I've been > nabbed about a dozen times in the past week for putting Date in a query, and > having it quote it on me...ARG! I need a vacation! > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, June 17, 2003 10:31 PM > To: AccessD List > Subject: [AccessD] A2K: Date in Query > > > Hello all > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > When I put that criteria Year(Date) into a query Access changes it to > Year("Date") > and of course it fails. > What is the correct syntax to search on the 'current year' on a field that > holds that data? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Jun 18 09:21:34 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 18 Jun 2003 10:21:34 -0400 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <002501c33598$86237e40$ea39fc3e@netboxxp> Message-ID: <004901c335a4$ef925840$6d320cd8@hargrove.internal> You are basically going to have to build your own routine to handle the send attachment process using the Outlook object model and/or CDO. Slipstick's website (http://www.slipstick.com/) has a lot of helpful tips and tricks. We use Redemption (http://www.dimastr.com/redemption/) to get around the Microsoft Outlook Security patch issues. Our code looks something like this... Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String, _ Optional FilePath As String, _ Optional strAttach As String) On Error GoTo ErrorHandler Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oRecip As Object Dim oDeliver As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe 'Add the TO names If SendTo <> vbNullString Then If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If 'Add the CC names If SendCC <> vbNullString Then If InStr(1, SendCC, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendCC, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv .Recipients.ResolveAll Else .Recipients.Add SendCC .Recipients.ResolveAll End If End If 'Add the rest of the information .Subject = SendSubj .Body = SendBody 'Add Attachments If strAttach <> vbNullString Then If InStr(1, strAttach, ";", vbTextCompare) > 0 Then If Right(strAttach, 1) <> ";" Then strAttach = strAttach & ";" End If aryFileList = Split(strAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = CurrentProject.Path & "\" & aryFileList(lcv) If Right(aryFileList(lcv), 3) = "pdf" Then strFileName = FilePath & aryFileList(lcv) FileCopy strFileName, PullFile End If .Attachments.Add PullFile Next lcv End If End If If SendEdit = True Then .Display Exit Function Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup Exit_SafeMail: If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 8:53 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:24:24 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:24:24 +1000 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E60@main2.marlow.com> Message-ID: <001501c335a5$51bc5980$7f00a8c0@bbb888> I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:35:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:35:46 +1000 Subject: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) In-Reply-To: <000001c335a3$d021e710$de1811d8@DanWaters> Message-ID: <002201c335a6$e82814d0$7f00a8c0@bbb888> Dear Dan, No, this will NOT work. Certificates will let you use VBA routines inside Outlook without having to set your security level down. However, it wont get rid of the "A program is trying to access your address list" pain. There is (currently) NO way around this unless you are using Enterprise Server or you use a different mailing system inside Access (eg Fathmail) or you go the Redemption route. Further the outlook is for continued bad weather as M$ does not wish to admit it is wrong and has stated that it will continue with the stupidity of the Outlook (so called) security model into the future. Hope this saves you some time Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, June 19, 2003 12:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 09:36:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 16:36:27 +0200 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <001501c335a5$51bc5980$7f00a8c0@bbb888> References: <001501c335a5$51bc5980$7f00a8c0@bbb888> Message-ID: <7132689184.20030618163627@cactus.dk> Hi Bruce Though it probably won't help you much, what you're describing is pretty much how Lotus Organizer works. Information of many kinds - notes, addresses, calendar entries, to-do list, etc. - can easily be linked or chained to each other and these links act as hyperlinks. But perhaps you can get some ideas for the GUI ... /gustav > I am after the concept for a solution. I guess I'm having as much > trouble describing it as conceiving it. However, you have created a > germ of an idea here. Lets see if I can explain it more clearly. > A part of the (much) larger job quoting/pricing system involves > 'actioning' pricing on parts. That is, once they have figured out a > configuration to suit the customers needs of a machine, they search > around for the best component supply price both locally and on the web. > This actioning may take several days and involve several different > people in several different offices. As they traipse around doing this, > they enter notes regarding the component supply for the job. To do > this, we use a popup form off the jobcard form into which the user > enters his notes. When they close the popup, the note is appended to > the "job_history" field on the job card. (In fact, its prepended so > they appear in reverse order.) > For example, Joe rings his mate at ShonkyPCParts and gets a quote for > $98 for a mini-keyboard. He opens the job card form up and clicks the > "ADD a note" command button. Up comes the popup and he enters "Spoke to > Fred down at Shonky's, they can give us the kbds at $98 if we can use > 250 of them" and closes the form. The job card job_history is updated > and now reads: > "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us > the kbds at $98 if we can use 250 of them > 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" > Now, lets say Ben Crow also needs mini keyboards for another job, he and > Joe can make up a need for a total of 280 of them. Joe adds a new note > to the file. The history now reads: > "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS > job for Bigbank > 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us > the kbds at $98 if we can use 250 of them > 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" > This is where the issue lies. What they would like, is some way to > easily link Joe's job with Ben's job and vv. Now, there is no natural > key for the job cards - we excluded this on purpose in the design. You > can see one of the ways a jobcard may be referenced above: (broker=Ben, > client=Bigbank, jobtitle=...POS...). This is a typical (not the only) > way these guys refer to a job. Now Ben, over the course of time, may do > more than one POS job for Bigbank, but usually only one is active at a > time, if there were more than one they would call them differently. > What the germ of the idea is, is this. > There must be some way of letting them create a hyperlink to the job and > attaching the hyperlink to the referencing phrase. That is, in the > above hstory : "POS job for Bigbank" would be the link text and the > hyperlink would be to the PK for Ben's job card. > The question now becomes, "How feasible is this? > I could easliy add a cmdbutton on the ADD a note popup to open a search > for other jobs. I can use selstart etc to position the link. I can > build the html easily enough. What I would need to do is change the > textbox for note entry to some sort of edittable html control. Any > ideas? And change the history display textbox on the jobcard form to a > webcontrol (as its not directly edittable). > Is this clearer? What do ou think of the solution? Should I go back to > gardening? From Mark.Mitsules at ngc.com Wed Jun 18 09:41:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 18 Jun 2003 10:41:59 -0400 Subject: [AccessD] Outlook / Access Email Security (was OT: Program ming in Outlook) Message-ID: Dan, I've seen such a thing for personal use... http://support.microsoft.com/?kbid=217221 Mark -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, June 18, 2003 10:14 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programming in Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Wed Jun 18 09:47:45 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 00:47:45 +1000 Subject: [AccessD] OT: Programming in Outlook :-) In-Reply-To: Message-ID: <002801c335a8$94b45550$7f00a8c0@bbb888> Option Explicit Dim ProcNewMail As Boolean Private Sub Application_NewMail() Dim mItem As MailItem Dim ns As NameSpace If Not ProcNewMail Then Exit Sub Call Application.Uninstall("Outlock","Now", "No I dont want to think about it") End Sub Private Sub Application_Startup() 'This is to defuse the newmail process only while in development 'Set to true in final version ProcNewMail = False End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, June 18, 2003 10:24 PM To: AccessD Subject: [AccessD] OT: Programming in Outlook Does anyone out there know how to set up an "autoexec macro" (as we know it in Access) that executes automatically when outlook opens? I am trying to do a little simple stuff in Outlook and don't even know how to do the basics. Rename modules / classes, get my program to start up and operate when Outlook opens etc. 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 Lists at theopg.com Wed Jun 18 09:24:59 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 15:24:59 +0100 Subject: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) In-Reply-To: <000001c335a3$d021e710$de1811d8@DanWaters> Message-ID: <000f01c335a5$66086cd0$ea39fc3e@netboxxp> Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 09:26:44 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 15:26:44 +0100 Subject: [AccessD] Accessing qindows Send To In-Reply-To: <004901c335a4$ef925840$6d320cd8@hargrove.internal> Message-ID: <001001c335a5$a4c92ef0$ea39fc3e@netboxxp> Thanks for that... Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: 18 June 2003 15:22 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Accessing qindows Send To You are basically going to have to build your own routine to handle the send attachment process using the Outlook object model and/or CDO. Slipstick's website (http://www.slipstick.com/) has a lot of helpful tips and tricks. We use Redemption (http://www.dimastr.com/redemption/) to get around the Microsoft Outlook Security patch issues. Our code looks something like this... Public Function SendSafeEmail(SendTo As String, SendSubj As String, _ SendBody As String, SendEdit As Boolean, _ Optional SendCC As String, _ Optional FilePath As String, _ Optional strAttach As String) On Error GoTo ErrorHandler Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oRecip As Object Dim oDeliver As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer bolOpen = IsOutlookOpen Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderOutbox) Set oItem = oMail.CreateItem(olMailItem) Set oSafe = CreateObject("Redemption.SafeMailItem") oSafe.Item = oItem With oSafe 'Add the TO names If SendTo <> vbNullString Then If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If 'Add the CC names If SendCC <> vbNullString Then If InStr(1, SendCC, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendCC, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv .Recipients.ResolveAll Else .Recipients.Add SendCC .Recipients.ResolveAll End If End If 'Add the rest of the information .Subject = SendSubj .Body = SendBody 'Add Attachments If strAttach <> vbNullString Then If InStr(1, strAttach, ";", vbTextCompare) > 0 Then If Right(strAttach, 1) <> ";" Then strAttach = strAttach & ";" End If aryFileList = Split(strAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = CurrentProject.Path & "\" & aryFileList(lcv) If Right(aryFileList(lcv), 3) = "pdf" Then strFileName = FilePath & aryFileList(lcv) FileCopy strFileName, PullFile End If .Attachments.Add PullFile Next lcv End If End If If SendEdit = True Then .Display Exit Function Else .Send End If End With Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup Exit_SafeMail: If bolOpen = False Then oMail.Quit End If Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SendSafeEmail") End Function Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 8:53 AM To: accessd at databaseadvisors.com Subject: [AccessD] Accessing qindows Send To Hello All Using Access XP on Win XP (also 97 on 2000) I have a listbox which lists files related to a particular record. I would like to be able to access the users "SendTo" options, for example to send the selected files as attachments in an email etc. I would like to avoid creating my own send to options as it would be preferable to use whats already set up in Windows. Any ideas much appreciated :o) Cheers Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 18 10:03:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 18 Jun 2003 11:03:30 -0400 Subject: [AccessD] Cross referencing records - ideas In-Reply-To: <001501c335a5$51bc5980$7f00a8c0@bbb888> Message-ID: <01e601c335aa$c77ee340$6501a8c0@Rock> IMO stuffing everything into a single memo field is the problem, not the solution. Every new note should be a new record in a table with a memo field. Then you can forget about all this concatenation stuff and concentrate on displaying the results suitably. Not that it's necessarily black and white: I have several times included both a normalized version and a non-normalized version in an app, simply because the non-normalized version was the client's dictate. That doesn't mean I have to live with its limitations, however. In such a case I do the actually important writes to the normalized table, then execute some code to write to the non-normalized table. In your case my normalized table would have a date and a memo and requisite FKs, then some code would concatenate new memos to the non-normalized table's memo field. My $.02 :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: June 18, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 10:07:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 11:07:30 -0400 Subject: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) In-Reply-To: <000f01c335a5$66086cd0$ea39fc3e@netboxxp> Message-ID: I just found and ran it. The cert doesn't show up in the trusted list however. I also have a real cert (some of you may remember THAT fiasco a few months ago) and it doesn't show up in the trusted list either. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark H Sent: Wednesday, June 18, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lists at theopg.com Wed Jun 18 10:17:48 2003 From: Lists at theopg.com (Mark H) Date: Wed, 18 Jun 2003 16:17:48 +0100 Subject: [AccessD] Outlook / Access Email Security (wasOT:Programmingin Outlook) In-Reply-To: Message-ID: <001f01c335ac$c752df50$ea39fc3e@netboxxp> I don't know enough to help. Just tried it on this machine... Created the cert, went into VBA editor and clicked "tools" then "digital signature" then "choose" under "sign as" and the cert was there. This is only for self certification I believe so it (possibly???) won't work on other computers. Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 16:08 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (wasOT:Programmingin Outlook) I just found and ran it. The cert doesn't show up in the trusted list however. I also have a real cert (some of you may remember THAT fiasco a few months ago) and it doesn't show up in the trusted list either. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark H Sent: Wednesday, June 18, 2003 10:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT:Programmingin Outlook) Look for a file called selfcert.exe it should be in your office directory mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 18 June 2003 15:14 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Outlook / Access Email Security (was OT: Programmingin Outlook) I just looked at the Security dialog box in Outlook for the first time, and read the Help info that went along with it. (Outlook XP) The Help info says this: A warning is displayed whenever a VBA project from a source that is not on your list of trusted sources is loaded. [under Medium setting] And this: This tab [Trusted Sources] lists the currently trusted certificates that can be used by developers to sign documents and add-ins. When you open a digitally signed document, the digital signature appears on your computer as a certificate. The certificate names the VBA project's source, plus additional information about the identity and integrity of that source. This sounds as though I could create a digital signature for a specific Access application, which, when combined with a security setting of Medium or High in Outlook, would prevent the annoying 'are you sure' message box that displays when Access is trying to send a non-displayed message through Outlook. If so, that would be wonderful! Does anyone know how to go about creating such a digital signature for an Access application? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark H Sent: Wednesday, June 18, 2003 7:34 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Wed Jun 18 10:29:16 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 18 Jun 2003 10:29:16 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DDD@cpixchng-1.cpiqpc.net> If it were me, I think I would do away with the one memo field and make a table of latest pricing levels for my items. Then have another table linked to the pricing table in a one-to-many relationship that lists the entries of sales people that want that item at that price and how many they want. Once the price level is met, a purchase order is created. The first table could have a notes field to give information about the item/pricing, the second table could have notes about the order for that salesperson. This could all be tied together so both sales people could see the list of their orders tied to a pricing entry, as well as anyone else who has an order tied to that pricing entry. HTH Rusty -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 9:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 3:34 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Cross referencing records - ideas Are you asking for a method of providing an identifier, or a whole solution? I think you are saying that they want to refer to other memo fields, from within a memo field they are creating? What I would do, would be to provide them with a 'refering' option, that let them 'search' the current memo fields. Take the ones they selected, and either add them to the end of the memo, or keep the data in a separate table. (You could add it to the existing memo field, by putting the primary keys for the table after a null character, then change your displaying forms to display only data left of the null character). Then, in the form that users display the memo fields, just add a subform, or listbox that is titled 'related job cards', with portions of the text in them. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cross referencing records - ideas Hi List, I'm looking for ideas. I have an application that involves fairly simplistic action history tracing, so simple it is done by a memo field. That is, the yewsers completes a textbox for an action and when they save/exit the contents of the textbox are appended with a timestamp to the memo field. Works completely fine for the need. I have been asked whether it would be possible to do the same thing for the "occasional" need to cross reference rows in the master table. They would like to include a note of the ilk "See also job card xxxxxx". Simple! Except... There is no readily available natural key for the job card. Depending on the situation the natural key is nearly all the card! I don't want to use or expose the surrogate key for all those good reasons. My initial reaction is to include a realtionship table that would be used to hold "Related Job Cards" and build a popup based "Link to Card" form and a popup based "See related Cards" form to support this. However, I don't think the usage warrants the expense. Has anyone had a similar experience and found an inexpensive answer? Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jun 18 11:36:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jun 2003 18:36:43 +0200 Subject: [AccessD] OT:Can VB6 still be purchased? In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> Message-ID: <14139904870.20030618183643@cactus.dk> Hi Richard Yes, the official route is to buy Visual Basic 2003 .net on a MOL agreement and then buy a VB6 media kit. /gustav > so is this the official line then, ie no more VB6 cd's other than what is > already out there (on shelves, ebay etc)? From DWUTKA at marlow.com Wed Jun 18 11:49:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:49:49 -0500 Subject: [AccessD] OT:Can VB6 still be purchased? Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E66@main2.marlow.com> I can confirm. Just got a voicemail back from my distributor. He said he can still get new copies of VB 6, both Pro and Enterprise editions. If you need to order one, give me a holler, and I'll send you his contact info. Drew -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Tuesday, June 17, 2003 3:38 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] OT:Can VB6 still be purchased? Hi Group can anyone help with my current heated office discussion which is concerning whether of not you can still puchase VB6 cd's. It appears that are are no longer available (at least in the UK). Can anyone confirm this? Thanks Richard _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 11:50:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:50:25 -0500 Subject: [AccessD] A2K: Date in Query Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E67@main2.marlow.com> Oh, I'd write about the topics, I'm too swamped to organize the topics though... Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 18, 2003 1:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K: Date in Query SOunds like a great idea. Volunteering?? DD ----- Original Message ----- From: "Drew Wutka" To: Sent: Wednesday, June 18, 2003 3:35 PM Subject: RE: [AccessD] A2K: Date in Query > Well, maybe someone should make up a list of topics, and we can post about > them, to create a ad-hoc 101 course here. Pick a topic a week. > > Like Query Building, Table Design, Shortcut keys, etc. > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, June 18, 2003 12:20 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2K: Date in Query > > > I would love a 101 Course - really > We can do it Via videoconference > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Wednesday, June 18, 2003 2:37 PM > Subject: RE: [AccessD] A2K: Date in Query > > > > Year(Date()). Without the (), the query thinks it's text. > > > > Do we need an Access 101 course Darren? , just kidding, I've > been > > nabbed about a dozen times in the past week for putting Date in a query, > and > > having it quote it on me...ARG! I need a vacation! > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Tuesday, June 17, 2003 10:31 PM > > To: AccessD List > > Subject: [AccessD] A2K: Date in Query > > > > > > Hello all > > When I put msgbox Year(Date) behind a button click I get 2003. No Prob > > When I put that criteria Year(Date) into a query Access changes it to > > Year("Date") > > and of course it fails. > > What is the correct syntax to search on the 'current year' on a field that > > holds that data? > > > > Many thanks > > > > Darren > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 11:57:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 11:57:18 -0500 Subject: [AccessD] OT: Programming in Outlook Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Alright John, I have never done this, but I am a little surprised you didn't figure this out too. I'll explain what I did. First, I went Tools --> Macro --> Visual Basic editor, and got the VBE for Outlook. I then looked under Project 1, and saw Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. I selected that, and got the code page for the ThisOutlookSession 'class'. Once inside, I looked at the objects (top left drop down on your code page), and saw Application. Once that was selected, I looked at the events (top right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, Reminder, and Startup. Just a guess, but I would say that Startup would do the trick! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 12:05:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 12:05:07 -0500 Subject: [AccessD] OT: Programming in Outlook Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E69@main2.marlow.com> Him, did the same thing. I clicked the save button though. Then I closed outlook, re opened it, I got a Macro warning, then it gave me my message box. Three possibilities that I would guess. One, you had something that was holding Outlook open still (like an open email). Two, you didn't save it (don't know if that really matters or not). Three, your security settings are set to disable macros, without a warning. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From normkara at wans.net Wed Jun 18 12:06:45 2003 From: normkara at wans.net (Norm) Date: Wed, 18 Jun 2003 13:06:45 -0400 Subject: [AccessD] OT:Can VB6 still be purchased? References: <2F8793082E00D4119A1700B0D0216BF802226E66@main2.marlow.com> Message-ID: <007401c335bc$00166fa0$38091f43@net> A quick check with Amazon, shows a used version for $50.00, but for a new version - it shows discountinued. But I am sure there are some vendors that may have it on their shelves Norm <> From DWUTKA at marlow.com Wed Jun 18 12:15:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 12:15:23 -0500 Subject: [AccessD] Cross referencing records - ideas Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E6A@main2.marlow.com> Clear as mud! . I disagree with the method of data storing. I wouldn't be storing the information like you are, I would be using a table that had a time stamp field, user field, and then a memo field (along with a PK). I have never used web controls within Access. Why? Because if I needed web capabilities, I just developed the FE in HTML/ASP. So I have no helpful hints to answer your questions at the bottom. Drew -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Wednesday, June 18, 2003 9:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Cross referencing records - ideas I am after the concept for a solution. I guess I'm having as much trouble describing it as conceiving it. However, you have created a germ of an idea here. Lets see if I can explain it more clearly. A part of the (much) larger job quoting/pricing system involves 'actioning' pricing on parts. That is, once they have figured out a configuration to suit the customers needs of a machine, they search around for the best component supply price both locally and on the web. This actioning may take several days and involve several different people in several different offices. As they traipse around doing this, they enter notes regarding the component supply for the job. To do this, we use a popup form off the jobcard form into which the user enters his notes. When they close the popup, the note is appended to the "job_history" field on the job card. (In fact, its prepended so they appear in reverse order.) For example, Joe rings his mate at ShonkyPCParts and gets a quote for $98 for a mini-keyboard. He opens the job card form up and clicks the "ADD a note" command button. Up comes the popup and he enters "Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them" and closes the form. The job card job_history is updated and now reads: "19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" Now, lets say Ben Crow also needs mini keyboards for another job, he and Joe can make up a need for a total of 280 of them. Joe adds a new note to the file. The history now reads: "19 Jul - Joe Bloe - Ben C can help us make up the kbd order for his POS job for Bigbank 19 Jul - Joe Bloe - Spoke to Fred down at Shonky's, they can give us the kbds at $98 if we can use 250 of them 18 Jul - Sam Snoe - some prior comment by Sam ...... Etc" This is where the issue lies. What they would like, is some way to easily link Joe's job with Ben's job and vv. Now, there is no natural key for the job cards - we excluded this on purpose in the design. You can see one of the ways a jobcard may be referenced above: (broker=Ben, client=Bigbank, jobtitle=...POS...). This is a typical (not the only) way these guys refer to a job. Now Ben, over the course of time, may do more than one POS job for Bigbank, but usually only one is active at a time, if there were more than one they would call them differently. What the germ of the idea is, is this. There must be some way of letting them create a hyperlink to the job and attaching the hyperlink to the referencing phrase. That is, in the above hstory : "POS job for Bigbank" would be the link text and the hyperlink would be to the PK for Ben's job card. The question now becomes, "How feasible is this? I could easliy add a cmdbutton on the ADD a note popup to open a search for other jobs. I can use selstart etc to position the link. I can build the html easily enough. What I would need to do is change the textbox for note entry to some sort of edittable html control. Any ideas? And change the history display textbox on the jobcard form to a webcontrol (as its not directly edittable). Is this clearer? What do ou think of the solution? Should I go back to gardening? Tia Bruce From jcolby at colbyconsulting.com Wed Jun 18 12:21:18 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 13:21:18 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Message-ID: Got there. Outlook now takes a very long time to open, and the message never shows. something happened once and the message did display, but not repeatable. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 18, 2003 12:57 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] OT: Programming in Outlook Alright John, I have never done this, but I am a little surprised you didn't figure this out too. I'll explain what I did. First, I went Tools --> Macro --> Visual Basic editor, and got the VBE for Outlook. I then looked under Project 1, and saw Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. I selected that, and got the code page for the ThisOutlookSession 'class'. Once inside, I looked at the objects (top left drop down on your code page), and saw Application. Once that was selected, I looked at the events (top right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, Reminder, and Startup. Just a guess, but I would say that Startup would do the trick! Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 8:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Stuart, I'm afraid you're going to have to get more verbose than that. ;-) I am a competent VBA programmer, understand object models etc. However until this morning I have never looked at programming Outlook from inside Outlook itself, having always automated it from Access. So... what is ThisOutlookSession? When I click Macro/visual basic editor I end up in a new module I created. Outlook seems to know about the modules I created in the past. Let's get basic... where are these modules stored? How are they associated with Outlook opening, i.e. why do I see them in the editor? IOW, in Access, I open an actual outlook "file" (an MDB) and I do so intentionally somehow, by dbl-clicking it from explorer etc. So I open a container that holds my code. Is there a similar "code container" in a pst file, and because I open the same pst I get the same module? I am able to get into the code editor but I can't seem to find any obvious way to rename a module (for example). The simplest things are just different. Is it possible to create a "library" similar to an mda in Access where I work on code and "reference" that library from Outlook? If so, how do I do that? What would the file be called? Where would it be stored? Coming from Access a lot of these problems didn't exist, or I learned the answers so long ago that it is all second nature. NOTHING is second nature here. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we know it > in Access) that executes automatically when outlook opens? I am trying to > do a little simple stuff in Outlook and don't even know how to do the > basics. Rename modules / classes, get my program to start up and operate > when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Wed Jun 18 12:37:44 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 18 Jun 2003 13:37:44 -0400 Subject: [AccessD] OT: Programming in Outlook Message-ID: John, The below site may be helpful http://www.slipstick.com/dev/vb.htm Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, June 18, 2003 9:19 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Jun 18 12:38:55 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 18 Jun 2003 19:38:55 +0200 Subject: [AccessD] Date format Message-ID: <003201c335c0$7eec8a90$f3c581d5@pedro> Hello Group, i use mailmerge (Helen Feddema Code2) within access to create wordletters. in access the format for dates is: dd-mm-yyyy. When the data is placed into the wordletter by the following function {DOCPROPERTY "GebDat" \*MERGEFORMAT} the dateformat changes to mm/dd/yy. Is there a way to get the same format as in access TIA Pedro Janssen From CWortz at tea.state.tx.us Wed Jun 18 13:07:51 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 18 Jun 2003 13:07:51 -0500 Subject: [AccessD] Date format Message-ID: Pedro, Both Word and Access use the same VBA, so both probably use the same Format() function to format dates. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Wednesday 2003 Jun 18 12:39 To: AccessD at databaseadvisors.com Subject: [AccessD] Date format Hello Group, i use mailmerge (Helen Feddema Code2) within access to create wordletters. in access the format for dates is: dd-mm-yyyy. When the data is placed into the wordletter by the following function {DOCPROPERTY "GebDat" \*MERGEFORMAT} the dateformat changes to mm/dd/yy. Is there a way to get the same format as in access TIA Pedro Janssen From Lambert.Heenan at AIG.com Wed Jun 18 13:07:47 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 18 Jun 2003 14:07:47 -0400 Subject: [AccessD] Date format Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897953@xlivmbx12.aig.com> Try using {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} Lambert > -----Original Message----- > From: Pedro Janssen [SMTP:pedro at plex.nl] > Sent: Wednesday, June 18, 2003 1:39 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Date format > > Hello Group, > > i use mailmerge (Helen Feddema Code2) within access to create wordletters. > in access the > format for dates is: dd-mm-yyyy. > When the data is placed into the wordletter by the following function > {DOCPROPERTY "GebDat" \*MERGEFORMAT} > the dateformat changes to mm/dd/yy. > > Is there a way to get the same format as in access > > TIA > > Pedro Janssen > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 13:31:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 14:31:28 -0400 Subject: [AccessD] OT: Outlook RT Error Message-ID: This line: For Each Msg In myFolder Runs fine at my client. At my home office I have to use: For Each Msg In myFolder.Items Odd? John W. Colby www.colbyconsulting.com From CWortz at tea.state.tx.us Wed Jun 18 13:52:02 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 18 Jun 2003 13:52:02 -0500 Subject: [AccessD] OT: Outlook RT Error Message-ID: John, Are both myFolders configured exactly the same? My WAG is your client's myFolder has .Item as the default, while yours does not. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Jun 18 13:31 To: AccessD Subject: [AccessD] OT: Outlook RT Error This line: For Each Msg In myFolder Runs fine at my client. At my home office I have to use: For Each Msg In myFolder.Items Odd? John W. Colby www.colbyconsulting.com From stuart at lexacorp.com.pg Wed Jun 18 16:32:24 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 07:32:24 +1000 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E68@main2.marlow.com> Message-ID: <3EF16708.25725.1B04C8@localhost> On 18 Jun 2003 at 11:57, Drew Wutka wrote: > Alright John, I have never done this, but I am a little surprised you didn't > figure this out too. > > I'll explain what I did. First, I went Tools --> Macro --> Visual Basic > editor, and got the VBE for Outlook. I then looked under Project 1, and saw > Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. > I selected that, and got the code page for the ThisOutlookSession 'class'. > Once inside, I looked at the objects (top left drop down on your code page), > and saw Application. Once that was selected, I looked at the events (top > right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, > Reminder, and Startup. > > Exactly how I located it too :-) I don't do Outlook either! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From tortise at paradise.net.nz Wed Jun 18 16:43:09 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 09:43:09 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <072501c335e2$9c9c5d00$0900a8c0@P1200n> Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ From conny at qad.se Wed Jun 18 16:54:59 2003 From: conny at qad.se (Conny Johansson) Date: Wed, 18 Jun 2003 23:54:59 +0200 Subject: [AccessD] Set smaller topmargin value Message-ID: <200306182354758.SM02228@QAD> Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2266 bytes Desc: not available URL: From cfoust at infostatsystems.com Wed Jun 18 17:03:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:03:30 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 18 17:05:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 18 Jun 2003 17:05:06 -0500 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E6F@main2.marlow.com> It's not a problem. Access does that for several reasons, however,it is low priority processing, so it will allow any other process to consume CPU time when it needs it. I know that one of the things it is doing is related to Jet. Sorry, a little groggy at the moment, I know I know more about this... Drew -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 4:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:05:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:05:43 -0700 Subject: [AccessD] Set smaller topmargin value Message-ID: If you mean for a report, that's going to be controlled by the printer drivers. Many, perhaps most, printers won't print any closer to the top than 1/2 inch. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Conny Johansson Sent: Wednesday, June 18, 2003 1:55 PM To: Accessd at Databaseadvisors. Com Subject: [AccessD] Set smaller topmargin value Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson avast! Antivirus: Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. From john at winhaven.net Wed Jun 18 17:08:48 2003 From: john at winhaven.net (John Bartow) Date: Wed, 18 Jun 2003 17:08:48 -0500 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 In-Reply-To: <072501c335e2$9c9c5d00$0900a8c0@P1200n> Message-ID: I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From todd_5036 at msn.com Wed Jun 18 17:13:37 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 18 Jun 2003 17:13:37 -0500 Subject: [AccessD] Set smaller topmargin value Message-ID: Doesn't it depend on your default printer? ----Original Message Follows---- From: "Conny Johansson" Reply-To: accessd at databaseadvisors.com To: "Accessd at Databaseadvisors. Com" Subject: [AccessD] Set smaller topmargin value Date: Wed, 18 Jun 2003 23:54:59 +0200 Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. << winmail.dat >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From todd_5036 at msn.com Wed Jun 18 17:13:37 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Wed, 18 Jun 2003 17:13:37 -0500 Subject: [AccessD] Set smaller topmargin value Message-ID: Doesn't it depend on your default printer? ----Original Message Follows---- From: "Conny Johansson" Reply-To: accessd at databaseadvisors.com To: "Accessd at Databaseadvisors. Com" Subject: [AccessD] Set smaller topmargin value Date: Wed, 18 Jun 2003 23:54:59 +0200 Hi Is it possible to set the topmargin to a smaller value than 12,7 mm (0,5 inches)? I need to set it to 8 mm (0,315 inches), but don't know if it's possible. H?lsningar / Regards Conny Johansson _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 2003-06-17 Tested on: 2003-06-18 23:54:59 avast! is copyright (c) 2000-2003 ALWIL Software. << winmail.dat >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 18 17:16:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 18 Jun 2003 18:16:00 -0400 Subject: [AccessD] OT: Programming in Outlook In-Reply-To: <3EF16708.25725.1B04C8@localhost> Message-ID: Well, for all of that it still isn't working. If I have a startup macro it doesn't fire, but it does delay Outlook opening by several minutes. It is the startup macro causing the delay in opening since if I get rid of that, Access opens normally. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 5:32 PM To: Drew Wutka; accessd at databaseadvisors.com; accessd-bounces at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 11:57, Drew Wutka wrote: > Alright John, I have never done this, but I am a little surprised you didn't > figure this out too. > > I'll explain what I did. First, I went Tools --> Macro --> Visual Basic > editor, and got the VBE for Outlook. I then looked under Project 1, and saw > Microsoft Outlook Objects. There was just one object, 'ThisOutlookSession'. > I selected that, and got the code page for the ThisOutlookSession 'class'. > Once inside, I looked at the objects (top left drop down on your code page), > and saw Application. Once that was selected, I looked at the events (top > right of the code page), I got ItemSend, NewMail, OptionsPagesAdd, Quit, > Reminder, and Startup. > > Exactly how I located it too :-) I don't do Outlook either! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 17:18:54 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 10:18:54 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <079901c335e7$9af43900$0900a8c0@P1200n> It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:28:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:28:25 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 17:43:14 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 10:43:14 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <07aa01c335eb$00e1f1a0$0900a8c0@P1200n> Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 18 17:54:40 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 18 Jun 2003 15:54:40 -0700 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Message-ID: No, that's what I understood you to be saying. The problem is that each session of Access is hogging as much RAM as it can get and unless you have a LOT of RAM, sooner or later it will cause you trouble. Not to mention that in A97, you're stuck with page locking, so you can wind up locking yourself out of records. You can launch multiple instances of a form by treating it as a class and doing some fancy coding (there are examples in the Solutions database for A97), but again, if you get specific about what you need to do, someone should be able to help. Littering the landscape with instances of Access won't do a thing for CPU problems. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Wed Jun 18 18:36:24 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 11:36:24 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <07c301c335f2$6e869f60$0900a8c0@P1200n> Kewl I tried the solutions model and found it to be unreliable. With the current setup record locking does occur, but is managed fine manually. One has a desktop shortcut with a different Ctrl Alt Key shortcut set to quickly multitask between the instances. If I can do this within Access then that would be great! Does someone else have a working model, thats reliable, that they'd be prepared to share? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:54 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 No, that's what I understood you to be saying. The problem is that each session of Access is hogging as much RAM as it can get and unless you have a LOT of RAM, sooner or later it will cause you trouble. Not to mention that in A97, you're stuck with page locking, so you can wind up locking yourself out of records. You can launch multiple instances of a form by treating it as a class and doing some fancy coding (there are examples in the Solutions database for A97), but again, if you get specific about what you need to do, someone should be able to help. Littering the landscape with instances of Access won't do a thing for CPU problems. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:43 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 Woops Sorry I mean't to say multiple instances of the SAME form. It is a contact management database. Opening several instances of access allows one to multitask between the databases instances and stay in the same place on each form in the separate windows. Can one do this within one database easily? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:28 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Excuse me? Running multiple sessions is NOT easier and more reliable than coding multiple forms and you run the risk of stepping all over yourself. Maybe you should describe what you're doing in more detail. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 It comes up when running multiple instances of the database, (Easier and more reliable than coding multiple forms - at least when I tried, in the days of ++RAM and CPU) and just seems to take over CPU use for long periods. (Beyond the CPU one would see with opening a database or doing a large query) It just doesn't stop. Shutting em down stops it though... Is it possible to focus on the processes Access is running somewhere? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, June 19, 2003 10:03 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 Depends on what you're seeing and when. Normally Access uses the available resources but releases them when another process needs them. I've seen all versions of Access grab the CPU, not let go, and become generally unresponsive, not just A97. Vanilla A97 had a known problem with dual processors, and installing SR-2 is one of the suggestions to cure this. A different problem can crop up in synchronizing replicas and that one is cured by changing the MaxLocksPerFile registry setting. Charlotte Foust -----Original Message----- From: Tortise at Paradise [mailto:tortise at paradise.net.nz] Sent: Wednesday, June 18, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 Hi Can anyone give me some pointers how I might track down this problem? Is there some facility which tells me what Access is doing and where the problem might lie? Kind regards, David Hingston ________________________________________________________________________ _ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Wed Jun 18 23:57:38 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 14:57:38 +1000 Subject: [AccessD] Keeping place after requerying References: <07c301c335f2$6e869f60$0900a8c0@P1200n> Message-ID: <010901c3361f$4ed45450$6465000a@venus> Hello Again Everyone I understandably annoyed customer because everytime they delete something from their very long list and the data is requeried (via code), they end up at the top of their list again and have to scroll down. Can anyone please help in how I keep the focus on the next record to the one they have just deleted? Thanks Selina From stuart at lexacorp.com.pg Thu Jun 19 00:06:09 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 19 Jun 2003 15:06:09 +1000 Subject: [AccessD] Using Animated GIF file on a form In-Reply-To: Message-ID: <3EF1D161.27889.1BA73E8@localhost> On 16 Jun 2003 at 15:38, jeffrey.demulling at usbank.com wrote: > Is there a way to use an animated GIF file on a form? > > Thanks in advance for any comments, suggestions, etc. > Just had a quick look at this one. You can do it with an AVI using the Microsoft Animation control. That means that you will have to convert your animated to gif to avi using one of the available conversion tools. Here's a few possibilities: Shareware/Commercial ware: Gif Construction Set from Alchemy Mindworks AVI-GIF from http://www.fileheaven.com/AVI-GIF/download/582.htm Free for non-commercial use: fmp141.zip from http://hem.spray.se/joakim.slettengren/ Once you have converted it to an AVI it's a case of: On a form, select Insert - ActiveXControl and Select "Microsoft Animation Control Version 6.0" or whatever version you have. Then you just need to use three methods Load the animation into the control with: ActiveXCtlAnim.Open "avifilename.avi" Run the animation with: ActiveXCtlAnim.Start and ActiveXCtlAnim.Stop There's a demo of using the animation control in A2K at http://www.lexacorp.com.pg/Misc/A2kAnimDemo.zip (it's only 23K zipped up). Just unzip the .mdb and the .avi into the same directory and open the .mdb -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Thu Jun 19 02:05:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 09:05:20 +0200 Subject: [AccessD] Using Animated GIF file on a form In-Reply-To: <10191105599916612443d0567@global.net.pg> References: <10191105599916612443d0567@global.net.pg> Message-ID: <1523053560.20030619090520@cactus.dk> Hi Stuart Cute! Never noticed that animation control. /gustav >> Is there a way to use an animated GIF file on a form? > Just had a quick look at this one. You can do it with an AVI using > the Microsoft Animation control. That means that you will have to > convert your animated to gif to avi using one of the available > conversion tools. Here's a few possibilities: > Shareware/Commercial ware: > Gif Construction Set from Alchemy Mindworks > AVI-GIF from http://www.fileheaven.com/AVI-GIF/download/582.htm > Free for non-commercial use: > fmp141.zip from http://hem.spray.se/joakim.slettengren/ > Once you have converted it to an AVI it's a case of: > On a form, select Insert - ActiveXControl and Select "Microsoft > Animation Control Version 6.0" or whatever version you have. > Then you just need to use three methods > Load the animation into the control with: > ActiveXCtlAnim.Open "avifilename.avi" > Run the animation with: > ActiveXCtlAnim.Start and ActiveXCtlAnim.Stop > There's a demo of using the animation control in A2K at > http://www.lexacorp.com.pg/Misc/A2kAnimDemo.zip > (it's only 23K zipped up). > Just unzip the .mdb and the .avi into the same directory and open the > .mdb From smandel7 at yahoo.com Thu Jun 19 02:19:17 2003 From: smandel7 at yahoo.com (Steven Mandel) Date: Thu, 19 Jun 2003 02:19:17 -0500 Subject: [AccessD] msgbox appears when open form in design mode Message-ID: Hi All, I have a big question to ask. I am working on a database that I have to modify due to replacement of a server and changing directories. There are several forms that when I open them either in design mode or runtime mode an error message in a msgbox pops up telling me that it cant find a certain file located in a certain directory . ( something like the database can't find file m:/somedirectory/somefile.txt ) That is exactly what I want to change but the code that does this is not in the form's open or load events ? is it possible that it is in a macro and if so how do I fix it ( I rarely if ever use macros ). Any help would be much appreciated. Thanks so much, Steve Mandel From gustav at cactus.dk Thu Jun 19 02:26:37 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 09:26:37 +0200 Subject: [AccessD] Keeping place after requerying In-Reply-To: <010901c3361f$4ed45450$6465000a@venus> References: <010901c3361f$4ed45450$6465000a@venus> Message-ID: <1474329946.20030619092637@cactus.dk> Hi Selina > I understandably annoyed customer because everytime they delete something > from their very long list and the data is requeried (via code), they end up > at the top of their list again and have to scroll down. > Can anyone please help in how I keep the focus on the next record to the one > they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav From lists at theopg.com Thu Jun 19 02:43:27 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 08:43:27 +0100 Subject: [AccessD] msgbox appears when open form in design mode In-Reply-To: Message-ID: <000501c33636$790ec1d0$fb9487d9@laptop> Try looking under TOOLS - REFERENCES when in the code window. You'll see a list with a few at the top having ticks. If one is missing it will say so next to it. Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven Mandel Sent: 19 June 2003 08:19 To: Accessd Subject: [AccessD] msgbox appears when open form in design mode Hi All, I have a big question to ask. I am working on a database that I have to modify due to replacement of a server and changing directories. There are several forms that when I open them either in design mode or runtime mode an error message in a msgbox pops up telling me that it cant find a certain file located in a certain directory . ( something like the database can't find file m:/somedirectory/somefile.txt ) That is exactly what I want to change but the code that does this is not in the form's open or load events ? is it possible that it is in a macro and if so how do I fix it ( I rarely if ever use macros ). Any help would be much appreciated. Thanks so much, Steve Mandel _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at theopg.com Thu Jun 19 02:59:57 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 08:59:57 +0100 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 - multiple instances In-Reply-To: <07aa01c335eb$00e1f1a0$0900a8c0@P1200n> Message-ID: <000001c33638$c7222cc0$fb9487d9@laptop> Hello >>Can one do this within one database easily? I've done the multiple instances thing and lost hair over it. It is possible but there are a lot of potential traps (for example you can't rely on a forms name as there may be more than one so I used its hwnd value and cycle through the forms collection looking for it). Also, depending on your set up you are limited in the number of open databases / tables. On my Office 97 setup I can get about 18 - you need to set your limit to less to allow for any other activities that may be triggered. I set mine to 12 to be safe. I have had much higher numbers using XP and MSDE though :o) It does get very hairy, I also went grey :o( It can also put you in a position where your users make a mess of the data or place too heavy a demand on the database by leaving stuff open all the time... If you want an example of some code let me know and I will send it off line... Good luck Mark From tortise at paradise.net.nz Thu Jun 19 03:23:12 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 19 Jun 2003 20:23:12 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: Message-ID: <09d601c3363c$06a17c90$0900a8c0@P1200n> mmmm Well that could be it! I'll monitor and see if fits time periods. Many thanks John. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "John Bartow" To: Sent: Thursday, June 19, 2003 10:08 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 03:27:15 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 18:27:15 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <1474329946.20030619092637@cactus.dk> Message-ID: <000001c3363c$978fb0a0$7f00a8c0@bbb888> Presumably you are using A2K, where I have just had the same problem. It happens if the continuous form is bound to a stored query for me. I have saved the form filter setting, the order by and the AbsolutePosition. I can then restore the form record focus by y reapplying the saved filter and orderby, then moving to the stored position + 1, making an allowance for the case of deleting the last row in the recordset. See if the following helps. rk = Me.Recordset.AbsolutePosition so = Me.OrderBy oo = Me.OrderByOn flt = Me.Filter If DeleteRow(Me!fldID) Then Me.Requery Me.Filter = flt Me.OrderBy = so Me.OrderByOn = oo If rk + 1 > Me.Recordset.RecordCount Then rk = Me.Recordset.RecordCount Else rk = rk + 1 End If DoCmd.GoToRecord , , acGoTo, rk endif Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, June 19, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Hi Selina > I understandably annoyed customer because everytime they delete > something from their very long list and the data is requeried (via > code), they end up at the top of their list again and have to scroll > down. Can anyone please help in how I keep the focus on the next > record to the one they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 03:29:09 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 18:29:09 +1000 Subject: [AccessD] Keeping place after requerying Message-ID: <000101c3363c$db8351e0$7f00a8c0@bbb888> Ooops, I forgot! If more than one person is deleting records then this will not work! Bruce -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 6:27 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Keeping place after requerying Presumably you are using A2K, where I have just had the same problem. It happens if the continuous form is bound to a stored query for me. I have saved the form filter setting, the order by and the AbsolutePosition. I can then restore the form record focus by y reapplying the saved filter and orderby, then moving to the stored position + 1, making an allowance for the case of deleting the last row in the recordset. See if the following helps. rk = Me.Recordset.AbsolutePosition so = Me.OrderBy oo = Me.OrderByOn flt = Me.Filter If DeleteRow(Me!fldID) Then Me.Requery Me.Filter = flt Me.OrderBy = so Me.OrderByOn = oo If rk + 1 > Me.Recordset.RecordCount Then rk = Me.Recordset.RecordCount Else rk = rk + 1 End If DoCmd.GoToRecord , , acGoTo, rk endif Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, June 19, 2003 5:27 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Hi Selina > I understandably annoyed customer because everytime they delete > something from their very long list and the data is requeried (via > code), they end up at the top of their list again and have to scroll > down. Can anyone please help in how I keep the focus on the next > record to the one they have just deleted? Why do you requery the form? That shouldn't be necessary - except for an unbound form ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 19 07:27:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 19 Jun 2003 08:27:39 -0400 Subject: [AccessD] test Message-ID: John W. Colby www.colbyconsulting.com From Jdemarco at hshhp.org Thu Jun 19 07:32:38 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 08:32:38 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bbruen at bigpond.com Thu Jun 19 08:35:06 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 23:35:06 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> Message-ID: <000001c33667$9a744b70$7f00a8c0@bbb888> You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Thu Jun 19 08:47:42 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 23:47:42 +1000 Subject: [AccessD] Keeping place after requerying References: <010901c3361f$4ed45450$6465000a@venus> <1474329946.20030619092637@cactus.dk> Message-ID: <019301c33669$5b931e20$6465000a@venus> Hi Gustav When I delete a record it puts #DELETED# across all the fields. I requery it so that they don't see this. Thanks Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Gustav Brock" To: Sent: Thursday, June 19, 2003 5:26 PM Subject: Re: [AccessD] Keeping place after requerying > Hi Selina > > > I understandably annoyed customer because everytime they delete something > > from their very long list and the data is requeried (via code), they end up > > at the top of their list again and have to scroll down. > > Can anyone please help in how I keep the focus on the next record to the one > > they have just deleted? > > Why do you requery the form? That shouldn't be necessary - except for > an unbound form ... > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From selina at easydatabases.com.au Thu Jun 19 08:48:12 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Thu, 19 Jun 2003 23:48:12 +1000 Subject: [AccessD] Keeping place after requerying References: <000001c3363c$978fb0a0$7f00a8c0@bbb888> Message-ID: <019d01c33669$6cffdf40$6465000a@venus> Certainly does help Bruce. Thanks ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 6:27 PM Subject: RE: [AccessD] Keeping place after requerying > Presumably you are using A2K, where I have just had the same problem. > It happens if the continuous form is bound to a stored query for me. > I have saved the form filter setting, the order by and the > AbsolutePosition. I can then restore the form record focus by y > reapplying the saved filter and orderby, then moving to the stored > position + 1, making an allowance for the case of deleting the last row > in the recordset. See if the following helps. > > rk = Me.Recordset.AbsolutePosition > so = Me.OrderBy > oo = Me.OrderByOn > flt = Me.Filter > > If DeleteRow(Me!fldID) Then > Me.Requery > Me.Filter = flt > Me.OrderBy = so > Me.OrderByOn = oo > If rk + 1 > Me.Recordset.RecordCount Then > rk = Me.Recordset.RecordCount > Else > rk = rk + 1 > End If > > DoCmd.GoToRecord , , acGoTo, rk > endif > > > Hth > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, June 19, 2003 5:27 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Hi Selina > > > I understandably annoyed customer because everytime they delete > > something from their very long list and the data is requeried (via > > code), they end up at the top of their list again and have to scroll > > down. Can anyone please help in how I keep the focus on the next > > record to the one they have just deleted? > > Why do you requery the form? That shouldn't be necessary - except for an > unbound form ... > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bbruen at bigpond.com Thu Jun 19 08:51:54 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Thu, 19 Jun 2003 23:51:54 +1000 Subject: [AccessD] OT Ping! Message-ID: <000101c33669$f1ff6b20$7f00a8c0@bbb888> NO ARCHIVE Quiet, aint it? B From lists at theopg.com Thu Jun 19 08:56:13 2003 From: lists at theopg.com (Mark H) Date: Thu, 19 Jun 2003 14:56:13 +0100 Subject: [AccessD] OT Ping! In-Reply-To: <000101c33669$f1ff6b20$7f00a8c0@bbb888> Message-ID: <000101c3366a$8c58d0d0$64cb87d9@laptop> NO ARCHIVE Indeed it is... mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: 19 June 2003 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT Ping! NO ARCHIVE Quiet, aint it? B _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Jun 19 09:00:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 16:00:23 +0200 Subject: [AccessD] detect network In-Reply-To: <000001c33667$9a744b70$7f00a8c0@bbb888> References: <000001c33667$9a744b70$7f00a8c0@bbb888> Message-ID: <6427956309.20030619160023@cactus.dk> Hi Bruce > You could either use the network API calls to get the network connection > information or presumably when they are connected there will be a > network path name you could try to access to see if its connected. > The network path is probably the QAD method. That will probably be the SAD method - awaiting a timeout. Go the API route or dump and check the output of netstat or net use [some network drive] > netcheck.txt Parse the first line of this for the network drive and the colon. If the drive does not exist the file will be empty. /gustav > We've got a data collection application that will be run on disconnected > laptops. At least once a week the laptop users will come in to the home > office to dump the data they've collected into our central SQL database. > Does anyone have any code that will detect that the laptop is connected > to our network so we can point their connection to the central DB (as > opposed to their local DB)? Or should we just try to hit the central DB > at app start and trap the error? I don't want to generate an error if I > don't have to. From Jdemarco at hshhp.org Thu Jun 19 09:01:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 10:01:27 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Thu Jun 19 09:04:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 16:04:02 +0200 Subject: [AccessD] Keeping place after requerying In-Reply-To: <019301c33669$5b931e20$6465000a@venus> References: <010901c3361f$4ed45450$6465000a@venus> <019301c33669$5b931e20$6465000a@venus> Message-ID: <2728175133.20030619160402@cactus.dk> Hi Selina > When I delete a record it puts #DELETED# across all the fields. I requery > it so that they don't see this. That means that the record is deleted from the recordset and not by the form. If Bruce's method works go for it - you may wish to wrap it in Painting = False and Painting = True to prevent some flickering. /gustav >> > I understandably annoyed customer because everytime they delete >> > something >> > from their very long list and the data is requeried (via code), they end >> > up at the top of their list again and have to scroll down. >> > Can anyone please help in how I keep the focus on the next record to the >> > one they have just deleted? >> >> Why do you requery the form? That shouldn't be necessary - except for >> an unbound form ... From R.Griffiths at bury.gov.uk Thu Jun 19 09:05:42 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Jun 2003 15:05:42 +0100 Subject: [AccessD] Special Characters Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Hi as its quiet...I have a user that wants to type (c) into a text field Access decides to convert this to the copyright symbol - any clues as to how to switch this off or simply what needs to be done to enter (c) Thanks Richard From RGeldart at detma.org Thu Jun 19 09:18:29 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu, 19 Jun 2003 10:18:29 -0400 Subject: [AccessD] Special Characters Message-ID: Richard, Turn off AutoCorrect??? > -----Original Message----- > From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] > Sent: Thursday, June 19, 2003 10:06 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Special Characters > > > Hi > > as its quiet...I have a user that wants to type (c) into a > text field > > Access decides to convert this to the copyright symbol - any > clues as to how to switch this off or simply what needs to > be done to enter (c) > > Richard From scapistrant at symphonyinfo.com Thu Jun 19 09:24:17 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 19 Jun 2003 09:24:17 -0500 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco From harkins at iglou.com Thu Jun 19 09:24:43 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 19 Jun 2003 10:24:43 -0400 Subject: [AccessD] Special Characters References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Message-ID: <007d01c3366e$d0be70f0$ceecffcc@SusanOne> Actually, you don't have to turn it off -- you can delete just the (c) item and still take advantage of AutoCorrect. I think -- find the (c) item and try deleting it before you turn off the entire feature. Susan H. > Hi > > as its quiet...I have a user that wants to type (c) into a text field > > Access decides to convert this to the copyright symbol - any clues as to how > to switch this off or simply what needs to be done to enter (c) > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Thu Jun 19 09:37:15 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 09:37:15 -0500 Subject: [AccessD] Special Characters In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C1@MAILGATE.bury.gov.uk> Message-ID: I think if you just turn off auto correct in Access that will do the trick. JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, > Richard > Sent: Thursday, June 19, 2003 9:06 AM > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Special Characters > > > Hi > > as its quiet...I have a user that wants to type (c) into a text field > > Access decides to convert this to the copyright symbol - any > clues as to how > to switch this off or simply what needs to be done to enter (c) > > Thanks > > Richard > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From R.Griffiths at bury.gov.uk Thu Jun 19 09:41:48 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Jun 2003 15:41:48 +0100 Subject: [AccessD] Special Characters Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F1C3@MAILGATE.bury.gov.uk> sorted, thanks > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: 19 June 2003 15:25 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > Actually, you don't have to turn it off -- you can delete just the (c) > item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Jun 19 09:43:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 19 Jun 2003 10:43:31 -0400 Subject: [AccessD] Special Characters Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897960@xlivmbx12.aig.com> Or even locate "(c)" in the Autocorrect list and change it to something less common, like "\(c)", so you can still get a ? when you need it. Lambert > -----Original Message----- > From: Susan Harkins [SMTP:harkins at iglou.com] > Sent: Thursday, June 19, 2003 10:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > Actually, you don't have to turn it off -- you can delete just the (c) > item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 19 09:47:01 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 09:47:01 -0500 Subject: [AccessD] Special Characters In-Reply-To: <007d01c3366e$d0be70f0$ceecffcc@SusanOne> Message-ID: Advantage of AutoCorrect in Access? That's the first itme I've heard it put that way ;o) JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Thursday, June 19, 2003 9:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Special Characters > > > Actually, you don't have to turn it off -- you can delete just > the (c) item > and still take advantage of AutoCorrect. I think -- find the (c) item and > try deleting it before you turn off the entire feature. > > Susan H. > > > > Hi > > > > as its quiet...I have a user that wants to type (c) into a text field > > > > Access decides to convert this to the copyright symbol - any clues as to > how > > to switch this off or simply what needs to be done to enter (c) > > > > Thanks > > > > Richard > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From actebs at actebs.com.au Thu Jun 19 09:52:14 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 00:52:14 +1000 Subject: [AccessD] Week of the Month Message-ID: <000201c33672$629724b0$0c05a8c0@earth.local> Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Jun 19 10:02:49 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 19 Jun 2003 10:02:49 -0500 Subject: [AccessD] Week of the Month Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E76@main2.marlow.com> Why not use the Day() function, to just show the day of the month, then split it into 1 thru 7, etc. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 19, 2003 9:52 AM To: access group Subject: [AccessD] Week of the Month Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Jun 19 10:02:58 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 19 Jun 2003 11:02:58 -0400 Subject: [AccessD] Week of the Month Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897962@xlivmbx12.aig.com> I would have thought that simply integer division of the day of the month by seven would suffice. WkOfMonth = Day([DeliveryDate]) \ 7 + 1 Lambert > -----Original Message----- > From: ACTEBS [SMTP:actebs at actebs.com.au] > Sent: Thursday, June 19, 2003 10:52 AM > To: access group > Subject: [AccessD] Week of the Month > > Guys, > > Does anyone know of a method to work out what week it is of the month. For > example, you have a range of dates 1st January to 31st March. The 1st to > the 7th is the 1st week of January and the 8th to the 14th is the second > etc etc... > > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > > Is there any method anyone could suggest, that I could explore... > > AHGA > > Regards > Vlad > > << File: ATT5220503.txt >> From prosoft6 at hotmail.com Thu Jun 19 10:08:48 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 19 Jun 2003 11:08:48 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From Jdemarco at hshhp.org Thu Jun 19 10:22:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 11:22:37 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB8@TTNEXCHSRV1.hshhp.com> Unfortunately this app will be used by a few outside organzitions as well so the routine needs to be generic. I'm looking into the APIs that I've seen mentioned but haven't found anything on them yet. Thanks, Jim DeMarco -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 19, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Thu Jun 19 10:24:08 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 19 Jun 2003 11:24:08 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEB9@TTNEXCHSRV1.hshhp.com> Have you looked into the Partition() function? It puts values into buckets for you. A97 help explains it pretty well (I don't know about later versions). HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JRojas at tnco-inc.com Thu Jun 19 10:24:34 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 19 Jun 2003 11:24:34 -0400 Subject: [AccessD] Week of the Month Message-ID: <806536912C472E4A9D6515DF2E57261E2393CF@mercury.tnco-inc.com> Dim iwk As Integer iwk = DatePart("ww", Date) - DatePart("ww", DateSerial(Year(Date), Month(Date), 1)) iwk = iwk + 1 > -----Original Message----- > From: ACTEBS [SMTP:actebs at actebs.com.au] > Sent: Thursday, June 19, 2003 10:52 AM > To: access group > Subject: [AccessD] Week of the Month > > Guys, > > Does anyone know of a method to work out what week it is of the month. For > example, you have a range of dates 1st January to 31st March. The 1st to > the 7th is the 1st week of January and the 8th to the 14th is the second > etc etc... > > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > > Is there any method anyone could suggest, that I could explore... > > AHGA > > Regards > Vlad > > << File: ATT5220503.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From prosoft6 at hotmail.com Thu Jun 19 10:25:25 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 19 Jun 2003 11:25:25 -0400 Subject: [AccessD] Week of the Month Message-ID: Vlad, Just printed an article from the knowledge base that gives examples of what you are trying to do. It is KB article 210604. Hope this helps. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From gustav at cactus.dk Thu Jun 19 10:26:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 17:26:57 +0200 Subject: [AccessD] Week of the Month In-Reply-To: <000201c33672$629724b0$0c05a8c0@earth.local> References: <000201c33672$629724b0$0c05a8c0@earth.local> Message-ID: <11333149726.20030619172657@cactus.dk> Hi Vlad Are you sure about this? Normally, an ISO standard, a week runs from Monday to Sunday (except in the US where they start the week in the middle of the weekend - go figure). The DatePart() function and Weekday() will give the week and weekdays if that is what you need (so you say). DatePart() is a little buggy around week 52 but that won't probably be of importance to you. /gustav > Does anyone know of a method to work out what week it is of the month. > For example, you have a range of dates 1st January to 31st March. The > 1st to the 7th is the 1st week of January and the 8th to the 14th is the > second etc etc... > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to each > customer on a per monthly basis. So effectively to say customer Jim > Spanner the client delivers every second Thursday for February. Is there > an elegant method of working this out? I have the date the delivery was > carried out for the past 2.5 years, but am having difficulty working out > how I could manufacture a frequency pattern. > Is there any method anyone could suggest, that I could explore... From DWUTKA at marlow.com Thu Jun 19 10:30:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 19 Jun 2003 10:30:47 -0500 Subject: [AccessD] Calculating Time Cards Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E77@main2.marlow.com> Assuming you have a date/time in and a date/time out field, then this should be pretty easy to do. Build a query and have a field like this: PayDate: IIF(Hour([MyLoginDateTimeField])<7),DateSerial(Year([MyLogin...]),Month([MyL ogin...]),Day([MyLogin..])-1,DateSerial(Year([MyLogin...]),Month([MyLogin... ]),Day([MyLogin..])) Group by the new PayDate field (and your user field), then just sum the differences between the login times and the logout times. If you subtract one date/time from another, as long as you don't go over 24 hours, you will get the actual time spent. (Just use the Hour() and Minute() function to get the values you need.) Drew -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Thursday, June 19, 2003 10:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Thu Jun 19 10:43:00 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 11:43:00 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: <000001c33679$7a70ee70$70310cd8@hargrove.internal> The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 10:44:54 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 08:44:54 -0700 Subject: [AccessD] Fw: Problem with Access Message-ID: <00a001c33679$ba951120$6501a8c0@HAL9002> Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From papparuff at attbi.com Thu Jun 19 10:44:54 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 19 Jun 2003 08:44:54 -0700 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: <004b01c33679$bac41060$6401a8c0@papparuff> Won't the GetElapsedTime() Sample function in Article Q210604 work for you? John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Julie Reardon-Taylor Sent: Thursday, June 19, 2003 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 10:47:59 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 08:47:59 -0700 Subject: [AccessD] Keeping place after requerying References: <010901c3361f$4ed45450$6465000a@venus> <1474329946.20030619092637@cactus.dk> <019301c33669$5b931e20$6465000a@venus> Message-ID: <00bd01c3367a$28fff940$6501a8c0@HAL9002> Selina: When I need to do this I save a value or combination of values that makes the record unique. Then after the Requery I use RecordsetClone and Bookmark to move back to the desired record. If I delete a record, I save the fields of the previous or following record. HTH Rocky ----- Original Message ----- From: "Selina Iddon" To: Sent: Thursday, June 19, 2003 6:47 AM Subject: Re: [AccessD] Keeping place after requerying > Hi Gustav > When I delete a record it puts #DELETED# across all the fields. I requery > it so that they don't see this. > Thanks > Selina > > -------------------------------------------------------------------------- -- > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access > Databases > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, June 19, 2003 5:26 PM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Selina > > > > > I understandably annoyed customer because everytime they delete > something > > > from their very long list and the data is requeried (via code), they end > up > > > at the top of their list again and have to scroll down. > > > Can anyone please help in how I keep the focus on the next record to the > one > > > they have just deleted? > > > > Why do you requery the form? That shouldn't be necessary - except for > > an unbound form ... > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Thu Jun 19 10:51:44 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 19 Jun 2003 11:51:44 -0400 Subject: [AccessD] Week of the Month Message-ID: ...just an observation, but if "1st to the 7th is the 1st week of January", then this method observes neither US or ISO standard. January 1st 2003 was a Wednesday (in my time zone at least). Mark -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, June 19, 2003 10:52 AM To: access group Subject: [AccessD] Week of the Month Guys, Does anyone know of a method to work out what week it is of the month. For example, you have a range of dates 1st January to 31st March. The 1st to the 7th is the 1st week of January and the 8th to the 14th is the second etc etc... I have 2.5 years of data (about 1 Million rows) from an old main frame system and we are trying to determine the frequency of delivery to each customer on a per monthly basis. So effectively to say customer Jim Spanner the client delivers every second Thursday for February. Is there an elegant method of working this out? I have the date the delivery was carried out for the past 2.5 years, but am having difficulty working out how I could manufacture a frequency pattern. Is there any method anyone could suggest, that I could explore... AHGA Regards Vlad From bob at renaissancesiding.com Thu Jun 19 10:55:05 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 11:55:05 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C33659.A0BDAC00.bob@renaissancesiding.com> Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub From mikedorism at ntelos.net Thu Jun 19 11:03:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 12:03:08 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) In-Reply-To: <01C33659.A0BDAC00.bob@renaissancesiding.com> Message-ID: <000801c3367c$4a7e4660$70310cd8@hargrove.internal> What event are you using to collect the information? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 11:55 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Jun 19 11:03:36 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 19 Jun 2003 12:03:36 -0400 Subject: [AccessD] Fw: Problem with Access Message-ID: LOL...not to make light of your situation, but I found the question amusing. The answer of course is to write perfect code that works in all situations regardless of environment and in spite of those pesky users who insist on modifying their machines by installing new hardware and other software after ours has been installed...the nerve;) Mark -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave From gustav at cactus.dk Thu Jun 19 11:13:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Jun 2003 18:13:06 +0200 Subject: [AccessD] Calculating Time Cards In-Reply-To: References: Message-ID: <1435918838.20030619181306@cactus.dk> Hi Julie Here's a quick one. For display of the duration: strShift = Format(#23:00# - 1 - #03:00#,"hh:nn") For obtaining an time value: datHours = CDate((Format(#23:00# - 1 - #03:00#,"hh:nn")) What it does is to turn any duration into a positive value. Then Format() does a "modulus 24 hours" behind the scene. Also, look up the recent thread "adding time". /gustav > Have a small problem that I'm hoping someone had encountered. Putting > together a small application to calculate time cards. Running into some > problems with the shift changes. This manufacturing firm uses a 7:00 am to > 7:00 am day running three shifts. I've found several examples for > calculating time cards in the knowledge base, but none seem to address the > fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means > that one hour of the shift occurs on one date, and the other seven hours > occur on the following date. I need to test the time input by the clerk and > then based on the start and end times, determine which shift the hours fall > between, then calculate time worked on each shift for each employee. > Employees may clock in and out more than once during a day, and may also > work overtime, as well as spread their hours between more than one shift. > Most of this is already written, however, I am stumpled as to how to handle > the third shift time differential? From bob at renaissancesiding.com Thu Jun 19 11:19:17 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 12:19:17 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C3365D.01BBF720.bob@renaissancesiding.com> Doris I am using the InputBox function. Regards, Bob On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > What event are you using to collect the information? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: Thursday, June 19, 2003 11:55 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Print letter from InputBox data (contains long code at > bottom) > > > Dear Group > > I have a generic letter report that uses InputBoxes to allow custom > on-the-fly paragraph data entry > > The sequence asks the user for paragraph 1. If anything was input, it asks > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > PERFECTLY. I can see the entire letter with all data, as entered. Also, > when the preview is closed, the user is asked whether the letter printed > properly, and if they respond yes, it automatically writes a record to the > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > My problem is when I try to actually print the letter (using File, Print or > clicking on the Print button), the program somehow starts over and prompts > the user for paragraph one again (et cetera). I sure don't want users > having to type their letters twice! > > I'm missing something probably very obvious, and any guidance would be > greatly appreciated! > > Thanks, > Bob Gajewski > > ********************************************** > Option Compare Database > Option Explicit > Public gvarRecordFound As Boolean > Public strInput1 As String > Public strInput2 As String > Public strInput3 As String > Public strInput4 As String > Public strInputS As String > Public strInputT As String > ------------------------------------------------------ > Private Sub Report_NoData(Cancel As Integer) > Dim Msg, Response > Msg = "This report is not available; no records exist." Response = > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > ------------------------------------------------------ > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > gvarRecordFound = True > > Dim MyPos > MyPos = InStr(1, [txtJobHomeownerName], ",") > > If MyPos > 0 Then > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & > Left([txtJobHomeownerName], MyPos - 1) > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > Else > Me.txtLetterName = [txtJobHomeownerName] > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > If Left([txtLetterName], 1) = " " Then > [txtLetterName] = Mid([txtLetterName], 2, 35) > End If > > If Left([txtSalutation], 1) = " " Then > [txtSalutation] = Mid([txtSalutation], 2, 41) > End If > > Me.txtLetterAddress = [txtJobAddress] > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > [txtJobStateCode] & " " & [txtJobZipCode] > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > 'Allow user to enter text for paragraphs 1-4 > Dim strMsg1 As String > strMsg1 = "Please enter the text for paragraph 1:" > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > If Not (IsNull(strInput1) Or strInput1 = "") Then > Me.txtParagraph1 = strInput1 > Dim strMsg2 As String > strMsg2 = "Please enter the text for paragraph 2:" > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") > If Not (IsNull(strInput2) Or strInput2 = "") Then > Me.txtParagraph2 = strInput2 > Dim strMsg3 As String > strMsg3 = "Please enter the text for paragraph 3:" > strInput3 = InputBox(Prompt:=strMsg3, > Title:="Paragraph 3") > If Not (IsNull(strInput3) Or strInput3 = "") Then > Me.txtParagraph3 = strInput3 > Dim strMsg4 As String > strMsg4 = "Please enter the text for > paragraph 4:" > strInput4 = InputBox(Prompt:=strMsg4, > Title:="Paragraph 4") > If Not (IsNull(strInput4) Or strInput4 = > "") Then > Me.txtParagraph4 = strInput4 > End If > End If > End If > > 'Allow user to enter text for signator and title > Dim strMsgS As String > strMsgS = "Please enter the signator's name:" > strInputS = InputBox(Prompt:=strMsgS, > Title:="Signator") > If Not (IsNull(strInputS) Or strInputS = "") Then > Me.txtSignator = strInputS > Dim strMsgT As String > strMsgT = "Please enter the signator's title:" > strInputT = InputBox(Prompt:=strMsgT, > Title:="Title") > If Not (IsNull(strInputT) Or strInputT = "") > Then > Me.txtSignatorTitle = strInputT > End If > Else > Me.txtSignator = "Renaissance Siding" > End If > Else > MsgBox "There was no text entered for Paragraph 1." > Cancel = True > gvarRecordFound = False > End If > > End Sub > ------------------------------------------------------ > Private Sub Report_Close() > If gvarRecordFound = False Then > Exit Sub > End If > Dim db As Database, rs As Recordset > Dim Response > Dim strMsgPrint As String > strMsgPrint = "Did the letter print properly?" > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > Verification") Then > Response = acDataErrDisplay > Else > 'Add letter subject to comments > Dim strInput As String, strMsg As String > strMsg = "What was the subject of this letter?" > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > If IsNull(strInput) Or strInput = "" Then > strInput = "NOT SPECIFIED" > End If > Set db = CurrentDb > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > On Error Resume Next > rs.AddNew > Dim strComment As String > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > UCase(strInput) & ")." > rs!lngJobID = lngJobID > rs!txtJobComment = strComment > rs!dteJobCommentNow = Now() > rs!cboJobCommentPrivate = False > rs.Update > If Err Then > MsgBox "An error occurred, and the comments were not updated." & > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > indicating that the letter was sent today." > Response = acDataErrContinue > Else > Response = acDataErrAdded > End If > rs.Close > End If > End Sub > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Thu Jun 19 11:49:48 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 12:49:48 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) In-Reply-To: <01C3365D.01BBF720.bob@renaissancesiding.com> Message-ID: <000e01c33682$cf2eb920$70310cd8@hargrove.internal> I understand that but where are you using it? Before you open the report? When you open the report (Report Open event)? In a particular section of the report? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 12:19 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris I am using the InputBox function. Regards, Bob On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > What event are you using to collect the information? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 11:55 AM > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] Print letter from InputBox data (contains long code at > bottom) > > > Dear Group > > I have a generic letter report that uses InputBoxes to allow custom > on-the-fly paragraph data entry > > The sequence asks the user for paragraph 1. If anything was input, it > asks > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > PERFECTLY. I can see the entire letter with all data, as entered. Also, > when the preview is closed, the user is asked whether the letter printed > properly, and if they respond yes, it automatically writes a record to the > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > My problem is when I try to actually print the letter (using File, > Print or > clicking on the Print button), the program somehow starts over and prompts > the user for paragraph one again (et cetera). I sure don't want users > having to type their letters twice! > > I'm missing something probably very obvious, and any guidance would be > greatly appreciated! > > Thanks, > Bob Gajewski > > ********************************************** > Option Compare Database > Option Explicit > Public gvarRecordFound As Boolean > Public strInput1 As String > Public strInput2 As String > Public strInput3 As String > Public strInput4 As String > Public strInputS As String > Public strInputT As String > ------------------------------------------------------ > Private Sub Report_NoData(Cancel As Integer) > Dim Msg, Response > Msg = "This report is not available; no records exist." Response = > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > ------------------------------------------------------ > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > gvarRecordFound = True > > Dim MyPos > MyPos = InStr(1, [txtJobHomeownerName], ",") > > If MyPos > 0 Then > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " > & > Left([txtJobHomeownerName], MyPos - 1) > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > Else > Me.txtLetterName = [txtJobHomeownerName] > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > If Left([txtLetterName], 1) = " " Then > [txtLetterName] = Mid([txtLetterName], 2, 35) > End If > > If Left([txtSalutation], 1) = " " Then > [txtSalutation] = Mid([txtSalutation], 2, 41) > End If > > Me.txtLetterAddress = [txtJobAddress] > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > [txtJobStateCode] & " " & [txtJobZipCode] > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > 'Allow user to enter text for paragraphs 1-4 > Dim strMsg1 As String > strMsg1 = "Please enter the text for paragraph 1:" > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > If Not (IsNull(strInput1) Or strInput1 = "") Then > Me.txtParagraph1 = strInput1 > Dim strMsg2 As String > strMsg2 = "Please enter the text for paragraph 2:" > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") > If Not (IsNull(strInput2) Or strInput2 = "") Then > Me.txtParagraph2 = strInput2 > Dim strMsg3 As String > strMsg3 = "Please enter the text for paragraph 3:" > strInput3 = InputBox(Prompt:=strMsg3, > Title:="Paragraph 3") > If Not (IsNull(strInput3) Or strInput3 = "") Then > Me.txtParagraph3 = strInput3 > Dim strMsg4 As String > strMsg4 = "Please enter the text for > paragraph 4:" > strInput4 = InputBox(Prompt:=strMsg4, > Title:="Paragraph 4") > If Not (IsNull(strInput4) Or strInput4 = > "") Then > Me.txtParagraph4 = strInput4 > End If > End If > End If > > 'Allow user to enter text for signator and title > Dim strMsgS As String > strMsgS = "Please enter the signator's name:" > strInputS = InputBox(Prompt:=strMsgS, > Title:="Signator") > If Not (IsNull(strInputS) Or strInputS = "") Then > Me.txtSignator = strInputS > Dim strMsgT As String > strMsgT = "Please enter the signator's title:" > strInputT = InputBox(Prompt:=strMsgT, > Title:="Title") > If Not (IsNull(strInputT) Or strInputT = "") > Then > Me.txtSignatorTitle = strInputT > End If > Else > Me.txtSignator = "Renaissance Siding" > End If > Else > MsgBox "There was no text entered for Paragraph 1." > Cancel = True > gvarRecordFound = False > End If > > End Sub > ------------------------------------------------------ > Private Sub Report_Close() > If gvarRecordFound = False Then > Exit Sub > End If > Dim db As Database, rs As Recordset > Dim Response > Dim strMsgPrint As String > strMsgPrint = "Did the letter print properly?" > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > Verification") Then > Response = acDataErrDisplay > Else > 'Add letter subject to comments > Dim strInput As String, strMsg As String > strMsg = "What was the subject of this letter?" > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > If IsNull(strInput) Or strInput = "" Then > strInput = "NOT SPECIFIED" > End If > Set db = CurrentDb > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > On Error Resume Next > rs.AddNew > Dim strComment As String > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > UCase(strInput) & ")." > rs!lngJobID = lngJobID > rs!txtJobComment = strComment > rs!dteJobCommentNow = Now() > rs!cboJobCommentPrivate = False > rs.Update > If Err Then > MsgBox "An error occurred, and the comments were not updated." & > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > indicating that the letter was sent today." > Response = acDataErrContinue > Else > Response = acDataErrAdded > End If > rs.Close > End If > End Sub > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Jun 19 11:57:20 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 02:57:20 +1000 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <11333149726.20030619172657@cactus.dk> Message-ID: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> Guys, Sorry I should have explained myself better I was assuming that January 1st was a Monday etc etc. Here is a cool solution I found at http://www.cpearson.com/excel/DateTimeVBA.htm Does what I need: Public Function YearStart(WhichYear As Integer) As Date Dim WeekDay As Integer Dim NewYear As Date NewYear = DateSerial(WhichYear, 1, 1) WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 If WeekDay < 4 Then YearStart = NewYear - WeekDay Else YearStart = NewYear - WeekDay + 7 End If End Function Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As Variant) As Integer ' WhichFormat: missing or <> 2 then returns week number, ' = 2 then YYWW ' Dim ThisYear As Integer Dim PreviousYearStart As Date Dim ThisYearStart As Date Dim NextYearStart As Date Dim YearNum As Integer ThisYear = Year(AnyDate) ThisYearStart = YearStart(ThisYear) PreviousYearStart = YearStart(ThisYear - 1) NextYearStart = YearStart(ThisYear + 1) Select Case AnyDate Case Is >= NextYearStart ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 YearNum = Year(AnyDate) + 1 Case Is < ThisYearStart ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 YearNum = Year(AnyDate) - 1 Case Else ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 YearNum = Year(AnyDate) End Select If IsMissing(WhichFormat) Then Exit Function If WhichFormat = 2 Then ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ Format(ISOWeekNum, "00")) End If End Function Thanks for everyones suggestions... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 20 June 2003 1:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Week of the Month Hi Vlad Are you sure about this? Normally, an ISO standard, a week runs from Monday to Sunday (except in the US where they start the week in the middle of the weekend - go figure). The DatePart() function and Weekday() will give the week and weekdays if that is what you need (so you say). DatePart() is a little buggy around week 52 but that won't probably be of importance to you. /gustav > Does anyone know of a method to work out what week it is of the month. > For example, you have a range of dates 1st January to 31st March. The > 1st to the 7th is the 1st week of January and the 8th to the 14th is > the second etc etc... > I have 2.5 years of data (about 1 Million rows) from an old main frame > system and we are trying to determine the frequency of delivery to > each customer on a per monthly basis. So effectively to say customer > Jim Spanner the client delivers every second Thursday for February. Is > there an elegant method of working this out? I have the date the > delivery was carried out for the past 2.5 years, but am having > difficulty working out how I could manufacture a frequency pattern. > Is there any method anyone could suggest, that I could explore... _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Jun 19 11:59:18 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 19 Jun 2003 12:59:18 -0400 Subject: [AccessD] Fw: Problem with Access Message-ID: <806536912C472E4A9D6515DF2E57261E2393D3@mercury.tnco-inc.com> This sounds like a Windows error message. Not an Access one. If a program crashes, I don't think that you can suppress Windows error messages. Joe R. -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at renaissancesiding.com Thu Jun 19 12:13:22 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Thu, 19 Jun 2003 13:13:22 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Message-ID: <01C33664.904709B0.bob@renaissancesiding.com> Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the report? > When you open the report (Report Open event)? In a particular section of > the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would be > > greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mikedorism at ntelos.net Thu Jun 19 13:43:57 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 19 Jun 2003 14:43:57 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) In-Reply-To: <01C33664.904709B0.bob@renaissancesiding.com> Message-ID: <002601c33692$c191aa60$70310cd8@hargrove.internal> When you print the open preview, some of the sections of the report rerun on the way to the printer so that's why you are getting the second pass for information. Try moving the Input box code to the Report's Open event instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 1:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the > report? When you open the report (Report Open event)? In a particular > section of the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, > > it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. > > Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want > > users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would > > be greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " > > " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, > > Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Thu Jun 19 13:49:46 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Thu, 19 Jun 2003 14:49:46 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code atbottom) Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128666@mail2.wrsystems.com> I encountered this problem the hard way (which is why I use BE/FE religiously). User A would open the report in preview, user B would open report in preview after. When user A hit print, they would get the results of user B's report. I've not delved into this issue here or elsewhere, I'd just assumed this was an Access quirk (A2K). -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Thursday, June 19, 2003 2:44 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Print letter from InputBox data (contains long codeatbottom) When you print the open preview, some of the sections of the report rerun on the way to the printer so that's why you are getting the second pass for information. Try moving the Input box code to the Report's Open event instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Thursday, June 19, 2003 1:13 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Print letter from InputBox data (contains long code atbottom) Doris In the Detail_Format section. Regards, Bob On Thursday, June 19, 2003 12:50 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > I understand that but where are you using it? Before you open the > report? When you open the report (Report Open event)? In a particular > section of the report? > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > Gajewski > Sent: Thursday, June 19, 2003 12:19 PM > To: 'accessd at databaseadvisors.com' > Subject: RE: [AccessD] Print letter from InputBox data (contains long code > atbottom) > > > Doris > > I am using the InputBox function > > Regards, > Bob > > On Thursday, June 19, 2003 12:03 PM, Mike and Doris Manning > [SMTP:mikedorism at ntelos.net] wrote: > > What event are you using to collect the information? > > > > Doris Manning > > Database Administrator > > Hargrove Inc > > www.hargroveinc.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob > > Gajewski > > Sent: Thursday, June 19, 2003 11:55 AM > > To: 'accessd at databaseadvisors.com' > > Subject: [AccessD] Print letter from InputBox data (contains long code at > > bottom) > > > > > > Dear Group > > > > I have a generic letter report that uses InputBoxes to allow custom > > on-the-fly paragraph data entry > > > > The sequence asks the user for paragraph 1. If anything was input, > > it > > asks > > for paragraph 2, then 3, then 4. Finally, it asks for the signator's name > > and title. The report os then displayed in preview mode. ALL OF THIS WORKS > > > PERFECTLY. I can see the entire letter with all data, as entered. > > Also, > > when the preview is closed, the user is asked whether the letter printed > > properly, and if they respond yes, it automatically writes a record to the > > > comments child table to record the event. THIS ALSO WORKS PERFECTLY > > > > My problem is when I try to actually print the letter (using File, > > Print or > > clicking on the Print button), the program somehow starts over and prompts > > > the user for paragraph one again (et cetera). I sure don't want > > users > > having to type their letters twice! > > > > I'm missing something probably very obvious, and any guidance would > > be greatly appreciated! > > > > Thanks, > > Bob Gajewski > > > > ********************************************** > > Option Compare Database > > Option Explicit > > Public gvarRecordFound As Boolean > > Public strInput1 As String > > Public strInput2 As String > > Public strInput3 As String > > Public strInput4 As String > > Public strInputS As String > > Public strInputT As String > > ------------------------------------------------------ > > Private Sub Report_NoData(Cancel As Integer) > > Dim Msg, Response > > Msg = "This report is not available; no records exist." Response = > > MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub > > ------------------------------------------------------ > > Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) > > > > gvarRecordFound = True > > > > Dim MyPos > > MyPos = InStr(1, [txtJobHomeownerName], ",") > > > > If MyPos > 0 Then > > Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " > > " > > & > > Left([txtJobHomeownerName], MyPos - 1) > > Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) > > > & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" > > Else > > Me.txtLetterName = [txtJobHomeownerName] > > Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If > > > > If Left([txtLetterName], 1) = " " Then > > [txtLetterName] = Mid([txtLetterName], 2, 35) > > End If > > > > If Left([txtSalutation], 1) = " " Then > > [txtSalutation] = Mid([txtSalutation], 2, 41) > > End If > > > > Me.txtLetterAddress = [txtJobAddress] > > Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & > > [txtJobStateCode] & " " & [txtJobZipCode] > > Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" > > > > 'Allow user to enter text for paragraphs 1-4 > > Dim strMsg1 As String > > strMsg1 = "Please enter the text for paragraph 1:" > > strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") > > If Not (IsNull(strInput1) Or strInput1 = "") Then > > Me.txtParagraph1 = strInput1 > > Dim strMsg2 As String > > strMsg2 = "Please enter the text for paragraph 2:" > > strInput2 = InputBox(Prompt:=strMsg2, > > Title:="Paragraph > 2") > > If Not (IsNull(strInput2) Or strInput2 = "") Then > > Me.txtParagraph2 = strInput2 > > Dim strMsg3 As String > > strMsg3 = "Please enter the text for paragraph 3:" > > strInput3 = InputBox(Prompt:=strMsg3, > > Title:="Paragraph 3") > > If Not (IsNull(strInput3) Or strInput3 = "") Then > > Me.txtParagraph3 = strInput3 > > Dim strMsg4 As String > > strMsg4 = "Please enter the text for > > paragraph 4:" > > strInput4 = InputBox(Prompt:=strMsg4, > > Title:="Paragraph 4") > > If Not (IsNull(strInput4) Or strInput4 = > > "") Then > > Me.txtParagraph4 = strInput4 > > End If > > End If > > End If > > > > 'Allow user to enter text for signator and title > > Dim strMsgS As String > > strMsgS = "Please enter the signator's name:" > > strInputS = InputBox(Prompt:=strMsgS, > > Title:="Signator") > > If Not (IsNull(strInputS) Or strInputS = "") Then > > Me.txtSignator = strInputS > > Dim strMsgT As String > > strMsgT = "Please enter the signator's title:" > > strInputT = InputBox(Prompt:=strMsgT, > > Title:="Title") > > If Not (IsNull(strInputT) Or strInputT = "") > > Then > > Me.txtSignatorTitle = strInputT > > End If > > Else > > Me.txtSignator = "Renaissance Siding" > > End If > > Else > > MsgBox "There was no text entered for Paragraph 1." > > Cancel = True > > gvarRecordFound = False > > End If > > > > End Sub > > ------------------------------------------------------ > > Private Sub Report_Close() > > If gvarRecordFound = False Then > > Exit Sub > > End If > > Dim db As Database, rs As Recordset > > Dim Response > > Dim strMsgPrint As String > > strMsgPrint = "Did the letter print properly?" > > If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter > > Verification") Then > > Response = acDataErrDisplay > > Else > > 'Add letter subject to comments > > Dim strInput As String, strMsg As String > > strMsg = "What was the subject of this letter?" > > strInput = InputBox(Prompt:=strMsg, Title:="Subject") > > If IsNull(strInput) Or strInput = "" Then > > strInput = "NOT SPECIFIED" > > End If > > Set db = CurrentDb > > Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) > > On Error Resume Next > > rs.AddNew > > Dim strComment As String > > strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & > > UCase(strInput) & ")." > > rs!lngJobID = lngJobID > > rs!txtJobComment = strComment > > rs!dteJobCommentNow = Now() > > rs!cboJobCommentPrivate = False > > rs.Update > > If Err Then > > MsgBox "An error occurred, and the comments were not updated." & > > vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record > > indicating that the letter was sent today." > > Response = acDataErrContinue > > Else > > Response = acDataErrAdded > > End If > > rs.Close > > End If > > End Sub > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 19 14:55:04 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 19 Jun 2003 15:55:04 -0400 Subject: [AccessD] Fw: Problem with Access In-Reply-To: <00a001c33679$ba951120$6501a8c0@HAL9002> Message-ID: Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Jun 19 15:41:38 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 13:41:38 -0700 Subject: [AccessD] Fw: Problem with Access References: Message-ID: <018b01c336a3$2ec77aa0$6501a8c0@HAL9002> Jim: That might have worked. Actually, I just got a call from him and the solution turned out to be registering DAO 3.51 using regsrvr32 but he was told that the DLL had to be in the same folder where regsrvr32 was. So that's what he did and now it's working. Thanks everybody for the feedback. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 12:55 PM Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Jun 19 15:44:37 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 19 Jun 2003 22:44:37 +0200 Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> NO ARCHIVE Sounds very tempting.... Aaaah Must consider Aaaaaah Not to far from here... Aaaaah Porc chops Aaaaahhh Beer (not Belgian but there are some fine German beers to, and as long it's cold it's ok for me) (did anyone recognised my Homer Simpson act?) Can't confirm now, don't know until its time. But I'm so jealous of those American Access D'rs that seam to BBQ every week in another state, that I only can aprove a European initiative. I put it in my agenda, but you will only be sure when I'm there... Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 17 juni 2003 22:19 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Thu Jun 19 15:49:44 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Fri, 20 Jun 2003 08:49:44 +1200 Subject: [AccessD] detect network References: <22F1CCD5171D17419CB37FEEE09D5F990173EEB8@TTNEXCHSRV1.hshhp.com> Message-ID: <004101c336a4$507ea780$0900a8c0@P1200n> Can one ask for the MAC address of the Server NIC? Will it always be the same one? Then tell it to connect if its there but not "connected". etc? Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Jim DeMarco" To: Sent: Friday, June 20, 2003 3:22 AM Subject: RE: [AccessD] detect network Unfortunately this app will be used by a few outside organzitions as well so the routine needs to be generic. I'm looking into the APIs that I've seen mentioned but haven't found anything on them yet. Thanks, Jim DeMarco -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 19, 2003 10:24 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network A lower tech option: Make sure you have a mapped drive to your network with the central database. Let's say it is drive "Z". Should be a consistent mapping letter for all users. Then in your startup form, perform a test to see if you can open a file (any file) in the target folder. If it generates an error, you can assume that you are not on the network. Either way, you write code to handle the situation (on or off network). 'Verify: File must exist strFullPath = "Z:\xxx\xxx" If Dir(strFullPath) = "" Then MsgBox "You are not connected to the network.", vbOKOnly, "Networking Status" 'Code here to work with remote copy of data else MsgBox "You are connected to the network.", vbOKOnly, "Networking Status" 'Code here to remind user to synchronize if they haven't already End If Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 9:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Thu Jun 19 15:55:37 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 19 Jun 2003 22:55:37 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** References: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> Message-ID: <24d801c336a5$230c7ab0$0300a8c0@S856> LOL beer and eat... how about a presentation? LOL but you are welcome Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: Sent: Thursday, June 19, 2003 10:44 PM Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > NO ARCHIVE > > Sounds very tempting.... > Aaaah > Must consider > Aaaaaah > Not to far from here... > Aaaaah > Porc chops > Aaaaahhh > Beer (not Belgian but there are some fine German beers to, and as long it's > cold it's ok for me) > > (did anyone recognised my Homer Simpson act?) > > > Can't confirm now, don't know until its time. > But I'm so jealous of those American Access D'rs that seam to BBQ every week > in another state, that I only can aprove a European initiative. > > I put it in my agenda, but you will only be sure when I'm there... > > Erwin > > > > > > -----Oorspronkelijk bericht----- > Van: Drew Wutka [mailto:DWUTKA at marlow.com] > Verzonden: dinsdag 17 juni 2003 22:19 > Aan: 'accessd at databaseadvisors.com' > Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > Sounds like fun, but definitely can't make it. To swamped with time, and > too broke from bills (and recent calamities). > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Tuesday, June 17, 2003 7:10 AM > To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com > Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller > Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > > Friday, Aug.-08 2003: > =============== > arrival of participants and in the evening > meeting at my house to socialize, > and have some beer or wine together. > > Saturday, Aug-09 2003: > ================ > Presentations at my house > > - Arthur Fuller: SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) > in the absence of Enterprise Manager > > - Gustav Brock: (to be determined) > > - Mark L. Breen: (to be determined) > > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access > > Evening: > --------- > for dinner at my house we enjoy grilling pork in the Atrium > and have lots of good German beer fresh from tap. > > Sunday, Aug-10 2003: > ================ > depending on your flight schedules and your interests > and weather: > > - visit Deutsches Museum in Munich (a real great technical > Museum, 100 year aniversary this year, > http://www.deutsches-museum.de/) > > - alternatively a sightseeing tour through Munich > > Please let me know soon who of you will participate, > and if there are additional presentations, > and if you need help with reservations > > Please respond to > dba-conf at databaseadvisors.com > or lembit.soobik at t-online.de > > thank you > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Thu Jun 19 16:06:30 2003 From: dmcafee at pacbell.net (David McAFee (Home)) Date: Thu, 19 Jun 2003 14:06:30 -0700 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <104AB6116A2DD511A7580008C7097A98219903@AARDBEI> Message-ID: Every week? nah, some times 3 or 4 times a week, here in LA ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, June 19, 2003 1:45 PM To: 'accessd at databaseadvisors.com' Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** NO ARCHIVE Sounds very tempting.... Aaaah Must consider Aaaaaah Not to far from here... Aaaaah Porc chops Aaaaahhh Beer (not Belgian but there are some fine German beers to, and as long it's cold it's ok for me) (did anyone recognised my Homer Simpson act?) Can't confirm now, don't know until its time. But I'm so jealous of those American Access D'rs that seam to BBQ every week in another state, that I only can aprove a European initiative. I put it in my agenda, but you will only be sure when I'm there... Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 17 juni 2003 22:19 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** Sounds like fun, but definitely can't make it. To swamped with time, and too broke from bills (and recent calamities). Drew -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Tuesday, June 17, 2003 7:10 AM To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** The 3rd AccessD Conference will be held August-08 through August-10 2003 in Freising / Germany (near Munich) Friday, Aug.-08 2003: =============== arrival of participants and in the evening meeting at my house to socialize, and have some beer or wine together. Saturday, Aug-09 2003: ================ Presentations at my house - Arthur Fuller: SQL-DMO (i.e. how to do backups, restores, restores with MOVE etc.) in the absence of Enterprise Manager - Gustav Brock: (to be determined) - Mark L. Breen: (to be determined) - Lembit Soobik: Chances and Problems developing Visualization Programs for EIBUS with Access Evening: --------- for dinner at my house we enjoy grilling pork in the Atrium and have lots of good German beer fresh from tap. Sunday, Aug-10 2003: ================ depending on your flight schedules and your interests and weather: - visit Deutsches Museum in Munich (a real great technical Museum, 100 year aniversary this year, http://www.deutsches-museum.de/) - alternatively a sightseeing tour through Munich Please let me know soon who of you will participate, and if there are additional presentations, and if you need help with reservations Please respond to dba-conf at databaseadvisors.com or lembit.soobik at t-online.de thank you Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Jun 19 16:19:10 2003 From: artful at rogers.com (Arthur Fuller) Date: Thu, 19 Jun 2003 17:19:10 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: <000001c33679$7a70ee70$70310cd8@hargrove.internal> Message-ID: <02b401c336a8$6cfdbdc0$6501a8c0@Rock> Nice solution! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: June 19, 2003 11:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. From john at winhaven.net Thu Jun 19 16:45:34 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 16:45:34 -0500 Subject: [AccessD] Fw: Problem with Access In-Reply-To: Message-ID: Jim, Does the /y switch work with all M$ setups? JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, June 19, 2003 2:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Thu Jun 19 16:51:41 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 19 Jun 2003 14:51:41 -0700 Subject: [AccessD] Update query syntax Message-ID: I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: Current sample of Attend is: 35=2 30b=2 30a=2 25=2 If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 So, what would my query look like to do that? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From Lembit.Soobik at t-online.de Thu Jun 19 17:04:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 00:04:01 +0200 Subject: [AccessD] Access97 with WindowsXP References: Message-ID: <253c01c336af$5b26ec00$0300a8c0@S856> Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Jun 19 17:15:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Jun 2003 15:15:32 -0700 Subject: [AccessD] Access97 with WindowsXP Message-ID: We have it on WinXP, along with Office XP, and still do some development in it. It sounds like something went haywire with your install. Try uninstalling it, clearing out the registry keys for it and reinstalling. Charlotte Foust -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Thursday, June 19, 2003 2:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Jun 19 17:20:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 15:20:26 -0700 Subject: [AccessD] Access97 with WindowsXP References: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: <021101c336b0$fc627200$6501a8c0@HAL9002> I don't have a problem here (XP Pro). But I don't know why you're getting the memory problem. Rocky ----- Original Message ----- From: Lembit Soobik To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 3:04 PM Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Jun 19 17:21:31 2003 From: john at winhaven.net (John Bartow) Date: Thu, 19 Jun 2003 17:21:31 -0500 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: I have installed an A97 app with the runtime on WXP and it does just fine, so far... HTH JB -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Thursday, June 19, 2003 5:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik -------------- next part -------------- An HTML attachment was scrubbed... URL: From chizotz at charter.net Thu Jun 19 17:25:29 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 19 Jun 2003 18:25:29 -0400 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: Absolutely yes. I run Acc97 under Windows XP Pro almost daily on my dev machine at work. Ron On Fri, 20 Jun 2003 00:04:01 +0200 Lembit.Soobik at t-online.de (Lembit Soobik) wrote: >does Access97 work on Windows XP? From selina at easydatabases.com.au Thu Jun 19 17:37:29 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 20 Jun 2003 08:37:29 +1000 Subject: [AccessD] Update query syntax References: Message-ID: <002401c336b3$5dd2d550$6465000a@venus> is it save to say whatever figure after the 35= is the figure you want to go in the 35 column? If so, this should do it. update tablename set [Attend35] = mid(attend,4) where left(attend,3) like "35=" HTH Selina ---------------------------------------------------------------------------- ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Friday, June 20, 2003 7:51 AM Subject: [AccessD] Update query syntax > I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lembit.Soobik at t-online.de Thu Jun 19 17:45:56 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 00:45:56 +0200 Subject: [AccessD] Access97 with WindowsXP References: Message-ID: <257301c336b4$8c454930$0300a8c0@S856> MessageCharlotte, Ron, John Rocky, thank you all, helps a lot Charlotte, is there a better way to clean aout the reg keys than manually serching and deleting all Access97? Lembit Soobik ----- Original Message ----- From: Charlotte Foust To: accessd at databaseadvisors.com Sent: Friday, June 20, 2003 12:15 AM Subject: RE: [AccessD] Access97 with WindowsXP We have it on WinXP, along with Office XP, and still do some development in it. It sounds like something went haywire with your install. Try uninstalling it, clearing out the registry keys for it and reinstalling. Charlotte Foust -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Thursday, June 19, 2003 2:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 19 18:32:41 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 20 Jun 2003 09:32:41 +1000 Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) References: <01C33659.A0BDAC00.bob@renaissancesiding.com> Message-ID: <00ae01c336bb$141f84a0$54dd31d2@OfficePC> Bob - just wondering.....do the users have a preference for the input box approach? Another idea is to have a form (bound to a report table) where the user gets to plug in the content to those fields and then click a preview button to produce the report with that data. I use that approach quite a lot - it can be very frustrating entering data into input boxes - one false move and you have to start over. With the form approach they can keep editing until they get it right and re-use common text. Kath ----- Original Message ----- From: Bob Gajewski To: 'accessd at databaseadvisors.com' Sent: Friday, June 20, 2003 1:55 AM Subject: [AccessD] Print letter from InputBox data (contains long code at bottom) Dear Group I have a generic letter report that uses InputBoxes to allow custom on-the-fly paragraph data entry. The sequence asks the user for paragraph 1. If anything was input, it asks for paragraph 2, then 3, then 4. Finally, it asks for the signator's name and title. The report os then displayed in preview mode. ALL OF THIS WORKS PERFECTLY. I can see the entire letter with all data, as entered. Also, when the preview is closed, the user is asked whether the letter printed properly, and if they respond yes, it automatically writes a record to the comments child table to record the event. THIS ALSO WORKS PERFECTLY. My problem is when I try to actually print the letter (using File, Print or clicking on the Print button), the program somehow starts over and prompts the user for paragraph one again (et cetera). I sure don't want users having to type their letters twice! I'm missing something probably very obvious, and any guidance would be greatly appreciated! Thanks, Bob Gajewski ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String ------------------------------------------------------ Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ------------------------------------------------------ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Me.txtParagraph1 = strInput1 Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then Me.txtSignatorTitle = strInputT End If Else Me.txtSignator = "Renaissance Siding" End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ------------------------------------------------------ Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Thu Jun 19 18:31:57 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:31:57 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <003f01c336ba$fa836d40$7f00a8c0@bbb888> Jim, The following is a quick hack of some AllAPI (R.I.P.) code you could use as a starting point. ==================================START Option Compare Database Option Explicit Private Declare Function InternetAttemptConnect Lib "wininet" ( _ ByVal dwReserved As Long) As Long 'Add this code to a module and set the Project's Startup Object to 'Sub Main' ' (-> Project Menu -> Project Properties -> General Tab) Private Const RESOURCE_CONNECTED As Long = &H1& Private Const RESOURCE_GLOBALNET As Long = &H2& Private Const RESOURCE_REMEMBERED As Long = &H3& Private Const RESOURCEDISPLAYTYPE_DIRECTORY& = &H9 Private Const RESOURCEDISPLAYTYPE_DOMAIN& = &H1 Private Const RESOURCEDISPLAYTYPE_FILE& = &H4 Private Const RESOURCEDISPLAYTYPE_GENERIC& = &H0 Private Const RESOURCEDISPLAYTYPE_GROUP& = &H5 Private Const RESOURCEDISPLAYTYPE_NETWORK& = &H6 Private Const RESOURCEDISPLAYTYPE_ROOT& = &H7 Private Const RESOURCEDISPLAYTYPE_SERVER& = &H2 Private Const RESOURCEDISPLAYTYPE_SHARE& = &H3 Private Const RESOURCEDISPLAYTYPE_SHAREADMIN& = &H8 Private Const RESOURCETYPE_ANY As Long = &H0& Private Const RESOURCETYPE_DISK As Long = &H1& Private Const RESOURCETYPE_PRINT As Long = &H2& Private Const RESOURCETYPE_UNKNOWN As Long = &HFFFF& Private Const RESOURCEUSAGE_ALL As Long = &H0& Private Const RESOURCEUSAGE_CONNECTABLE As Long = &H1& Private Const RESOURCEUSAGE_CONTAINER As Long = &H2& Private Const RESOURCEUSAGE_RESERVED As Long = &H80000000 Private Const NO_ERROR = 0 Private Const ERROR_MORE_DATA = 234 'L // dderror Private Const RESOURCE_ENUM_ALL As Long = &HFFFF Private Type NETRESOURCE dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long pLocalName As Long pRemoteName As Long pComment As Long pProvider As Long End Type Private Type NETRESOURCE_REAL dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long sLocalName As String sRemoteName As String sComment As String sProvider As String End Type Private Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" (lpNetResource As NETRESOURCE, ByVal lpPassword As String, ByVal lpUserName As String, ByVal dwFlags As Long) As Long Private Declare Function WNetOpenEnum Lib "mpr.dll" Alias "WNetOpenEnumA" (ByVal dwScope As Long, ByVal dwType As Long, ByVal dwUsage As Long, lpNetResource As Any, lphEnum As Long) As Long Private Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As NETRESOURCE, lpBufferSize As Long) As Long Private Declare Function WNetCloseEnum Lib "mpr.dll" (ByVal hEnum As Long) As Long Private Declare Function VarPtrAny Lib "vb40032.dll" Alias "VarPtr" (lpObject As Any) As Long Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (lpTo As Any, lpFrom As Any, ByVal lLen As Long) Private Declare Sub CopyMemByPtr Lib "kernel32" Alias "RtlMoveMemory" (ByVal lpTo As Long, ByVal lpFrom As Long, ByVal lLen As Long) Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpString1 As String, ByVal lpString2 As Any) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Any) As Long Private Declare Function getusername Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public strUserName As String Public strMachinerName As String Public Function IsWebConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick test to see if there is an available internet connection ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if there is an available connection ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 19-Jun-03 (c) 2003 Sargasso Pty Ltd Original. '============================================================ On Error GoTo IsWebConnected_ERR IsWebConnected = (InternetAttemptConnect(ByVal 0&) = 0) IsWebConnected_EXIT: On Error GoTo 0 Exit Function IsWebConnected_ERR: Dim pname As String pname = "IsWebConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" End Select GoTo IsWebConnected_EXIT End Function Public Function AreWeConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick hack of the AllAPI code for Jim ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if some code is added to detect what you want ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 20-Jun-03 (c) 2003 Sargasso Pty Ltd Original by AllAPI as per comments. '============================================================ Dim blnResult As Boolean On Error GoTo AreWeConnected_ERR 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net '-> This sample was created by Donald Grover Const MAX_RESOURCES = 256 Const NOT_A_CONTAINER = -1 Dim bFirstTime As Boolean Dim lReturn As Long Dim hEnum As Long Dim lCount As Long Dim lMin As Long Dim lLength As Long Dim l As Long Dim lBufferSize As Long Dim lLastIndex As Long Dim uNetApi(0 To MAX_RESOURCES) As NETRESOURCE Dim uNet() As NETRESOURCE_REAL bFirstTime = True Do If bFirstTime Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, ByVal 0&, hEnum) bFirstTime = False Else If uNet(lLastIndex).dwUsage And RESOURCEUSAGE_CONTAINER Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, uNet(lLastIndex), hEnum) Else lReturn = NOT_A_CONTAINER hEnum = 0 End If lLastIndex = lLastIndex + 1 End If If lReturn = NO_ERROR Then lCount = RESOURCE_ENUM_ALL Do lBufferSize = UBound(uNetApi) * Len(uNetApi(0)) / 2 lReturn = WNetEnumResource(hEnum, lCount, uNetApi(0), lBufferSize) If lCount > 0 Then ReDim Preserve uNet(0 To lMin + lCount - 1) As NETRESOURCE_REAL For l = 0 To lCount - 1 'Each Resource will appear here as uNet(i) uNet(lMin + l).dwScope = uNetApi(l).dwScope uNet(lMin + l).dwType = uNetApi(l).dwType uNet(lMin + l).dwDisplayType = uNetApi(l).dwDisplayType uNet(lMin + l).dwUsage = uNetApi(l).dwUsage If uNetApi(l).pLocalName Then lLength = lstrlen(uNetApi(l).pLocalName) uNet(lMin + l).sLocalName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sLocalName, ByVal uNetApi(l).pLocalName, lLength End If If uNetApi(l).pRemoteName Then lLength = lstrlen(uNetApi(l).pRemoteName) uNet(lMin + l).sRemoteName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sRemoteName, ByVal uNetApi(l).pRemoteName, lLength End If If uNetApi(l).pComment Then lLength = lstrlen(uNetApi(l).pComment) uNet(lMin + l).sComment = Space$(lLength) CopyMem ByVal uNet(lMin + l).sComment, ByVal uNetApi(l).pComment, lLength End If If uNetApi(l).pProvider Then lLength = lstrlen(uNetApi(l).pProvider) uNet(lMin + l).sProvider = Space$(lLength) CopyMem ByVal uNet(lMin + l).sProvider, ByVal uNetApi(l).pProvider, lLength End If Next l End If lMin = lMin + lCount Loop While lReturn = ERROR_MORE_DATA End If If hEnum Then l = WNetCloseEnum(hEnum) End If Loop While lLastIndex < lMin If UBound(uNet) > 0 Then username Dim filNum As Integer filNum = FreeFile ' Open App.Path & "\" & LCase(App.EXEName) & ".txt" For Output Shared As #filNum 'Open "d:\" & App.EXEName & ".txt" For Output Shared As #filNum Debug.Print "Date: " & Format(Now, "Long date") Debug.Print "" Debug.Print "UserName: " & strUserName Debug.Print "Computer Name: " & strMachinerName For l = 0 To UBound(uNet) Select Case uNet(l).dwDisplayType Case RESOURCEDISPLAYTYPE_DIRECTORY& Debug.Print "Directory...", Debug.Print "Directory...", Case RESOURCEDISPLAYTYPE_DOMAIN Debug.Print "Domain...", Debug.Print "Domain...", Case RESOURCEDISPLAYTYPE_FILE Debug.Print "File...", ' Print #filNum, "File...", Case RESOURCEDISPLAYTYPE_GENERIC Debug.Print "Generic...", ' Print #filNum, "Generic...", Case RESOURCEDISPLAYTYPE_GROUP Debug.Print "Group...", ' Print #filNum, "Group...", Case RESOURCEDISPLAYTYPE_NETWORK& Debug.Print "Network...", ' Print #filNum, "Network...", Case RESOURCEDISPLAYTYPE_ROOT& Debug.Print "Root...", ' Print #filNum, "Root...", Case RESOURCEDISPLAYTYPE_SERVER Debug.Print "Server...", ' Print #filNum, "Server...", Case RESOURCEDISPLAYTYPE_SHARE Debug.Print "Share...", ' Print #filNum, "Share...", Case RESOURCEDISPLAYTYPE_SHAREADMIN& Debug.Print "ShareAdmin...", ' Print #filNum, "ShareAdmin...", End Select Debug.Print uNet(l).sRemoteName, uNet(l).sComment ' Print #filNum, uNet(l).sRemoteName, uNet(l).sComment Next l End If Close #filNum ' MsgBox "File " + App.Path & "\" & LCase(App.EXEName) & ".txt created" + vbCrLf + "Open it in a text editor to see the results", vbInformation AreWeConnected = AreWeConnected_TIDYUP: ' Close any open recordsets, destroy local objects AreWeConnected_EXIT: On Error GoTo 0 Exit Function AreWeConnected_ERR: Dim pname As String pname = "AreWeConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" Stop Resume End Select GoTo AreWeConnected_EXIT End Function Private Sub username() On Error Resume Next 'Create a buffer strUserName = String(255, Chr$(0)) 'Get the username getusername strUserName, 255 'strip the rest of the buffer strUserName = Left$(strUserName, InStr(strUserName, Chr$(0)) - 1) 'Create a buffer strMachinerName = String(255, Chr$(0)) GetComputerName strMachinerName, 255 'remove the unnecessary chr$(0)'s strMachinerName = Left$(strMachinerName, InStr(1, strMachinerName, Chr$(0)) - 1) End Sub ==========================================END Hth, Im in a bit of a rush Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 12:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 18:33:53 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:33:53 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <004101c336bb$3f3c3340$7f00a8c0@bbb888> Jim Go here for more info http://www.mentalis.org/index2.shtml Bruce From bbruen at bigpond.com Thu Jun 19 18:35:02 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:35:02 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <00bd01c3367a$28fff940$6501a8c0@HAL9002> Message-ID: <004201c336bb$68d6fcd0$7f00a8c0@bbb888> Rocky, Bookmarks are invalid after a Requery Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 20, 2003 1:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Selina: When I need to do this I save a value or combination of values that makes the record unique. Then after the Requery I use RecordsetClone and Bookmark to move back to the desired record. If I delete a record, I save the fields of the previous or following record. HTH Rocky ----- Original Message ----- From: "Selina Iddon" To: Sent: Thursday, June 19, 2003 6:47 AM Subject: Re: [AccessD] Keeping place after requerying > Hi Gustav > When I delete a record it puts #DELETED# across all the fields. I > requery it so that they don't see this. Thanks > Selina > > ---------------------------------------------------------------------- > ---- -- > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > Access Databases > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Thursday, June 19, 2003 5:26 PM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Selina > > > > > I understandably annoyed customer because everytime they delete > something > > > from their very long list and the data is requeried (via code), > > > they end > up > > > at the top of their list again and have to scroll down. Can anyone > > > please help in how I keep the focus on the next record to the > one > > > they have just deleted? > > > > Why do you requery the form? That shouldn't be necessary - except > > for an unbound form ... > > > > /gustav > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 18:33:19 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 09:33:19 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB7@TTNEXCHSRV1.hshhp.com> Message-ID: <004001c336bb$2b44cfa0$7f00a8c0@bbb888> From davesharpe2 at cox.net Thu Jun 19 18:56:37 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Thu, 19 Jun 2003 19:56:37 -0400 Subject: [AccessD] Update query syntax References: Message-ID: <014501c336be$6bb9ca10$1d270a44@bcs006137> Kathryn I nomally use the query builder. If I read your request correctly,I'd use something like "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" as your condition and something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" as your replace statement for Attend35 Dave ----- Original Message ----- From: Kathryn Bassett To: dbAdvisors (AccessD) Sent: Thursday, June 19, 2003 5:51 PM Subject: [AccessD] Update query syntax I have a field called Attend that is text 100 in length. I've added new fields called Attend25, Attend35 etc and made then all long integers with zero decimal places. (The numbers will only be one digit as it is usually just one or two people.) We'll use the 35th for the example of what I want to do. I know there is a way using the queries, to take the contents of Attend, and put it in Attend35. Before I just try to muddle though it, I thought I'd find out if there is a way to do it thusly: Current sample of Attend is: 35=2 30b=2 30a=2 25=2 If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then put a 2 in Attend35 So, what would my query look like to do that? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbruen at bigpond.com Thu Jun 19 19:18:49 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 10:18:49 +1000 Subject: [AccessD] Calculating Time Cards In-Reply-To: <000001c33679$7a70ee70$70310cd8@hargrove.internal> Message-ID: <004d01c336c1$866219f0$7f00a8c0@bbb888> Without having looked too closely at this thread.... I had a similar problem several years ago. The answer we employed was to build a temporary analysis table with the times adjusted backwards by the starting time of the first shift of the day. That is, analysisStart=realStart-(#4:00am#/24) type of thing. Thus the first shift starts at a virtual 12:00am, second at virtual 8:00am etc. The analysis then became easy. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike and Doris Manning Sent: Friday, June 20, 2003 1:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards The easiest solution would be to build a shift table that contains the start and stop times for each shift. When the user clocks in, check the entry time against the shift table and set a Shift field in the time clock record to the appropriate value. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, Have a small problem that I'm hoping someone had encountered. Putting together a small application to calculate time cards. Running into some problems with the shift changes. This manufacturing firm uses a 7:00 am to 7:00 am day running three shifts. I've found several examples for calculating time cards in the knowledge base, but none seem to address the fact the "third shift" runs from 11:00 pm to 3:00 am. Of course, this means that one hour of the shift occurs on one date, and the other seven hours occur on the following date. I need to test the time input by the clerk and then based on the start and end times, determine which shift the hours fall between, then calculate time worked on each shift for each employee. Employees may clock in and out more than once during a day, and may also work overtime, as well as spread their hours between more than one shift. Most of this is already written, however, I am stumpled as to how to handle the third shift time differential? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 22:18:57 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 13:18:57 +1000 Subject: [AccessD] Old help files Message-ID: <000001c336da$b0727f50$7f00a8c0@bbb888> Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce From actebs at actebs.com.au Thu Jun 19 22:29:02 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 13:29:02 +1000 Subject: [AccessD] Old help files In-Reply-To: <000001c336da$b0727f50$7f00a8c0@bbb888> Message-ID: <000901c336dc$1b633f60$0c05a8c0@earth.local> Bruce, Can't help you there, but just wanted to re-iterate the sorry excuse the AXP help files actually are. Why they have done what they have is beyond me as the previous search methods etc in the A97 product were awesome. I have given up even trying to use the AXP help it's a joke... Sorry for the rant!!!... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Friday, 20 June 2003 1:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old help files Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 19 22:44:17 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 20:44:17 -0700 Subject: [AccessD] Keeping place after requerying References: <004201c336bb$68d6fcd0$7f00a8c0@bbb888> Message-ID: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Bruce: I think I wrote too fast. I save the PK of the record before the one to be deleted. Then I do the delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. I think that works. Rocky ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 4:35 PM Subject: RE: [AccessD] Keeping place after requerying > Rocky, > > Bookmarks are invalid after a Requery > > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Selina: > > When I need to do this I save a value or combination of values that > makes the record unique. Then after the Requery I use RecordsetClone > and Bookmark to move back to the desired record. If I delete a record, I > save the fields of the previous or following record. > > HTH > > Rocky > > ----- Original Message ----- > From: "Selina Iddon" > To: > Sent: Thursday, June 19, 2003 6:47 AM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Gustav > > When I delete a record it puts #DELETED# across all the fields. I > > requery it so that they don't see this. Thanks > > Selina > > > > ---------------------------------------------------------------------- > > ---- > -- > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > Access Databases > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Thursday, June 19, 2003 5:26 PM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Selina > > > > > > > I understandably annoyed customer because everytime they delete > > something > > > > from their very long list and the data is requeried (via code), > > > > they > end > > up > > > > at the top of their list again and have to scroll down. Can anyone > > > > > please help in how I keep the focus on the next record to > the > > one > > > > they have just deleted? > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > for an unbound form ... > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From weeden1949 at hotmail.com Thu Jun 19 23:10:45 2003 From: weeden1949 at hotmail.com (Greg Smith) Date: Thu, 19 Jun 2003 23:10:45 -0500 Subject: [AccessD] Access97 with WindowsXP References: <253c01c336af$5b26ec00$0300a8c0@S856> Message-ID: Lembit: I have both Access97 (sp2) and Access 2002 (XP or whatever) installed on WinXP without any problems. Greg Smith ----- Original Message ----- From: Lembit Soobik To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 5:04 PM Subject: [AccessD] Access97 with WindowsXP Friends, does Access97 work on Windows XP? I have installed A97 on Winxp during install cancelled as I noticed I wanted it in a different directory restarted and installed in the correct directory then tried to run it and got Not enough memory reinstalled, same before I wreck the PC, and anybody tell me whether it should run? thank you Lembit Soobik ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Thu Jun 19 23:30:16 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 19 Jun 2003 21:30:16 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <014501c336be$6bb9ca10$1d270a44@bcs006137> Message-ID: I've never been able to figure how how to use the query builder. If I click on IIF and then click on Mid$, I get: IIf (?expr?, ?truepart?, ?falsepart?) ?Expr? Mid$ (?stringexpr?, ?start?, ?length?) Now, I know I have to replace things like ?expr? and ?truepart? etc, but I don't know how to go from there. I can't figure out how this: "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" fits in. Which part is the expression, which is the truepart and which is the falsepart, etc. I'd probably understand it better with a SQL statement, but... I don't need anything as complicated for updating the Attend35, as all I have to do is put a 1 in the "update to" box. And when I do the 35=2, I'll put a 2 in. They won't have both, so don't need to worry about overwriting. -- 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 dave sharpe > Sent: 19 Jun 2003 4:57:PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update query syntax > > > Kathryn > > I nomally use the query builder. If I read your request > correctly,I'd use something like > > "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" > as your condition and > something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" > as your replace statement for Attend35 > > Dave > > ----- Original Message ----- > From: Kathryn Bassett > To: dbAdvisors (AccessD) > Sent: Thursday, June 19, 2003 5:51 PM > Subject: [AccessD] Update query syntax > > > I have a field called Attend that is text 100 in length. I've added new fields called > Attend25, Attend35 etc and made then all long integers with zero decimal places. (The > numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using > the queries, to take the contents of Attend, and put it in Attend35. Before I just > try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then > put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Thu Jun 19 23:50:21 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 14:50:21 +1000 Subject: [AccessD] Keeping place after requerying In-Reply-To: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Message-ID: <000501c336e7$75082840$7f00a8c0@bbb888> That makes sense. Thought you might be having a moment there :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 20, 2003 1:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Keeping place after requerying Bruce: I think I wrote too fast. I save the PK of the record before the one to be deleted. Then I do the delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. I think that works. Rocky ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 4:35 PM Subject: RE: [AccessD] Keeping place after requerying > Rocky, > > Bookmarks are invalid after a Requery > > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Selina: > > When I need to do this I save a value or combination of values that > makes the record unique. Then after the Requery I use RecordsetClone > and Bookmark to move back to the desired record. If I delete a record, > I save the fields of the previous or following record. > > HTH > > Rocky > > ----- Original Message ----- > From: "Selina Iddon" > To: > Sent: Thursday, June 19, 2003 6:47 AM > Subject: Re: [AccessD] Keeping place after requerying > > > > Hi Gustav > > When I delete a record it puts #DELETED# across all the fields. I > > requery it so that they don't see this. Thanks Selina > > > > -------------------------------------------------------------------- > > -- > > ---- > -- > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > Access Databases > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Thursday, June 19, 2003 5:26 PM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Selina > > > > > > > I understandably annoyed customer because everytime they delete > > something > > > > from their very long list and the data is requeried (via code), > > > > they > end > > up > > > > at the top of their list again and have to scroll down. Can > > > > anyone > > > > > please help in how I keep the focus on the next record to > the > > one > > > > they have just deleted? > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > for an unbound form ... > > > > > > /gustav > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Jun 20 00:19:16 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 19 Jun 2003 22:19:16 -0700 Subject: [AccessD] Keeping place after requerying References: <000501c336e7$75082840$7f00a8c0@bbb888> Message-ID: <002001c336eb$7fcbc120$6501a8c0@HAL9002> I was. :)) ----- Original Message ----- From: "Bruce Bruen" To: Sent: Thursday, June 19, 2003 9:50 PM Subject: RE: [AccessD] Keeping place after requerying > That makes sense. Thought you might be having a moment there :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 20, 2003 1:44 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Bruce: > > I think I wrote too fast. > > I save the PK of the record before the one to be deleted. Then I do the > delete and requery. Then I use Me.RecordsetClone.FindFirst on the saved > PK. Then do Me.Bookmark = Me.RecordsetClone.Bookmark. > > I think that works. > > Rocky > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Thursday, June 19, 2003 4:35 PM > Subject: RE: [AccessD] Keeping place after requerying > > > > Rocky, > > > > Bookmarks are invalid after a Requery > > > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, June 20, 2003 1:48 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > Selina: > > > > When I need to do this I save a value or combination of values that > > makes the record unique. Then after the Requery I use RecordsetClone > > and Bookmark to move back to the desired record. If I delete a record, > > > I save the fields of the previous or following record. > > > > HTH > > > > Rocky > > > > ----- Original Message ----- > > From: "Selina Iddon" > > To: > > Sent: Thursday, June 19, 2003 6:47 AM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Gustav > > > When I delete a record it puts #DELETED# across all the fields. I > > > requery it so that they don't see this. Thanks Selina > > > > > > -------------------------------------------------------------------- > > > -- > > > ---- > > -- > > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy > > > Access Databases > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: > > > Sent: Thursday, June 19, 2003 5:26 PM > > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > > > > Hi Selina > > > > > > > > > I understandably annoyed customer because everytime they delete > > > something > > > > > from their very long list and the data is requeried (via code), > > > > > they > > end > > > up > > > > > at the top of their list again and have to scroll down. Can > > > > > anyone > > > > > > > please help in how I keep the focus on the next record to > > the > > > one > > > > > they have just deleted? > > > > > > > > Why do you requery the form? That shouldn't be necessary - except > > > > for an unbound form ... > > > > > > > > /gustav > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at attbi.com Fri Jun 20 01:03:33 2003 From: papparuff at attbi.com (John Ruff) Date: Thu, 19 Jun 2003 23:03:33 -0700 Subject: [AccessD] Old help files In-Reply-To: <000001c336da$b0727f50$7f00a8c0@bbb888> Message-ID: <00a601c336f1$aee09d40$6401a8c0@papparuff> Bruce, I put together what I believe are most of the Access and VBA help files for Access 97 in a zip file. If you like, contact me off-line and I will send them to you. Also, you can download the Access97 Knowledgebase at: http://www.netfolk.co.uk/netfolk/access/msdown.html it's called acc97b.exe John V. Ruff - The Eternal Optimist :-) Always Looking For Contract Opportunities Home: 253.588.2139 Cell: 253.307.2947 9306 Farwest Dr SW Lakewood, WA 98498 "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 Bruce Bruen Sent: Thursday, June 19, 2003 8:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Old help files Hi List, Can anyone tell me how I can extract the access help files from old office cd's without having to install the whole app. I am after the 97 and 95 access help files as I am sick and tired of the AXP help. Tia Bruce _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Fri Jun 20 01:43:17 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 20 Jun 2003 16:43:17 +1000 Subject: [AccessD] A2K: Populate List Box Message-ID: <015101c336f7$4adcc430$3c619a89@DDICK> Hello all This should be simple. But it is p***ing me right off. I have an Events form called frmEvents. Bound to tblEvents. 2 list boxes on this form. The one on the left lists available clients The list box on the right is showing people who are registerd into this event. (Attendees) This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. (All the names of attendees are got from the tblAttendees table) - Pretty basic sofar. Double click on left box to 'Register in to the current Event' Double click on Right box to 'un regsiter' - Rocket science. The lists grow and shrink accordingly. But here is the problemn In the list on the left I only want to show people who are not registerd into the current event. I am having a 101 moment here (Drew) Any help?? Darren From andy at minstersystems.co.uk Fri Jun 20 01:43:16 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 20 Jun 2003 07:43:16 +0100 Subject: [AccessD] Keeping place after requerying In-Reply-To: <028f01c336de$39a6acd0$6501a8c0@HAL9002> Message-ID: <004701c336f7$3a9d1160$b274d0d5@andypc> I do something similar but you also have to take account of situations like the record you're deleting is top of the list or is the only one in the list. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 20 June 2003 04:44 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Keeping place after requerying > > > Bruce: > > I think I wrote too fast. > > I save the PK of the record before the one to be deleted. > Then I do the delete and requery. Then I use > Me.RecordsetClone.FindFirst on the saved PK. Then do > Me.Bookmark = Me.RecordsetClone.Bookmark. > > I think that works. > > Rocky > > ----- Original Message ----- > From: "Bruce Bruen" > To: > Sent: Thursday, June 19, 2003 4:35 PM > Subject: RE: [AccessD] Keeping place after requerying > > > > Rocky, > > > > Bookmarks are invalid after a Requery > > > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, June 20, 2003 1:48 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > Selina: > > > > When I need to do this I save a value or combination of values that > > makes the record unique. Then after the Requery I use > RecordsetClone > > and Bookmark to move back to the desired record. If I > delete a record, > > I save the fields of the previous or following record. > > > > HTH > > > > Rocky > > > > ----- Original Message ----- > > From: "Selina Iddon" > > To: > > Sent: Thursday, June 19, 2003 6:47 AM > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > Hi Gustav > > > When I delete a record it puts #DELETED# across all the > fields. I > > > requery it so that they don't see this. Thanks Selina > > > > > > > -------------------------------------------------------------------- > > > -- > > > ---- > > -- > > > ---- Selina Iddon selina at easydatabases.com.au Ph: 0414 > 225 265 Easy > > > Access Databases > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: > > > Sent: Thursday, June 19, 2003 5:26 PM > > > Subject: Re: [AccessD] Keeping place after requerying > > > > > > > > > > Hi Selina > > > > > > > > > I understandably annoyed customer because everytime > they delete > > > something > > > > > from their very long list and the data is requeried > (via code), > > > > > they > > end > > > up > > > > > at the top of their list again and have to scroll down. Can > > > > > anyone > > > > > > > please help in how I keep the focus on the next record to > > the > > > one > > > > > they have just deleted? > > > > > > > > Why do you requery the form? That shouldn't be > necessary - except > > > > for an unbound form ... > > > > > > > > /gustav > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From marcel.vreuls at oop.nl Fri Jun 20 02:01:54 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Fri, 20 Jun 2003 09:01:54 +0200 Subject: [AccessD] Rowcolor In-Reply-To: <3EEFEFD8.7010205@shaw.ca> Message-ID: <006201c336f9$d69a7830$c100a8c0@OOPMBO> Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls From lists at jbsolutions.com.au Fri Jun 20 02:51:17 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Fri, 20 Jun 2003 17:51:17 +1000 Subject: [AccessD] A2K: Populate List Box Message-ID: <200306200750.h5K7oMg28066@databaseadvisors.com> Hello Darren DICK, I think using the "NOT IN" syntax should do the job.. Without knowing the exact structure of your tables, I would say it would be something like... "SELECT * FROM tblAttendees WHERE AttendeeID NOT IN (SELECT AttendeeID FROM tblRegistration WHERE EventID = " & Forms!frmEvents.EventID & ")" ======= At 2003-06-20, 16:43:00 you wrote: ======= >Hello all >This should be simple. But it is p***ing me right off. >I have an Events form called frmEvents. Bound to tblEvents. >2 list boxes on this form. The one on the left lists available clients >The list box on the right is showing people who are registerd into this event. (Attendees) >This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. >(All the names of attendees are got from the tblAttendees table) > - Pretty basic sofar. >Double click on left box to 'Register in to the current Event' >Double click on Right box to 'un regsiter' - Rocket science. >The lists grow and shrink accordingly. > >But here is the problemn >In the list on the left I only want to show people who are not registerd into the current event. > >I am having a 101 moment here (Drew) > >Any help?? > >Darren > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-20 From gustav at cactus.dk Fri Jun 20 05:19:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 12:19:23 +0200 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> References: <002c01c33683$dbec7bb0$0c05a8c0@earth.local> Message-ID: <6216788079.20030620121923@cactus.dk> Hi Vlad That's a long way to go as the built in function DatePart() returns this for any date of any year (within the date range of datatype DateTime, of course) in one line of code: intWeekNumber = DatePart("ww", datDate, vbMonday, vbFirstFourDays) It is a little buggy for leap years where it can mix up week 53 and week 1. That may be critical; for those cases we use this function: Public Function ISO_WeekNumber(ByVal datDate As Date) As Byte ' Calculates and returns week number for date datDate according to the ISO 8601:1988 standard. ' 1998-2000, Gustav Brock, Cactus Data ApS, Denmark. ' May be freely used and distributed. Dim bytWeek As Integer Dim intYear As Integer Dim bytISO_Thursday As Byte bytWeek = DatePart("ww", datDate, vbMonday, vbFirstFourDays) If bytWeek = 53 Then bytISO_Thursday = WeekDay(vbThursday, vbMonday) intYear = Year(datDate) If WeekDay(DateSerial(intYear, 12, 31), vbMonday) >= bytISO_Thursday Then ' OK, week count of 53 is caused by leap year. Else ' Correct for Access97/2000 bug. bytWeek = 1 End If End If ISO_WeekNumber = bytWeek End Function I wonder if this bug i still present in Access XP? /gustav > Sorry I should have explained myself better I was assuming that January > 1st was a Monday etc etc. Here is a cool solution I found at > http://www.cpearson.com/excel/DateTimeVBA.htm > Does what I need: > Public Function YearStart(WhichYear As Integer) As Date > Dim WeekDay As Integer > Dim NewYear As Date > NewYear = DateSerial(WhichYear, 1, 1) > WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 > If WeekDay < 4 Then > YearStart = NewYear - WeekDay > Else > YearStart = NewYear - WeekDay + 7 > End If > End Function > Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As > Variant) As Integer > ' WhichFormat: missing or <> 2 then returns week number, > ' = 2 then YYWW > ' > Dim ThisYear As Integer > Dim PreviousYearStart As Date > Dim ThisYearStart As Date > Dim NextYearStart As Date > Dim YearNum As Integer > ThisYear = Year(AnyDate) > ThisYearStart = YearStart(ThisYear) > PreviousYearStart = YearStart(ThisYear - 1) > NextYearStart = YearStart(ThisYear + 1) > Select Case AnyDate > Case Is >= NextYearStart > ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 > YearNum = Year(AnyDate) + 1 > Case Is < ThisYearStart > ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 > YearNum = Year(AnyDate) - 1 > Case Else > ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 > YearNum = Year(AnyDate) > End Select > If IsMissing(WhichFormat) Then Exit Function > If WhichFormat = 2 Then > ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ > Format(ISOWeekNum, "00")) > End If > End Function > Thanks for everyones suggestions... > Regards > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, 20 June 2003 1:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Week of the Month > Hi Vlad > Are you sure about this? Normally, an ISO standard, a week runs from > Monday to Sunday (except in the US where they start the week in the > middle of the weekend - go figure). > The DatePart() function and Weekday() will give the week and weekdays if > that is what you need (so you say). DatePart() is a little buggy around > week 52 but that won't probably be of importance to you. > /gustav >> Does anyone know of a method to work out what week it is of the month. >> For example, you have a range of dates 1st January to 31st March. The >> 1st to the 7th is the 1st week of January and the 8th to the 14th is >> the second etc etc... >> I have 2.5 years of data (about 1 Million rows) from an old main frame >> system and we are trying to determine the frequency of delivery to >> each customer on a per monthly basis. So effectively to say customer >> Jim Spanner the client delivers every second Thursday for February. Is >> there an elegant method of working this out? I have the date the >> delivery was carried out for the past 2.5 years, but am having >> difficulty working out how I could manufacture a frequency pattern. From jimdettman at earthlink.net Fri Jun 20 05:23:22 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 06:23:22 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: Julie, Here's how I do my time cards apps. Start/Stop times are kept as a numeric number, along with a separate field for work date. Generally the operators like to key it in as hhmm. Of course the other issues is 0005 five minutes or half an hour? You can do either with this technique. I also allow for adjustments where no start/stop time is entered, but simply an amount of time. I do this with a -1 in the start time control. The code for the Start time AfterUpdate event is below. The other issue when entering start/stop times is does the start/stop range entered overlap another card already entered. I've posted code below for that as well. This is done in the BeforeUpdate event of the start and stop time control. The last thing you talked about is shift. It's difficult to do in some cases because what's considered "normal" for each employee may be difficult to determine. Over the years, I've settled for the technique of setting up an employees work schedule, then flagging the time card as being "out of shift" if it doesn't match up to the schedule. The schedule records have the following fields: SchedDate Mon Tue Wed Thu Fri Sat Sun NoHours Start Stop The user can either indicate a specific date, or tick off the days of the week that this should apply to. If they tick no hours, it means the employee should not be working at all. Start/stop time indicates the normal shift for the employee. I've included code for everything I've mentioned above. May give you some ideas. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net Private Sub txtStart_AfterUpdate() Dim dblStartTime As Double Dim dblStopTime As Double If Me![txtStart] = 0 Or IsNull(Me![txtStart]) Then ' Line with no ET on it. Me![txtStop] = 0 Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = False Me![txtRegHrs].Locked = True Me![txtOTHTHrs].Enabled = False Me![txtOTHTHrs].Locked = True Me![txtOTDTHrs].Enabled = False Me![txtOTDTHrs].Locked = True ElseIf Me![txtStart] = -1 Then Me![txtStop] = "" Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False Else ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'dblStartTime = TimeSerial(Fix(Me![txtStart]), Round((Me![txtStart] - Fix(Me![txtStart])) * 60, 0), 0) 'If IsNull(Me![txtStop]) Then ' dblStopTime = 0 'Else ' dblStopTime = TimeSerial(Fix(Me![txtStop]), Round((Me![txtStop] - Fix(Me![txtStop])) * 60, 0), 0) 'End If ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes If IsNull(Me![txtStart]) Then dblStartTime = 0 Else dblStartTime = TimeSerial(Fix(Me![txtStart] / 100), Me![txtStart] - (Fix(Me![txtStart] / 100) * 100), 0) End If If IsNull(Me![txtStop]) Then dblStopTime = 0 Else dblStopTime = TimeSerial(Fix(Me![txtStop] / 100), Me![txtStop] - (Fix(Me![txtStop] / 100) * 100), 0) End If ' Since we only track the "start date", we need to add ' 24 hours to the stop time to indicate that the end ' time fell into another day. If dblStopTime <= dblStartTime Then dblStopTime = dblStopTime + 1 ' Calculate ET. Me![txtET] = Round(DateDiff("n", dblStartTime, dblStopTime) / 60, 2) Me![txtRegHrs] = Me![txtET] Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = True Me![txtStop].Locked = False Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False End If End Sub ========================= rivate Sub txtStart_BeforeUpdate(Cancel As Integer) Dim intHours As Integer Dim intMinutes As Integer If (Me![txtStart] <> 0) And (Me![txtStart] <> -1) Then ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then ' gstrMBTitle = "Time format error." ' gstrMBMsg = "Your start time is invalid - <0 or >2399." ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes intHours = Fix(Me![txtStart] / 100) intMinutes = Me![txtStart] - (Fix(Me![txtStart] / 100) * 100) If Me![txtStart] < 0 Or intMinutes > 59 Then gstrMBTitle = "Time format error." gstrMBMsg = "Your start time is invalid - Enter as hhmm." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 Else If (CheckForOverlap("B")) Then gstrMBTitle = "Time range error." gstrMBMsg = "Your start time is in another start/stop range." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 End If End If End If End Sub ================================== Private Function CheckForOverlap(strTime As String) As Integer Dim rst As Recordset Dim curStartTime As Currency Dim curStopTime As Currency Dim curRecordStartTime As Currency Dim curRecordStopTime As Currency Dim lngCurTranID As Long Dim fAtNewRecord As Integer ' Routine to check if new time entry overlaps an existing time card line. CheckForOverlap = False On Error Resume Next lngCurTranID = Me![TranID] fAtNewRecord = (Err = 3021) ' Get start and stop times for current line. curStartTime = ConvertNulls(Me![txtStart], "0") curStopTime = ConvertNulls(Me![txtStop], "0") If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Check all records in clone. Set rst = Me.RecordsetClone If rst.RecordCount > 0 Then rst.MoveLast Do Until rst.BOF If fAtNewRecord = False Then If lngCurTranID <> rst![TranID] Then If Not (ConvertNulls(rst![Start], "") = "") Then curRecordStartTime = ConvertNulls(rst![Start], "0") curRecordStopTime = ConvertNulls(rst![Stop], "0") If curRecordStopTime < curRecordStartTime Then curRecordStopTime = curRecordStopTime + 2400 ' Debug.Print curStartTime, curRecordStartTime ' Debug.Print curStopTime, curRecordStopTime If curRecordStartTime > 0 And curRecordStopTime > 0 Then If strTime = "B" Then If curStartTime >= curRecordStartTime And curStartTime < curRecordStopTime Then CheckForOverlap = True Exit Do End If If curStopTime <> 2400 Then If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If Else If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If End If End If End If End If rst.MovePrevious Loop End If rst.Close Set rst = Nothing End Function ================================== Public Sub LoadEmpSchedule() Dim qrydef As QueryDef Dim prm As Parameter Dim rst As Recordset Dim intK As Integer Set qrydef = dbCurrent.QueryDefs("qryfrmTimeCardLoadEmpSched") For intK = 0 To qrydef.Parameters.Count - 1 Set prm = qrydef.Parameters(intK) prm.Value = Eval(prm.Name) Next intK Set rst = qrydef.OpenRecordset() On Error Resume Next rst.MoveLast rst.MoveFirst Erase varSchedRecords If rst.RecordCount > 0 Then varSchedRecords = rst.GetRows(rst.RecordCount) lngUpperLimitofSchedRecs = UBound(varSchedRecords, 2) Else lngUpperLimitofSchedRecs = 0 End If rst.Close Set rst = Nothing End Sub =================================== Public Function CheckOutOfSchedule(dtWorkDate As Date, curStartTime As Currency, curStopTime As Currency) As Integer Dim intK As Integer Dim intFoundMatch As Integer Dim intDay As Integer ' Loop through schedule records checking if passed start/stop time ' is within a scheduled start/stop time. If lngUpperLimitofSchedRecs = 0 Then CheckOutOfSchedule = False Exit Function End If CheckOutOfSchedule = True If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Always check for specific dates first. ' If we hit a date that is where search date is > array date, ' or the date is null, then there is no match. intFoundMatch = False For intK = 0 To lngUpperLimitofSchedRecs If IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = lngUpperLimitofSchedRecs Else If dtWorkDate > varSchedRecords(0, intK) Then ' Hit entry with date that is < search date. No date specific ' match can be found. Quit loop. intK = lngUpperLimitofSchedRecs Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = lngUpperLimitofSchedRecs Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = lngUpperLimitofSchedRecs End If End If End If End If Next intK If intFoundMatch = True Then Exit Function ' Now check general days. intDay = WeekDay(dtWorkDate, vbMonday) For intK = lngUpperLimitofSchedRecs To 0 Step -1 If Not IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = 0 Else If varSchedRecords(intDay, intK) = False Then ' This sched rec does not apply to this day. Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = 0 Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = 0 End If End If End If End If Next intK If intFoundMatch = False Then CheckOutOfSchedule = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, <> From Erwin.Craps at ithelps.be Fri Jun 20 05:45:29 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 20 Jun 2003 12:45:29 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <104AB6116A2DD511A7580008C7097A98219907@AARDBEI> I know, I know about the presentation, that what I told my wife why I needed to go a weekend. I'm, personaly, very intrested in the EIBUS. We are busy to build our home in the forthcoming year. I looked around for some Domotica solutions, but noticed a lot of proprietary solution. And not really finished products. Very ugly screens to put in the walll etc... Or very expensive... And the software usaly s**cks... We are actualy in holiday in that week-end, but I'm not sure if we will be leaving or not. I'll let you know in time. Erwin -----Oorspronkelijk bericht----- Van: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Verzonden: donderdag 19 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: Re: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** LOL beer and eat... how about a presentation? LOL but you are welcome Lembit Soobik ----- Original Message ----- From: "Erwin Craps" To: Sent: Thursday, June 19, 2003 10:44 PM Subject: OT: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > NO ARCHIVE > > Sounds very tempting.... > Aaaah > Must consider > Aaaaaah > Not to far from here... > Aaaaah > Porc chops > Aaaaahhh > Beer (not Belgian but there are some fine German beers to, and as long > it's cold it's ok for me) > > (did anyone recognised my Homer Simpson act?) > > > Can't confirm now, don't know until its time. > But I'm so jealous of those American Access D'rs that seam to BBQ > every week in another state, that I only can aprove a European > initiative. > > I put it in my agenda, but you will only be sure when I'm there... > > Erwin > > > > > > -----Oorspronkelijk bericht----- > Van: Drew Wutka [mailto:DWUTKA at marlow.com] > Verzonden: dinsdag 17 juni 2003 22:19 > Aan: 'accessd at databaseadvisors.com' > Onderwerp: RE: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > Sounds like fun, but definitely can't make it. To swamped with time, > and too broke from bills (and recent calamities). > > Drew > > -----Original Message----- > From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] > Sent: Tuesday, June 17, 2003 7:10 AM > To: accessd at databaseadvisors.com; dba-conf at databaseadvisors.com > Cc: Mark L. Breen; gustav at cactus.dk; Arthur Fuller > Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** > > > The 3rd AccessD Conference will be held > August-08 through August-10 2003 > in Freising / Germany (near Munich) > > Friday, Aug.-08 2003: > =============== > arrival of participants and in the evening > meeting at my house to socialize, > and have some beer or wine together. > > Saturday, Aug-09 2003: > ================ > Presentations at my house > > - Arthur Fuller: SQL-DMO (i.e. how to do > backups, restores, restores with MOVE etc.) > in the absence of Enterprise Manager > > - Gustav Brock: (to be determined) > > - Mark L. Breen: (to be determined) > > - Lembit Soobik: Chances and Problems developing > Visualization Programs for EIBUS with Access > > Evening: > --------- > for dinner at my house we enjoy grilling pork in the Atrium and have > lots of good German beer fresh from tap. > > Sunday, Aug-10 2003: > ================ > depending on your flight schedules and your interests > and weather: > > - visit Deutsches Museum in Munich (a real great technical > Museum, 100 year aniversary this year, > http://www.deutsches-museum.de/) > > - alternatively a sightseeing tour through Munich > > Please let me know soon who of you will participate, > and if there are additional presentations, > and if you need help with reservations > > Please respond to > dba-conf at databaseadvisors.com > or lembit.soobik at t-online.de > > thank you > Lembit Soobik > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jun 20 05:47:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 12:47:40 +0200 Subject: [AccessD] Access97 with WindowsXP In-Reply-To: <257301c336b4$8c454930$0300a8c0@S856> References: <257301c336b4$8c454930$0300a8c0@S856> Message-ID: <4818485260.20030620124740@cactus.dk> Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? From Jdemarco at hshhp.org Fri Jun 20 06:55:11 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 07:55:11 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EECC@TTNEXCHSRV1.hshhp.com> Thanks Bruce. I'll give it try over the weekend. Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 7:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, The following is a quick hack of some AllAPI (R.I.P.) code you could use as a starting point. ==================================START Option Compare Database Option Explicit Private Declare Function InternetAttemptConnect Lib "wininet" ( _ ByVal dwReserved As Long) As Long 'Add this code to a module and set the Project's Startup Object to 'Sub Main' ' (-> Project Menu -> Project Properties -> General Tab) Private Const RESOURCE_CONNECTED As Long = &H1& Private Const RESOURCE_GLOBALNET As Long = &H2& Private Const RESOURCE_REMEMBERED As Long = &H3& Private Const RESOURCEDISPLAYTYPE_DIRECTORY& = &H9 Private Const RESOURCEDISPLAYTYPE_DOMAIN& = &H1 Private Const RESOURCEDISPLAYTYPE_FILE& = &H4 Private Const RESOURCEDISPLAYTYPE_GENERIC& = &H0 Private Const RESOURCEDISPLAYTYPE_GROUP& = &H5 Private Const RESOURCEDISPLAYTYPE_NETWORK& = &H6 Private Const RESOURCEDISPLAYTYPE_ROOT& = &H7 Private Const RESOURCEDISPLAYTYPE_SERVER& = &H2 Private Const RESOURCEDISPLAYTYPE_SHARE& = &H3 Private Const RESOURCEDISPLAYTYPE_SHAREADMIN& = &H8 Private Const RESOURCETYPE_ANY As Long = &H0& Private Const RESOURCETYPE_DISK As Long = &H1& Private Const RESOURCETYPE_PRINT As Long = &H2& Private Const RESOURCETYPE_UNKNOWN As Long = &HFFFF& Private Const RESOURCEUSAGE_ALL As Long = &H0& Private Const RESOURCEUSAGE_CONNECTABLE As Long = &H1& Private Const RESOURCEUSAGE_CONTAINER As Long = &H2& Private Const RESOURCEUSAGE_RESERVED As Long = &H80000000 Private Const NO_ERROR = 0 Private Const ERROR_MORE_DATA = 234 'L // dderror Private Const RESOURCE_ENUM_ALL As Long = &HFFFF Private Type NETRESOURCE dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long pLocalName As Long pRemoteName As Long pComment As Long pProvider As Long End Type Private Type NETRESOURCE_REAL dwScope As Long dwType As Long dwDisplayType As Long dwUsage As Long sLocalName As String sRemoteName As String sComment As String sProvider As String End Type Private Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" (lpNetResource As NETRESOURCE, ByVal lpPassword As String, ByVal lpUserName As String, ByVal dwFlags As Long) As Long Private Declare Function WNetOpenEnum Lib "mpr.dll" Alias "WNetOpenEnumA" (ByVal dwScope As Long, ByVal dwType As Long, ByVal dwUsage As Long, lpNetResource As Any, lphEnum As Long) As Long Private Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As NETRESOURCE, lpBufferSize As Long) As Long Private Declare Function WNetCloseEnum Lib "mpr.dll" (ByVal hEnum As Long) As Long Private Declare Function VarPtrAny Lib "vb40032.dll" Alias "VarPtr" (lpObject As Any) As Long Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (lpTo As Any, lpFrom As Any, ByVal lLen As Long) Private Declare Sub CopyMemByPtr Lib "kernel32" Alias "RtlMoveMemory" (ByVal lpTo As Long, ByVal lpFrom As Long, ByVal lLen As Long) Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpString1 As String, ByVal lpString2 As Any) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Any) As Long Private Declare Function getusername Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public strUserName As String Public strMachinerName As String Public Function IsWebConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick test to see if there is an available internet connection ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if there is an available connection ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 19-Jun-03 (c) 2003 Sargasso Pty Ltd Original. '============================================================ On Error GoTo IsWebConnected_ERR IsWebConnected = (InternetAttemptConnect(ByVal 0&) = 0) IsWebConnected_EXIT: On Error GoTo 0 Exit Function IsWebConnected_ERR: Dim pname As String pname = "IsWebConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" End Select GoTo IsWebConnected_EXIT End Function Public Function AreWeConnected() As Boolean '----------------------------------------------------------------------- ---------------- ' ' Description / Purpose :- ' Quick hack of the AllAPI code for Jim ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' none ' ' Return Value:- ' true if some code is added to detect what you want ' ' Notes:- ' '------------------------------------------------------------ ' Version Dated Author Comment ' 1.0 20-Jun-03 (c) 2003 Sargasso Pty Ltd Original by AllAPI as per comments. '============================================================ Dim blnResult As Boolean On Error GoTo AreWeConnected_ERR 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net '-> This sample was created by Donald Grover Const MAX_RESOURCES = 256 Const NOT_A_CONTAINER = -1 Dim bFirstTime As Boolean Dim lReturn As Long Dim hEnum As Long Dim lCount As Long Dim lMin As Long Dim lLength As Long Dim l As Long Dim lBufferSize As Long Dim lLastIndex As Long Dim uNetApi(0 To MAX_RESOURCES) As NETRESOURCE Dim uNet() As NETRESOURCE_REAL bFirstTime = True Do If bFirstTime Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, ByVal 0&, hEnum) bFirstTime = False Else If uNet(lLastIndex).dwUsage And RESOURCEUSAGE_CONTAINER Then lReturn = WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, RESOURCEUSAGE_ALL, uNet(lLastIndex), hEnum) Else lReturn = NOT_A_CONTAINER hEnum = 0 End If lLastIndex = lLastIndex + 1 End If If lReturn = NO_ERROR Then lCount = RESOURCE_ENUM_ALL Do lBufferSize = UBound(uNetApi) * Len(uNetApi(0)) / 2 lReturn = WNetEnumResource(hEnum, lCount, uNetApi(0), lBufferSize) If lCount > 0 Then ReDim Preserve uNet(0 To lMin + lCount - 1) As NETRESOURCE_REAL For l = 0 To lCount - 1 'Each Resource will appear here as uNet(i) uNet(lMin + l).dwScope = uNetApi(l).dwScope uNet(lMin + l).dwType = uNetApi(l).dwType uNet(lMin + l).dwDisplayType = uNetApi(l).dwDisplayType uNet(lMin + l).dwUsage = uNetApi(l).dwUsage If uNetApi(l).pLocalName Then lLength = lstrlen(uNetApi(l).pLocalName) uNet(lMin + l).sLocalName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sLocalName, ByVal uNetApi(l).pLocalName, lLength End If If uNetApi(l).pRemoteName Then lLength = lstrlen(uNetApi(l).pRemoteName) uNet(lMin + l).sRemoteName = Space$(lLength) CopyMem ByVal uNet(lMin + l).sRemoteName, ByVal uNetApi(l).pRemoteName, lLength End If If uNetApi(l).pComment Then lLength = lstrlen(uNetApi(l).pComment) uNet(lMin + l).sComment = Space$(lLength) CopyMem ByVal uNet(lMin + l).sComment, ByVal uNetApi(l).pComment, lLength End If If uNetApi(l).pProvider Then lLength = lstrlen(uNetApi(l).pProvider) uNet(lMin + l).sProvider = Space$(lLength) CopyMem ByVal uNet(lMin + l).sProvider, ByVal uNetApi(l).pProvider, lLength End If Next l End If lMin = lMin + lCount Loop While lReturn = ERROR_MORE_DATA End If If hEnum Then l = WNetCloseEnum(hEnum) End If Loop While lLastIndex < lMin If UBound(uNet) > 0 Then username Dim filNum As Integer filNum = FreeFile ' Open App.Path & "\" & LCase(App.EXEName) & ".txt" For Output Shared As #filNum 'Open "d:\" & App.EXEName & ".txt" For Output Shared As #filNum Debug.Print "Date: " & Format(Now, "Long date") Debug.Print "" Debug.Print "UserName: " & strUserName Debug.Print "Computer Name: " & strMachinerName For l = 0 To UBound(uNet) Select Case uNet(l).dwDisplayType Case RESOURCEDISPLAYTYPE_DIRECTORY& Debug.Print "Directory...", Debug.Print "Directory...", Case RESOURCEDISPLAYTYPE_DOMAIN Debug.Print "Domain...", Debug.Print "Domain...", Case RESOURCEDISPLAYTYPE_FILE Debug.Print "File...", ' Print #filNum, "File...", Case RESOURCEDISPLAYTYPE_GENERIC Debug.Print "Generic...", ' Print #filNum, "Generic...", Case RESOURCEDISPLAYTYPE_GROUP Debug.Print "Group...", ' Print #filNum, "Group...", Case RESOURCEDISPLAYTYPE_NETWORK& Debug.Print "Network...", ' Print #filNum, "Network...", Case RESOURCEDISPLAYTYPE_ROOT& Debug.Print "Root...", ' Print #filNum, "Root...", Case RESOURCEDISPLAYTYPE_SERVER Debug.Print "Server...", ' Print #filNum, "Server...", Case RESOURCEDISPLAYTYPE_SHARE Debug.Print "Share...", ' Print #filNum, "Share...", Case RESOURCEDISPLAYTYPE_SHAREADMIN& Debug.Print "ShareAdmin...", ' Print #filNum, "ShareAdmin...", End Select Debug.Print uNet(l).sRemoteName, uNet(l).sComment ' Print #filNum, uNet(l).sRemoteName, uNet(l).sComment Next l End If Close #filNum ' MsgBox "File " + App.Path & "\" & LCase(App.EXEName) & ".txt created" + vbCrLf + "Open it in a text editor to see the results", vbInformation AreWeConnected = AreWeConnected_TIDYUP: ' Close any open recordsets, destroy local objects AreWeConnected_EXIT: On Error GoTo 0 Exit Function AreWeConnected_ERR: Dim pname As String pname = "AreWeConnected" Select Case Err.Number Case Else MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure pname of Module Internet Handlers" Stop Resume End Select GoTo AreWeConnected_EXIT End Function Private Sub username() On Error Resume Next 'Create a buffer strUserName = String(255, Chr$(0)) 'Get the username getusername strUserName, 255 'strip the rest of the buffer strUserName = Left$(strUserName, InStr(strUserName, Chr$(0)) - 1) 'Create a buffer strMachinerName = String(255, Chr$(0)) GetComputerName strMachinerName, 255 'remove the unnecessary chr$(0)'s strMachinerName = Left$(strMachinerName, InStr(1, strMachinerName, Chr$(0)) - 1) End Sub ==========================================END Hth, Im in a bit of a rush Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 12:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Bruce, I'm not familiar with network APIs. Can you point me to any reference material? Someone suggested pinging the server but I'm not sure how to do that in VB/VBA. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Thursday, June 19, 2003 9:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network You could either use the network API calls to get the network connection information or presumably when they are connected there will be a network path name you could try to access to see if its connected. The network path is probably the QAD method. Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 10:33 PM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Fri Jun 20 07:12:58 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:12:58 -0400 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEB2@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcel.vreuls at oop.nl Fri Jun 20 07:14:52 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Fri, 20 Jun 2003 14:14:52 +0200 Subject: [AccessD] Create relationships through code In-Reply-To: <4818485260.20030620124740@cactus.dk> Message-ID: <006501c33725$94899cb0$c100a8c0@OOPMBO> Hi guys, Does anyone know how to: - create a relationship between two tables trough code. I thoughy I had the solution but some relationships have strange names like (1212-dsdf2312-12313jkl-123123lk-dsfa) and so on and this keeps on giving errors. I could use the BEU but that app is to heavy for this project Thanks in advance, Marcel Vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 20 juni 2003 12:48 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 07:18:34 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 14:18:34 +0200 Subject: [AccessD] Access97 with WindowsXP References: <257301c336b4$8c454930$0300a8c0@S856> <4818485260.20030620124740@cactus.dk> Message-ID: <26a701c33726$173d3cc0$0300a8c0@S856> thank you Gustav, found it with Google on a MS site, forwarded me from knoowledge base artice to knowledgebase article unti I finally found under Article 254250 SUMMARY This article describes how to completely remove Microsoft Office 97 from your computer when you are using Microsoft Windows XP, Microsoft Windows Millennium Edition (Me), or Microsoft Windows 2000. a utility available for download downloaded and instlled it and then hte instructions said NOT for Windows XP LOL, what a mess fortunately they have a list how to manually remove it will try that now just hope they dont say at the end Buy a new computer Lembit Soobik ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, June 20, 2003 12:47 PM Subject: Re: [AccessD] Access97 with WindowsXP > Hi Lembit > > Certainly, run Office Clean from ERASER97.EXE. > Should be found on the install cd-rom ... > > /gustav > > > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Fri Jun 20 07:28:02 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:28:02 -0400 Subject: [AccessD] Create relationships through code In-Reply-To: <006501c33725$94899cb0$c100a8c0@OOPMBO> Message-ID: Marcel, What your seeing is a GUID, which is used when a relationship is created via an import into the current database. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Marcel Vreuls Sent: Friday, June 20, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Create relationships through code Hi guys, Does anyone know how to: - create a relationship between two tables trough code. I thoughy I had the solution but some relationships have strange names like (1212-dsdf2312-12313jkl-123123lk-dsfa) and so on and this keeps on giving errors. I could use the BEU but that app is to heavy for this project Thanks in advance, Marcel Vreuls -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: vrijdag 20 juni 2003 12:48 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP Hi Lembit Certainly, run Office Clean from ERASER97.EXE. Should be found on the install cd-rom ... /gustav > is there a better way to clean aout the reg keys than manually serching and deleting all Access97? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 20 07:41:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 08:41:57 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bob at renaissancesiding.com Fri Jun 20 07:52:39 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 20 Jun 2003 08:52:39 -0400 Subject: [AccessD] Print letter from InputBox data (contains long code) Message-ID: <01C33709.4E5AC230.bob@renaissancesiding.com> Doris Well, that worked - sort of. I moved all of the InputBox code to the Report_Open module, and now the report is being created and printing properly EXCEPT that it is printing the letter TWICE. I have checked all of the page setup and printer attributes; there is nothing that would force two copies. Any ideas on this new twist? TIA, Bob On Thursday, June 19, 2003 14:44 PM, Mike and Doris Manning [SMTP:mikedorism at ntelos.net] wrote: > Doris > When you print the open preview, some of the sections of the report rerun on > the way to the printer so that's why you are getting the second pass for > information > > Try moving the Input box code to the Report's Open event instead > > Doris Manning > Database Administrator > Hargrove Inc > www.hargroveinc.com > ********************************************** Option Compare Database Option Explicit Public gvarRecordFound As Boolean Public strInput1 As String Public strInput2 As String Public strInput3 As String Public strInput4 As String Public strInputS As String Public strInputT As String Private Sub Report_NoData(Cancel As Integer) Dim Msg, Response Msg = "This report is not available; no records exist." Response = MsgBox(Msg, vbInformation) DoCmd.CancelEvent End Sub ---------------------------------------------------------- Private Sub Report_Open(Cancel As Integer) 'Allow user to enter text for paragraphs 1-4 Dim strMsg1 As String strMsg1 = "Please enter the text for paragraph 1:" strInput1 = InputBox(Prompt:=strMsg1, Title:="Paragraph 1") If Not (IsNull(strInput1) Or strInput1 = "") Then Dim strMsg2 As String strMsg2 = "Please enter the text for paragraph 2:" strInput2 = InputBox(Prompt:=strMsg2, Title:="Paragraph 2") If Not (IsNull(strInput2) Or strInput2 = "") Then Dim strMsg3 As String strMsg3 = "Please enter the text for paragraph 3:" strInput3 = InputBox(Prompt:=strMsg3, Title:="Paragraph 3") If Not (IsNull(strInput3) Or strInput3 = "") Then Dim strMsg4 As String strMsg4 = "Please enter the text for paragraph 4:" strInput4 = InputBox(Prompt:=strMsg4, Title:="Paragraph 4") If Not (IsNull(strInput4) Or strInput4 = "") Then End If End If End If 'Allow user to enter text for signator and title Dim strMsgS As String strMsgS = "Please enter the signator's name:" strInputS = InputBox(Prompt:=strMsgS, Title:="Signator") If Not (IsNull(strInputS) Or strInputS = "") Then Dim strMsgT As String strMsgT = "Please enter the signator's title:" strInputT = InputBox(Prompt:=strMsgT, Title:="Title") If Not (IsNull(strInputT) Or strInputT = "") Then End If End If Else MsgBox "There was no text entered for Paragraph 1." Cancel = True gvarRecordFound = False End If End Sub ---------------------------------------------------------- Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) gvarRecordFound = True Dim MyPos MyPos = InStr(1, [txtJobHomeownerName], ",") If MyPos > 0 Then Me.txtLetterName = Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) Me.txtSalutation = "Dear " & Mid([txtJobHomeownerName], MyPos + 1, 35) & " " & Left([txtJobHomeownerName], MyPos - 1) & ":" Else Me.txtLetterName = [txtJobHomeownerName] Me.txtSalutation = "Dear " & [txtJobHomeownerName] & ":" End If If Left([txtLetterName], 1) = " " Then [txtLetterName] = Mid([txtLetterName], 2, 35) End If If Left([txtSalutation], 1) = " " Then [txtSalutation] = Mid([txtSalutation], 2, 41) End If Me.txtLetterAddress = [txtJobAddress] Me.txtLetterLocation = [txtJobMunicipalityName] & ", " & [txtJobStateCode] & " " & [txtJobZipCode] Me.txtClaimNumber = "'" & [txtJobCompanyReference] & "'" Me.txtParagraph1 = strInput1 If Not (IsNull(strInput2) Or strInput2 = "") Then Me.txtParagraph2 = strInput2 End If If Not (IsNull(strInput3) Or strInput3 = "") Then Me.txtParagraph3 = strInput3 End If If Not (IsNull(strInput4) Or strInput4 = "") Then Me.txtParagraph4 = strInput4 End If If Not (IsNull(strInputS) Or strInputS = "") Then Me.txtSignator = strInputS Me.txtSignatorTitle = strInputT Else Me.txtSignator = "Renaissance Siding" Me.txtSignatorTitle = "" End If End Sub ---------------------------------------------------------- Private Sub Report_Close() If gvarRecordFound = False Then Exit Sub End If Dim db As Database, rs As Recordset Dim Response Dim strMsgPrint As String strMsgPrint = "Did the letter print properly?" If vbNo = MsgBox(strMsgPrint, vbYesNo + vbQuestion, "Print Letter Verification") Then Response = acDataErrDisplay Else 'Add letter subject to comments Dim strInput As String, strMsg As String strMsg = "What was the subject of this letter?" strInput = InputBox(Prompt:=strMsg, Title:="Subject") If IsNull(strInput) Or strInput = "" Then strInput = "NOT SPECIFIED" End If Set db = CurrentDb Set rs = db.OpenRecordset("tblJobComments", dbOpenDynaset) On Error Resume Next rs.AddNew Dim strComment As String strComment = "HOMEOWNER LETTER PRINTED (SUBJECT: " & UCase(strInput) & ")." rs!lngJobID = lngJobID rs!txtJobComment = strComment rs!dteJobCommentNow = Now() rs!cboJobCommentPrivate = False rs.Update If Err Then MsgBox "An error occurred, and the comments were not updated." & vbCrLf & "Remember to add a comment to the database" & vbCrLf & "record indicating that the letter was sent today." Response = acDataErrContinue Else Response = acDataErrAdded End If rs.Close End If End Sub ********************************************** From jimdettman at earthlink.net Fri Jun 20 07:53:36 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 08:53:36 -0400 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, <> That being the case, then I'd go for something as simple as possible, like trying the operation and trapping the error. When you start talking API, then you need to worry about the OS, what is or is not installed, etc. Just look at the comments on what you posted. Will it work with XP? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Jun 20 08:06:16 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 09:06:16 -0400 Subject: [AccessD] Calculating Time Cards In-Reply-To: Message-ID: BTW, before anyone really get's confused, my example on time entry is a poor one (sorry was just working on the first cup of coffee). A better example is the one shown in the code: 6.33 is that 6 hours 33 minutes or 6 and .33 of an hour (20 minutes). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, June 20, 2003 6:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Calculating Time Cards Julie, Here's how I do my time cards apps. Start/Stop times are kept as a numeric number, along with a separate field for work date. Generally the operators like to key it in as hhmm. Of course the other issues is 0005 five minutes or half an hour? You can do either with this technique. I also allow for adjustments where no start/stop time is entered, but simply an amount of time. I do this with a -1 in the start time control. The code for the Start time AfterUpdate event is below. The other issue when entering start/stop times is does the start/stop range entered overlap another card already entered. I've posted code below for that as well. This is done in the BeforeUpdate event of the start and stop time control. The last thing you talked about is shift. It's difficult to do in some cases because what's considered "normal" for each employee may be difficult to determine. Over the years, I've settled for the technique of setting up an employees work schedule, then flagging the time card as being "out of shift" if it doesn't match up to the schedule. The schedule records have the following fields: SchedDate Mon Tue Wed Thu Fri Sat Sun NoHours Start Stop The user can either indicate a specific date, or tick off the days of the week that this should apply to. If they tick no hours, it means the employee should not be working at all. Start/stop time indicates the normal shift for the employee. I've included code for everything I've mentioned above. May give you some ideas. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net Private Sub txtStart_AfterUpdate() Dim dblStartTime As Double Dim dblStopTime As Double If Me![txtStart] = 0 Or IsNull(Me![txtStart]) Then ' Line with no ET on it. Me![txtStop] = 0 Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = False Me![txtRegHrs].Locked = True Me![txtOTHTHrs].Enabled = False Me![txtOTHTHrs].Locked = True Me![txtOTDTHrs].Enabled = False Me![txtOTDTHrs].Locked = True ElseIf Me![txtStart] = -1 Then Me![txtStop] = "" Me![txtET] = 0 Me![txtRegHrs] = 0 Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = False Me![txtStop].Locked = True Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False Else ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'dblStartTime = TimeSerial(Fix(Me![txtStart]), Round((Me![txtStart] - Fix(Me![txtStart])) * 60, 0), 0) 'If IsNull(Me![txtStop]) Then ' dblStopTime = 0 'Else ' dblStopTime = TimeSerial(Fix(Me![txtStop]), Round((Me![txtStop] - Fix(Me![txtStop])) * 60, 0), 0) 'End If ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes If IsNull(Me![txtStart]) Then dblStartTime = 0 Else dblStartTime = TimeSerial(Fix(Me![txtStart] / 100), Me![txtStart] - (Fix(Me![txtStart] / 100) * 100), 0) End If If IsNull(Me![txtStop]) Then dblStopTime = 0 Else dblStopTime = TimeSerial(Fix(Me![txtStop] / 100), Me![txtStop] - (Fix(Me![txtStop] / 100) * 100), 0) End If ' Since we only track the "start date", we need to add ' 24 hours to the stop time to indicate that the end ' time fell into another day. If dblStopTime <= dblStartTime Then dblStopTime = dblStopTime + 1 ' Calculate ET. Me![txtET] = Round(DateDiff("n", dblStartTime, dblStopTime) / 60, 2) Me![txtRegHrs] = Me![txtET] Me![txtOTHTHrs] = 0 Me![txtOTDTHrs] = 0 Me![txtStop].Enabled = True Me![txtStop].Locked = False Me![txtRegHrs].Enabled = True Me![txtRegHrs].Locked = False Me![txtOTHTHrs].Enabled = True Me![txtOTHTHrs].Locked = False Me![txtOTDTHrs].Enabled = True Me![txtOTDTHrs].Locked = False End If End Sub ========================= rivate Sub txtStart_BeforeUpdate(Cancel As Integer) Dim intHours As Integer Dim intMinutes As Integer If (Me![txtStart] <> 0) And (Me![txtStart] <> -1) Then ' Use for minutes expressed as part of an hour ' i.e. start/stop time of 6.33 is 6 hours, 20 minutes 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then 'If Me![txtStart] > 2399 Or Me![txtStart] < 0 Then ' gstrMBTitle = "Time format error." ' gstrMBMsg = "Your start time is invalid - <0 or >2399." ' Use for minutes expressed as minutes ' i.e. start/stop time of 6.33 is 6 hours, 33 minutes intHours = Fix(Me![txtStart] / 100) intMinutes = Me![txtStart] - (Fix(Me![txtStart] / 100) * 100) If Me![txtStart] < 0 Or intMinutes > 59 Then gstrMBTitle = "Time format error." gstrMBMsg = "Your start time is invalid - Enter as hhmm." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 Else If (CheckForOverlap("B")) Then gstrMBTitle = "Time range error." gstrMBMsg = "Your start time is in another start/stop range." gintMBDef = MB_OK gintMBLog = False gintMBBeep = True Call DisplayMsgBox Cancel = True Me![txtStart].SelStart = 0 Me![txtStart].SelLength = 255 End If End If End If End Sub ================================== Private Function CheckForOverlap(strTime As String) As Integer Dim rst As Recordset Dim curStartTime As Currency Dim curStopTime As Currency Dim curRecordStartTime As Currency Dim curRecordStopTime As Currency Dim lngCurTranID As Long Dim fAtNewRecord As Integer ' Routine to check if new time entry overlaps an existing time card line. CheckForOverlap = False On Error Resume Next lngCurTranID = Me![TranID] fAtNewRecord = (Err = 3021) ' Get start and stop times for current line. curStartTime = ConvertNulls(Me![txtStart], "0") curStopTime = ConvertNulls(Me![txtStop], "0") If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Check all records in clone. Set rst = Me.RecordsetClone If rst.RecordCount > 0 Then rst.MoveLast Do Until rst.BOF If fAtNewRecord = False Then If lngCurTranID <> rst![TranID] Then If Not (ConvertNulls(rst![Start], "") = "") Then curRecordStartTime = ConvertNulls(rst![Start], "0") curRecordStopTime = ConvertNulls(rst![Stop], "0") If curRecordStopTime < curRecordStartTime Then curRecordStopTime = curRecordStopTime + 2400 ' Debug.Print curStartTime, curRecordStartTime ' Debug.Print curStopTime, curRecordStopTime If curRecordStartTime > 0 And curRecordStopTime > 0 Then If strTime = "B" Then If curStartTime >= curRecordStartTime And curStartTime < curRecordStopTime Then CheckForOverlap = True Exit Do End If If curStopTime <> 2400 Then If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If Else If curStartTime < curRecordStartTime And curStopTime > curRecordStartTime Then CheckForOverlap = True Exit Do End If End If End If End If End If End If rst.MovePrevious Loop End If rst.Close Set rst = Nothing End Function ================================== Public Sub LoadEmpSchedule() Dim qrydef As QueryDef Dim prm As Parameter Dim rst As Recordset Dim intK As Integer Set qrydef = dbCurrent.QueryDefs("qryfrmTimeCardLoadEmpSched") For intK = 0 To qrydef.Parameters.Count - 1 Set prm = qrydef.Parameters(intK) prm.Value = Eval(prm.Name) Next intK Set rst = qrydef.OpenRecordset() On Error Resume Next rst.MoveLast rst.MoveFirst Erase varSchedRecords If rst.RecordCount > 0 Then varSchedRecords = rst.GetRows(rst.RecordCount) lngUpperLimitofSchedRecs = UBound(varSchedRecords, 2) Else lngUpperLimitofSchedRecs = 0 End If rst.Close Set rst = Nothing End Sub =================================== Public Function CheckOutOfSchedule(dtWorkDate As Date, curStartTime As Currency, curStopTime As Currency) As Integer Dim intK As Integer Dim intFoundMatch As Integer Dim intDay As Integer ' Loop through schedule records checking if passed start/stop time ' is within a scheduled start/stop time. If lngUpperLimitofSchedRecs = 0 Then CheckOutOfSchedule = False Exit Function End If CheckOutOfSchedule = True If curStopTime <= curStartTime Then curStopTime = curStopTime + 2400 ' Always check for specific dates first. ' If we hit a date that is where search date is > array date, ' or the date is null, then there is no match. intFoundMatch = False For intK = 0 To lngUpperLimitofSchedRecs If IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = lngUpperLimitofSchedRecs Else If dtWorkDate > varSchedRecords(0, intK) Then ' Hit entry with date that is < search date. No date specific ' match can be found. Quit loop. intK = lngUpperLimitofSchedRecs Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = lngUpperLimitofSchedRecs Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = lngUpperLimitofSchedRecs End If End If End If End If Next intK If intFoundMatch = True Then Exit Function ' Now check general days. intDay = WeekDay(dtWorkDate, vbMonday) For intK = lngUpperLimitofSchedRecs To 0 Step -1 If Not IsNull(varSchedRecords(0, intK)) Then ' Hit first entry that is not date specific. Quit loop. intK = 0 Else If varSchedRecords(intDay, intK) = False Then ' This sched rec does not apply to this day. Else intFoundMatch = True ' First check if day flagged for no hours. If varSchedRecords(8, intK) = True Then ' Day flagged for no hours CheckOutOfSchedule = True intK = 0 Else If curStartTime < varSchedRecords(9, intK) Or curStartTime > varSchedRecords(10, intK) Or curStopTime < varSchedRecords(9, intK) Or curStopTime > varSchedRecords(10, intK) Then ' times falls outside of scheduled time, go look for next one. Else ' Have a record where were OK. Quit. CheckOutOfSchedule = False intK = 0 End If End If End If End If Next intK If intFoundMatch = False Then CheckOutOfSchedule = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Julie Reardon-Taylor Sent: Thursday, June 19, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] Calculating Time Cards Hi Everyone, <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Jun 20 08:32:42 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 20 Jun 2003 23:32:42 +1000 Subject: [AccessD] Week of the Month - SOLVED In-Reply-To: <6216788079.20030620121923@cactus.dk> Message-ID: <000201c33730$6ffe23b0$0c05a8c0@earth.local> Hi Gustav, Hmmm, nice one liner...I wasn't aware of the DatePart() function. Very cool... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 20 June 2003 8:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Week of the Month - SOLVED Hi Vlad That's a long way to go as the built in function DatePart() returns this for any date of any year (within the date range of datatype DateTime, of course) in one line of code: intWeekNumber = DatePart("ww", datDate, vbMonday, vbFirstFourDays) It is a little buggy for leap years where it can mix up week 53 and week 1. That may be critical; for those cases we use this function: Public Function ISO_WeekNumber(ByVal datDate As Date) As Byte ' Calculates and returns week number for date datDate according to the ISO 8601:1988 standard. ' 1998-2000, Gustav Brock, Cactus Data ApS, Denmark. ' May be freely used and distributed. Dim bytWeek As Integer Dim intYear As Integer Dim bytISO_Thursday As Byte bytWeek = DatePart("ww", datDate, vbMonday, vbFirstFourDays) If bytWeek = 53 Then bytISO_Thursday = WeekDay(vbThursday, vbMonday) intYear = Year(datDate) If WeekDay(DateSerial(intYear, 12, 31), vbMonday) >= bytISO_Thursday Then ' OK, week count of 53 is caused by leap year. Else ' Correct for Access97/2000 bug. bytWeek = 1 End If End If ISO_WeekNumber = bytWeek End Function I wonder if this bug i still present in Access XP? /gustav > Sorry I should have explained myself better I was assuming that > January 1st was a Monday etc etc. Here is a cool solution I found at > http://www.cpearson.com/excel/DateTimeVBA.htm > Does what I need: > Public Function YearStart(WhichYear As Integer) As Date > Dim WeekDay As Integer > Dim NewYear As Date > NewYear = DateSerial(WhichYear, 1, 1) > WeekDay = (NewYear - 2) Mod 7 'Generate weekday index where Monday = 0 > If WeekDay < 4 Then > YearStart = NewYear - WeekDay > Else > YearStart = NewYear - WeekDay + 7 > End If > End Function > Public Function ISOWeekNum(AnyDate As Date, Optional WhichFormat As > Variant) As Integer > ' WhichFormat: missing or <> 2 then returns week number, > ' = 2 then YYWW > ' > Dim ThisYear As Integer > Dim PreviousYearStart As Date > Dim ThisYearStart As Date > Dim NextYearStart As Date > Dim YearNum As Integer > ThisYear = Year(AnyDate) > ThisYearStart = YearStart(ThisYear) > PreviousYearStart = YearStart(ThisYear - 1) > NextYearStart = YearStart(ThisYear + 1) > Select Case AnyDate > Case Is >= NextYearStart > ISOWeekNum = (AnyDate - NextYearStart) \ 7 + 1 > YearNum = Year(AnyDate) + 1 > Case Is < ThisYearStart > ISOWeekNum = (AnyDate - PreviousYearStart) \ 7 + 1 > YearNum = Year(AnyDate) - 1 > Case Else > ISOWeekNum = (AnyDate - ThisYearStart) \ 7 + 1 > YearNum = Year(AnyDate) > End Select > If IsMissing(WhichFormat) Then Exit Function > If WhichFormat = 2 Then > ISOWeekNum = CInt(Format(Right(YearNum, 2), "00") & _ > Format(ISOWeekNum, "00")) > End If > End Function > Thanks for everyones suggestions... > Regards > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Friday, 20 June 2003 1:27 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Week of the Month > Hi Vlad > Are you sure about this? Normally, an ISO standard, a week runs from > Monday to Sunday (except in the US where they start the week in the > middle of the weekend - go figure). > The DatePart() function and Weekday() will give the week and weekdays > if that is what you need (so you say). DatePart() is a little buggy > around week 52 but that won't probably be of importance to you. > /gustav >> Does anyone know of a method to work out what week it is of the >> month. For example, you have a range of dates 1st January to 31st >> March. The 1st to the 7th is the 1st week of January and the 8th to >> the 14th is the second etc etc... >> I have 2.5 years of data (about 1 Million rows) from an old main >> frame system and we are trying to determine the frequency of delivery >> to each customer on a per monthly basis. So effectively to say >> customer Jim Spanner the client delivers every second Thursday for >> February. Is there an elegant method of working this out? I have the >> date the delivery was carried out for the past 2.5 years, but am >> having difficulty working out how I could manufacture a frequency >> pattern. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmadridfc1 at hotmail.com Fri Jun 20 08:49:55 2003 From: rmadridfc1 at hotmail.com (Andy Storino) Date: Fri, 20 Jun 2003 09:49:55 -0400 Subject: [AccessD] Message-ID: I am working on a database for payroll. I would like the user to enter a time, and depending on what time is entered I would like to append the appropriate date to the time to form a general date field. Due to the shift nature of the workplace and a 7 to 7 24 hour clock this is crucial for proper calculations. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bbruen at bigpond.com Fri Jun 20 08:50:46 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 20 Jun 2003 23:50:46 +1000 Subject: [AccessD] detect network In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EECD@TTNEXCHSRV1.hshhp.com> Message-ID: <000001c33732$f39d2340$7f00a8c0@bbb888> Jim, One thing you'll have to watch out for is on board modems. As I sit here on my laptop, connected both to the LAN and to a dial up, your code tells me that I'm connected. OK - but closer inspection is that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull out the LAN cable I still get a positive response from the WAN. So, if your guys are dialled up but not connected to YOUR LAN then you'll get a false positive. That is why I suggested the longer (in terms of code) method of enumerating the resources. I'd say you have to have an install or setup parameter in your distribution pack that lets them set up a resource name that would be relatively unique to the "homebase" LAN, say a server name, and you'll still have to have some error control in the connection establishment to cope with Murphy's law. hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 10:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '. lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Jun 20 09:01:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 10:01:50 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EED2@TTNEXCHSRV1.hshhp.com> Same thing happens when I pull out my LAN cable (True result). I haven't negated your sample. I just won't get to check it out until the (rainy) weekend here. Thanks, Jim DeMarco -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Friday, June 20, 2003 9:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, One thing you'll have to watch out for is on board modems. As I sit here on my laptop, connected both to the LAN and to a dial up, your code tells me that I'm connected. OK - but closer inspection is that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull out the LAN cable I still get a positive response from the WAN. So, if your guys are dialled up but not connected to YOUR LAN then you'll get a false positive. That is why I suggested the longer (in terms of code) method of enumerating the resources. I'd say you have to have an install or setup parameter in your distribution pack that lets them set up a resource name that would be relatively unique to the "homebase" LAN, say a server name, and you'll still have to have some error control in the connection establishment to cope with Murphy's law. hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 10:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '. lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hshhp.org Fri Jun 20 09:04:53 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 20 Jun 2003 10:04:53 -0400 Subject: [AccessD] detect network Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EED3@TTNEXCHSRV1.hshhp.com> Good points. Thanks, Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:54 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, <> That being the case, then I'd go for something as simple as possible, like trying the operation and trapping the error. When you start talking API, then you need to worry about the OS, what is or is not installed, etc. Just look at the comments on what you posted. Will it work with XP? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Friday, June 20, 2003 8:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Thanks. The app is being distributed to a number of companies so I've been looking for something generic that won't need any direction as to where to look. I found a simple API this AM that I think does the trick: 'Requires Windows 2000 '(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires Windows 95 or later (with Internet Explorer 5 or later) 'Parameter info '? lpdwFlags 'Provides information on the type of network connection available when the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN 'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL 'This flag is only valid in Windows 95 and Windows 98. Indicates the computer is connected to the America Online network. 'Return Values ' 'TRUE 'The local system is connected to a network. 'FALSE 'Call GetLastError to determine the reason for no connectivity. Const NETWORK_ALIVE_AOL = &H4 Const NETWORK_ALIVE_LAN = &H1 Const NETWORK_ALIVE_WAN = &H2 Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) As Long Public Function AmIConnected() As Boolean 'KPD-Team 2001 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at Allapi.net Dim Ret As Long Dim blnReturn As Boolean blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're just interested in lan/wan AmIConnected = blnReturn End Function Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, June 20, 2003 8:13 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] detect network Jim, Not sure if this will fit your needs or not, but how about issuing a shell command with: Ping
>netchk.txt Then open and parse netchk.txt. You just need to look for the word "reply". If found, you have a physical connection at least to the server. <> That's what I would do. To many things can foul things up (ie. security) beyond simply checking for a connection. Of course, I suppose it depends on what you meant by "a connection". But in the end result, it's your app that needs to carry out whatever operation. By the time you've done enough checking to verify that the app will be able to perform whatever, you might as well have just tried it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Fri Jun 20 09:11:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Jun 2003 16:11:49 +0200 Subject: [AccessD] Enter a time and date for a payroll In-Reply-To: References: Message-ID: <12230734223.20030620161149@cactus.dk> Hi Andy That could be: datDateTime = Date + CDate([txtYourTextbox]) In the BeforeUpdate event you could add: Dim varEntry As Variant varEntry = Me![txtYourTextbox] If Not IsNull(varEntry) Then Cancel = Not IsDate(varEntry) If Cancel = True Then DoCmd.Beep End If End If /gustav > I am working on a database for payroll. I would like the user to enter a > time, and depending on what time is entered I would like to append the > appropriate date to the time to form a general date field. Due to the shift > nature of the workplace and a 7 to 7 24 hour clock this is crucial for > proper calculations. From Mark.Mitsules at ngc.com Fri Jun 20 09:16:32 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 10:16:32 -0400 Subject: [AccessD] OT: Javascript Message-ID: Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it?
Mark From Bryan_Carbonnell at cbc.ca Fri Jun 20 09:27:03 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 10:27:03 -0400 Subject: [AccessD] OT: Javascript Message-ID: Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? From bob at renaissancesiding.com Fri Jun 20 09:45:16 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Fri, 20 Jun 2003 10:45:16 -0400 Subject: [AccessD] OT: Javascript Message-ID: <01C33719.0A178710.bob@renaissancesiding.com> Mark I don't know the actual answer to your question, but below is the code that I use to display the last modified date of my webpage, and it keeps the proper date; not today's date: Regards, Bob Gajewski From jeffrey.demulling at usbank.com Fri Jun 20 09:47:45 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 09:47:45 -0500 Subject: [AccessD] detect network Message-ID: Jim, Since you are "dumping" the data to a central SQL database why not check to see if you can connect to the SQL database. The code you could use is as follows: Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection With cnn .Provider = "SQLOLEDB" .CursorLocation = adUseClient .ConnectionString = "Data Source=VENUS;" & "User ID=sa;" _ & "Initial Catalog=MyDatabase;" .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 I found this code at the following site: http://doc.advisor.com/Articles.nsf/nl/12481 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, June 19, 2003 8:33 AM To: AccessD (E-mail) Subject: [AccessD] detect network We've got a data collection application that will be run on disconnected laptops. At least once a week the laptop users will come in to the home office to dump the data they've collected into our central SQL database. Does anyone have any code that will detect that the laptop is connected to our network so we can point their connection to the central DB (as opposed to their local DB)? Or should we just try to hit the central DB at app start and trap the error? I don't want to generate an error if I don't have to. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Fri Jun 20 09:49:19 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 10:49:19 -0400 Subject: [AccessD] OT: Javascript Message-ID: Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Jun 20 09:59:36 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 20 Jun 2003 08:59:36 -0600 Subject: [AccessD] detect network Message-ID: If you're worried about distinguishing between dialup and direct LAN when they are used exclusively, I use the following API in NT: Private Declare Function RasGetConnectStatusA Lib "RasApi32.dll" _ (ByVal hRasCon As Long, lpStatus As Any) As Long Searching on the function name may get you further for more generic use. Hen >From: Bruce Bruen >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network >Date: Fri, 20 Jun 2003 23:50:46 +1000 > >Jim, > >One thing you'll have to watch out for is on board modems. > >As I sit here on my laptop, connected both to the LAN and to a dial up, >your code tells me that I'm connected. OK - but closer inspection is >that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull >out the LAN cable I still get a positive response from the WAN. So, if >your guys are dialled up but not connected to YOUR LAN then you'll get a >false positive. That is why I suggested the longer (in terms of code) >method of enumerating the resources. > >I'd say you have to have an install or setup parameter in your >distribution pack that lets them set up a resource name that would be >relatively unique to the "homebase" LAN, say a server name, and you'll >still have to have some error control in the connection establishment to >cope with Murphy's law. > >hth >Bruce > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 10:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've >been looking for something generic that won't need any direction as to >where to look. I found a simple API this AM that I think does the >trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires >Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'. lpdwFlags >'Provides information on the type of network connection available when >the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The >computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As >Long) As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL >'we're just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a >shell command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the >server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. >security) beyond simply checking for a connection. Of course, I suppose >it depends on what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the >app will be able to perform whatever, you might as well have just tried >it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected >to our network so we can point their connection to the central DB (as >opposed to their local DB)? Or should we just try to hit the central DB >at app start and trap the error? I don't want to generate an error if I >don't have to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >************************************************************************ >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From hsimpson88 at hotmail.com Fri Jun 20 09:59:36 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 20 Jun 2003 08:59:36 -0600 Subject: [AccessD] detect network Message-ID: If you're worried about distinguishing between dialup and direct LAN when they are used exclusively, I use the following API in NT: Private Declare Function RasGetConnectStatusA Lib "RasApi32.dll" _ (ByVal hRasCon As Long, lpStatus As Any) As Long Searching on the function name may get you further for more generic use. Hen >From: Bruce Bruen >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network >Date: Fri, 20 Jun 2003 23:50:46 +1000 > >Jim, > >One thing you'll have to watch out for is on board modems. > >As I sit here on my laptop, connected both to the LAN and to a dial up, >your code tells me that I'm connected. OK - but closer inspection is >that Ret = &H3 i.e. it sums both the connections! Similarly, if I pull >out the LAN cable I still get a positive response from the WAN. So, if >your guys are dialled up but not connected to YOUR LAN then you'll get a >false positive. That is why I suggested the longer (in terms of code) >method of enumerating the resources. > >I'd say you have to have an install or setup parameter in your >distribution pack that lets them set up a resource name that would be >relatively unique to the "homebase" LAN, say a server name, and you'll >still have to have some error control in the connection establishment to >cope with Murphy's law. > >hth >Bruce > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 10:42 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've >been looking for something generic that won't need any direction as to >where to look. I found a simple API this AM that I think does the >trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); 'Requires >Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'. lpdwFlags >'Provides information on the type of network connection available when >the return value is TRUE. The flags can be: 'NETWORK_ALIVE_LAN 'The >computer has one or more LAN cards that are active. 'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. 'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As >Long) As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL >'we're just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a >shell command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the >server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. >security) beyond simply checking for a connection. Of course, I suppose >it depends on what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the >app will be able to perform whatever, you might as well have just tried >it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected >to our network so we can point their connection to the central DB (as >opposed to their local DB)? Or should we just try to hit the central DB >at app start and trap the error? I don't want to generate an error if I >don't have to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >************************************************************************ >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Jun 20 10:01:27 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 11:01:27 -0400 Subject: [AccessD] OT: Javascript Message-ID: I've never used ASP so I'm not sure. I would suspect it does. But why add ASP to the mix? Why not just use the language the .stm uses? OK Mark, this may just be your lucky day. While looking for some more info on .stm files I found this web page that might help: http://whatis.techtarget.com/definition/0,,sid9_gci214225,00.html Here is the relevant part: and the server will obtain the last-modified date for the file and insert it before the HTML file is sent to requestors. LAST_MODIFIED is one of several environment variables that an operating system can keep track of and that can be accessible to a server program. The server administrator can make these environment variables usable when the system is set up. How's that for an answer :) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:49:19 AM >>> Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 10:09:06 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 17:09:06 +0200 Subject: [AccessD] Access97 with WindowsXP References: <257301c336b4$8c454930$0300a8c0@S856> <4818485260.20030620124740@cactus.dk> <26a701c33726$173d3cc0$0300a8c0@S856> Message-ID: <270d01c3373d$e518db10$0300a8c0@S856> I have used the Microsoft KB instructions and manually removed everything necessary to clean out Office 97 from my WinXP box then installed Access97 again, this time together with Excel, Word, PP and while the other programs work, Access97 always gives me the error Not Enough Memory and when i click ok there is a system error or not enouch memory to run Access anybody any idea? BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg free thanks Lembit Lembit Soobik From ranthony at wrsystems.com Fri Jun 20 10:17:14 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Fri, 20 Jun 2003 11:17:14 -0400 Subject: [AccessD] Access97 with WindowsXP Message-ID: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Check out M$ KB, article 161255. -----Original Message----- From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] Sent: Friday, June 20, 2003 11:09 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access97 with WindowsXP I have used the Microsoft KB instructions and manually removed everything necessary to clean out Office 97 from my WinXP box then installed Access97 again, this time together with Excel, Word, PP and while the other programs work, Access97 always gives me the error Not Enough Memory and when i click ok there is a system error or not enouch memory to run Access anybody any idea? BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg free thanks Lembit Lembit Soobik _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Jun 20 10:25:30 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Fri, 20 Jun 2003 11:25:30 -0400 Subject: [AccessD] OT: Javascript Message-ID: Well, I replaced my script with . it displayed today's date as expected, but I obviously have to wait until tomorrow to see if it REALLY worked. :( Thanks for your help! Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 11:01 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Javascript I've never used ASP so I'm not sure. I would suspect it does. But why add ASP to the mix? Why not just use the language the .stm uses? OK Mark, this may just be your lucky day. While looking for some more info on .stm files I found this web page that might help: http://whatis.techtarget.com/definition/0,,sid9_gci214225,00.html Here is the relevant part: and the server will obtain the last-modified date for the file and insert it before the HTML file is sent to requestors. LAST_MODIFIED is one of several environment variables that an operating system can keep track of and that can be accessible to a server program. The server administrator can make these environment variables usable when the system is set up. How's that for an answer :) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:49:19 AM >>> Bryan, Thanks for your reply. Yes, it does make sense, that's why I included that bit of information...I had a sneaky suspicion. As far as "server-side code" is concerned, I've only dabbled in ASP. Do you know if ASP is capable of achieving my goal while still retaining the SSI requirement of a .stm file extension? Or, should I be headed in another direction? Mark -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, June 20, 2003 10:27 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Javascript Mark, Not being all that good at Javascript, take this with a grain of salt. Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server. I think you will need some server-side code to get the last modified date of the html file before it gets to the client. Does that make sense? Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>> Group, I am not familiar with JavaScript. On each departmental webpage I would like to place the last "Modified" date (as would be reported from the operating system). The routine below was emailed to me as is, but, when implemented, seems to provide only today's date. Can anyone spot the problem and provide a solution? Does it make a difference that these pages are .stm (using server-side includes) instead of .htm? Is it a problem with how I implement it? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Fri Jun 20 10:46:54 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 20 Jun 2003 17:46:54 +0200 Subject: [AccessD] Access97 with WindowsXP References: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Message-ID: <273101c33743$38998eb0$0300a8c0@S856> thank you, that seems to be the right thing Lembit Soobik ----- Original Message ----- From: "Randall Anthony" To: Sent: Friday, June 20, 2003 5:17 PM Subject: RE: [AccessD] Access97 with WindowsXP > Check out M$ KB, article 161255. > > -----Original Message----- > From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] > Sent: Friday, June 20, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access97 with WindowsXP > > I have used the Microsoft KB instructions and manually removed everything > necessary to clean out Office 97 from my WinXP box > then installed Access97 again, this time together with Excel, Word, PP > and while the other programs work, Access97 always gives me the error > Not Enough Memory > and when i click ok > there is a system error or not enouch memory to run Access > anybody any idea? > BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg > free > thanks > Lembit > > Lembit Soobik > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GarciaD at kentri.org Fri Jun 20 10:47:16 2003 From: GarciaD at kentri.org (Dwylene Garcia) Date: Fri, 20 Jun 2003 11:47:16 -0400 Subject: [AccessD] Access97 with WindowsXP (Out of Office) Message-ID: I will be out of the office until Thursday, June 26, 2003. From garykjos at hotmail.com Fri Jun 20 10:39:59 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 10:39:59 -0500 Subject: [AccessD] Access97 with WindowsXP Message-ID: Hi Lembit, This is an article about Office XP but there is also a link in it to Office 97 version. Mentions a PAGING FILE SIZE as a possible issue. Doesn't specifically mention Windows XP but does mention Windows 2000 which should be similar I think. http://support.microsoft.com/default.aspx?scid=kb;en-us;297892 Here is Office 97 article referenced in above; http://support.microsoft.com/default.aspx?scid=kb;EN-US;156452 Here is article of having multiple versions of Office apps on same computer... http://support.microsoft.com/default.aspx?scid=kb;en-us;290576 Good Luck Lembit. Gary Kjos garykjos at hotmail.com >From: Lembit.Soobik at t-online.de (Lembit Soobik) >Reply-To: accessd at databaseadvisors.com >To: >Subject: Re: [AccessD] Access97 with WindowsXP >Date: Fri, 20 Jun 2003 17:09:06 +0200 > >I have used the Microsoft KB instructions and manually removed everything >necessary to clean out Office 97 from my WinXP box >then installed Access97 again, this time together with Excel, Word, PP >and while the other programs work, Access97 always gives me the error >Not Enough Memory >and when i click ok >there is a system error or not enouch memory to run Access >anybody any idea? >BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg >free >thanks >Lembit > >Lembit Soobik > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From garykjos at hotmail.com Fri Jun 20 10:42:22 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 10:42:22 -0500 Subject: [AccessD] Access97 with WindowsXP Message-ID: Ooh yeah, that sounds like it. Nice find. Gary Kjos garykjos at hotmail.com >From: Randall Anthony >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Access97 with WindowsXP >Date: Fri, 20 Jun 2003 11:17:14 -0400 > >Check out M$ KB, article 161255. > >-----Original Message----- >From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] >Sent: Friday, June 20, 2003 11:09 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Access97 with WindowsXP > >I have used the Microsoft KB instructions and manually removed everything >necessary to clean out Office 97 from my WinXP box >then installed Access97 again, this time together with Excel, Word, PP >and while the other programs work, Access97 always gives me the error >Not Enough Memory >and when i click ok >there is a system error or not enouch memory to run Access >anybody any idea? >BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg >free >thanks >Lembit > >Lembit Soobik > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From prosoft6 at hotmail.com Fri Jun 20 11:58:21 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 20 Jun 2003 12:58:21 -0400 Subject: [AccessD] Calculating Time Cards Message-ID: Thank you, everyone, for your suggestions. Working on a solution now. There are some glitches along the way we need to work out. Will post the solution when we are finished. Have a great weekend! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From garykjos at hotmail.com Fri Jun 20 11:52:20 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 20 Jun 2003 11:52:20 -0500 Subject: [AccessD] MSDN cds online Message-ID: Now there's a time lag.....Message was sent Friday May 30th, and I just received it Friday June 20. Caught in suspended annimation someplace. Gary Kjos garykjos at hotmail.com >From: "Stuart McLachlan" >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] MSDN cds online >Date: Fri, 30 May 2003 07:49:51 +1000 > >I hate you all !!!!!!!!!!!! :-) > >How long will it take me at my dialup average of 4KB/Sec? > >On 29 May 2003 at 11:57, Keith L. Kovala wrote: > > > Must be something between you and MickeySoft..... 2.5MB/Sec here. > > > > Keith Kovala > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > > Sent: Thursday, May 29, 2003 11:38 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] MSDN cds online > > > > > > Thanks for this. I am downloading now. > > > > For some odd reason I am only getting about 180 kbytes / sec today! >This > > could take awhile. > > > > John W. Colby > > www.colbyconsulting.com > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jeffrey.demulling at usbank.com Fri Jun 20 12:05:17 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 12:05:17 -0500 Subject: [AccessD] Fw: Problem with Access Message-ID: Jim, The information you gave Rocky helped me to solve a problem I have been toying with. Thanks!!!!! "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 06/19/2003 03:41 PM Please respond to accessd To: accessd at databaseadvisors.com cc: Subject: Re: [AccessD] Fw: Problem with Access Jim: That might have worked. Actually, I just got a call from him and the solution turned out to be registering DAO 3.51 using regsrvr32 but he was told that the DLL had to be in the same folder where regsrvr32 was. So that's what he did and now it's working. Thanks everybody for the feedback. Rocky ----- Original Message ----- From: Jim Dettman To: accessd at databaseadvisors.com Sent: Thursday, June 19, 2003 12:55 PM Subject: RE: [AccessD] Fw: Problem with Access Rocky, Well they can go through a quick re-install of A97 using SETUP/y, which will force a re-write of the registry keys no matter what, but it really sounds like an environment problem. My guess is that the references are broken. However the error message is typical of a coding problem. The message indicates that a process is trying to be killed, but it's already exited, meaning it some type of timing issue. I'd start by checking the reference and refreshing. Then re-install if the /y switch if that still doesn't do it. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 19, 2003 11:45 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Problem with Access Dear list: Does anyone know the answer to this one? MTIA, Rocky Smolin Beach Access Software ----- Original Message ----- From: Dave McDonald To: Rocky Smolin Sent: Thursday, June 19, 2003 6:54 AM Subject: Problem with Access Rocky, The question that you have to ask your users group is: What is necessary to do to eliminate the message "has generated errors and will be closed by Windows. You will need to restart the program." This message is probably due to previous installations of ACCESS97 which were not completely removed from the registry and subsequent installations of Access97 do not correct this. The problem occurs only when running (or trying to run) ezmrp.mdb or ezmrp-ro-locked.mde. Other databases open normally. The problem is in this machine since this machine cannot open any ezmrp.mdb on any other machine and other machines can open the ezmrp.mdb on this machine. Thanks, Dave _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Jun 20 12:44:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 10:44:28 -0700 Subject: [AccessD] Rowcolor Message-ID: I have to say that I would not find that kind of arrangement in a listbox more readable. It would be busy and annoying, and what color were you planning to use for the selected item? Normally that is the inverse of the backcolor but with multiple colors, that would be tricky. Charlotte Foust -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Thursday, June 19, 2003 11:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ 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 Jun 20 12:57:16 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 13:57:16 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing From dwaters at usinternet.com Fri Jun 20 13:26:14 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 13:26:14 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? Message-ID: <000001c33759$6f0cc230$de1811d8@DanWaters> To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters From delliker at hotmail.com Fri Jun 20 13:30:16 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 14:30:16 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Jun 20 13:39:07 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 14:39:07 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Fri Jun 20 13:42:46 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Fri, 20 Jun 2003 14:42:46 -0400 (EDT) Subject: [AccessD] (OT) freezing the list membership In-Reply-To: References: Message-ID: <1563.24.187.36.171.1056134566.squirrel@heck.bay9.com> Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? Thanks, Oleg ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail From cfoust at infostatsystems.com Fri Jun 20 13:45:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 11:45:17 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: The problem is usually caused by having A2k with lower than SR-3 installed and having any of the XP apps installed on the same machine. The VBE6.DLL installed by OXP breaks the A2k implementation. MS used to have a hotfix available until they rolled it up in to SR-3. Unless you're violently opposed to the security patches in SR-3, that's the simplest way to avoid this issue. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, June 20, 2003 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 20 13:47:41 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 14:47:41 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Fri Jun 20 13:48:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 14:48:18 -0400 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: <000001c33759$6f0cc230$de1811d8@DanWaters> Message-ID: Dan, See: ACC2002: To Help Prevent Database Bloat, Explicitly Close Recordsets http://support.microsoft.com/default.aspx?scid=kb;en-us;289562 Basically it's a bug. Access isn't always great with its housekeeping. It was a good article, but I do disagree with a few of the points in it. In the "ounce of prevention" section, there's one point: " Avoid memo fields in a table with a lot of records; too many memo fields quickly bloat a file" I think they meant to say use text fields if possible rather then memo fields, but the implication of the statement is that I shouldn't use Access to store data! and on: " Avoid basing a combo or list box on table data. Doing so creates a hidden query". I'm not sure what the point of that was. The alternatives are to base a combo on a query (no difference), base it on an SQL statement (still creates a hidden query), or use a callback function, which I think would take up a lot more space then a query def. But really, the whole purpose of the hidden query is to boost performance and except in very limited cases, you do want it, not matter how much space it takes up. Also on the point of the single record VBA project file vs. multiple and the inability for compaction to occur: that's only true with the DAO compact method. Calling compact from within the Access UI does indeed compact the VBA project file. No need to import everything into a new MDB for that to occur. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 2:26 PM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Jun 20 13:49:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 20 Jun 2003 14:49:14 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) In-Reply-To: Message-ID: Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 20 13:49:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 11:49:38 -0700 Subject: [AccessD] Open Recordsets when Out Of Scope? Message-ID: Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Jun 20 13:51:02 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 20 Jun 2003 14:51:02 -0400 Subject: [AccessD] (OT) freezing the list membership Message-ID: Oleg, Goto http://databaseadvisors.com/mailman/listinfo/accessd Scroll down to the AccessD Subscribers section. Enter your e-mail address in the text box just below where it says "To unsubscribe from AccessD, get a password reminder, or change your subscription options enter your subscription email address" the click the Unsubscribe or edit options button. That will take you to a new page where you enter your password (which you will find in the monthly list reminder that gets sent out). Enter your password and click log in Now, on this new page scroll about halfway down. You will see a section called Mail delivery. Change that to Disable. Scroll down to the bottom of the page and click the Submit My Changes button. That will turn off mail delivery until you tell it to start when you get back. And to start up again, follow these steps but set Mail Delivery to enabled instead of disabled. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Oleg_123 at xuppa.com 20-Jun-03 2:42:46 PM >>> Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? From John.Clark at niagaracounty.com Fri Jun 20 13:50:07 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 14:50:07 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I've never done this...how do you decompile? I did try to compile, and it gave me the message, "Error accessing file. Network connection my have been lost." Again, I am not using the network...I am attached to a Novell network, but I am running both Access and the db from the HDD. Thanks for you input! John John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing >>> delliker at hotmail.com 06/20/03 02:30PM >>> Yes I have, but not in a while. Methinks the app is buggered. A decompile may help. I believe I also had this problem working on a Novell network, but I could be wrong. The usual is to decompile/recompile when this kind of stuff starts happening. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] HELP Very odd problem (to me anyhow) >Date: Fri, 20 Jun 2003 13:57:16 -0400 > >I haven't bugged any of ya in quite a while now...about two months plus. >I have actually been away from >Access and instead, learning the fine art of IP phones, and wireless >networking. Now I am back into Access and having a major problem. > >I am working on a program that I was probably 90% done with, when I was >pulled off for the other project. And, when I press certain buttons, I >was receiving errors that, "...Network connection my have been lost." I >first thought it was no big deal...the program, because of my other >duties, has run so far behind, that I will just delete the offending >buttons and recreate them...but then grew more concerned, when I >received this error, while trying to comment out the code behind the >buttons. I decided, because of time constraints, that it would be best >to create a totally new program and import the pieces into it. This >isn't working either. > >I have only inported the tables, queries, and three very simple >forms...these are just "switchboard" type forms...that, using buttons, >call other forms or each other. I reuse these same forms for each >program that I do, so that all programs in the county have a similar >look and feel to them. I have done this a few times now, and each time >they work, until I restart the program. I then get the following error, >when I attempt to open the form: > > >The expression On Open you entered as the event property setting >produced the following error: Error accessing file. Network connection >may have been lost. > >* The expression may not result in the name of a macro, the name of a >user-defined function, or [Event Procedure]. >* There may have been an error evaluating the function, event, or >macro. > > >There doesn't appear to be any code there, when I look. And, equally >puzzling, is that I am not using it on the network. I created it on my >hard drive, and I am running it from there now. > >Anybody seen anything like this before? > >Thanks! > > > >John W. Clark >Computer Programmer / Asst. Network Administrator >Niagara County >Central Data Processing >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Add photos to your messages with MSN 8. Get 2 months FREE*. From jimdettman at earthlink.net Fri Jun 20 13:53:40 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 20 Jun 2003 14:53:40 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) In-Reply-To: Message-ID: John, It's a command line switch: C:\...\MSACCESS.EXE /DECOMPILE C:\....\MY.MDB Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) I've never done this...how do you decompile? I did try to compile, and it gave me the message, "Error accessing file. Network connection my have been lost." Again, I am not using the network...I am attached to a Novell network, but I am running both Access and the db from the HDD. Thanks for you input! John John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing >>> delliker at hotmail.com 06/20/03 02:30PM >>> Yes I have, but not in a while. Methinks the app is buggered. A decompile may help. I believe I also had this problem working on a Novell network, but I could be wrong. The usual is to decompile/recompile when this kind of stuff starts happening. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: accessd at databaseadvisors.com >To: >Subject: [AccessD] HELP Very odd problem (to me anyhow) >Date: Fri, 20 Jun 2003 13:57:16 -0400 > >I haven't bugged any of ya in quite a while now...about two months plus. >I have actually been away from >Access and instead, learning the fine art of IP phones, and wireless >networking. Now I am back into Access and having a major problem. > >I am working on a program that I was probably 90% done with, when I was >pulled off for the other project. And, when I press certain buttons, I >was receiving errors that, "...Network connection my have been lost." I >first thought it was no big deal...the program, because of my other >duties, has run so far behind, that I will just delete the offending >buttons and recreate them...but then grew more concerned, when I >received this error, while trying to comment out the code behind the >buttons. I decided, because of time constraints, that it would be best >to create a totally new program and import the pieces into it. This >isn't working either. > >I have only inported the tables, queries, and three very simple >forms...these are just "switchboard" type forms...that, using buttons, >call other forms or each other. I reuse these same forms for each >program that I do, so that all programs in the county have a similar >look and feel to them. I have done this a few times now, and each time >they work, until I restart the program. I then get the following error, >when I attempt to open the form: > > >The expression On Open you entered as the event property setting >produced the following error: Error accessing file. Network connection >may have been lost. > >* The expression may not result in the name of a macro, the name of a >user-defined function, or [Event Procedure]. >* There may have been an error evaluating the function, event, or >macro. > > >There doesn't appear to be any code there, when I look. And, equally >puzzling, is that I am not using it on the network. I created it on my >hard drive, and I am running it from there now. > >Anybody seen anything like this before? > >Thanks! > > > >John W. Clark >Computer Programmer / Asst. Network Administrator >Niagara County >Central Data Processing >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Add photos to your messages with MSN 8. Get 2 months FREE*. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Fri Jun 20 13:58:32 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Fri, 20 Jun 2003 13:58:32 -0500 Subject: [AccessD] (OT) freezing the list membership Message-ID: <8DA8776D2F418E46A2A464AC6CE6305091FD@outbaksrv1.outbaktech.com> Try going to http://databaseadvisors.com/mailman/options/accessd Enter your email address and DBA password. Scroll down to: Mail delivery Set this option to Enabled to receive messages posted to this mailing list. Set it to Disabled if you want to stay subscribed, but don't want mail delivered to you for a while (e.g. you're going on vacation). If you disable mail delivery, don't forget to re-enable it when you come back; it will not be automatically re-enabled. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Friday, June 20, 2003 1:43 PM To: accessd at databaseadvisors.com Hey, I am going away for a a week and a half, I would like to freeze the membership (otherwise I'll just get over the limit in my maibox and won't recieve any other messages, and there is a small chance that I might). Can someone plaesae tell me how to do it ? Thanks, Oleg ----------------------------------------- Act now and get A FREE "My Big Fat Greek Wedding" DVD! FREE Shipping and Handling. First 1000 responses only. Hurry! http://x.hitprofile.com/x.asp?pid=219&oid=1099&sid=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Jun 20 14:11:56 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 20 Jun 2003 12:11:56 -0700 Subject: [AccessD] detect network References: <22F1CCD5171D17419CB37FEEE09D5F990173EED3@TTNEXCHSRV1.hshhp.com> Message-ID: <3EF35C7C.3090201@shaw.ca> On WinXP Laptop connected via cable modem. I get true then if I unplug cable. I get false. Hope that helps. Jim DeMarco wrote: >Good points. > >Thanks, > >Jim DeMarco > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:54 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > <been looking for something generic that won't need any direction as to where >to look. I found a simple API this AM that I think does the trick:>> > > That being the case, then I'd go for something as simple as possible, like >trying the operation and trapping the error. When you start talking API, >then you need to worry about the OS, what is or is not installed, etc. Just >look at the comments on what you posted. Will it work with XP? > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Friday, June 20, 2003 8:42 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Thanks. The app is being distributed to a number of companies so I've been >looking for something generic that won't need any direction as to where to >look. I found a simple API this AM that I think does the trick: > >'Requires Windows 2000 >'(or Windows NT 4.0 with Internet Explorer 5 or later); >'Requires Windows 95 or later (with Internet Explorer 5 or later) > >'Parameter info >'? lpdwFlags >'Provides information on the type of network connection available when the >return value is TRUE. The flags can be: >'NETWORK_ALIVE_LAN >'The computer has one or more LAN cards that are active. >'NETWORK_ALIVE_WAN >'The computer has one or more active RAS connections. >'NETWORK_ALIVE_AOL >'This flag is only valid in Windows 95 and Windows 98. Indicates the >computer is connected to the America Online network. > >'Return Values >' >'TRUE >'The local system is connected to a network. >'FALSE >'Call GetLastError to determine the reason for no connectivity. > >Const NETWORK_ALIVE_AOL = &H4 >Const NETWORK_ALIVE_LAN = &H1 >Const NETWORK_ALIVE_WAN = &H2 > >Declare Function IsNetworkAlive Lib "SENSAPI.DLL" (ByRef lpdwFlags As Long) >As Long > >Public Function AmIConnected() As Boolean > 'KPD-Team 2001 > 'URL: http://www.allapi.net/ > 'E-Mail: KPDTeam at Allapi.net > Dim Ret As Long > Dim blnReturn As Boolean > blnReturn = IsNetworkAlive(Ret) <> 0 And Ret <> NETWORK_ALIVE_AOL 'we're >just interested in lan/wan > AmIConnected = blnReturn >End Function > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Friday, June 20, 2003 8:13 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] detect network > > >Jim, > > Not sure if this will fit your needs or not, but how about issuing a shell >command with: > > Ping
>netchk.txt > > Then open and parse netchk.txt. You just need to look for the word >"reply". If found, you have a physical connection at least to the server. > ><error? I don't want to generate an error if I don't have to.>> > > That's what I would do. To many things can foul things up (ie. security) >beyond simply checking for a connection. Of course, I suppose it depends on >what you meant by "a connection". > > But in the end result, it's your app that needs to carry out whatever >operation. By the time you've done enough checking to verify that the app >will be able to perform whatever, you might as well have just tried it. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Thursday, June 19, 2003 8:33 AM >To: AccessD (E-mail) >Subject: [AccessD] detect network > > >We've got a data collection application that will be run on disconnected >laptops. At least once a week the laptop users will come in to the home >office to dump the data they've collected into our central SQL database. >Does anyone have any code that will detect that the laptop is connected to >our network so we can point their connection to the central DB (as opposed >to their local DB)? Or should we just try to hit the central DB at app >start and trap the error? I don't want to generate an error if I don't have >to. > >Thanks, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >**************************************************************************** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". >**************************************************************************** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >**************************************************************************** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". >**************************************************************************** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From John.Clark at niagaracounty.com Fri Jun 20 14:25:06 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 20 Jun 2003 15:25:06 -0400 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: No, but I do have A2K and A97 on the machine. I just got through reading something about this on the MS Knowledgebase...and I see Charlotte writes the same thing. Good news is I can avoid it in the future, but the bad new is that it will take me a good part of Monday to fix it...I've already complained to this list about my inability to gain access to my office on the weekend...ludicrous isn't it...you've got a project that was scheduled for a May 1st completion, and it is needed badly, but you won't allow your people to work on it over a weekend. Don't get me wrong, I love having my weekends free, but this also needs to be done, and it is harder to jump back into it after a couple days away...I'd rather get it over with and then enjoy my weekend, knowing that Monday won't be such a PITA. Take care everyone...thanks for the help...have a great weekend!!! John W Clark >>> jcolby at colbyconsulting.com 06/20/03 02:49PM >>> Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 20 14:41:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 20 Jun 2003 12:41:27 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: I doesn't take Access XP or Office XP to cause this. Any of the 2002 apps, including Visio, Project and Publisher will cause the same problem. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, June 20, 2003 11:25 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] HELP Very odd problem (to me anyhow) No, but I do have A2K and A97 on the machine. I just got through reading something about this on the MS Knowledgebase...and I see Charlotte writes the same thing. Good news is I can avoid it in the future, but the bad new is that it will take me a good part of Monday to fix it...I've already complained to this list about my inability to gain access to my office on the weekend...ludicrous isn't it...you've got a project that was scheduled for a May 1st completion, and it is needed badly, but you won't allow your people to work on it over a weekend. Don't get me wrong, I love having my weekends free, but this also needs to be done, and it is harder to jump back into it after a couple days away...I'd rather get it over with and then enjoy my weekend, knowing that Monday won't be such a PITA. Take care everyone...thanks for the help...have a great weekend!!! John W Clark >>> jcolby at colbyconsulting.com 06/20/03 02:49PM >>> Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Jun 20 14:40:54 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 20 Jun 2003 21:40:54 +0200 Subject: [AccessD] HELP Very odd problem (to me anyhow) Message-ID: <104AB6116A2DD511A7580008C7097A9821990D@AARDBEI> Looks to me to be indeed the VBA6 problem due to A2K and AXP on same machine. When importing objects with code behind it or modules etc., the code itself is not saved but only the compiled code. Thus corruption the app. When importing object with code and/or modules inmediatly click on save in VBA. Thus saving the code manualy. When your app is already corrupt, you need to find the corrupt object. You can not delete it, so you need to import everything, except the corrupted object in to the new filed. Erwin -----Oorspronkelijk bericht----- Van: John Colby [mailto:jcolby at colbyconsulting.com] Verzonden: vrijdag 20 juni 2003 20:49 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] HELP Very odd problem (to me anyhow) Your fe is corrupt. Do you have 2K and XP on the same machine? This can and does cause this kind of corruption. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Friday, June 20, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) To add on to my own post... When I finished writing this Email, I created a new form from scratch, and cut & pasted all controls from the old form to the new one. This new form worked fine, but of course none of the code is there either, so I went back to the old form to cut out the code...I was going to do this piece by piece, hoping to find the snag...but, when I attempt to go to the code window, I get the afore mentioned error, and although it lets me into the coding section, no code seems to exist. >>> John.Clark at niagaracounty.com 06/20/03 01:57PM >>> I haven't bugged any of ya in quite a while now...about two months plus. I have actually been away from Access and instead, learning the fine art of IP phones, and wireless networking. Now I am back into Access and having a major problem. I am working on a program that I was probably 90% done with, when I was pulled off for the other project. And, when I press certain buttons, I was receiving errors that, "...Network connection my have been lost." I first thought it was no big deal...the program, because of my other duties, has run so far behind, that I will just delete the offending buttons and recreate them...but then grew more concerned, when I received this error, while trying to comment out the code behind the buttons. I decided, because of time constraints, that it would be best to create a totally new program and import the pieces into it. This isn't working either. I have only inported the tables, queries, and three very simple forms...these are just "switchboard" type forms...that, using buttons, call other forms or each other. I reuse these same forms for each program that I do, so that all programs in the county have a similar look and feel to them. I have done this a few times now, and each time they work, until I restart the program. I then get the following error, when I attempt to open the form: The expression On Open you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro. There doesn't appear to be any code there, when I look. And, equally puzzling, is that I am not using it on the network. I created it on my hard drive, and I am running it from there now. Anybody seen anything like this before? Thanks! John W. Clark Computer Programmer / Asst. Network Administrator Niagara County Central Data Processing _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 20 14:49:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 14:49:15 -0500 Subject: [AccessD] Update query syntax Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E88@main2.marlow.com> Um, after you click IIF, then click <>, so it's highlighted. THEN click Mid$. It will replace the <> with the Mid$ statement. The expression builder is not the worlds most advance tool, but it can be sort of handy, if you are using a lot of expressions in your queries. Drew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Thursday, June 19, 2003 11:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I've never been able to figure how how to use the query builder. If I click on IIF and then click on Mid$, I get: IIf (?expr?, ?truepart?, ?falsepart?) ?Expr? Mid$ (?stringexpr?, ?start?, ?length?) Now, I know I have to replace things like ?expr? and ?truepart? etc, but I don't know how to go from there. I can't figure out how this: "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" fits in. Which part is the expression, which is the truepart and which is the falsepart, etc. I'd probably understand it better with a SQL statement, but... I don't need anything as complicated for updating the Attend35, as all I have to do is put a 1 in the "update to" box. And when I do the 35=2, I'll put a 2 in. They won't have both, so don't need to worry about overwriting. -- 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 dave sharpe > Sent: 19 Jun 2003 4:57:PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Update query syntax > > > Kathryn > > I nomally use the query builder. If I read your request > correctly,I'd use something like > > "iif(mid$(attend,1, instr(Attend,"=") +1 ) = '35'" > as your condition and > something like "val(mid$(Attend,instr(Attend,"=") +1 , 1 )" > as your replace statement for Attend35 > > Dave > > ----- Original Message ----- > From: Kathryn Bassett > To: dbAdvisors (AccessD) > Sent: Thursday, June 19, 2003 5:51 PM > Subject: [AccessD] Update query syntax > > > I have a field called Attend that is text 100 in length. I've added new fields called > Attend25, Attend35 etc and made then all long integers with zero decimal places. (The > numbers will only be one digit as it is usually just one or two people.) > > We'll use the 35th for the example of what I want to do. I know there is a way using > the queries, to take the contents of Attend, and put it in Attend35. Before I just > try to muddle though it, I thought I'd find out if there is a way to do it thusly: > > Current sample of Attend is: > 35=2 30b=2 30a=2 25=2 > > If Attend contains "35=1" then put a 1 in Attend35 or if Attend contains "35=2" then > put a 2 in Attend35 > > So, what would my query look like to do that? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From smandel7 at yahoo.com Fri Jun 20 15:04:27 2003 From: smandel7 at yahoo.com (Steven Mandel) Date: Fri, 20 Jun 2003 15:04:27 -0500 Subject: [AccessD] msgbox appears when open form in design mode In-Reply-To: <000501c33636$790ec1d0$fb9487d9@laptop> References: Message-ID: <5.1.0.14.0.20030620150151.00a862e8@web2pop> Hi Mark, as it turned out , the problem was they had an image object on the form with a default image location that no longer existed and that is why the error message appeared when I opened the form in design view. Thanks for your help. Steve Mandel At 08:43 AM 6/19/2003 +0100, you wrote: >
> >
Try looking under TOOLS - REFERENCES when in the code window. You'll
>see
>a list with a few at the top having ticks. If one is missing it will
>say
>so next to it.
>
>Hth
>
>mark
>
>-----Original Message-----
>From: href="mailto:accessd-bounces at databaseadvisors.com&YY=47751&head=f">accessd-bounces at databaseadvisors.com
>[mailto:href="mailto:accessd-bounces at databaseadvisors.com&YY=47751&head=f">accessd-bounces at databaseadvisors.com] 
>On Behalf Of Steven
>Mandel
>Sent: 19 June 2003 08:19
>To: Accessd
>Subject: [AccessD] msgbox appears when open form in design mode
>
>
>Hi All,
>
>  I have a big question to ask. I am working on a database that I have
>to
>modify due to replacement of a server and changing directories.  There
>are several forms that when I open them either in design mode or
>runtime
>mode an error message in a msgbox pops up telling me that it cant find
>a
>certain file located in a certain directory . ( something like the
>database can't find file m:/somedirectory/somefile.txt ) That is
>exactly
>what I want to change but the code that does this is not in the form's
>open or load events ? is it possible that it is in a macro and if so
>how
>do I fix it ( I rarely if ever use macros ). Any help would be much
>appreciated.
>
>Thanks so much,
>
>Steve Mandel
>
>_______________________________________________
>AccessD mailing list
>href="mailto:AccessD at databaseadvisors.com&YY=47751&head=f">AccessD at databaseadvisors.com
>target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: target=_blank>http://www.databaseadvisors.com
>
>_______________________________________________
>AccessD mailing list
>href="mailto:AccessD at databaseadvisors.com&YY=47751&head=f">AccessD at databaseadvisors.com
>target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: target=_blank>http://www.databaseadvisors.com
From DWUTKA at marlow.com Fri Jun 20 15:04:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 15:04:06 -0500 Subject: [AccessD] A2K: Populate List Box Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8A@main2.marlow.com> I sent you a sample database offline. Drew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Friday, June 20, 2003 1:43 AM To: AccessD List Subject: [AccessD] A2K: Populate List Box Hello all This should be simple. But it is p***ing me right off. I have an Events form called frmEvents. Bound to tblEvents. 2 list boxes on this form. The one on the left lists available clients The list box on the right is showing people who are registerd into this event. (Attendees) This is stored in tblRegistration. AttendeeID with EventID and RegistrationID. (All the names of attendees are got from the tblAttendees table) - Pretty basic sofar. Double click on left box to 'Register in to the current Event' Double click on Right box to 'un regsiter' - Rocket science. The lists grow and shrink accordingly. But here is the problemn In the list on the left I only want to show people who are not registerd into the current event. I am having a 101 moment here (Drew) Any help?? Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Jun 20 15:04:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 20 Jun 2003 15:04:51 -0500 Subject: [AccessD] Rowcolor Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8B@main2.marlow.com> The online archives work. http://www.wolfwares.com/AccessD Drew -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Friday, June 20, 2003 2:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Jun 20 15:14:16 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 20 Jun 2003 16:14:16 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF40389799C@xlivmbx12.aig.com> Just put a textbox in the header (or footer) with the data source set to... =Count(*) That should do it. Lambert > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Friday, June 20, 2003 2:48 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Getting the recordcount for a report > > Folks, > > Does anyone know of a good way to get the recordcount for a report? I have > a need to capture that and display it in the header. Aside from taking the > report recordsource and creating a recordset and getting the recordcount > from movelast method I can't find anything useful. The aforementioned > seems a little overhead intensive. > _d > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > _____ > > STOP MORE SPAM with the new MSN 8 > and get 2 months FREE* << File: ATT5737557.txt >> From dwaters at usinternet.com Fri Jun 20 15:21:15 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 15:21:15 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: Message-ID: <000a01c33769$83631b70$de1811d8@DanWaters> Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Jun 20 15:39:18 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 20 Jun 2003 16:39:18 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: Like it! It does work - now if it would only tell me how many records were accessed below the groupby. It gives back the count of records but it seems I need the count that went into the grouping. Thanks! (it's still a neat trick) _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Heenan, Lambert" >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] Getting the recordcount for a report Date: Fri, 20 >Jun 2003 16:14:16 -0400 > >Just put a textbox in the header (or footer) with the data source set to... > >=Count(*) > >That should do it. > >Lambert > > > -----Original Message----- > > From: Don Elliker [SMTP:delliker at hotmail.com] > > Sent: Friday, June 20, 2003 2:48 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Getting the recordcount for a report > > > > Folks, > > > > Does anyone know of a good way to get the recordcount for a report? I >have > > a need to capture that and display it in the header. Aside from taking >the > > report recordsource and creating a recordset and getting the recordcount > > from movelast method I can't find anything useful. The aforementioned > > seems a little overhead intensive. > > _d > > > > "Things are only free to the extent that you don't pay for them".-Don > > Elliker > > > > > > _____ > > > > STOP MORE SPAM with the new MSN 8 > > and get 2 months FREE* << File: ATT5737557.txt >> >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Fri Jun 20 15:49:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 20 Jun 2003 16:49:41 -0400 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: <000a01c33769$83631b70$de1811d8@DanWaters> Message-ID: BTW, the error handler builder that Seth and I wrote will insert code that finds all such objects and generate code to destroy them. It does this in the process of inserting error handlers in your functions so if you already have an error handler it will not insert this code. If you are interested in the error handler builder, go to the dba website. http://www.databaseadvisors.com/downloads.htm Download VBErrorHandler. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Fri Jun 20 16:03:53 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 20 Jun 2003 17:03:53 -0400 Subject: [AccessD] Copy and paste from clipboard Message-ID: This may seem like a strange request, but I've been asked by my boss to check with this list. She has a process that exports a 1-record table to a text file. This text file is then imported into a client's billing system. Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to create the text file. The problem comes about when the other system tries to read the text file. It kicks back an error stating that it can't find the end-of-file. Although, when she simply copies the text from the table, then pastes it into a text file, the client's system imports it without a problem. Is there a way (in code) to copy the data from the table to the clipboard, then paste it from the clipboard to a text file? I think I've seen this before, but am not sure. TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Fri Jun 20 16:08:47 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Jun 2003 16:08:47 -0500 Subject: [AccessD] Open Recordsets when Out Of Scope? In-Reply-To: Message-ID: <000401c33770$27654940$de1811d8@DanWaters> John, I read the description of the VBErrorHandler. Very Nice! But, I already use error handling throughout, so I'll be typing (cut/paste if I can). Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, June 20, 2003 2:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? BTW, the error handler builder that Seth and I wrote will insert code that finds all such objects and generate code to destroy them. It does this in the process of inserting error handlers in your functions so if you already have an error handler it will not insert this code. If you are interested in the error handler builder, go to the dba website. http://www.databaseadvisors.com/downloads.htm Download VBErrorHandler. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, June 20, 2003 4:21 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Jim & Charlotte: Thanks! I have a little typing to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 20, 2003 12:50 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Open Recordsets when Out Of Scope? Talk to the Microsoft Access/VBA team! The object variable doesn't always get reliably destroyed when it goes out of scope even though it is supposed to, and a lot of odd behavior like not allowing the Access process to terminate can be traced back to those undestroyed object variables. The object isn't still open but it hasn't disappeared entirely either. And keep in mind that closing those objects and setting them to nothing aren't the same thing. It's the setting them to nothing that really destroys them. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, June 20, 2003 10:26 AM To: Database Advisors Subject: [AccessD] Open Recordsets when Out Of Scope? To: Susan Harkins and Charlotte Foust Authors of 'Preventing and recovering from database bloat' in the latest issue of Inside MS Access. Thanks for this article! More stuff I didn't know. . . But - If an recordset or querydef object variable is defined inside a procedure how can a recordset or querydef stay open after that procedure is out of scope? Is this a known bug? Happens under certain circumstances? I had read in the ADH that all recordsets are closed when you go out of scope, so now I don't add code to explicitly close them (except when closing is needed inside the procedure). Thanks, Dan Waters _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Jun 20 16:10:48 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 20 Jun 2003 17:10:48 -0400 Subject: [AccessD] Getting the recordcount for a report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979A0@xlivmbx12.aig.com> =Count(*) works just as well in the group header/footer. So you CAN see the count per grouping. > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Friday, June 20, 2003 4:39 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Getting the recordcount for a report > > > Like it! It does work - now if it would only tell me how many records > were > accessed below the groupby. It gives back the count of records but it > seems > I need the count that went into the grouping. > Thanks! (it's still a neat trick) > _D > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: "Heenan, Lambert" > >Reply-To: accessd at databaseadvisors.com > >To: "'accessd at databaseadvisors.com'" > >Subject: RE: [AccessD] Getting the recordcount for a report Date: Fri, 20 > > >Jun 2003 16:14:16 -0400 > > > >Just put a textbox in the header (or footer) with the data source set > to... > > > >=Count(*) > > > >That should do it. > > > >Lambert > > > > > -----Original Message----- > > > From: Don Elliker [SMTP:delliker at hotmail.com] > > > Sent: Friday, June 20, 2003 2:48 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Getting the recordcount for a report > > > > > > Folks, > > > > > > Does anyone know of a good way to get the recordcount for a report? I > >have > > > a need to capture that and display it in the header. Aside from taking > > >the > > > report recordsource and creating a recordset and getting the > recordcount > > > from movelast method I can't find anything useful. The aforementioned > > > seems a little overhead intensive. > > > _d > > > > > > "Things are only free to the extent that you don't pay for them".-Don > > > Elliker > > > > > > > > > _____ > > > > > > STOP MORE SPAM with the new MSN 8 > > > > and get 2 months FREE* << File: ATT5737557.txt >> > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Fri Jun 20 16:17:46 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Fri, 20 Jun 2003 16:17:46 -0500 Subject: [AccessD] Copy and paste from clipboard Message-ID: Instead of using the Docmd, why not just write the data using sequential access. If you need a code example please let me know. I have found it to work faster and easier instead of using the Docmd for exporting to text files. "Mark Boyd" Sent by: accessd-bounces at databaseadvisors.com 06/20/2003 04:03 PM Please respond to accessd To: AccessD at databaseadvisors.com cc: Subject: [AccessD] Copy and paste from clipboard This may seem like a strange request, but I've been asked by my boss to check with this list. She has a process that exports a 1-record table to a text file. This text file is then imported into a client's billing system. Currently, she is using 'DoCmd.TransferText, acExportDelim ?' to create the text file. The problem comes about when the other system tries to read the text file. It kicks back an error stating that it can't find the end-of-file. Although, when she simply copies the text from the table, then pastes it into a text file, the client's system imports it without a problem. Is there a way (in code) to copy the data from the table to the clipboard, then paste it from the clipboard to a text file? I think I've seen this before, but am not sure. TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Fri Jun 20 16:56:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Jun 2003 07:56:12 +1000 Subject: [AccessD] Copy and paste from clipboard In-Reply-To: Message-ID: <3EF40F9C.8499.2473EF@localhost> On 20 Jun 2003 at 17:03, Mark Boyd wrote: > This may seem like a strange request, but I've been asked by my boss to > check with this list. > > > > She has a process that exports a 1-record table to a text file. This > text file is then imported into a client's billing system. > > Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to > create the text file. The problem comes about when the other system > tries to read the text file. It kicks back an error stating that it > can't find the end-of-file. > > > > Although, when she simply copies the text from the table, then pastes it > into a text file, the client's system imports it without a problem. > > > > Is there a way (in code) to copy the data from the table to the > clipboard, then paste it from the clipboard to a text file? Why not just do something like the following: (Change the "," to Chr$(9) for Tab delimited) Dim strExport as String Dim rs as Recordset Dim loopcount as long Dim NoOfFields as long Set rs = currentdb.openrecordset("tblSimgleRecordTable") NoOfFields = rs.Fields.Count 'Build comma delimited export string For loopcount = 0 to NoOfFields - 2 strExport = strExport & rs(loopcount) & "," Next strExport = strExport & rs(NoOfFields) - 1) Open "transferfile.txt" for output as #1 Print#1, strExport Close #1 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Fri Jun 20 23:23:09 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 20 Jun 2003 21:23:09 -0700 Subject: [AccessD] Copy and paste from clipboard References: <3EF40F9C.8499.2473EF@localhost> Message-ID: <01fe01c337ac$d21e75a0$6501a8c0@HAL9002> Stuart: I once implemented a clipboard function in an app. It came from John Colby's site. Look for C2DbClipBoard. It has functions to copy, paste, and empty the clipboard. Rocky Smolin Beach Access Software ----- Original Message ----- From: "Stuart McLachlan" To: "Mark Boyd" ; Sent: Friday, June 20, 2003 2:56 PM Subject: Re: [AccessD] Copy and paste from clipboard > On 20 Jun 2003 at 17:03, Mark Boyd wrote: > > > This may seem like a strange request, but I've been asked by my boss to > > check with this list. > > > > > > > > She has a process that exports a 1-record table to a text file. This > > text file is then imported into a client's billing system. > > > > Currently, she is using 'DoCmd.TransferText, acExportDelim ...' to > > create the text file. The problem comes about when the other system > > tries to read the text file. It kicks back an error stating that it > > can't find the end-of-file. > > > > > > > > Although, when she simply copies the text from the table, then pastes it > > into a text file, the client's system imports it without a problem. > > > > > > > > Is there a way (in code) to copy the data from the table to the > > clipboard, then paste it from the clipboard to a text file? > > > Why not just do something like the following: > (Change the "," to Chr$(9) for Tab delimited) > > > Dim strExport as String > Dim rs as Recordset > Dim loopcount as long > Dim NoOfFields as long > > Set rs = currentdb.openrecordset("tblSimgleRecordTable") > > NoOfFields = rs.Fields.Count > > 'Build comma delimited export string > For loopcount = 0 to NoOfFields - 2 > strExport = strExport & rs(loopcount) & "," > Next > strExport = strExport & rs(NoOfFields) - 1) > > Open "transferfile.txt" for output as #1 > Print#1, strExport > Close #1 > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marcel.vreuls at oop.nl Sat Jun 21 02:54:08 2003 From: marcel.vreuls at oop.nl (Marcel Vreuls) Date: Sat, 21 Jun 2003 09:54:08 +0200 Subject: [AccessD] Rowcolor In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E8B@main2.marlow.com> Message-ID: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> Hi Drew, I know, but very often I get page not found when going to the URL or when search results are to be displayed. First I thought it is from my firewall settings or IE version. But I get this message also from clients. That is why I said that the archyves did not work. Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: vrijdag 20 juni 2003 22:05 To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Rowcolor The online archives work. http://www.wolfwares.com/AccessD Drew -----Original Message----- From: Marcel Vreuls [mailto:marcel.vreuls at oop.nl] Sent: Friday, June 20, 2003 2:02 AM To: accessd at databaseadvisors.com Subject: [AccessD] Rowcolor Hi group, I am sure this has been asked before but I lost my archyves and the online archyve does not work. Actualy I am looking for a listbox control in which I can give each row a alternate color depending on a criteria. In my search I have found a lot but nothing suited or worked. The closest I got was a piece of VB code which made a subclass of the listbox control and from there colored each row. Unfortn. this did not work in access vba. I will keep looking for the correct solution:-). Now to enhance the readability of the listbox I would like to give the first row a gray color, the second a white color, the third a gray color and so on. Does anyone has the solution for this. thanks, Marcel Veruls _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Jun 21 04:56:06 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 10:56:06 +0100 Subject: [AccessD] Urgent SQL Server References: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> Message-ID: <000901c337db$56a22be0$e40b6351@martinreid> I need to permit Access to My sql server 2000 from a server in the USA. Cant seem to get SQL Server configured correctly. No firewall etc this end but very tight security from the USA server end but they say it dosnt matter. Anyone any ideas re settings from my side to open the server up for internet access. Will be using a mixture of XML and .NET in both directions if that matters. SQL Server must be using Mixed Security. Martin From mwp.reid at qub.ac.uk Sat Jun 21 05:06:48 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 11:06:48 +0100 Subject: [AccessD] MSDE References: <009301c337ca$4bf49ef0$c100a8c0@OOPMBO> <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: <001401c337dc$d47758f0$e40b6351@martinreid> An interesting statement from MS MSDE cannot be used to create applications that substantially duplicate the capabilities of Microsoft Access or, in the reasonable opinion of Microsoft, compete with same. Martin From jimdettman at earthlink.net Sat Jun 21 06:34:53 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat, 21 Jun 2003 07:34:53 -0400 Subject: [AccessD] MSDE In-Reply-To: <001401c337dc$d47758f0$e40b6351@martinreid> Message-ID: Martin, That's been true with Access as well BTW right from day one. This was pointed out in the A1.1/2 days when folks started coming up with replacements for the DBC. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Saturday, June 21, 2003 6:07 AM To: accessd Subject: [AccessD] MSDE An interesting statement from MS MSDE cannot be used to create applications that substantially duplicate the capabilities of Microsoft Access or, in the reasonable opinion of Microsoft, compete with same. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Jun 21 08:51:01 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 21 Jun 2003 06:51:01 -0700 Subject: [AccessD] HELP Very odd problem (to me anyhow) References: Message-ID: <004a01c337fc$26a8f880$6501a8c0@HAL9002> John: Here's an explanation. The fix ain't so pretty. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548 HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: "John Clark" To: Sent: Friday, June 20, 2003 11:50 AM Subject: Re: [AccessD] HELP Very odd problem (to me anyhow) > I've never done this...how do you decompile? I did try to compile, and > it gave me the message, "Error accessing file. Network connection my > have been lost." Again, I am not using the network...I am attached to a > Novell network, but I am running both Access and the db from the HDD. > > Thanks for you input! > > John > > John W. Clark > Computer Programmer / Asst. Network Administrator > Niagara County > Central Data Processing > > >>> delliker at hotmail.com 06/20/03 02:30PM >>> > > Yes I have, but not in a while. Methinks the app is buggered. A > decompile may help. I believe I also had this problem working on a > Novell network, but I could be wrong. > The usual is to decompile/recompile when this kind of stuff starts > happening. > _d > > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > >From: "John Clark" > >Reply-To: accessd at databaseadvisors.com > >To: > >Subject: [AccessD] HELP Very odd problem (to me anyhow) > >Date: Fri, 20 Jun 2003 13:57:16 -0400 > > > >I haven't bugged any of ya in quite a while now...about two months > plus. > >I have actually been away from > >Access and instead, learning the fine art of IP phones, and wireless > >networking. Now I am back into Access and having a major problem. > > > >I am working on a program that I was probably 90% done with, when I > was > >pulled off for the other project. And, when I press certain buttons, I > > >was receiving errors that, "...Network connection my have been lost." > I > >first thought it was no big deal...the program, because of my other > >duties, has run so far behind, that I will just delete the offending > >buttons and recreate them...but then grew more concerned, when I > >received this error, while trying to comment out the code behind the > >buttons. I decided, because of time constraints, that it would be best > > >to create a totally new program and import the pieces into it. This > >isn't working either. > > > >I have only inported the tables, queries, and three very simple > >forms...these are just "switchboard" type forms...that, using buttons, > > >call other forms or each other. I reuse these same forms for each > >program that I do, so that all programs in the county have a similar > >look and feel to them. I have done this a few times now, and each time > > >they work, until I restart the program. I then get the following > error, > >when I attempt to open the form: > > > > > >The expression On Open you entered as the event property setting > >produced the following error: Error accessing file. Network connection > > >may have been lost. > > > >* The expression may not result in the name of a macro, the name of a > > >user-defined function, or [Event Procedure]. > >* There may have been an error evaluating the function, event, or > >macro. > > > > > >There doesn't appear to be any code there, when I look. And, equally > >puzzling, is that I am not using it on the network. I created it on my > > >hard drive, and I am running it from there now. > > > >Anybody seen anything like this before? > > > >Thanks! > > > > > > > >John W. Clark > >Computer Programmer / Asst. Network Administrator > >Niagara County > >Central Data Processing > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > Add photos to your messages with MSN 8. Get 2 months FREE*. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Sat Jun 21 13:46:51 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 21 Jun 2003 20:46:51 +0200 Subject: [AccessD] Access97 with WindowsXP References: <5F21A4E8B8DD734992EF9E70AC9D3064128669@mail2.wrsystems.com> Message-ID: <009901c33825$7fc63f30$0300a8c0@S856> Thank you that worked have just installed SP1 and SP2 and its working it was this 1GB memory - too much :) Lembit Soobik ----- Original Message ----- From: "Randall Anthony" To: Sent: Friday, June 20, 2003 5:17 PM Subject: RE: [AccessD] Access97 with WindowsXP > Check out M$ KB, article 161255. > > -----Original Message----- > From: Lembit Soobik [mailto:Lembit.Soobik at t-online.de] > Sent: Friday, June 20, 2003 11:09 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access97 with WindowsXP > > I have used the Microsoft KB instructions and manually removed everything > necessary to clean out Office 97 from my WinXP box > then installed Access97 again, this time together with Excel, Word, PP > and while the other programs work, Access97 always gives me the error > Not Enough Memory > and when i click ok > there is a system error or not enouch memory to run Access > anybody any idea? > BTW, that box has 1Gig of memory, and before i started it had ove 770 Meg > free > thanks > Lembit > > Lembit Soobik > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Sat Jun 21 13:51:24 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 21 Jun 2003 19:51:24 +0100 Subject: [AccessD] OT FrontPage References: <000001c33759$6f0cc230$de1811d8@DanWaters> Message-ID: <000901c33826$20b2b040$e40b6351@martinreid> Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin From davesharpe2 at cox.net Sat Jun 21 14:13:05 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 21 Jun 2003 15:13:05 -0400 Subject: [AccessD] OT FrontPage References: <000001c33759$6f0cc230$de1811d8@DanWaters> <000901c33826$20b2b040$e40b6351@martinreid> Message-ID: <004d01c33829$24f70950$1d270a44@bcs006137> Martin I know nothing about it, but there is a FrontPage group available for FrontPage assistance [ see URL below ] dave http://groups.yahoo.com/group/frontpage/ ----- Original Message ----- From: Martin Reid To: accessd Sent: Saturday, June 21, 2003 2:51 PM Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Sat Jun 21 15:09:03 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 21 Jun 2003 17:09:03 -0300 Subject: [AccessD] OT - Test Message-ID: Test -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From ebarro at afsweb.com Sat Jun 21 15:28:06 2003 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 21 Jun 2003 13:28:06 -0700 Subject: [AccessD] Urgent SQL Server In-Reply-To: <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: Martin, If you're talking about what connection string to use then this might be helpful... ConnectString As String = "Provider=SQLOLEDB.1" _ & ";User ID= userid" _ & ";Password= pwd" _ & ";Initial Catalog= tablename" _ & ";Data Source= IP_Address_of_SQL_Server" SQL server should be set up to listen on port 1433. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Saturday, June 21, 2003 2:56 AM To: accessd Subject: [AccessD] Urgent SQL Server I need to permit Access to My sql server 2000 from a server in the USA. Cant seem to get SQL Server configured correctly. No firewall etc this end but very tight security from the USA server end but they say it dosnt matter. Anyone any ideas re settings from my side to open the server up for internet access. Will be using a mixture of XML and .NET in both directions if that matters. SQL Server must be using Mixed Security. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 From doug at murphyscreativity.com Sat Jun 21 18:11:29 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 21 Jun 2003 16:11:29 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <000901c337db$56a22be0$e40b6351@martinreid> Message-ID: <003201c3384a$72449b20$8500a8c0@CX615377a> List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug From harkins at iglou.com Sat Jun 21 19:15:07 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 21 Jun 2003 20:15:07 -0400 Subject: [AccessD] Subform Errors References: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: <001201c33853$b03a07e0$f2ecffcc@SusanOne> My guess is, you're buying a little calculating time. You may have more calculations than your subform can handle -- seen it happen before when counting records in a really large recordset -- can't count them fast enough, so it returns an error. Any way you can move some of those expressions to the query? Susan H. > > > List, > > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? > > Doug > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From doug at murphyscreativity.com Sat Jun 21 19:54:07 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 21 Jun 2003 17:54:07 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <001201c33853$b03a07e0$f2ecffcc@SusanOne> Message-ID: <000001c33858$c9137940$8500a8c0@CX615377a> Susan, I thought about that, but almost all the action is in the queries now and everything recalculates each time I change records from the record selector combo box on the form. The only thing that is different between the form working and it not working is that when I works I open it first in design view and then switch to form view. If I then select a record using the on-form combobox it works correctly and all numbers are calculated and displayed correctly. I can then select another record and it too is displayed correctly. If I open the main form directly in form view, and then select a record using the combobox I get the error text in the calculated controls. If I then change the misbehaving form to design view and then back to form view it works as above. Something seems to be different about how the form is originally opened. I tried the compile all modules, decompile, compact, and recompile procedure but that didn't make any difference. Weird. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, June 21, 2003 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors My guess is, you're buying a little calculating time. You may have more calculations than your subform can handle -- seen it happen before when counting records in a really large recordset -- can't count them fast enough, so it returns an error. Any way you can move some of those expressions to the query? Susan H. > > > List, > > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? > > Doug > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 21 22:14:41 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 21 Jun 2003 23:14:41 -0400 Subject: [AccessD] Subform Errors References: <000001c33858$c9137940$8500a8c0@CX615377a> Message-ID: <003d01c3386c$975ca340$f2ecffcc@SusanOne> Try adding a Me.Recalc to the form's Load event just in case. Susan H. > Susan, > > I thought about that, but almost all the action is in the queries now > and everything recalculates each time I change records from the record > selector combo box on the form. The only thing that is different > between the form working and it not working is that when I works I open > it first in design view and then switch to form view. If I then select > a record using the on-form combobox it works correctly and all numbers > are calculated and displayed correctly. I can then select another > record and it too is displayed correctly. > > If I open the main form directly in form view, and then select a record > using the combobox I get the error text in the calculated controls. If I > then change the misbehaving form to design view and then back to form > view it works as above. Something seems to be different about how the > form is originally opened. > > I tried the compile all modules, decompile, compact, and recompile > procedure but that didn't make any difference. > > Weird. > > Doug > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, June 21, 2003 5:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Subform Errors > > My guess is, you're buying a little calculating time. You may have more > calculations than your subform can handle -- seen it happen before when > counting records in a really large recordset -- can't count them fast > enough, so it returns an error. Any way you can move some of those > expressions to the query? > > Susan H. > > > > > > > > List, > > > > I have an Access 97 database and am having a problem with a > > form/subform. The main form holds data for the parent record and the > > subform shows data for the child records for the parent; a typical > > design. The subform is based on a semi complex query that has some > > calculations in it that sum some cost fields for each record. There > are > > several hidden calculated text boxes on the subform that perform > further > > data aggregations for several fields from each record. I refer to > these > > fields in controls on the parent form to show their value. Hopefully > > this description isn't too confusing. > > > > The problem is that the forms work correctly when the main form is > first > > opened in design view and then switched to form view. When the form > is > > opened in this fashion and a record selected from a selector combo box > > all fields function and calculate correctly. If the main form is > opened > > directly to form view and a record selected the calculated controls > > contain "error". If I then switch the form to design view and back to > > form view it works correctly. There is very little code behind these > > forms and nothing on a form event except docmd.maximize on form > > activate. This is the first time I have run into this situation. Why > > would the form behave differently based on whether it was first opened > > in design view or directly into form view? > > > > Doug > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Sun Jun 22 02:12:18 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Jun 2003 09:12:18 +0200 Subject: [AccessD] Subform Errors In-Reply-To: <003201c3384a$72449b20$8500a8c0@CX615377a> References: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: <883944381.20030622091218@cactus.dk> Hi Doug > I have an Access 97 database and am having a problem with a > form/subform. The main form holds data for the parent record and the > subform shows data for the child records for the parent; a typical > design. The subform is based on a semi complex query that has some > calculations in it that sum some cost fields for each record. There are > several hidden calculated text boxes on the subform that perform further > data aggregations for several fields from each record. I refer to these > fields in controls on the parent form to show their value. Hopefully > this description isn't too confusing. > The problem is that the forms work correctly when the main form is first > opened in design view and then switched to form view. When the form is > opened in this fashion and a record selected from a selector combo box > all fields function and calculate correctly. If the main form is opened > directly to form view and a record selected the calculated controls > contain "error". If I then switch the form to design view and back to > form view it works correctly. There is very little code behind these > forms and nothing on a form event except docmd.maximize on form > activate. This is the first time I have run into this situation. Why > would the form behave differently based on whether it was first opened > in design view or directly into form view? I think Susan is on the track. And if you dig the archives, Mr. Colby once described something about the opening of a subform - that it happens twice when opening a form with a subform. Once I had a similar problem but that was a speed issue; the controls on the parent were recalced too slow. A "manual" recalculation in the Current event of the parent form solved it. Here's a snip: curSumLine = 0 curSumUsed = 0 ' Set rst = frmSub.RecordsetClone With rst If .RecordCount > 0 Then .MoveFirst Do Until .EOF curSumLine = curSumLine + (!Sold * !Cost) curSumUsed = curSumUsed + !Used .MoveNext Loop End If .Close End With ' Me!txtSumLine = curSumLine Me!txtSumUsed = curSumUsed However, if you update the records of the subform you'll have to have similar code in the subform to recalc the textboxes on the parent form. /gustav From jimdettman at earthlink.net Sun Jun 22 07:33:10 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 22 Jun 2003 08:33:10 -0400 Subject: [AccessD] Subform Errors In-Reply-To: <003201c3384a$72449b20$8500a8c0@CX615377a> Message-ID: Doug, Something else that you need to be aware of: When a subform (or report) returns no records, Error is displayed in all the controls that reference it. It's not clear from your description of the problem if your seeing records or not when you get the Error's Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Saturday, June 21, 2003 7:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] Subform Errors List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Sun Jun 22 10:06:46 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 22 Jun 2003 11:06:46 -0400 Subject: [AccessD] OT: Javascript In-Reply-To: Message-ID: <3EF58DC6.26248.6F8D46@localhost> On 20 Jun 2003 at 11:25, Mitsules, Mark wrote: > Well, I replaced my script with . it > displayed today's date as expected, but I obviously have to wait until > tomorrow to see if it REALLY worked. :( So Mark, Did this work? > Thanks for your help! Glad to help, if it did. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. From doug at murphyscreativity.com Sun Jun 22 13:30:53 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sun, 22 Jun 2003 11:30:53 -0700 Subject: [AccessD] Subform Errors In-Reply-To: Message-ID: <000401c338ec$69b7b3f0$8500a8c0@CX615377a> Hi Jim, There are records. I have been doing the tests on the same data. The only difference in is how I originally open the form, design view and then form view, or directly to form view. I am puzzled by the different behavior in what should be the same thing. I have gotten some ideas from the list to try. If all else fails may have to take Gustav's advice and do it all through calculation in code. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, June 22, 2003 5:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Subform Errors Doug, Something else that you need to be aware of: When a subform (or report) returns no records, Error is displayed in all the controls that reference it. It's not clear from your description of the problem if your seeing records or not when you get the Error's Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Doug Murphy Sent: Saturday, June 21, 2003 7:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] Subform Errors List, I have an Access 97 database and am having a problem with a form/subform. The main form holds data for the parent record and the subform shows data for the child records for the parent; a typical design. The subform is based on a semi complex query that has some calculations in it that sum some cost fields for each record. There are several hidden calculated text boxes on the subform that perform further data aggregations for several fields from each record. I refer to these fields in controls on the parent form to show their value. Hopefully this description isn't too confusing. The problem is that the forms work correctly when the main form is first opened in design view and then switched to form view. When the form is opened in this fashion and a record selected from a selector combo box all fields function and calculate correctly. If the main form is opened directly to form view and a record selected the calculated controls contain "error". If I then switch the form to design view and back to form view it works correctly. There is very little code behind these forms and nothing on a form event except docmd.maximize on form activate. This is the first time I have run into this situation. Why would the form behave differently based on whether it was first opened in design view or directly into form view? Doug _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Jun 22 13:36:36 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 22 Jun 2003 11:36:36 -0700 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP References: <001301c33dac$187eac90$9865fea9@cook> Message-ID: <3EF5F734.40404@shaw.ca> I had problems tracking this down just in case anyone else does, here is url. SP7 is necessary to install prior to installing latest Office 2003 Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you include things like InfoPath. There are different installs for each OS. Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 Refresh http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7-ba4a-6eda4c468b9c&DisplayLang=en From mwp.reid at qub.ac.uk Sun Jun 22 13:49:23 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 22 Jun 2003 19:49:23 +0100 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP References: <001301c33dac$187eac90$9865fea9@cook> <3EF5F734.40404@shaw.ca> Message-ID: <000001c338f1$66374d80$e40b6351@martinreid> PC has been crashing all day as a result of the downloads/ Martin ----- Original Message ----- From: "MartyConnelly" To: Sent: Sunday, June 22, 2003 7:36 PM Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > I had problems tracking this down just in case anyone else does, here is > url. SP7 is necessary to install prior to installing latest Office 2003 > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Sun Jun 22 16:25:17 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Sun, 22 Jun 2003 15:25:17 -0600 Subject: [AccessD] Populate a treeview via Self-SELECT? Message-ID: <410-220036022212517875@christopherhawkins.com> OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- From caa at highway.com.br Sun Jun 22 22:48:52 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Mon, 23 Jun 2003 00:48:52 -0300 Subject: [AccessD] Office Ownership Message-ID: Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From Mark.Mitsules at ngc.com Mon Jun 23 06:49:21 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 23 Jun 2003 07:49:21 -0400 Subject: [AccessD] OT: Javascript Message-ID: Bryan, Yes. Using worked perfectly. Now to update the rest of the pages;) Thanks again, Mark -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Sunday, June 22, 2003 11:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Javascript On 20 Jun 2003 at 11:25, Mitsules, Mark wrote: > Well, I replaced my script with . it > displayed today's date as expected, but I obviously have to wait until > tomorrow to see if it REALLY worked. :( So Mark, Did this work? > Thanks for your help! Glad to help, if it did. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Jun 23 07:23:32 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 23 Jun 2003 08:23:32 -0400 Subject: [AccessD] OT FrontPage Message-ID: Martin, I was under the impression that FrontPage WAS the developer tool. If there are other packages available, I would be interested in learning about them. Mark -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Saturday, June 21, 2003 2:51 PM To: accessd Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Jun 23 07:43:08 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 23 Jun 2003 08:43:08 -0400 Subject: [AccessD] Populate a treeview via Self-SELECT? In-Reply-To: <410-220036022212517875@christopherhawkins.com> Message-ID: <000001c33985$03933b00$3e3c0cd8@hargrove.internal> Picture a spiral staircase in your mind. You are standing on the top step and way down at the bottom is that teeny tiny bottom step that you can barely see. As you walk down the steps, the bottom steps slowly come into focus... First Step: Create a query of all the people who have no one above them. Take a Step: As you add each name to the tree, you will call a function (passing in their EmployeeID) that selects all the people who report directly to them (MasterID = passed in EmployeeID). Continue to Step: As you add each of these names to the tree, you will recursively call that same function to select all the people who report directly to them. The DBA website has a treeview tutorial submitted by Arthur Fuller if you need further help... http://www.databaseadvisors.com/downloads.htm Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Sunday, June 22, 2003 5:25 PM To: accessd at databaseadvisors.com Subject: [AccessD] Populate a treeview via Self-SELECT? OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 23 08:13:31 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 09:13:31 -0400 Subject: [AccessD] Scroll mouse shortcut Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> I just stumbled on this function for a scroll mouse I've not seen written up anywhere so I thought I'd share it FWIW. In IE6 browse to a few pages then hit your Back button (this is just to demo this functionality). Now hold the Shift key down and roll the scroll button on your scroll mouse back and forth. It acts like the Back and Forward buttons. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Mon Jun 23 08:35:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 23 Jun 2003 09:35:54 -0400 Subject: [AccessD] Populate a treeview via Self-SELECT? In-Reply-To: <410-220036022212517875@christopherhawkins.com> Message-ID: Chris, The logic you refer to is typically used in BOM (Bill of Material) explosions. A straight SQL solution is difficult in that you need to know the number of levels before hand. I refer the VBA code approach, which allows for an unlimited number of levels. I have 2 SQL solutions; one by Joe Cleko (sp?) and one by a fellow expert on Experts Exchange with a different SQL approach, and my own VBA example. Although these don't deal specifically with employee's, the logic is the same. If you view the samples as the assembly being the supervisor, and the components as the employees that report to them. Drop me and e-mail off-list and I'll send them along. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Sunday, June 22, 2003 5:25 PM To: accessd at databaseadvisors.com Subject: [AccessD] Populate a treeview via Self-SELECT? OK. Here's what I've got: 1) Access2K database containing an Employee table. 2) The Employee table includes the fields SSN, FirstName, LastName, and ManagerID. 3) My client wants to see a treeview representing the reporting hierarchy of the employees in table Employee. We don't have a fixed number of reporting levels. In theory, the organizational layout could go from having every employee manage one other employee to having only one manager in the entire company to whom everyone else reports. I'm having a real mental block regarding how to populate the treeview. Anyone care to offer a fresh perspective? I've probably been staring at this problem too long to see new alternatives on my own. -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Mon Jun 23 09:30:58 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 15:30:58 +0100 (BST) Subject: [AccessD] OT Urgent Win XP Pro In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F9901764A21@TTNEXCHSRV1.hshhp.com> Message-ID: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin From Jdemarco at hshhp.org Mon Jun 23 09:39:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 10:39:54 -0400 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEF1@TTNEXCHSRV1.hshhp.com> Can you press F4 or F8 and get to the system menu when you boot up? Jim DeMarco -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From EdTesiny at oasas.state.ny.us Mon Jun 23 09:40:03 2003 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 23 Jun 2003 10:40:03 -0400 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: Did you try hitting the "F8" on the reboot which should open Windows in "Safe" mode. Worth a try? Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 23 09:41:30 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 10:41:30 -0400 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> I shouldn't need this for a Win2K install then should I? Thanks, Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Sunday, June 22, 2003 2:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP I had problems tracking this down just in case anyone else does, here is url. SP7 is necessary to install prior to installing latest Office 2003 Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you include things like InfoPath. There are different installs for each OS. Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 Refresh http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7-ba4a-6eda4c468b9c&DisplayLang=en _______________________________________________ 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 Queens-Belfast.AC.UK Mon Jun 23 09:56:28 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 15:56:28 +0100 (BST) Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173EEF3@TTNEXCHSRV1.hshhp.com> Message-ID: <1056380188.3ef7151c35116@hosea.qub.ac.uk> Jim You need to update Jet due to the new Sandbox mode which will cause you problems with expressions and the new macro security stuff. Also impacts on older versions of Access. Martin Quoting Jim DeMarco : > I shouldn't need this for a Win2K install then should I? > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Sunday, June 22, 2003 2:37 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > > > I had problems tracking this down just in case anyone else does, here is > > url. SP7 is necessary to install prior to installing latest Office 2003 > > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each > OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ******************************************************************************** *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** *** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Bryan_Carbonnell at cbc.ca Mon Jun 23 10:10:01 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Mon, 23 Jun 2003 11:10:01 -0400 Subject: [AccessD] OT: Javascript Message-ID: Excelent. Glad to hear it. It's amazing what dumb luck can bring :-)) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Mark.Mitsules at ngc.com 23-Jun-03 7:49:21 AM >>> Bryan, Yes. Using worked perfectly. Now to update the rest of the pages;) From cfoust at infostatsystems.com Mon Jun 23 10:13:46 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Jun 2003 08:13:46 -0700 Subject: [AccessD] Office Ownership Message-ID: -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June 22, 2003 7:49 PM To: AccessD List Subject: [AccessD] Office Ownership Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 23 10:14:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Jun 2003 08:14:51 -0700 Subject: [AccessD] Office Ownership Message-ID: According to the EULA in the USA, it's legal. I wouldn't know about Brazil. Charlotte Foust -----Original Message----- From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June 22, 2003 7:49 PM To: AccessD List Subject: [AccessD] Office Ownership Dear members, I would like to have your opinion on this subject: I own a single license of MS Office 2000 Professional Ed and MS is going to make Office 2003 available soon. Is it legal to buy an upgrade license and install Office 2003 in a different folder (other than the current Microsoft Office 2000) and retain both versions for daily use and Access development??? TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmadridfc1 at hotmail.com Mon Jun 23 10:37:05 2003 From: rmadridfc1 at hotmail.com (Andy Storino) Date: Mon, 23 Jun 2003 11:37:05 -0400 Subject: [AccessD] creating one field from two Message-ID: I am currently working on a database for payroll that involves drawing a known date together with a time, supplied by a user to create a general date field. Is it possible to combine these two fields and if so how? Thanks, Andy _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From Jdemarco at hshhp.org Mon Jun 23 10:42:37 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 23 Jun 2003 11:42:37 -0400 Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EEFA@TTNEXCHSRV1.hshhp.com> Gotcha. Thanks, Jim -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 10:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP Jim You need to update Jet due to the new Sandbox mode which will cause you problems with expressions and the new macro security stuff. Also impacts on older versions of Access. Martin Quoting Jim DeMarco : > I shouldn't need this for a Win2K install then should I? > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Sunday, June 22, 2003 2:37 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Jet Service Pack 7 (SP7) Beta for Windows XP > > > I had problems tracking this down just in case anyone else does, here is > > url. SP7 is necessary to install prior to installing latest Office 2003 > > Beta 2 (Refresh) or really Beta 3 since it is nearly 300MB if you > include things like InfoPath. There are different installs for each > OS. > > Jet 4.0 Service Pack 7 (SP7) Beta for Windows XP for Access 2003 Beta 2 > > Refresh > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6610e71e-caf4-43f7- ba4a-6eda4c468b9c&DisplayLang=en > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ******************************************************************************** *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** *** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Mon Jun 23 10:51:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 23 Jun 2003 17:51:41 +0200 Subject: [AccessD] creating one field from two In-Reply-To: References: Message-ID: <18534891040.20030623175141@cactus.dk> Hi Andy Look up in the archives a suggestion for this under the subject: Re: [AccessD] Enter a time and date for a payroll For two textboxes, change this line datDateTime = Date + CDate([txtYourTextbox]) to datDateTime = CDate([txtDateTextbox]) + CDate([txtTimeTextbox]) /gustav > I am currently working on a database for payroll that > involves drawing a known date together with a time, supplied by a user to > create a general date field. Is it possible to combine these two fields and > if so how? Thanks, From Mwp.Reid at Queens-Belfast.AC.UK Mon Jun 23 11:54:49 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 23 Jun 2003 17:54:49 +0100 (BST) Subject: [AccessD] Access 2003 Beta In-Reply-To: <18534891040.20030623175141@cactus.dk> References: <18534891040.20030623175141@cactus.dk> Message-ID: <1056387289.3ef730d98c992@hosea.qub.ac.uk> Anyone have any major problems following the install of the Tech Refresh i.e Beta 3? Martin From kaupca at chevrontexaco.com Mon Jun 23 14:45:12 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 23 Jun 2003 14:45:12 -0500 Subject: [AccessD] Invalid Operation - Query Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3DAA@bocnte2k4.boc.chevrontexaco.net> When I try to run the attached SQL I get a message of invalid operation. This query basically sums together 6 queries that each sum up some daily data. Any thoughts as to why the error? SELECT Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS AS [Total Gas] FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE = Halley_Emp.ACTVDATE) I NNER JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) INNER JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE) INNER JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) INNER JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE GROUP BY Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!Su mOfVOLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwin k Fld]!SumOfVOLUME_SS ORDER BY Gomez_Fld.ACTVDATE; No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Jun 23 15:23:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 23 Jun 2003 15:23:52 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E8F@main2.marlow.com> What are you trying to do? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Saturday, June 21, 2003 1:51 PM To: accessd Subject: [AccessD] OT FrontPage Where Office Developer Tools on the lines of those for Access ever available for FrontPage?? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 23 15:33:54 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Jun 2003 13:33:54 -0700 Subject: [AccessD] Access 2003 Beta References: <18534891040.20030623175141@cactus.dk> <1056387289.3ef730d98c992@hosea.qub.ac.uk> Message-ID: <3EF76432.4060708@shaw.ca> I had none but only installed the Office Beta refresh section not FrontPage etc.Although this new single Office refresh install also adds Publisher and InfoPath. I saw some complaints about FrontPage causing crashes if it asked for an Activation Key, solution was to remove and do total reinstall of entire beta. Refresh shouldn't ask for activation key. I see they have changed the deactivation date to Jan 31 2004 from Nov 30th 2003 I just noticed that to deploy Access 2003 Runtimes, you may need to have Visual Studio Net 2003 and thus have IIS installed so you would need WinXP Pro. It appears to deploy in .MSI file format. The Property Scanner Add-In looks interesting to find object name occurances. Visual Studio .NET and Office Development http://msdn.microsoft.com/vstudio/office/ download the visual studio tools for Office Beta Access 2003 Developer Extensions Overview http://www.microsoft.com/office/preview/editions/accessdav.asp Package Wizard Access 2003 Developer Extensions include the Package Wizard that helps developers create professional setup routines for Access solutions. The wizard will automatically include the Access runtime files, if selected, along with the Access solution files that make up the solution. The resulting setup uses the Microsoft Windows?-standard Windows Installer (MSI) for the installation routine and will automatically create shortcuts for the solution that use the appropriate Access EXE in cases where two different versions of Access are installed. Mwp.Reid at Queens-Belfast.AC.UK wrote: >Anyone have any major problems following the install of the Tech Refresh i.e >Beta 3? > >Martin >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Mon Jun 23 15:46:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 23 Jun 2003 15:46:06 -0500 Subject: [AccessD] OT Urgent Win XP Pro Message-ID: <2F8793082E00D4119A1700B0D0216BF802226E90@main2.marlow.com> If you have a Windows 2000 CD on hand, you're in luck. Just put it in, boot from CD, and go to the recovery console. You'll need to use the SET command to be able to copy files to a floppy. Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Monday, June 23, 2003 9:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Mon Jun 23 17:22:54 2003 From: greggs at msn.com (Gregg Steinbrenner) Date: Mon, 23 Jun 2003 17:22:54 -0500 Subject: [AccessD] Subform in Datasheet View resets filters In-Reply-To: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Message-ID: When I have a form in datasheet view and reduce the data with right click filters and sorts, I can print the form and get the results I see on the screen. If I put that form into another form (making it a subform) and do the same, my filters are removed before printing. Is there some way to prevent that? Gregg Steinbrenner From doug at murphyscreativity.com Mon Jun 23 17:58:40 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Mon, 23 Jun 2003 15:58:40 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <003d01c3386c$975ca340$f2ecffcc@SusanOne> Message-ID: <000001c339da$fd30e680$8500a8c0@CX615377a> Hi Susan, The recalc worked. Thank you. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, June 21, 2003 8:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors Try adding a Me.Recalc to the form's Load event just in case. Susan H. > Susan, > > I thought about that, but almost all the action is in the queries now > and everything recalculates each time I change records from the record > selector combo box on the form. The only thing that is different > between the form working and it not working is that when I works I open > it first in design view and then switch to form view. If I then select > a record using the on-form combobox it works correctly and all numbers > are calculated and displayed correctly. I can then select another > record and it too is displayed correctly. > > If I open the main form directly in form view, and then select a record > using the combobox I get the error text in the calculated controls. If I > then change the misbehaving form to design view and then back to form > view it works as above. Something seems to be different about how the > form is originally opened. > > I tried the compile all modules, decompile, compact, and recompile > procedure but that didn't make any difference. > > Weird. > > Doug > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, June 21, 2003 5:15 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Subform Errors > > My guess is, you're buying a little calculating time. You may have more > calculations than your subform can handle -- seen it happen before when > counting records in a really large recordset -- can't count them fast > enough, so it returns an error. Any way you can move some of those > expressions to the query? > > Susan H. > > > > > > > > List, > > > > I have an Access 97 database and am having a problem with a > > form/subform. The main form holds data for the parent record and the > > subform shows data for the child records for the parent; a typical > > design. The subform is based on a semi complex query that has some > > calculations in it that sum some cost fields for each record. There > are > > several hidden calculated text boxes on the subform that perform > further > > data aggregations for several fields from each record. I refer to > these > > fields in controls on the parent form to show their value. Hopefully > > this description isn't too confusing. > > > > The problem is that the forms work correctly when the main form is > first > > opened in design view and then switched to form view. When the form > is > > opened in this fashion and a record selected from a selector combo box > > all fields function and calculate correctly. If the main form is > opened > > directly to form view and a record selected the calculated controls > > contain "error". If I then switch the form to design view and back to > > form view it works correctly. There is very little code behind these > > forms and nothing on a form event except docmd.maximize on form > > activate. This is the first time I have run into this situation. Why > > would the form behave differently based on whether it was first opened > > in design view or directly into form view? > > > > Doug > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 23 18:16:32 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 23 Jun 2003 19:16:32 -0400 Subject: [AccessD] Subform Errors References: <000001c339da$fd30e680$8500a8c0@CX615377a> Message-ID: <006801c339dd$7e15f630$d6ecffcc@SusanOne> Glad it worked -- isn't it great when the easy solutions work? :) Susan H. > Hi Susan, > > The recalc worked. > > Thank you. From accessd at shaw.ca Mon Jun 23 19:40:39 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 23 Jun 2003 17:40:39 -0700 Subject: [AccessD] OT Urgent Win XP Pro In-Reply-To: <1056378658.3ef70f22b93a5@hosea.qub.ac.uk> Message-ID: Hi Martin: I have a file, about 5 MB zipped, that expands into a 5 floppy disk boot set, from Microsoft. If you can expand the zip, run the resultant executable, it will prompt for disks. When completed, boot from the first disk and you can reach set of tools that will repair your disk. I have brought back some pretty munched XP drives using this product. If you wish I can send it to you off-line. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of mwp.reid at queens-belfast.ac.uk Sent: Monday, June 23, 2003 7:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Urgent Win XP Pro Apologies but I in in a deep hole I installed the Beta 3 of Office, plus FrontPage 2003 and Viso 2003. System started behaving badly and now it will not boot at all. I need ONE docuemnt off the hard drive. I get as far as the Win XP Pro screen then it seems to hand or just simply reboot. ANyone know how can simply boot to a dos prompt. I know this can be done as I have done it before but cant rememebr how. Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 23 21:53:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 23 Jun 2003 22:53:08 -0400 Subject: [AccessD] MSN 6.0 Message-ID: Any pros or cons to the new 6.0? It looks like pure fluff to me. John W. Colby www.colbyconsulting.com From jjwrite at earthlink.net Mon Jun 23 22:50:50 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Mon, 23 Jun 2003 23:50:50 -0400 Subject: [AccessD] Report Layout Message-ID: <412003622435050350@earthlink.net> An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Jun 23 23:05:54 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jun 2003 14:05:54 +1000 Subject: [AccessD] Report Layout In-Reply-To: <412003622435050350@earthlink.net> Message-ID: <3EF85AC2.5281.166A206@localhost> On 23 Jun 2003 at 23:50, Judy Johnson wrote: > > > I'm working in Access 97 and am stumped - > I need to force a new line in some concatenated output on a report. > I've tried chr(10) and chr(13) and all I get on the report are > littlesquares wherever the chr() was in the string - and my text > contines as a long, word wrapped string. > You need both of the above, in the correct order. Either use "Chr$(13) & Chr$(10)" or the built in constant vbCRLF > I have an unbound text field on the report (txtActivity). The text > I'm trying to enter is working fine, except no line breaks. > > Thanks. > Judy -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Mon Jun 23 23:08:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 23 Jun 2003 21:08:00 -0700 Subject: [AccessD] Time in milliseconds Message-ID: <006101c33a06$338fc220$6501a8c0@HAL9002> Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Jun 23 23:37:24 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Jun 2003 21:37:24 -0700 Subject: [AccessD] MSN 6.0 References: Message-ID: <3EF7D584.9080402@shaw.ca> Well the video chat might be interesting. John Colby wrote: >Any pros or cons to the new 6.0? It looks like pure fluff to me. > >John W. Colby >www.colbyconsulting.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Tue Jun 24 00:21:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jun 2003 15:21:03 +1000 Subject: [AccessD] Time in milliseconds In-Reply-To: <006101c33a06$338fc220$6501a8c0@HAL9002> Message-ID: <3EF86C5F.4876.3C3639@localhost> On 23 Jun 2003 at 21:08, Rocky Smolin - Beach Access S wrote: > Dear List: > > Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. > Short answer - Yes. Slightly longer answer - Yes but you can't use the built in formatting functions. Long answer - It depends on exactly what you are trying to do. Store: Dates and Times are actually stored as doubles with the time as the fractional part so times can certainly be stored to far greater accuracy than seconds. Display: To display fractional seconds within a date/time format, you will need to roll your own formatting function since there is no decimal seconds formatting character. If you just want to display a number of seconds, use a numeric variable for the number of seconds, then you can format it to any precision you want ( or again roll your own format by working in seconds and calcuating hours,minutes etc as required) Measure: If you are trying to time events of a reasonable duration. use the TIMER() function . It returns a double representing the number of "ticks" elapsed sinced midnight. A tick is approximately 1/18th sec. For higher resolution, use the GetTickCOunt() API function which *nominally* returns the number of milliseconds since the system started. The actual resolution is dependant on the particular system, you can determine what it is using the GetSystemTimeAdjustment() API call, but it's normally good to about 1/100th sec If you are timing short durations and need even high accuracy, you can use the high-resolution performance counter (if your machine has one) and get possibly better than millisecond and maybe even close to microsecond accuracy (let me know if you want a copy of an ElapsedMicroSeconds() function which uses the hrpc API calls. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From my.lists at verizon.net Tue Jun 24 02:24:46 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Tue, 24 Jun 2003 00:24:46 -0700 Subject: [AccessD] MSN 6.0 References: <3EF7D584.9080402@shaw.ca> Message-ID: <033901c33a21$b0823180$fd512304@amd2k> here's a con you might want to swallow, it currently takes an average of about 10-12 megs just to have MSN messenger 5.0 running on your Windows 2K box. Upgrading to MSN Messenger 6.0 you will now spend 40-42 megs of availalbe ram on chatting over the net. I tried it and found that besides a few neat icons, I really don't care much for the flashy backgrounds, tho I like that you can have your own pic on there (even w/o the webcam). but at 40megs just to run, I found myself going back to MSN 5 because of it. I don't have a weak system by far, I have 1GB of DDR ram on my pc running win2k. but I also develop on SqlServer right here on this box so I like to keep the memory clean, that w/ a front end of Access, and a vb session going for tests and other things I normally have well over 20 items open bringing my available ram down to something about 200-400 megs in general. so I say no thank you MS, I'll pass on the bloat for today. -Francisco http://rcm.netfirms.com/ On Monday, June 23, 2003 9:37 PM [GMT -8], MartyConnelly wrote: : Well the video chat might be interesting. : : John Colby wrote: : :: Any pros or cons to the new 6.0? It looks like pure fluff to me. :: :: John W. Colby :: www.colbyconsulting.com From roz.clarke at donnslaw.co.uk Tue Jun 24 03:04:33 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 24 Jun 2003 09:04:33 +0100 Subject: [AccessD] Invalid Operation - Query Message-ID: <61F915314798D311A2F800A0C9C83188047C5F24@dibble.observatory.donnslaw.co.uk> Hi It may simply be too complex - I have recently seen this error a couple of times when running queries based on other queries - switching some or all of the queries from select statements to make-tables and running the meta-query on the tables instead solved the problem. HTH Roz -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: 23 June 2003 20:45 To: accessd at databaseadvisors.com Subject: [AccessD] Invalid Operation - Query When I try to run the attached SQL I get a message of invalid operation. This query basically sums together 6 queries that each sum up some daily data. Any thoughts as to why the error? SELECT Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfV OLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink Fld]!SumOfVOLUME_SS AS [Total Gas] FROM ((((Gomez_Fld INNER JOIN Halley_Emp ON Gomez_Fld.ACTVDATE = Halley_Emp.ACTVDATE) I NNER JOIN Other_FortStockton ON Gomez_Fld.ACTVDATE = Other_FortStockton.ACTVDATE) INNER JOIN Waha_Fld ON Gomez_Fld.ACTVDATE = Waha_Fld.ACTVDATE) INNER JOIN [Warwink Fld] ON Gomez_Fld.ACTVDATE = [Warwink Fld].ACTVDATE) INNER JOIN Puckettl_Fld ON Gomez_Fld.ACTVDATE = Puckettl_Fld.ACTVDATE GROUP BY Gomez_Fld.ACTVDATE, Gomez_Fld!SumOfVOLUME_SS+Halley_Emp!SumOfVOLUME_SS+Other_FortStockton!SumOfV OLUME_SS+Puckettl_Fld!SumOfVOLUME_SS+Waha_Fld!SumOfVOLUME_SS+[Warwink Fld]!SumOfVOLUME_SS ORDER BY Gomez_Fld.ACTVDATE; No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 24 04:04:42 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Jun 2003 10:04:42 +0100 Subject: [AccessD] OT FrontPage References: <2F8793082E00D4119A1700B0D0216BF802226E8F@main2.marlow.com> Message-ID: <001501c33a2f$a62348b0$9111758f@aine> Set security on individual web pages ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, June 23, 2003 9:23 PM Subject: RE: [AccessD] OT FrontPage > What are you trying to do? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Saturday, June 21, 2003 1:51 PM > To: accessd > Subject: [AccessD] OT FrontPage > > > Where Office Developer Tools on the lines of those for Access ever available > for FrontPage?? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Tue Jun 24 06:09:21 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 24 Jun 2003 07:09:21 -0400 Subject: [AccessD] Report Layout Message-ID: <916187228923D311A6FE00A0CC3FAA30527A14@ADGSERVER> And if this does not work, then you might want to try and build the string with the vbCRLF or Chr$(13) & Chr$(10) combo then put that into the textbox. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Tuesday, June 24, 2003 12:06 AM To: Judy Johnson; accessd at databaseadvisors.com Subject: Re: [AccessD] Report Layout On 23 Jun 2003 at 23:50, Judy Johnson wrote: > > > I'm working in Access 97 and am stumped - > I need to force a new line in some concatenated output on a report. > I've tried chr(10) and chr(13) and all I get on the report are > littlesquares wherever the chr() was in the string - and my text > contines as a long, word wrapped string. > You need both of the above, in the correct order. Either use "Chr$(13) & Chr$(10)" or the built in constant vbCRLF > I have an unbound text field on the report (txtActivity). The text > I'm trying to enter is working fine, except no line breaks. > > Thanks. > Judy -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 24 07:25:18 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 24 Jun 2003 08:25:18 -0400 Subject: [AccessD] Report Layout In-Reply-To: <412003622435050350@earthlink.net> Message-ID: Judy, Is this within a control or are you saying that you want a blank line on the report between details sections? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Judy Johnson Sent: Monday, June 23, 2003 11:51 PM To: AccessD Subject: [AccessD] Report Layout I'm working in Access 97 and am stumped - I need to force a new line in some concatenated output on a report. I've tried chr(10) and chr(13) and all I get on the report are little squares wherever the chr() was in the string - and my text contines as a long, word wrapped string. I have an unbound text field on the report (txtActivity). The text I'm trying to enter is working fine, except no line breaks. Thanks. Judy -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.broesdorf at web.de Tue Jun 24 08:55:34 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 15:55:34 +0200 Subject: [AccessD] How to find out wether a form has been minimized In-Reply-To: Message-ID: Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Tue Jun 24 09:10:29 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 24 Jun 2003 09:10:29 -0500 Subject: [AccessD] How to find out wether a form has been minimized Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C7FF@TAPPEEXCH01> Michael, Include this code in your form's module: Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As Long Private Sub Form_Resize() If IsIconic(Me.hwnd) <> 0 Then MsgBox "Minimized" Else MsgBox "Not minimized" End If End Sub -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 24, 2003 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to find out wether a form has been minimized Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.broesdorf at web.de Tue Jun 24 09:22:06 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 16:22:06 +0200 Subject: AW: [AccessD] How to find out wether a form has been minimized In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C7FF@TAPPEEXCH01> Message-ID: Thank you - just what I was looking for :-) Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Brett Barabash Gesendet: Dienstag, 24. Juni 2003 16:10 An: 'accessd at databaseadvisors.com' Betreff: RE: [AccessD] How to find out wether a form has been minimized Michael, Include this code in your form's module: Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As Long Private Sub Form_Resize() If IsIconic(Me.hwnd) <> 0 Then MsgBox "Minimized" Else MsgBox "Not minimized" End If End Sub -----Original Message----- From: Michael Br?sdorf [mailto:michael.broesdorf at web.de] Sent: Tuesday, June 24, 2003 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to find out wether a form has been minimized Dear group, is it possible to find out wether a form has been minimized in the OnResize-Event of that form(something like Me.WindowState=acMinimized)? TIA, Michael -------------------------------------------------------------------------- ------------------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rich_Lavsa at pghcorning.com Tue Jun 24 09:30:27 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 24 Jun 2003 10:30:27 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <833956F5C117124A89417638FDB11290EBCED2@goexchange.pghcorning.com> Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Tue Jun 24 09:34:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 16:34:43 +0200 Subject: [AccessD] Microsoft's Web Matrix reloaded Message-ID: <16631830359.20030624163443@cactus.dk> Hi all Just noticed this which might be of interest for some: http://www.adtmag.com/article.asp?id=7849 /gustav From rusty.hammond at cpiqpc.com Tue Jun 24 09:47:51 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Tue, 24 Jun 2003 09:47:51 -0500 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305DF2@cpixchng-1.cpiqpc.net> On my win2k machine, if I go to Control Panel, then System, then click on the Hardware tab, then the Device Manager button, expand the System Devices item and scroll down until I find System Speaker. You can righ click on System Speaker and there should be an option to disable it. HTH Rusty -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 9:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Tue Jun 24 09:46:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 10:46:51 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: On my Win2k machine, if you dbl-click the volume control in the systray, Options/Properties allows you to choose a multitude of audio components to control. One of these options should be "PC Speaker". You should be able to mute this control. HTH, Mark -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 10:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich From Rich_Lavsa at pghcorning.com Tue Jun 24 09:59:03 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 24 Jun 2003 10:59:03 -0400 Subject: [AccessD] OT: Compaq Evo Internal Speaker Message-ID: <833956F5C117124A89417638FDB11290EBCED4@goexchange.pghcorning.com> I've already been in the BIOS... NOTHING.... I tried the system speaker that Rusty has tried previous to my original post as well... NOTHING and the volume control "PC Speaker" Does not exist.... even under Advanced Options.... However I did find a way around it... if you plug your ear phones into the jack that you are supposed to plug external speakers into it automatically turns off the internal speaker... it would've been nice to find that in some documentation somewhere... anyway, thanks for the input... later, Rich -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Tuesday, June 24, 2003 10:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Compaq Evo Internal Speaker On my win2k machine, if I go to Control Panel, then System, then click on the Hardware tab, then the Device Manager button, expand the System Devices item and scroll down until I find System Speaker. You can righ click on System Speaker and there should be an option to disable it. HTH Rusty -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Tuesday, June 24, 2003 9:30 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] OT: Compaq Evo Internal Speaker Hello all, Sorry about the OT but I'm running out of places to turn. I have Compaq Evo 1.5mhz computer at work running Win 2k. The company got involved in online training that has sound incorporated, however do not want to bother any surrounding patrons, so I figure I'd plug my headphones into the Headphone jack in the front, and turn the speaker off so that no one could hear and I could turn it up a little. Well Guess What.. you can't turn the freegin internal speaker off, its always on.. at least I can't find it.. I am hoping someone out there has an EVO and could tell me if there is a way to turn this internal speaker off. I even opened the case, you can't even unplug the stupid thing. YET another reason to hate Compaq in my book.. thanks, Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjwrite at earthlink.net Tue Jun 24 10:13:34 2003 From: jjwrite at earthlink.net (Judy Johnson) Date: Tue, 24 Jun 2003 11:13:34 -0400 Subject: [AccessD] Report Layout Message-ID: <4120036224151334940@earthlink.net> An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Tue Jun 24 10:32:32 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Jun 2003 16:32:32 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> Message-ID: <00fc01c33a65$d463e410$9111758f@aine> Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Jun 24 10:58:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 10:58:42 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> Ad hoc security, like a login page done in HTML, or IIS security, where the user is prompted with a dialog box? Drew -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, June 24, 2003 4:05 AM To: accessd Subject: Re: [AccessD] OT FrontPage Set security on individual web pages ----- Original Message ----- From: "Drew Wutka" To: Sent: Monday, June 23, 2003 9:23 PM Subject: RE: [AccessD] OT FrontPage > What are you trying to do? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Saturday, June 21, 2003 1:51 PM > To: accessd > Subject: [AccessD] OT FrontPage > > > Where Office Developer Tools on the lines of those for Access ever available > for FrontPage?? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 24 11:10:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Jun 2003 09:10:18 -0700 Subject: [AccessD] MSN 6.0 Message-ID: In my opinion MSN is *all* fluff, regardless of version. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 23, 2003 6:53 PM To: AccessD Subject: [AccessD] MSN 6.0 Any pros or cons to the new 6.0? It looks like pure fluff to me. 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 doug at murphyscreativity.com Tue Jun 24 11:20:39 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Tue, 24 Jun 2003 09:20:39 -0700 Subject: [AccessD] Subform Errors In-Reply-To: <006801c339dd$7e15f630$d6ecffcc@SusanOne> Message-ID: <005201c33a6c$8d17c4d0$8500a8c0@CX615377a> Simple is good. Douglas Murphy Murphy's Creativity (619) 334-5121 doug at murphyscreativity.com www.murphyscreativity.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, June 23, 2003 4:17 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Subform Errors Glad it worked -- isn't it great when the easy solutions work? :) Susan H. > Hi Susan, > > The recalc worked. > > Thank you. _______________________________________________ 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 Tue Jun 24 11:53:13 2003 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 24 Jun 2003 10:53:13 -0600 Subject: [AccessD] Unique Record Pull Message-ID: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> Hello All, I have run into a little snag on the project I am working on. I have a linked table from Oracle that contains records that have not passed a verify process because they have something wrong with them in one of the fields, in other words it does not meet the criteria. Each record has a unique ID number and the same person can be repeated many times. For example one person can have multiple records in the table with a different ID number but the same SSN number, last Name and First Name. Here is where I have run into a snag, I want to be able to only pull from the table one of these records for each SSN and I need it to show the ID number of this record and display this set of records in a form for the user to be able to scroll through. Any suggestions? Thanks, Mike Gowey, MCP Technical Support Analyst SRCI ISSD Team Leader From harkins at iglou.com Tue Jun 24 11:54:59 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 24 Jun 2003 12:54:59 -0400 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <026501c33a71$66bcf1c0$164afccc@SusanOne> Martin, does this really have to be a "table" -- could you work with a report or form that looks like a table? I mean, are you really going to be storing the data in this format or do you just have some folks that want to see the data in this particular format? Susan H. ----- Original Message ----- From: Martin Reid To: accessd Sent: Tuesday, June 24, 2003 11:32 AM Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:06:46 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:06:46 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <026501c33a71$66bcf1c0$164afccc@SusanOne> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <026501c33a71$66bcf1c0$164afccc@SusanOne> Message-ID: <1056474406.3ef8852628a5f@hosea.qub.ac.uk> has to be a table. We are linkinginto a Hunam Resource system and building a security system. Martin Quoting Susan Harkins : > Martin, does this really have to be a "table" -- could you work with a > report or form that looks like a table? I mean, are you really going to > be storing the data in this format or do you just have some folks that > want to see the data in this particular format? > > Susan H. > ----- Original Message ----- > From: Martin Reid > To: accessd > Sent: Tuesday, June 24, 2003 11:32 AM > Subject: [AccessD] SQL Question > > > Have two tables > > Table A Contains staff data, Name etc > Table B contains contact data > > Results of join as expected > > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > > And so on > > What I need to do is to flatten this out and create a single table > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > 3 etc > Staff Member B Phone Number 1 Phone Number 2 > > We dont knwo how many numbers will exist for each member of staff but > the Max will be 5 and I must end up with a single table containing the > data. > > Need this to work in Access and SQL Server 2000 > > Martin > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:08:45 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:08:45 +0100 (BST) Subject: [AccessD] OT FrontPage In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802226F1A@main2.marlow.com> Message-ID: <1056474525.3ef8859dd625d@hosea.qub.ac.uk> I was looking for any options built into FP that would do this. But dont think there are any. Martin Quoting Drew Wutka : > Ad hoc security, like a login page done in HTML, or IIS security, where > the > user is prompted with a dialog box? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, June 24, 2003 4:05 AM > To: accessd > Subject: Re: [AccessD] OT FrontPage > > > Set security on individual web pages > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, June 23, 2003 9:23 PM > Subject: RE: [AccessD] OT FrontPage > > > > What are you trying to do? > > > > Drew > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Saturday, June 21, 2003 1:51 PM > > To: accessd > > Subject: [AccessD] OT FrontPage > > > > > > Where Office Developer Tools on the lines of those for Access ever > available > > for FrontPage?? > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Tue Jun 24 12:13:51 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 13:13:51 -0400 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark From gustav at cactus.dk Tue Jun 24 12:25:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 19:25:07 +0200 Subject: [AccessD] SQL Question In-Reply-To: <00fc01c33a65$d463e410$9111758f@aine> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <4742053900.20030624192507@cactus.dk> Hi Martin > Have two tables > Table A Contains staff data, Name etc > Table B contains contact data > Results of join as expected > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > And so on > What I need to do is to flatten this out and create a single table > Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc > Staff Member B Phone Number 1 Phone Number 2 > We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. > Need this to work in Access and SQL Server 2000 For Access you'll have to write a function which for each Staff record loops through the Contact records. Here's an example of the essential part (taken from a report, thus you'll have to modify it for writing/updating a table but you'll sure get the picture). The ID is lngID: strSQL = vbNullString strSQL = strSQL + "SELECT Phone " strSQL = strSQL + "FROM tblContacts " strSQL = strSQL + "WHERE (ID = " & lngID & ") " strSQL = strSQL + "ORDER BY Phone;" Set rst = dbs.OpenRecordset(strSQL) If rst.RecordCount = 0 Then ' Should not happen. Else ' Count records. lngRecords = rst.RecordCount rst.MoveFirst If lngRecords = 1 Then strPhone = "Telephone number: " Else strPhone = "Telephone numbers: " End If For lngLoop = 1 To lngRecords ' Build line with phone numbers. strPhone = strPhone & rst!Phone If lngLoop = lngRecords Then strPhone = strPhone & "." Else strPhone = strPhone & ", " End If rst.MoveNext Next lngLoop End If rst.Close Set rst = Nothing Set dbs = Nothing strPhoneNumbers = strPhone From BBarabash at TappeConstruction.com Tue Jun 24 12:29:36 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 24 Jun 2003 12:29:36 -0500 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C809@TAPPEEXCH01> Dim lngCtr As Long For lngCtr = 1 To 10 Me("Label" & lngCtr).Caption = "Hello, World!" Next lngCtr -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, June 24, 2003 12:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jcolby at colbyconsulting.com Tue Jun 24 12:30:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 24 Jun 2003 13:30:02 -0400 Subject: [AccessD] Control Naming Conventions - Looping In-Reply-To: Message-ID: form!controls("label" & intLblNo) where intLblNo is the variable you are sequencing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Tuesday, June 24, 2003 1:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jun 24 12:32:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 19:32:09 +0200 Subject: [AccessD] Unique Record Pull In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> References: <05EBB8A3BEB95B4F8216BE4EF4860778010773@srciml1.ds.doc.state.or.us> Message-ID: <12842475967.20030624193209@cactus.dk> Hi Gowey If you need to edit/delete those pulled records, you'll probably have to fill a table with the unique records and then use a form bound to these and with a linked subform bound to the multiple records. Don't forget to disable deletion of records from the subform when recordcount reaches one. /gustav > I have run into a little snag on the project I am working on. I have a > linked table from Oracle that contains records that have not passed a > verify process because they have something wrong with them in one of the > fields, in other words it does not meet the criteria. > Each record has a unique ID number and the same person can be repeated > many times. For example one person can have multiple records in the > table with a different ID number but the same SSN number, last Name and > First Name. > Here is where I have run into a snag, I want to be able to only pull > from the table one of these records for each SSN and I need it to show > the ID number of this record and display this set of records in a form > for the user to be able to scroll through. From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 12:36:08 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 18:36:08 +0100 (BST) Subject: [AccessD] OT Win XP Pro In-Reply-To: References: Message-ID: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin From Lambert.Heenan at AIG.com Tue Jun 24 12:39:46 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 24 Jun 2003 13:39:46 -0400 Subject: [AccessD] SQL Question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> Well to get the data laid out the way you suggest should only need a simple Cross Tab query, but (like everyone else) I have to ask "Why?" It looks like your two source tables have nicely normalized the data, but now you (or whoever is doing this HR thing) want to un-normalize it. Also, why does the act of linking to another system require that you build this un-normalized table / query to work with it??? Lambert > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, June 24, 2003 1:07 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] SQL Question > > has to be a table. We are linkinginto a Hunam Resource system and building > a > security system. > > Martin > > Quoting Susan Harkins : > > > Martin, does this really have to be a "table" -- could you work with a > > report or form that looks like a table? I mean, are you really going to > > be storing the data in this format or do you just have some folks that > > want to see the data in this particular format? > > > > Susan H. > > ----- Original Message ----- > > From: Martin Reid > > To: accessd > > Sent: Tuesday, June 24, 2003 11:32 AM > > Subject: [AccessD] SQL Question > > > > > > Have two tables > > > > Table A Contains staff data, Name etc > > Table B contains contact data > > > > Results of join as expected > > > > Staff Member A Telephone Number 1 > > Staff Member A Telephone Number 2 > > Staff Member A Telephone Number 3 > > > > And so on > > > > What I need to do is to flatten this out and create a single table > > > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > > 3 etc > > Staff Member B Phone Number 1 Phone Number 2 > > > > We dont knwo how many numbers will exist for each member of staff but > > the Max will be 5 and I must end up with a single table containing the > > data. > > > > Need this to work in Access and SQL Server 2000 > > > > Martin > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > ---- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Jun 24 12:39:16 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 24 Jun 2003 18:39:16 +0100 Subject: [AccessD] Control Naming Conventions - Looping In-Reply-To: Message-ID: <007101c33a77$8902fee0$b274d0d5@andypc> Yes Mark me("Label" & intX) Just loop incrementing the variable Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mitsules, Mark > Sent: 24 June 2003 18:14 > To: 'AccessD' > Subject: [AccessD] Control Naming Conventions - Looping > > > Group, > > Please don't ask why...but if I use the default naming scheme > for labels (Label1,Label2,Label3,etc.), is there a syntax > available that allows looping through those controls using a > variable in that numerical sequence? > > Thanks, > > > Mark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From ebarro at afsweb.com Tue Jun 24 12:43:56 2003 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 24 Jun 2003 10:43:56 -0700 Subject: [AccessD] SQL Question In-Reply-To: <00fc01c33a65$d463e410$9111758f@aine> Message-ID: Martin, Create a recordset for the resulting join and then use the rs.Fields.Append operation on a new recordset to pull in the values from the resulting join. Put a trap to recognize if the Staff Member name has changed and also a trap to recognize phone1, phone2 etc... and create the new field names for each phone number this way. When you're done write the recordset to the new table with the data gathered. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Tuesday, June 24, 2003 8:33 AM To: accessd Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Tue Jun 24 12:42:13 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 24 Jun 2003 13:42:13 -0400 Subject: [AccessD] Control Naming Conventions - Looping Message-ID: Thank you Brett/John, For the life of me I kept trying all the wrong approaches. The parens were the pieces I was missing. That, and I was also placing an extra period after "Me". < Me("Label" & lngCtr).Caption Thanks again, Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Tuesday, June 24, 2003 1:30 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Control Naming Conventions - Looping Dim lngCtr As Long For lngCtr = 1 To 10 Me("Label" & lngCtr).Caption = "Hello, World!" Next lngCtr -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, June 24, 2003 12:14 PM To: 'AccessD' Subject: [AccessD] Control Naming Conventions - Looping Group, Please don't ask why...but if I use the default naming scheme for labels (Label1,Label2,Label3,etc.), is there a syntax available that allows looping through those controls using a variable in that numerical sequence? Thanks, Mark ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Jun 24 12:42:58 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 24 Jun 2003 13:42:58 -0400 Subject: [AccessD] OT Win XP Pro Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B8@xlivmbx12.aig.com> Not using XP Pro, but the Win 2000 Pro CD is bootable and with it you can partition the drive. Does XP Pro not do that too? Also, is it really looking at the floppy, or is the HD the first boot drive, and that's where the 'Non System Disk' message is coming from? IOW - first stop at the BIOS to see what the boot devices are and what order they come in. > -----Original Message----- > From: Mwp.Reid at Queens-Belfast.AC.UK [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > Sent: Tuesday, June 24, 2003 1:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT Win XP Pro > > Drew > > > XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC > will > not bbot fromteh FDD. Keeps coming up with Non System Disk etc > > Any ideas? > > Martin > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 13:24:18 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 19:24:18 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> References: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B7@xlivmbx12.aig.com> Message-ID: <1056479058.3ef8975231512@hosea.qub.ac.uk> We have no control over the source and thats the way it is. We are bulding an SQL database to work with Windows security. We have to get our data into a single table. One of those jobs that just has to be done the way the security guys want it. Martin Quoting "Heenan, Lambert" : > Well to get the data laid out the way you suggest should only need a > simple > Cross Tab query, but (like everyone else) I have to ask "Why?" It looks > like > your two source tables have nicely normalized the data, but now you > (or > whoever is doing this HR thing) want to un-normalize it. > > Also, why does the act of linking to another system require that you > build > this un-normalized table / query to work with it??? > > Lambert > > > -----Original Message----- > > From: Mwp.Reid at Queens-Belfast.AC.UK > [SMTP:Mwp.Reid at Queens-Belfast.AC.UK] > > Sent: Tuesday, June 24, 2003 1:07 PM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] SQL Question > > > > has to be a table. We are linkinginto a Hunam Resource system and > building > > a > > security system. > > > > Martin > > > > Quoting Susan Harkins : > > > > > Martin, does this really have to be a "table" -- could you work with > a > > > report or form that looks like a table? I mean, are you really going > to > > > be storing the data in this format or do you just have some folks > that > > > want to see the data in this particular format? > > > > > > Susan H. > > > ----- Original Message ----- > > > From: Martin Reid > > > To: accessd > > > Sent: Tuesday, June 24, 2003 11:32 AM > > > Subject: [AccessD] SQL Question > > > > > > > > > Have two tables > > > > > > Table A Contains staff data, Name etc > > > Table B contains contact data > > > > > > Results of join as expected > > > > > > Staff Member A Telephone Number 1 > > > Staff Member A Telephone Number 2 > > > Staff Member A Telephone Number 3 > > > > > > And so on > > > > > > What I need to do is to flatten this out and create a single > table > > > > > > Staff Member A Phone Number 1 Phone Number 2 Phone > Number > > > 3 etc > > > Staff Member B Phone Number 1 Phone Number 2 > > > > > > We dont knwo how many numbers will exist for each member of staff > but > > > the Max will be 5 and I must end up with a single table containing > the > > > data. > > > > > > Need this to work in Access and SQL Server 2000 > > > > > > Martin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > > ---- > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.broesdorf at web.de Tue Jun 24 13:32:53 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Tue, 24 Jun 2003 20:32:53 +0200 Subject: [AccessD] What is wrong with this code? In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF4038979B8@xlivmbx12.aig.com> Message-ID: Dear group, I am still having problems with my form resize code. I have a subform in the detail section of a form. The form header is ampty and the form footer contains a couple of command buttons. The main form is resizable and the size of the subform should be adjusted accordingly. That works fine for the most part. But: If a user drags the _upper_ edge of the window towards the bottom of the window, the window moves downward. If the upper edge reaches the initial position of the lower edge the window suddenly jumps around and I get an error message 2100 (Control or subform too big...). Any ideas are much appreciated! Here is the complete code of the form's resize event: Private Sub Form_Resize() On Error GoTo PROC_ERR Const clngMinH = 5600 Const clngMinW = 8500 'Debug.Print Me.InsideHeight, Me.WindowHeight, Me.InsideWidth, Me.WindowWidth 'Debug.Print IsIconic(Me.hwnd) 'Check if form has been minimized If IsIconic(Me.hwnd) <> 1 Then 'Enforce minimum height of form If Me.InsideHeight < clngMinH Then Me.InsideHeight = clngMinH End If 'Enforce minimum width of form If Me.InsideWidth < clngMinW Then Me.InsideWidth = clngMinW End If 'Set height of detail section Me.Section(0).Height = Me.InsideHeight - 800 'Set height/width of subform Me.sfrmList.Height = Me.InsideHeight - 800 - 2 * Me.sfrmList.Top Me.sfrmList.Width = Me.InsideWidth - (2 * Me.sfrmList.Left) End If PROC_EXIT: Exit Sub PROC_ERR: Select Case Err.Number Case 2100: 'Ignore this error Case Else myErrMsg Err, Me.Name & ":Form_Resize" End Select Resume PROC_EXIT End Sub From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 13:32:31 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 19:32:31 +0100 (BST) Subject: [AccessD] OT Win XP Pro In-Reply-To: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> References: <1056476168.3ef88c0817c37@hosea.qub.ac.uk> Message-ID: <1056479551.3ef8993fe914b@hosea.qub.ac.uk> Just a final update Boot disk worked. Fdisk worked and drive reformmatted. Win XP Pro installed with a blue screen. I give up and will let one of our "experts " in work sort it out. Be easier to buy a new drive. Martin From MarkBoyd at McBeeAssociates.com Tue Jun 24 13:41:03 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 24 Jun 2003 14:41:03 -0400 Subject: [AccessD] Losing order when importing text Message-ID: When I import text using Docmd.TransferText, my records import out of order. It is very important that the records import in the exact same order that they appear in the file. Is there a way to control this so the table keeps the text file's exact layout? I am using AccessXP. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRojas at tnco-inc.com Tue Jun 24 13:45:22 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 24 Jun 2003 14:45:22 -0400 Subject: [AccessD] Microsoft's Web Matrix reloaded Message-ID: <806536912C472E4A9D6515DF2E57261E2393DC@mercury.tnco-inc.com> Wow! This looks really cool! I already downloaded it! Thanks for the link Gustav! Joe R. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, June 24, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Microsoft's Web Matrix reloaded Hi all Just noticed this which might be of interest for some: http://www.adtmag.com/article.asp?id=7849 /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Jun 24 13:49:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Jun 2003 11:49:51 -0700 Subject: [AccessD] Losing order when importing text Message-ID: Export from a query. Access doesn't really care about record order so you get the natural (i.e., entry order) of the records when you export the table, not the indexed order that they appear in when you look at the table in Access. Charlotte Foust -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Tuesday, June 24, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Losing order when importing text When I import text using Docmd.TransferText, my records import out of order. It is very important that the records import in the exact same order that they appear in the file. Is there a way to control this so the table keeps the text file's exact layout? I am using AccessXP. Thanks, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Jun 24 14:02:10 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 24 Jun 2003 14:02:10 -0500 Subject: [AccessD] SQL Question Message-ID: Martin, >From your comments I gather that your Windows security folks do not know anything about database design or programming. So why are they allowed to dictate how your data is supposed to look? I know you work for a bureaucracy like I do, but that doesn't in and of itself mean that they all are stupid and unable to comprehend a rational argument for doing it some other way. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday 2003 Jun 24 13:24 To: accessd at databaseadvisors.com Subject: RE: [AccessD] SQL Question We have no control over the source and thats the way it is. We are bulding an SQL database to work with Windows security. We have to get our data into a single table. One of those jobs that just has to be done the way the security guys want it. Martin Quoting "Heenan, Lambert" : > Well to get the data laid out the way you suggest should only need a > simple Cross Tab query, but (like everyone else) I have to ask "Why?" > It looks like > your two source tables have nicely normalized the data, but now you > (or > whoever is doing this HR thing) want to un-normalize it. > > Also, why does the act of linking to another system require that you > build this un-normalized table / query to work with it??? > > Lambert From gustav at cactus.dk Tue Jun 24 14:07:24 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jun 2003 21:07:24 +0200 Subject: [AccessD] Losing order when importing text In-Reply-To: References: Message-ID: <10148190834.20030624210724@cactus.dk> Hi Mark You are touching one of the very fundamental rules of a relational database: records don't have an order. However, you may sort on one or more fields. If this is not possible you'll have to add sequential line numbers to the lines in your text file and import these as well, then order by those line numbers. Better yet is to skip the TransferText and write your own code to read the file line by line; then let your code add the record number as you go. Go to Seth's site: http://puma.agron.ksu.edu/~sgsax/ and look for "File I/O in VB" under "My Downloads" /gustav > When I import text using Docmd.TransferText, my records import out of > order. > It is very important that the records import in the exact same order > that they appear in the file. > Is there a way to control this so the table keeps the text file's exact > layout? From DWUTKA at marlow.com Tue Jun 24 14:39:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 14:39:02 -0500 Subject: [AccessD] OT FrontPage Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F20@main2.marlow.com> I think there are, but I honestly just do it directly on the IIS server. If you want to go the HTML route, I have some nifty routines to handle that too. Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:09 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT FrontPage I was looking for any options built into FP that would do this. But dont think there are any. Martin Quoting Drew Wutka : > Ad hoc security, like a login page done in HTML, or IIS security, where > the > user is prompted with a dialog box? > > Drew > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, June 24, 2003 4:05 AM > To: accessd > Subject: Re: [AccessD] OT FrontPage > > > Set security on individual web pages > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Monday, June 23, 2003 9:23 PM > Subject: RE: [AccessD] OT FrontPage > > > > What are you trying to do? > > > > Drew > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Saturday, June 21, 2003 1:51 PM > > To: accessd > > Subject: [AccessD] OT FrontPage > > > > > > Where Office Developer Tools on the lines of those for Access ever > available > > for FrontPage?? > > > > Martin > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 24 14:40:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 24 Jun 2003 14:40:06 -0500 Subject: [AccessD] OT Win XP Pro Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F21@main2.marlow.com> Do you have a Windows 2000 Pro CD? Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Win XP Pro Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs at solution-providers.ie Tue Jun 24 15:05:26 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Tue, 24 Jun 2003 21:05:26 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> Message-ID: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Hello Martin, I am wondering whether this is a once off, or a query that you will have to run regularly. In other words, how much effort does it justify If it is once off, you may be able to synthisise another column that will allow the following which was copied from BOL SELECT Year, SUM(CASE Quarter WHEN 1 THEN Amount ELSE 0 END) AS Q1, SUM(CASE Quarter WHEN 2 THEN Amount ELSE 0 END) AS Q2, SUM(CASE Quarter WHEN 3 THEN Amount ELSE 0 END) AS Q3, SUM(CASE Quarter WHEN 4 THEN Amount ELSE 0 END) AS Q4 FROM Northwind.dbo.Pivot GROUP BY Year GO If the data is changing and you need it dynamic, you could create another column, or create a dynamic column count for each address to gain a 1,2,3,4,5 could. Again, without knowing how much data and how much time will be spent to solve it, it is hard to say whether it is worth creating temp tables, populating them and then selecting the data from them. You could do that and use an increment to help id the addresses Let us know more details, I guess that if it was Jet you would use a simple cross tab Mark ----- Original Message ----- From: Martin Reid To: accessd Sent: Tuesday, June 24, 2003 4:32 PM Subject: [AccessD] SQL Question Have two tables Table A Contains staff data, Name etc Table B contains contact data Results of join as expected Staff Member A Telephone Number 1 Staff Member A Telephone Number 2 Staff Member A Telephone Number 3 And so on What I need to do is to flatten this out and create a single table Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc Staff Member B Phone Number 1 Phone Number 2 We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. Need this to work in Access and SQL Server 2000 Martin ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Tue Jun 24 15:37:08 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 24 Jun 2003 16:37:08 -0400 Subject: [AccessD] Subform Errors Message-ID: An HTML attachment was scrubbed... URL: From Mwp.Reid at Queens-Belfast.AC.UK Tue Jun 24 16:13:37 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Tue, 24 Jun 2003 22:13:37 +0100 (BST) Subject: [AccessD] SQL Question In-Reply-To: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Message-ID: <1056489217.3ef8bf0116deb@hosea.qub.ac.uk> HI Mark 5500 employee records with up to 5 related records in the other table. Its a one of. We need the flat file becasue of the way we will be reading the data into the windows security system. That bit I dont fully understand and I dont have to, My job is to give the security guys the data the way they want it. Its impossible to do what they want to do with related tables. It has to be flat. They can only work with a single record and that record must be complete for each staff member with absolutly no duplication. PITA! Once this is done we will then look at scripting changes etc to the files. My main system at home is trash so I cant work on it til tomorrow. Martin Quoting "Mark L. Breen" : > Hello Martin, > > I am wondering whether this is a once off, or a query that you will have > to run regularly. In other words, how much effort does it justify > > If it is once off, you may be able to synthisise another column that > will allow the following which was copied from BOL > > SELECT Year, > SUM(CASE Quarter WHEN 1 THEN Amount ELSE 0 END) AS Q1, > SUM(CASE Quarter WHEN 2 THEN Amount ELSE 0 END) AS Q2, > SUM(CASE Quarter WHEN 3 THEN Amount ELSE 0 END) AS Q3, > SUM(CASE Quarter WHEN 4 THEN Amount ELSE 0 END) AS Q4 > FROM Northwind.dbo.Pivot > GROUP BY Year > GO > > If the data is changing and you need it dynamic, you could create > another column, or create a dynamic column count for each address to > gain a 1,2,3,4,5 could. > > Again, without knowing how much data and how much time will be spent to > solve it, it is hard to say whether it is worth creating temp tables, > populating them and then selecting the data from them. You could do > that and use an increment to help id the addresses > > Let us know more details, > > I guess that if it was Jet you would use a simple cross tab > > Mark > > > ----- Original Message ----- > From: Martin Reid > To: accessd > Sent: Tuesday, June 24, 2003 4:32 PM > Subject: [AccessD] SQL Question > > > Have two tables > > Table A Contains staff data, Name etc > Table B contains contact data > > Results of join as expected > > Staff Member A Telephone Number 1 > Staff Member A Telephone Number 2 > Staff Member A Telephone Number 3 > > And so on > > What I need to do is to flatten this out and create a single table > > Staff Member A Phone Number 1 Phone Number 2 Phone Number > 3 etc > Staff Member B Phone Number 1 Phone Number 2 > > We dont knwo how many numbers will exist for each member of staff but > the Max will be 5 and I must end up with a single table containing the > data. > > Need this to work in Access and SQL Server 2000 > > Martin > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > 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 Jun 24 19:24:13 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 25 Jun 2003 10:24:13 +1000 Subject: [AccessD] Losing order when importing text In-Reply-To: Message-ID: <3EF9784D.2396.1A528E@localhost> On 24 Jun 2003 at 14:41, Mark Boyd wrote: > When I import text using Docmd.TransferText, my records import out of > order. > > It is very important that the records import in the exact same order > that they appear in the file. > > Is there a way to control this so the table keeps the text file's exact > layout? > > I am using AccessXP. > Are you creating a new table each time or adding the records to an existing table? If you are creating a new table each time, you first need to change your procedure so that you re-use the same table by deleting all existing records and then appending the new records. Now add an Autonumber field to the table you are importing into. When you display/extract the text rows, sort by the Autonumber field. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From ad_tp at hotmail.com Tue Jun 24 23:22:31 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Wed, 25 Jun 2003 09:52:31 +0530 Subject: [AccessD] Time in milliseconds References: <3EF86C5F.4876.3C3639@localhost> Message-ID: Stuart, Could you kindly send me a copy of ElapsedMicroSeconds() function mentioned by you? Regards, A.D.Tejpal (ad_tp at hotmail.com) ---------------------------- ----- Original Message ----- From: Stuart McLachlan To: Rocky Smolin - Beach Access Software ; accessd at databaseadvisors.com Sent: Tuesday, June 24, 2003 10:51 Subject: Re: [AccessD] Time in milliseconds On 23 Jun 2003 at 21:08, Rocky Smolin - Beach Access S wrote: > Dear List: > > Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. > Short answer - Yes. Slightly longer answer - Yes but you can't use the built in formatting functions. Long answer - It depends on exactly what you are trying to do. Store: Dates and Times are actually stored as doubles with the time as the fractional part so times can certainly be stored to far greater accuracy than seconds. Display: To display fractional seconds within a date/time format, you will need to roll your own formatting function since there is no decimal seconds formatting character. If you just want to display a number of seconds, use a numeric variable for the number of seconds, then you can format it to any precision you want ( or again roll your own format by working in seconds and calcuating hours,minutes etc as required) Measure: If you are trying to time events of a reasonable duration. use the TIMER() function . It returns a double representing the number of "ticks" elapsed sinced midnight. A tick is approximately 1/18th sec. For higher resolution, use the GetTickCOunt() API function which *nominally* returns the number of milliseconds since the system started. The actual resolution is dependant on the particular system, you can determine what it is using the GetSystemTimeAdjustment() API call, but it's normally good to about 1/100th sec If you are timing short durations and need even high accuracy, you can use the high-resolution performance counter (if your machine has one) and get possibly better than millisecond and maybe even close to microsecond accuracy (let me know if you want a copy of an ElapsedMicroSeconds() function which uses the hrpc API calls. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Jun 25 00:52:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 24 Jun 2003 22:52:18 -0700 Subject: [AccessD] Losing order when importing text References: <3EF9784D.2396.1A528E@localhost> Message-ID: <3EF93892.10405@shaw.ca> Quickest way for user to delete or append to table TempName is something like this. Choose an applicable field name in place of DirName. If MsgBox("Do you want to create a new file table (yes: create, no: append)", vbYesNo) = vbYes Then DoCmd.RunSQL "DELETE DISTINCTROW TempName.DirName FROM TempName;" End If Stuart McLachlan wrote: >On 24 Jun 2003 at 14:41, Mark Boyd wrote: > > > >>When I import text using Docmd.TransferText, my records import out of >>order. >> >>It is very important that the records import in the exact same order >>that they appear in the file. >> >>Is there a way to control this so the table keeps the text file's exact >>layout? >> >>I am using AccessXP. >> >> >> >Are you creating a new table each time or adding the records to an >existing table? > >If you are creating a new table each time, you first need to change >your procedure so that you re-use the same table by deleting all >existing records and then appending the new records. > >Now add an Autonumber field to the table you are importing into. >When you display/extract the text rows, sort by the Autonumber field. > > > > > From stuart at lexacorp.com.pg Wed Jun 25 01:48:40 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 25 Jun 2003 16:48:40 +1000 Subject: [AccessD] Losing order when importing text In-Reply-To: <3EF93892.10405@shaw.ca> Message-ID: <3EF9D268.29882.17A4DC7@localhost> On 24 Jun 2003 at 22:52, MartyConnelly wrote: > Quickest way for user to delete or append to table TempName is something > like this. > Choose an applicable field name in place of DirName. > > If MsgBox("Do you want to create a new file table (yes: create, no: > append)", vbYesNo) = vbYes Then > DoCmd.RunSQL "DELETE DISTINCTROW TempName.DirName FROM TempName;" > End If > I keep it even simpler: DoCmd.RunSQL "Delete * from Tempname" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kost36 at otenet.gr Wed Jun 25 02:59:24 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 25 Jun 2003 10:59:24 +0300 Subject: [AccessD] Compile error Message-ID: <002f01c33aef$b23fdb70$07a1fea9@director> Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lists at theopg.com Wed Jun 25 03:08:44 2003 From: Lists at theopg.com (Mark H) Date: Wed, 25 Jun 2003 09:08:44 +0100 Subject: [AccessD] Compile error In-Reply-To: <002f01c33aef$b23fdb70$07a1fea9@director> Message-ID: <001701c33af0$ff7251b0$bf39fc3e@netboxxp> you need to "Dim db as Database" somewhere... mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: 25 June 2003 08:59 To: accessd at databaseadvisors.com Subject: [AccessD] Compile error Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at jbsolutions.com.au Wed Jun 25 03:12:12 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 25 Jun 2003 18:12:12 +1000 Subject: [AccessD] Compile error Message-ID: <200306250812.h5P8C7g17590@databaseadvisors.com> Dear Kostas Konstantinidis: You havent declared your "db" and "rs" variables. Under "Dim strMsg as String", put Dim db as DAO.Database Dim rs as DAO.Recordset ======== At 2003-06-25, 10:59:00 you wrote: ======== Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-25 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kost36 at otenet.gr Wed Jun 25 04:04:38 2003 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 25 Jun 2003 12:04:38 +0300 Subject: [AccessD] Compile error References: <200306250812.h5P8C7g17590@databaseadvisors.com> Message-ID: <003701c33af8$cf3d5730$07a1fea9@director> Mark and Josua Thank's a lot Kostas Konstantinidis ----- Original Message ----- From: Joshua B To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 11:12 AM Subject: Re: [AccessD] Compile error Dear Kostas Konstantinidis: You havent declared your "db" and "rs" variables. Under "Dim strMsg as String", put Dim db as DAO.Database Dim rs as DAO.Recordset ======== At 2003-06-25, 10:59:00 you wrote: ======== Hi all, I need some help please with an error message when I try to enter a new record into... I get the follown error Compile error variable not defined the code: Private Sub idpoli_NotInList(NewData As String, Response As Integer) Dim strMsg As String strMsg = "'" & NewData & "' bla bla" strMsg = strMsg & "@bla bla;" strMsg = strMsg & "@bla bla." If MsgBox(strMsg, vbQuestion + vbYesNo, "new data") = vbNo Then Response = acDataErrContinue Else Set db = CurrentDb Set rs = db.OpenRecordset("T_poli", dbOpenDynaset) On Error Resume Next rs.AddNew rs!poli = NewData rs.Update If Err Then MsgBox "bla bla." Response = acDataErrContinue Else Response = acDataErrAdded End If End If End Sub Thank's a lot Kostas Konstantinidis = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-06-25 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 08:47:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 09:47:12 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <006101c33a06$338fc220$6501a8c0@HAL9002> Message-ID: Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Jun 25 10:37:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 08:37:18 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <008b01c33b2f$a996f450$6501a8c0@HAL9002> John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 10:36:59 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 08:36:59 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226E88@main2.marlow.com> Message-ID: I'm starting to get there, but... After double clicking on IIF, I get: IIf (?expr?, ?truepart?, ?falsepart?) Then I highlighted ?expr? and clicked Mid$ so I now have: IIf ( Mid$ (?stringexpr?, ?start?, ?length?) , ?truepart?, ?falsepart?) Highlight ?stringexpr? and click on tables > Muir63 as the table and attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , ?start?, ?length?) , ?truepart?, ?falsepart?) >From there, I'm lost again. Since I'm deleting all the thread leading to this point, I'll recap. The field I'm selecting FROM is attend, and here is a typical content: 35=2 30b=2 30a=2 25=2 So, for my criteria, I want if [Muir63]![attend] contains 35=2 so, which of the ?start?, ?length?, ?truepart?, and ?falsepart?) gets what? It seems to me that there are too many parts. Keep in mind that 35=2 could be anywhere in the string, not just at the beginning. But there won't be any spaces like 35 = 2, or anything like that, always the exact phrase of 35=2. Thanks for helping, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From cfoust at infostatsystems.com Wed Jun 25 10:50:46 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 08:50:46 -0700 Subject: [AccessD] Update query syntax Message-ID: Kathryn, Now you're beginning to see why so few of us ever bother with the builder. It's far easier to use intellisense to create the expression or look at the object browser. Try IIF(Instr([Muir63]![attend],"35=2")>0,, ) Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I'm starting to get there, but... After double clicking on IIF, I get: IIf (, , ) Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ (, , ) , , ) Highlight and click on tables > Muir63 as the table and attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , , ) , , ) >From there, I'm lost again. Since I'm deleting all the thread leading >to this point, I'll recap. The field I'm selecting FROM is attend, and here is a typical content: 35=2 30b=2 30a=2 25=2 So, for my criteria, I want if [Muir63]![attend] contains 35=2 so, which of the , , , and ) gets what? It seems to me that there are too many parts. Keep in mind that 35=2 could be anywhere in the string, not just at the beginning. But there won't be any spaces like 35 = 2, or anything like that, always the exact phrase of 35=2. Thanks for helping, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 11:00:31 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:00:31 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at the > beginning. But there won't be any spaces like 35 = 2, or anything like > that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 25 11:14:49 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 25 Jun 2003 11:14:49 -0500 Subject: [AccessD] Update query syntax Message-ID: If the string was found, then Instr() gives you the position number of where it starts, else it returns 0. So, if that number is >0, you have found what you are looking for and the will be executed. Otherwise, you will execute the . Thus, is where you say what to do when the string is found, and is where you say what to do if the string is not found. If either takes more than one line of code, you should encapsulate it in a procedure and call the procedure in or . Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:01 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at > the beginning. But there won't be any spaces like 35 = 2, or anything > like that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net From cfoust at infostatsystems.com Wed Jun 25 11:24:26 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:24:26 -0700 Subject: [AccessD] Update query syntax Message-ID: The one thing you'll have to watch out for is if you had something in your table like "35=20", which will also trigger the of you Iif. That's one of the ugly reasons it is a BAD idea to put multiple pieces of information in the same field, it's sooooo hard to parse out reliably. Charlotte Foust -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Wednesday, June 25, 2003 8:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax If the string was found, then Instr() gives you the position number of where it starts, else it returns 0. So, if that number is >0, you have found what you are looking for and the will be executed. Otherwise, you will execute the . Thus, is where you say what to do when the string is found, and is where you say what to do if the string is not found. If either takes more than one line of code, you should encapsulate it in a procedure and call the procedure in or . Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:01 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax Problem is that I still don't understand the parts. What is >0 about? What goes in and what goes in ? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 8:51:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > Kathryn, > > Now you're beginning to see why so few of us ever bother with the > builder. It's far easier to use intellisense to create the expression > or look at the object browser. > > Try > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 7:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I'm starting to get there, but... > > After double clicking on IIF, I get: > IIf (, , ) > Then I highlighted and clicked Mid$ so I now have: > IIf ( Mid$ (, , ) , , ) > Highlight and click on tables > Muir63 as the table and > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > , ) , , ) > > >From there, I'm lost again. Since I'm deleting all the thread leading > >to this point, I'll recap. The field I'm selecting FROM is attend, and > here is a typical content: > 35=2 30b=2 30a=2 25=2 > So, for my criteria, I want > if [Muir63]![attend] contains 35=2 > so, which of the , , , and ) gets > what? It seems to me that there are too many parts. > > Keep in mind that 35=2 could be anywhere in the string, not just at > the beginning. But there won't be any spaces like 35 = 2, or anything > like that, always the exact phrase of 35=2. > > Thanks for helping, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 11:43:22 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:43:22 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you have > found what you are looking for and the will be executed. > Otherwise, you will execute the . Thus, is where > you say what to do when the string is found, and is where > you say what to do if the string is not found. If either takes more > than one line of code, you should encapsulate it in a procedure and call > the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: > > IIf ( Mid$ (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread leading > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Jun 25 11:43:19 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 25 Jun 2003 12:43:19 -0400 Subject: [AccessD] Update query syntax References: Message-ID: <017701c33b39$1dd9e620$284afccc@SusanOne> Why would 35 = 20 trigger the true action? Susan H. > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 25, 2003 8:15 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you have > found what you are looking for and the will be executed. > Otherwise, you will execute the . Thus, is where > you say what to do when the string is found, and is where > you say what to do if the string is not found. If either takes more > than one line of code, you should encapsulate it in a procedure and call > the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: > > IIf ( Mid$ (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread leading > > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Wed Jun 25 11:45:13 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 09:45:13 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: And of course, that's why I'm separating it out :) !!! Kathryn (and no, I don't have any 35=20, but good point to remember for future). > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:24:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust From cfoust at infostatsystems.com Wed Jun 25 11:50:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:50:22 -0700 Subject: [AccessD] Update query syntax Message-ID: Because it contains "35=2", so Instr() will return a value > 0. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Wednesday, June 25, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update query syntax Why would 35 = 20 trigger the true action? Susan H. > The one thing you'll have to watch out for is if you had something in > your table like "35=20", which will also trigger the of you > Iif. That's one of the ugly reasons it is a BAD idea to put multiple > pieces of information in the same field, it's sooooo hard to parse out > reliably. > > Charlotte Foust > > -----Original Message----- > From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] > Sent: Wednesday, June 25, 2003 8:15 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the > > expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading > > > >to this point, I'll recap. The field I'm selecting FROM is attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets > > what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or > > anything like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 25 11:53:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 09:53:16 -0700 Subject: [AccessD] Update query syntax Message-ID: You're still using Mid$, Kathryn, but mixing in Instr arguments. Change it to Instr. You don't want Mid at all except when you want to extract the value. In that case, Mid would come into the expression but not the IIf condition test. IIF(Instr([Muir63]![attend],"35=2")>0,, ) Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 8:43 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading to this point, I'll recap. The field I'm selecting FROM is > > >attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Jun 25 11:55:40 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 25 Jun 2003 11:55:40 -0500 Subject: [AccessD] Update query syntax Message-ID: Kathryn, Use the Instr() function as shown in Charlotte's e-mail, not the Mid$() function. Check the on-line help for the differences. Susan, "35=2" is contained in "35=20" so it counts as true, whether you really want it or not. When both may be valid values, I would either first check for the "35=20" value and in the check for the "35=2" value, or first check for "35=2" and then in the check for "35=20" value. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday 2003 Jun 25 11:43 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I now have: http://www.muir63.org/images/updatesyntaxquery.jpg IIf(Mid$([Muir63]![attend],"35=2",>0),"","") but when I try to run it, I get "data type mismatch in criteria expression". I assume it has something to do with the true and false parts. Don't understand what to do there, as if it's true, then I want to update the other field as shown in the jpg. If it's not true, then nothing should happen. Getting there, but... just call me dense today. On the other hand, if I can ultimately "get" this, I should be able to figure out others in the future. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > Charles > Sent: 25 Jun 2003 9:15:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > If the string was found, then Instr() gives you the position number of > where it starts, else it returns 0. So, if that number is >0, you > have found what you are looking for and the will be > executed. Otherwise, you will execute the . Thus, > is where you say what to do when the string is found, and > is where you say what to do if the string is not found. > If either takes more than one line of code, you should encapsulate it > in a procedure and call the procedure in or . > > Charles Wortz > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday 2003 Jun 25 11:01 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > Problem is that I still don't understand the parts. What is >0 about? > What goes in and what goes in ? Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: 25 Jun 2003 8:51:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > Kathryn, > > > > Now you're beginning to see why so few of us ever bother with the > > builder. It's far easier to use intellisense to create the expression > > > or look at the object browser. > > > > Try > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > Charlotte Foust > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday, June 25, 2003 7:37 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > I'm starting to get there, but... > > > > After double clicking on IIF, I get: > > IIf (, , ) > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > (, , ) , , > ) > > Highlight and click on tables > Muir63 as the table and > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > , ) , , ) > > > > >From there, I'm lost again. Since I'm deleting all the thread > > >leading to this point, I'll recap. The field I'm selecting FROM is > > >attend, > and > > here is a typical content: > > 35=2 30b=2 30a=2 25=2 > > So, for my criteria, I want > > if [Muir63]![attend] contains 35=2 > > so, which of the , , , and ) > > gets what? It seems to me that there are too many parts. > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > the beginning. But there won't be any spaces like 35 = 2, or anything > > like that, always the exact phrase of 35=2. > > > > Thanks for helping, > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net From jcolby at colbyconsulting.com Wed Jun 25 12:04:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 13:04:56 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <008b01c33b2f$a996f450$6501a8c0@HAL9002> Message-ID: Rocky, IINM, the load even of the main form happens AFTER all of the load events of all of the subforms. One way to do this would be to dim an instance of the timer class globally and have the switchboard click call mclsTimer.StartTimer. Then have the main form's load event call the MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIME FORM LOAD" Do this with an otherwise identical JIT form and a non JIT form. The difference in times would be the load time of the subforms. When I was timing form loading I actually set up a loop that opened the form, then closed it again, repeating that X times. This evened out the effects of caching etc. In that case, simply instantiate the class before entering the loop, then display the results after exiting the loop. I can modify your demo if you want to send it to me. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 12:11:05 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 10:11:05 -0700 Subject: [AccessD] Update query syntax In-Reply-To: Message-ID: I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:53:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > You're still using Mid$, Kathryn, but mixing in Instr arguments. Change > it to Instr. You don't want Mid at all except when you want to extract > the value. In that case, Mid would come into the expression > but not the IIf condition test. > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I now have: > http://www.muir63.org/images/updatesyntaxquery.jpg > IIf(Mid$([Muir63]![attend],"35=2",>0),"","") > but when I try to run it, I get "data type mismatch in criteria > expression". I assume it has something to do with the true and false > parts. Don't understand what to do there, as if it's true, then I want > to update the other field as shown in the jpg. If it's not true, then > nothing should happen. > > Getting there, but... just call me dense today. On the other hand, if I > can ultimately "get" this, I should be able to figure out others in the > future. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > > Charles > > Sent: 25 Jun 2003 9:15:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > If the string was found, then Instr() gives you the position number of > > > where it starts, else it returns 0. So, if that number is >0, you > > have found what you are looking for and the will be > > executed. Otherwise, you will execute the . Thus, > > is where you say what to do when the string is found, and > > is where you say what to do if the string is not found. > > If either takes more than one line of code, you should encapsulate it > > in a procedure and call the procedure in or . > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday 2003 Jun 25 11:01 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > Problem is that I still don't understand the parts. What is >0 about? > > What goes in and what goes in ? Kathryn > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > Foust > > > Sent: 25 Jun 2003 8:51:AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > Kathryn, > > > > > > Now you're beginning to see why so few of us ever bother with the > > > builder. It's far easier to use intellisense to create the > expression > > > > > or look at the object browser. > > > > > > Try > > > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > > Sent: Wednesday, June 25, 2003 7:37 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > I'm starting to get there, but... > > > > > > After double clicking on IIF, I get: > > > IIf (, , ) > > > Then I highlighted and clicked Mid$ so I now have: IIf ( Mid$ > > > > (, , ) , , > > ) > > > Highlight and click on tables > Muir63 as the table and > > > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] , > > > , ) , , ) > > > > > > >From there, I'm lost again. Since I'm deleting all the thread > > > >leading to this point, I'll recap. The field I'm selecting FROM is > > > >attend, > > and > > > here is a typical content: > > > 35=2 30b=2 30a=2 25=2 > > > So, for my criteria, I want > > > if [Muir63]![attend] contains 35=2 > > > so, which of the , , , and ) > > > gets what? It seems to me that there are too many parts. > > > > > > Keep in mind that 35=2 could be anywhere in the string, not just at > > > the beginning. But there won't be any spaces like 35 = 2, or > anything > > > like that, always the exact phrase of 35=2. > > > > > > Thanks for helping, > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Jun 25 12:13:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 13:13:25 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <008b01c33b2f$a996f450$6501a8c0@HAL9002> Message-ID: Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Jun 25 12:30:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 25 Jun 2003 10:30:54 -0700 Subject: [AccessD] Update query syntax Message-ID: I'd suggest you do a select query on the table and see what gets returned using an expression Instr([Muir63]![attend],"35=2") in a calcuated field and setting the criteria line to >0 and see what records and values you get. Then look at the values in that field in the individual records and see what's going on. If you aren't finding any records, then tell us more about that field so we can begin to guess what's happening. Charlotte Foust -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Wednesday, June 25, 2003 9:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Update query syntax I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: 25 Jun 2003 9:53:AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > You're still using Mid$, Kathryn, but mixing in Instr arguments. > Change it to Instr. You don't want Mid at all except when you want to > extract the value. In that case, Mid would come into the > expression but not the IIf condition test. > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > Charlotte Foust > > -----Original Message----- > From: Kathryn Bassett [mailto:kathryn at bassett.net] > Sent: Wednesday, June 25, 2003 8:43 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Update query syntax > > > I now have: http://www.muir63.org/images/updatesyntaxquery.jpg > IIf(Mid$([Muir63]![attend],"35=2",>0),"","") > but when I try to run it, I get "data type mismatch in criteria > expression". I assume it has something to do with the true and false > parts. Don't understand what to do there, as if it's true, then I want > to update the other field as shown in the jpg. If it's not true, then > nothing should happen. > > Getting there, but... just call me dense today. On the other hand, if > I can ultimately "get" this, I should be able to figure out others in > the future. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, > > Charles > > Sent: 25 Jun 2003 9:15:AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > > > If the string was found, then Instr() gives you the position number > > of > > > where it starts, else it returns 0. So, if that number is >0, you > > have found what you are looking for and the will be > > executed. Otherwise, you will execute the . Thus, > > is where you say what to do when the string is found, and > > is where you say what to do if the string is not found. > > If either takes more than one line of code, you should encapsulate it > > in a procedure and call the procedure in or . > > > > Charles Wortz > > Software Development Division > > Texas Education Agency > > 1701 N. Congress Ave > > Austin, TX 78701-1494 > > 512-463-9493 > > CWortz at tea.state.tx.us > > > > > > > > -----Original Message----- > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > Sent: Wednesday 2003 Jun 25 11:01 > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Update query syntax > > > > Problem is that I still don't understand the parts. What is >0 > > about? > > What goes in and what goes in ? Kathryn > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Charlotte Foust > > > Sent: 25 Jun 2003 8:51:AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > Kathryn, > > > > > > Now you're beginning to see why so few of us ever bother with the > > > builder. It's far easier to use intellisense to create the > expression > > > > > or look at the object browser. > > > > > > Try > > > > > > IIF(Instr([Muir63]![attend],"35=2")>0,, ) > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Kathryn Bassett [mailto:kathryn at bassett.net] > > > Sent: Wednesday, June 25, 2003 7:37 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Update query syntax > > > > > > > > > I'm starting to get there, but... > > > > > > After double clicking on IIF, I get: > > > IIf (, , ) > > > Then I highlighted and clicked Mid$ so I now have: IIf ( > > > Mid$ > > > > (, , ) , , > > ) > > > Highlight and click on tables > Muir63 as the table > > > and > > > > attend as the field so I now have: IIf ( Mid$ ( [Muir63]![attend] > > > , > > > , ) , , ) > > > > > > >From there, I'm lost again. Since I'm deleting all the thread > > > >leading to this point, I'll recap. The field I'm selecting FROM is > > > >attend, > > and > > > here is a typical content: > > > 35=2 30b=2 30a=2 25=2 > > > So, for my criteria, I want > > > if [Muir63]![attend] contains 35=2 > > > so, which of the , , , and ) > > > gets what? It seems to me that there are too many parts. > > > > > > Keep in mind that 35=2 could be anywhere in the string, not just > > > at the beginning. But there won't be any spaces like 35 = 2, or > anything > > > like that, always the exact phrase of 35=2. > > > > > > Thanks for helping, > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve.grant at STGSolutions.com Wed Jun 25 12:59:27 2003 From: steve.grant at STGSolutions.com (Steve Grant) Date: Wed, 25 Jun 2003 12:59:27 -0500 Subject: [AccessD] Update query syntax Message-ID: <200306251259.AA133431608@STGSolutions.com> Kathryn, To do what you want to do, the easiest is to: 1) Add a column (field to you query) like this Test: IIf(InStr([[attend],"35=2")>0,"Exist","NotExist") 2) In the criteria of the Test field put ="Exist" This should limit your query to records that contain "35=2" in the attend field. Another way (faster) is to use the LIKE command. 1) In the criteria section of your "attend" field put: LIKE *35=2* Hope this helps a little. Steve -----Message d'origine----- De : accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Kathryn Bassett Envoy? : 25 juin, 2003 13:11 ? : accessd at databaseadvisors.com Objet : RE: [AccessD] Update query syntax I tried a copy/paste of yours, but it didn't work, saying the were too many closing parameters. Since there were quotes around the true and false with the builder, I copy/pasted "","" over , so that I ended up with: IIf(InStr([Muir63]![attend],"35=2")>0,"","") Now it doesn't give me any errors, but it also says I will now update zero rows - which I know is wrong as there are a bunch with 35=2 - now what? Kathryn From tortise at paradise.net.nz Wed Jun 25 13:35:22 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 26 Jun 2003 06:35:22 +1200 Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 References: <09d601c3363c$06a17c90$0900a8c0@P1200n> Message-ID: <005801c33b48$89b91c80$0900a8c0@P1200n> It seems to be related to the clock / main form timer. If I set this to 1000 (1 sec) then the CPU can go for long periods @ 100%, if I set it to 60000 (1 min) then it jumps up for maybe 10 secs then drops back again. Although as John suggests the CPU seems to be available for other tasks still. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ http://www.engines2go.com/ Now THAT's a Search Engine!! Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "Tortise at Paradise" To: Sent: Thursday, June 19, 2003 8:23 PM Subject: Re: [AccessD] Access 97 causing CPU useage 100% in W 2000 mmmm Well that could be it! I'll monitor and see if fits time periods. Many thanks John. Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ The Mother of All Search Engines. http://www.engines2go.com/ Simultaneously opens multiple search engine windows to rapidly find what you seek. Works before your eyes ALT-TAB between windows. Its FAST. Its Exciting! It works for you. Have you tried it yet? Home of Break Reminder, Clipboard Express, MP3 Detective and TimesOwn: http://www.cheqsoft.com/ ----- Original Message ----- From: "John Bartow" To: Sent: Thursday, June 19, 2003 10:08 AM Subject: RE: [AccessD] Access 97 causing CPU useage 100% in W 2000 I forgot where I found this but it pretty well condenses the issue down to readable. Access 97 Shows 100 Percent CPU Usage SOURCE OF INFORMATION This article is a condensation of a Microsoft Knowledge Base article Condensed Information ACC: Microsoft Access Shows 100% CPU Utilization During Idle Time (Q160819) Summary When you use System Monitor in Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) or Performance Monitor in Microsoft Windows NT and Microsoft Windows 2000 to track CPU usage, Microsoft Access 97 (the program that runs IRMS) is reported to use 100 percent of CPU resources even though it appears that Microsoft Access is idle. Cause During idle time, Microsoft Access continuously polls its message queue to check for keyboard and mouse activity. More Information Microsoft Access was originally designed to operate in the cooperative multitasking environment that Microsoft Windows 3.x provides. The idle processing code built into Microsoft Access was designed to ensure that Microsoft Access does not begin processing background tasks during brief periods of inactivity, such as when a user pauses between keystrokes. In the preemptive multitasking environment of Windows 95, Windows 98, Windows Me, Windows NT, and Windows 2000, this idle processing code causes Microsoft Access to use 100 percent of CPU resources briefly during idle time. Microsoft Access polls its message queues for activity for about the first 30 seconds of idle time. During this time, Performance Monitor reports that Microsoft Access is using 100 percent of CPU resources. NOTE : Microsoft Access only uses CPU resources that are idle. If your computer has other processes that are ready to run, it will run them. Microsoft Access does not degrade performance of other applications as it polls its message queues. HTH JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: Wednesday, June 18, 2003 4:43 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 97 causing CPU useage 100% in W 2000 > > > Hi > Can anyone give me some pointers how I might track down this > problem? Is there some facility which tells me what Access is doing > and where the problem might lie? > Kind regards, > David Hingston > _________________________________________________________________________ > mailto:tortoise at paradise.net.nz > Personal Webpages: http://203.79.82.163/ > The Mother of All Search Engines. http://www.engines2go.com/ > Simultaneously opens multiple search engine windows to rapidly > find what you seek. Works before your eyes > ALT-TAB between windows. Its FAST. Its Exciting! It works for > you. Have you tried it yet? > Home of Break Reminder, Clipboard Express, MP3 Detective and > TimesOwn: http://www.cheqsoft.com/ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Jun 25 15:41:35 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 25 Jun 2003 16:41:35 -0400 Subject: [AccessD] Documenter Message-ID: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 15:48:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 16:48:12 -0400 Subject: [AccessD] Documenter In-Reply-To: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Message-ID: I use Rick Fisher's Search and Replace John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Wednesday, June 25, 2003 4:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 15:47:33 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 13:47:33 -0700 Subject: [AccessD] Update query syntax In-Reply-To: <200306251259.AA133431608@STGSolutions.com> Message-ID: Duh! I wonder why I made it so complicated. I've used LIKE a number of times, but it was always regular queries vs update ones. In any case this: Like "*35=*" did the trick! Still would be interesting to find out why the other ended up being zero records, but I'll wait to find out why since I need to get the db fixed up before the reunion. Thank you Steve, Charlotte, and Charles for the help. I do understand a little better about how it works, even though I didn't need to make it so complicated. -- 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 Steve Grant > Sent: 25 Jun 2003 10:59:AM > To: accessd at databaseadvisors.com > Cc: kathryn at bassett.net > Subject: RE: [AccessD] Update query syntax > > > IIf(InStr([Muir63]![attend],"35=2")>0,"","") > Kathryn, > > To do what you want to do, the easiest is to: > 1) Add a column (field to you query) like this > Test: IIf(InStr([[attend],"35=2")>0,"Exist","NotExist") > > 2) In the criteria of the Test field put ="Exist" > > This should limit your query to records that contain "35=2" in the attend field. > > > Another way (faster) is to use the LIKE command. > 1) In the criteria section of your "attend" field put: LIKE *35=2* > > > Hope this helps a little. > > > Steve > > -----Message d'origine----- > De : accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] De la part de Kathryn Bassett > Envoy? : 25 juin, 2003 13:11 > ? : accessd at databaseadvisors.com > Objet : RE: [AccessD] Update query syntax > > I tried a copy/paste of yours, but it didn't work, saying the were too many closing > parameters. Since there were quotes around the true and false with the builder, I copy/pasted > "","" > over > , so that I ended up with: > IIf(InStr([Muir63]![attend],"35=2")>0,"","") > Now it doesn't give me any errors, but it also says I will now update zero rows - > which I know is wrong as there are a bunch with 35=2 - now what? > > Kathryn > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Wed Jun 25 15:58:27 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 25 Jun 2003 15:58:27 -0500 Subject: [AccessD] Documenter Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305E01@cpixchng-1.cpiqpc.net> FMS ( www.fmsinc.com ) makes a pretty good product called Total Access Analyzer. Their latest version is for A2k and AXP but I'm fairly sure you can still get the A97 version from them. -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Wednesday, June 25, 2003 3:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Jun 25 15:58:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 15:58:13 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F29@main2.marlow.com> Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew From bobbedell15 at msn.com Wed Jun 25 16:17:07 2003 From: bobbedell15 at msn.com (Bob Bedell) Date: Wed, 25 Jun 2003 21:17:07 +0000 Subject: [AccessD] Documenter Message-ID: You might want to take a look at FMS's Total Access Analyzer (A97 version available). http://www.fmsinc.com/Products/analyzer/index.html I use it a bunch. It generates object, field and module cross reference reports. It also generates just about every report imaginable for all of the objects in a database (table and query dictionaries, form blueprints, listings of every VBA function used and where, etc.) Its pretty comprehensive. >From: "Barbara Ryan" >Reply-To: accessd at databaseadvisors.com >To: "Access List" >Subject: [AccessD] Documenter >Date: Wed, 25 Jun 2003 16:41:35 -0400 > >Can anyone suggest any good software that will document (i.e., cross >reference all objects) in an Access 97 database? >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From BarbaraRyan at cox.net Wed Jun 25 16:25:36 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 25 Jun 2003 17:25:36 -0400 Subject: [AccessD] Documenter -- Thanks guys, I will check these out. eom Message-ID: <00bf01c33b60$51c0e0c0$a2c50a44@hr.cox.net> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Jun 25 16:30:12 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 25 Jun 2003 16:30:12 -0500 Subject: [AccessD] Documenter In-Reply-To: <008501c33b5a$2c186ec0$a2c50a44@hr.cox.net> Message-ID: <002301c33b60$f90b1c60$de1811d8@DanWaters> Try FMS Access Analyzer - It's very thorough. http://www.fmsinc.com/Products/analyzer/pricing.html Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Wednesday, June 25, 2003 2:42 PM To: Access List Subject: [AccessD] Documenter Can anyone suggest any good software that will document (i.e., cross reference all objects) in an Access 97 database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Wed Jun 25 16:48:33 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 14:48:33 -0700 Subject: [AccessD] Field Totals In-Reply-To: Message-ID: OK, I've now been successful in parsing out my single attendance field into individual fields. http://www.muir63.org/images/attendancetotal.jpg I have database that gives me a total across, but not down, but I don't need that here. I need a total of all the attendance fields - for instance, the total number of people who attended the 25th. I don't even need a fancy report or anything, just something that gives me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to total the 50 records in column B. How do I get that figure here (where B is "attend25"). I've looked in the help file, and tried the pivot table query wizard but I get a block that looks like a spreadsheet but no further wizard to say what next. Hopefully, this has a simple answer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From stuart at lexacorp.com.pg Wed Jun 25 17:15:43 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:15:43 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: Message-ID: <3EFAABAF.23828.35727C@localhost> On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > OK, I've now been successful in parsing out my single attendance field into individual fields. > http://www.muir63.org/images/attendancetotal.jpg > > I have database that gives me a total across, but not down, but I > don't need that here. I need a total of all the attendance fields - > for instance, the total number of people who attended the 25th. I > don't even need a fancy report or anything, just something that gives > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > total the 50 records in column B. How do I get that figure here (where > B is "attend25"). > > I've looked in the help file, and tried the pivot table query wizard > but I get a block that looks like a spreadsheet but no further wizard > to say what next. > In the Query Builder, got to the menu and tick "View-Totals". You will then see another row in the grid labelled "Total:" All the entries initially will be "Group By". Delete the unique fields from the query (First, Last,Married) Change the entries for the Attendance fields to "Sum" . Voila! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Jun 25 17:19:18 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:19:18 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: Message-ID: <3EFAAC86.20554.38B981@localhost> On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > OK, I've now been successful in parsing out my single attendance field into individual fields. > http://www.muir63.org/images/attendancetotal.jpg > > I have database that gives me a total across, but not down, but I > don't need that here. I need a total of all the attendance fields - > for instance, the total number of people who attended the 25th. I > don't even need a fancy report or anything, just something that gives > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > total the 50 records in column B. How do I get that figure here (where > B is "attend25"). > > I've looked in the help file, and tried the pivot table query wizard > but I get a block that looks like a spreadsheet but no further wizard > to say what next. > In the Query Builder, got to the menu and tick "View-Totals". You will then see another row in the grid labelled "Total:" All the entries initially will be "Group By". Delete the unique fields from the query (First, Last,Married) Change the entries for the Attendance fields to "Sum" . Voila! -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Wed Jun 25 17:34:58 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 15:34:58 -0700 Subject: [AccessD] Field Totals In-Reply-To: <3EFAAC86.20554.38B981@localhost> Message-ID: I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it looks like after following your suggestions. However, when I try to execute, I get: "You tried to execute a query that does not include the specified expression 'last' as part of an aggregate function." What next? And thanks! Kathryn > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 25 Jun 2003 3:19:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: Re: [AccessD] Field Totals > > > On 25 Jun 2003 at 14:48, Kathryn Bassett wrote: > > > OK, I've now been successful in parsing out my single attendance field into > individual fields. > > http://www.muir63.org/images/attendancetotal.jpg > > > > I have database that gives me a total across, but not down, but I > > don't need that here. I need a total of all the attendance fields - > > for instance, the total number of people who attended the 25th. I > > don't even need a fancy report or anything, just something that gives > > me the total. In a spreadsheet, I would just say @SUM(B1..B50)) to > > total the 50 records in column B. How do I get that figure here (where > > B is "attend25"). > > > > I've looked in the help file, and tried the pivot table query wizard > > but I get a block that looks like a spreadsheet but no further wizard > > to say what next. > > > > In the Query Builder, got to the menu and tick "View-Totals". > > You will then see another row in the grid labelled "Total:" > > All the entries initially will be "Group By". > Delete the unique fields from the query (First, Last,Married) > Change the entries for the Attendance fields to "Sum" . > Voila! > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From stuart at lexacorp.com.pg Wed Jun 25 17:39:41 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jun 2003 08:39:41 +1000 Subject: [AccessD] Field Totals In-Reply-To: References: <3EFAAC86.20554.38B981@localhost> Message-ID: <3EFAB14D.91.4B660D@localhost> On 25 Jun 2003 at 15:34, Kathryn Bassett wrote: > I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it looks like after following your suggestions. However, when I try to execute, I get: > "You tried to execute a query that does not include the specified expression 'last' as part of an aggregate function." > > What next? > You forgot the other part of last message: "Delete the unique fields from the query (First, Last,Married)" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Wed Jun 25 17:44:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 15:44:52 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <02b901c33b6b$6422fd60$6501a8c0@HAL9002> John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Jun 25 18:04:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 19:04:33 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02b901c33b6b$6422fd60$6501a8c0@HAL9002> Message-ID: You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Wed Jun 25 18:04:41 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Wed, 25 Jun 2003 20:04:41 -0300 Subject: [AccessD] OT - McAfee Internet Security Message-ID: Hi People! Might anybody who has had experience (drawbacks, known problems, etc) contact me offline??? I cannot decide between McAfee and Norton in a K6-III with 384 Mb of RAM. :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From DMcAfee at haascnc.com Wed Jun 25 18:27:31 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 25 Jun 2003 16:27:31 -0700 Subject: [AccessD] Handy Listbox utility... Message-ID: <657FB70438B7D311AF320090279C1801026D7A5F@EXCHMAIL> Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Jun 25 18:46:38 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 25 Jun 2003 16:46:38 -0700 Subject: [AccessD] Field Totals In-Reply-To: <3EFAB14D.91.4B660D@localhost> Message-ID: Ah, I misunderstood. Thought you meant to delete the GroupBy vs changing to Sum. Yes, deleting the field entirely worked like a charm. I now have the four totals I need and will be able to quickly do the totals for the 40th next month. 176 25 177 85 Thanks again! -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: 25 Jun 2003 3:40:PM > To: Kathryn Bassett; accessd at databaseadvisors.com > Subject: RE: [AccessD] Field Totals > > > On 25 Jun 2003 at 15:34, Kathryn Bassett wrote: > > > I replaced http://www.muir63.org/images/attendancetotal.jpg with a shot of what it > looks like after following your suggestions. However, when I try to execute, I get: > > "You tried to execute a query that does not include the specified expression 'last' > as part of an aggregate function." > > > > What next? > > > You forgot the other part of last message: > "Delete the unique fields from the query (First, Last,Married)" > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > From bchacc at san.rr.com Wed Jun 25 18:52:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 25 Jun 2003 16:52:31 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 4:04 PM Subject: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Wed Jun 25 18:56:13 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Wed, 25 Jun 2003 16:56:13 -0700 Subject: [AccessD] Handy Listbox utility... Message-ID: <657FB70438B7D311AF320090279C1801026D7A64@EXCHMAIL> Sorry, working on only a few hours sleep. I re-read your post and realized that I didn't understand what I originally read :) I'm off to bed soon :) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Wednesday, June 25, 2003 4:28 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Handy Listbox utility... Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From jcolby at colbyconsulting.com Wed Jun 25 18:56:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 25 Jun 2003 19:56:00 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> Message-ID: I'll send you a demo. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 4:04 PM Subject: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Jun 25 19:05:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 19:05:47 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F2C@main2.marlow.com> No, it only reads listbox class windows. Access doesn't display controls as true windows. Drew -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Wednesday, June 25, 2003 6:28 PM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Handy Listbox utility... Drew, can you alternate line colors with it? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From accessd at shaw.ca Wed Jun 25 20:54:43 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 25 Jun 2003 18:54:43 -0700 Subject: [AccessD] Handy Listbox utility... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802226F29@main2.marlow.com> Message-ID: Hi Drew: Post me a copy and I will put it up on the DBA site, with appropriate instructions and credits. If you and anyone else has a neat stand-alone demo, class or code snippet, it would be great to post them then any member could easily access the same... If the code or description is starting to look substantial, then send a heads up to Susan Harkins, our intrepid Publications Director, at mailto:harkins at iglou.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 25 21:10:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 25 Jun 2003 21:10:55 -0500 Subject: [AccessD] Handy Listbox utility... Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F2F@main2.marlow.com> I'll do that tomorrow. Right now the hWnd property is hard coded (cause I just needed to use it once). I'll spiff it up a bit and send it to you. Drew -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, June 25, 2003 8:55 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Handy Listbox utility... Hi Drew: Post me a copy and I will put it up on the DBA site, with appropriate instructions and credits. If you and anyone else has a neat stand-alone demo, class or code snippet, it would be great to post them then any member could easily access the same... If the code or description is starting to look substantial, then send a heads up to Susan Harkins, our intrepid Publications Director, at mailto:harkins at iglou.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, June 25, 2003 1:58 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Handy Listbox utility... Just an FYI, yesterday I built a little VB program that will write the contents of a listbox to a file. Not an Access listbox, but a Listbox class window. So if you have software that you would like to copy the listbox contents from, give me a holler, I'll send you the code. 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 From d.dick at uws.edu.au Wed Jun 25 23:28:43 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 26 Jun 2003 14:28:43 +1000 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: <016301c33b9b$6d97f230$3c619a89@DDICK> Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren From Erwin.Craps at ithelps.be Thu Jun 26 01:26:07 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 26 Jun 2003 08:26:07 +0200 Subject: [AccessD] OT Win XP Pro Message-ID: <104AB6116A2DD511A7580008C7097A98219948@AARDBEI> Euh, I dont see wanna you wanna delete all your data for a simple crash. Or do you really mean XP = trash? XP pro is not better than W2K but it has more functionality (faster booting alone is woth the effort). Enfin. You don't need a boot disk with fdisk on it. Just boot from the WXP or W2K CD. But i believe you need to push a key when he asks if you wanna boot from your cd. When installing you can choose and change/delete the disk patitions. WARNING: Deleting a partition will delete all data on it. If you do not boot from the cd, than you have an old cd drive that is not bootable. Then you need to create the install disks from the cd. But you need a working system for that. If your computer does not boot from your FDD (the message not system disk does mean you do not inserted a bootable disk) Or your FDD is damaged/filty. I have this more and more because FDD are never used they get so filty inside they will no longer work... If you have a non bootable Cd drive and a faulty FDD, than you really have bad luck. You need to change or add a FDD/CD drive. Erwin -----Oorspronkelijk bericht----- Van: Drew Wutka [mailto:DWUTKA at marlow.com] Verzonden: dinsdag 24 juni 2003 21:40 Aan: 'accessd at databaseadvisors.com' Onderwerp: RE: [AccessD] OT Win XP Pro Do you have a Windows 2000 Pro CD? Drew -----Original Message----- From: Mwp.Reid at Queens-Belfast.AC.UK [mailto:Mwp.Reid at Queens-Belfast.AC.UK] Sent: Tuesday, June 24, 2003 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT Win XP Pro Drew XP Pro is trashed. I have a boot disk as I want to FDisk the drive. The PC will not bbot fromteh FDD. Keeps coming up with Non System Disk etc Any ideas? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Jun 26 07:12:20 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 26 Jun 2003 08:12:20 -0400 Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to me anyhow) Message-ID: I would like to apologize to everyone. I asked for help last week, and as usual I got it, but since then I have been "missing." There was a death in my family over the weekend and I have been attending to family business. I am back at work now, and ready to attack this Access problem. I would like to say, Thank you to everyone that responded to my plea for help. Everything points to the Vbe6.dll problem, although I have no 2002 apps loaded on my PC. I do have A2k and A97, but perhaps I have another program that uses this dll. This was my first time using A2k, which is about time, but I am just regretting it at the moment. Thanks again everyone! John W Clark From Mark.Mitsules at ngc.com Thu Jun 26 07:30:42 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 26 Jun 2003 08:30:42 -0400 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: Darren, This may get you started. Excel 2002 has a built-in template called "Loan Amortization.xlt" (IIRC earlier versions may have had this as well). More templates can be found here. http://officeupdate.microsoft.com/templategallery/ Mark -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 26, 2003 12:29 AM To: AccessD List Subject: [AccessD] WAY OT: Excel and percentages and stuff Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Jun 26 07:34:35 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 26 Jun 2003 08:34:35 -0400 Subject: [AccessD] WAY OT: Excel and percentages and stuff Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EF49@TTNEXCHSRV1.hshhp.com> And if you need to roll your own look at Excel's PMT function in Help. I don't have it handy but I have seen an example of this used in an amortization schedule. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Thursday, June 26, 2003 8:31 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] WAY OT: Excel and percentages and stuff Darren, This may get you started. Excel 2002 has a built-in template called "Loan Amortization.xlt" (IIRC earlier versions may have had this as well). More templates can be found here. http://officeupdate.microsoft.com/templategallery/ Mark -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, June 26, 2003 12:29 AM To: AccessD List Subject: [AccessD] WAY OT: Excel and percentages and stuff Hello all You guys are my brains trust so.... I need to do some maths as in simple home loan stuff... EG Borrowed $1,000 on date XYZ for x Years Interest rates are %X.xx. Paid so far = $x.xx How much owing = $X.XX This is purely Excel, so can replies (if any) be sent to d.dick at uws.edu.au Haven't got a clue. Over to anybody :-))) Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you 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 dfenton at ozemail.com.au Thu Jun 26 00:44:14 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Thu, 26 Jun 2003 15:44:14 +1000 Subject: [AccessD] Subqueries assistance please Message-ID: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Jun 26 07:59:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Jun 2003 14:59:59 +0200 Subject: [AccessD] Subqueries assistance please In-Reply-To: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> References: <5.2.0.9.0.20030626151629.0228e378@mail.ozemail.com.au> Message-ID: <14126953477.20030626145959@cactus.dk> Hi David To put one query into another, look up the archives for "SQL in-line subquery" The easiest way to extract the value to a textbox is to use DLookup: =DLookUp("[Weeks]","[qdyYourCombinedQuery]") /gustav From accessd at shaw.ca Thu Jun 26 09:52:03 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 26 Jun 2003 07:52:03 -0700 Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to meanyhow) In-Reply-To: Message-ID: Hi John: Under the circumstances there is nothing to apologize for. I am sorry to hear of your loss. Please take any time that is necessary. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Thursday, June 26, 2003 5:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Sorry I went AWOL -- WAS: HELP Very odd problem (to meanyhow) I would like to apologize to everyone. I asked for help last week, and as usual I got it, but since then I have been "missing." There was a death in my family over the weekend and I have been attending to family business. I am back at work now, and ready to attack this Access problem. I would like to say, Thank you to everyone that responded to my plea for help. Everything points to the Vbe6.dll problem, although I have no 2002 apps loaded on my PC. I do have A2k and A97, but perhaps I have another program that uses this dll. This was my first time using A2k, which is about time, but I am just regretting it at the moment. Thanks again everyone! John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Jun 26 10:31:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 26 Jun 2003 11:31:32 -0400 Subject: [AccessD] Time in milliseconds In-Reply-To: <02fd01c33b74$d78923c0$6501a8c0@HAL9002> Message-ID: Rocky, How'd the demo go last night at the SD AUG? I just sent you a fully functioning demo of the JIT with a form to time the difference between JIT and non JIT. On my system here (1.4ghz amd with 512 mb ram), the times for a form with about 4 subforms drawing data from a small movie database were: JIT - 86.7 ms non JIT - 170 ms These are very small simple forms so if your forms get very complex, the difference will be more startling. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Jun 26 11:23:53 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 10:23:53 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: Yesterday some users ran some automation code that creates Word instances in a loop and kills them after printing but it turns out that the printer was so slow that the number or Word instances increased to the point that the NT Terminal Server ran out of some kinds of resources and started giving spurious error messages about not finding a printer, being unable to install a printer and then User32.dll errors and path not found errors. One user was eventually unable to open any applications except that which was already open. An admin cleared the excess Word instances, as many as 18 that outran the printer, and then the user was able to work for a while. Ultimately, afflicted users logged right out and back in again as a precaution. After that, more and more users began to have problems and ultimately, no one was able to log in to the server. Before it all completely failed, an admin took a look at resource and there was plenty of memory and low processor usage and all unnecessary instances of applications were cleared yet every single person started getting the user32.dll error and, after logging out, was unable to log back in due to a time out even though the Terminal Server was on a local LAN. The admin was able to see that all users were out and no user applications were running but he also got a user32.dll error from which there was no recovery. An attempt to restart from Task Manager gave the same user32.dll errors and after 45 minutes of recovery attempts, it was finally decided to interrupt the power off the server. Ultimately Access automation code took full responsibility for the fiasco and the Terminal Server was blameless. I'm not desperate for solutions as code can revert to a single Word instance - multi Document with 20 second time delay approach that worked in the past. I could use help with code that pauses the Access automation while it waits for a print job to complete. So far I've dabbled with objWord.Options.PrintBackground = False objDoc.PrintOut Background:=False What gets me is the Admin view that the Access code is responsible for their inability to release resources that were some how used but didn't show up in any resource monitors or error logging. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Thu Jun 26 11:41:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 26 Jun 2003 11:41:24 -0500 Subject: [AccessD] OT: TS and Automation Message-ID: <2F8793082E00D4119A1700B0D0216BF802226F35@main2.marlow.com> Where was the printer running from, was it on a print server. There is a known print server bug between NT 4.0 print servers and Windows 2000 machines. It causes a massive amount of connections, which exceeds NT 4.0's limit.....which doesn't really show up as memory or CPU resources, however, it completely blocks access to the print server (so if it is also a PDC or BDC, you just locked a lot of people out of the network) Drew -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Thursday, June 26, 2003 11:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: TS and Automation Yesterday some users ran some automation code that creates Word instances in a loop and kills them after printing but it turns out that the printer was so slow that the number or Word instances increased to the point that the NT Terminal Server ran out of some kinds of resources and started giving spurious error messages about not finding a printer, being unable to install a printer and then User32.dll errors and path not found errors. One user was eventually unable to open any applications except that which was already open. An admin cleared the excess Word instances, as many as 18 that outran the printer, and then the user was able to work for a while. Ultimately, afflicted users logged right out and back in again as a precaution. After that, more and more users began to have problems and ultimately, no one was able to log in to the server. Before it all completely failed, an admin took a look at resource and there was plenty of memory and low processor usage and all unnecessary instances of applications were cleared yet every single person started getting the user32.dll error and, after logging out, was unable to log back in due to a time out even though the Terminal Server was on a local LAN. The admin was able to see that all users were out and no user applications were running but he also got a user32.dll error from which there was no recovery. An attempt to restart from Task Manager gave the same user32.dll errors and after 45 minutes of recovery attempts, it was finally decided to interrupt the power off the server. Ultimately Access automation code took full responsibility for the fiasco and the Terminal Server was blameless. I'm not desperate for solutions as code can revert to a single Word instance - multi Document with 20 second time delay approach that worked in the past. I could use help with code that pauses the Access automation while it waits for a print job to complete. So far I've dabbled with objWord.Options.PrintBackground = False objDoc.PrintOut Background:=False What gets me is the Admin view that the Access code is responsible for their inability to release resources that were some how used but didn't show up in any resource monitors or error logging. Hen _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Thu Jun 26 12:40:14 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 11:40:14 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: I don't really know this outfit's architecture. They have a file server and a terminal server, a good number of Win CE terminals at the site plus off site terminals and three Lexmark laser printers with NICs connected to the LAN. There is also a single workstation running Win2k that was idle at the time as well as two or three Win2k laptops which were doing whatever they do. I have no priveleges at this security conscious site so do not have access to the Pinters in Win Explorer for properites, print queues, control panel or any other information. They have had spontaneous Terminal server reboots when large graphics files were sent to the color laser in high resolution modes and it has also rebooted once when it was sent a batch of 80 Word documents in a quick loop. These spontaneous reboots have only started since they switched to a thin client environment. The resource crash was clearly instigated by the multiple Word instances since clearing them allowed users to continue working for a time. There is no doubt that printing has been an issue in recent months. Hen >From: Drew Wutka >Reply-To: accessd at databaseadvisors.com >To: "'accessd at databaseadvisors.com'" >Subject: RE: [AccessD] OT: TS and Automation >Date: Thu, 26 Jun 2003 11:41:24 -0500 > >Where was the printer running from, was it on a print server. There is a >known print server bug between NT 4.0 print servers and Windows 2000 >machines. It causes a massive amount of connections, which exceeds NT >4.0's >limit.....which doesn't really show up as memory or CPU resources, however, >it completely blocks access to the print server (so if it is also a PDC or >BDC, you just locked a lot of people out of the network) > >Drew > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Thursday, June 26, 2003 11:24 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: TS and Automation > > >Yesterday some users ran some automation code that creates Word instances >in > >a loop and kills them after printing but it turns out that the printer was >so slow that the number or Word instances increased to the point that the >NT > >Terminal Server ran out of some kinds of resources and started giving >spurious error messages about not finding a printer, being unable to >install > >a printer and then User32.dll errors and path not found errors. One user >was eventually unable to open any applications except that which was >already > >open. An admin cleared the excess Word instances, as many as 18 that >outran > >the printer, and then the user was able to work for a while. Ultimately, >afflicted users logged right out and back in again as a precaution. > >After that, more and more users began to have problems and ultimately, no >one was able to log in to the server. Before it all completely failed, an >admin took a look at resource and there was plenty of memory and low >processor usage and all unnecessary instances of applications were cleared >yet every single person started getting the user32.dll error and, after >logging out, was unable to log back in due to a time out even though the >Terminal Server was on a local LAN. The admin was able to see that all >users were out and no user applications were running but he also got a >user32.dll error from which there was no recovery. An attempt to restart >from Task Manager gave the same user32.dll errors and after 45 minutes of >recovery attempts, it was finally decided to interrupt the power off the >server. > >Ultimately Access automation code took full responsibility for the fiasco >and the Terminal Server was blameless. > >I'm not desperate for solutions as code can revert to a single Word >instance > >- multi Document with 20 second time delay approach that worked in the >past. > > I could use help with code that pauses the Access automation while it >waits for a print job to complete. So far I've dabbled with > > objWord.Options.PrintBackground = False > objDoc.PrintOut Background:=False > > >What gets me is the Admin view that the Access code is responsible for >their > >inability to release resources that were some how used but didn't show up >in > >any resource monitors or error logging. > >Hen > >_________________________________________________________________ >Tired of spam? Get advanced junk mail protection with MSN 8. >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bchacc at san.rr.com Thu Jun 26 12:48:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 26 Jun 2003 10:48:55 -0700 Subject: [AccessD] Time in milliseconds References: Message-ID: <011201c33c0b$368664f0$6501a8c0@HAL9002> John: Demo went well, although the timer I was using didn't show really startling differences, I think they believed me (and you) that it's a good approach when you have multiple sub-forms on a tab form. The demo you sent me shows about a 2-to-1 advantage and I assume that the advantage becomes more pronounced as the underlying recordsets get larger. Thanks gain for all your help - especially the last-minute stuff. Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Thursday, June 26, 2003 8:31 AM Subject: RE: [AccessD] Time in milliseconds Rocky, How'd the demo go last night at the SD AUG? I just sent you a fully functioning demo of the JIT with a form to time the difference between JIT and non JIT. On my system here (1.4ghz amd with 512 mb ram), the times for a form with about 4 subforms drawing data from a small movie database were: JIT - 86.7 ms non JIT - 170 ms These are very small simple forms so if your forms get very complex, the difference will be more startling. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Thanks again for your help. Ran into a little problem with the ten times opening approach. It seems that the just-in-time stuff must be triggering by the opening because there was no difference between the two forms (the one with the source and the one without) and the 'calculating...' thingy was displayed at the bottom of the screen in both cases. I'll work on it tomorrow. Thanks again. Rocky ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ggonzalez at cccis.com Thu Jun 26 12:49:47 2003 From: ggonzalez at cccis.com (ggonzalez at cccis.com) Date: Thu, 26 Jun 2003 12:49:47 -0500 Subject: [AccessD] Creating Oracle tables Message-ID: Hello, all I am trying to migrate an access database to Oracle and I was wondering if there was a way of using the make table query function in Access to create the tables in Oracle. TIA Gumaro From martyconnelly at shaw.ca Thu Jun 26 14:02:27 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 12:02:27 -0700 Subject: [AccessD] OT: TS and Automation References: Message-ID: <3EFB4343.9040304@shaw.ca> You might be able to interrogate the printer statuses via winspool.drv depending on how hard they have locked it down. Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ (ByVal hPrinter As Long, _ ByVal JobId As Long, _ ByVal Level As Long, _ buffer As Long, _ ByVal pbSize As Long, _ pbSizeNeeded As Long) As Long Private Declare Function SetJob Lib "winspool.drv" Alias _ "SetJobA" (ByVal hPrinter As Long, _ ByVal JobId As Long, _ ByVal Level As Long, _ pJob As Long, _ ByVal Command As Long) As Long Public Enum PrintJobStatuses JOB_STATUS_PAUSED = &H1 JOB_STATUS_ERROR = &H2 JOB_STATUS_DELETING = &H4 JOB_STATUS_SPOOLING = &H8 JOB_STATUS_PRINTING = &H10 JOB_STATUS_OFFLINE = &H20 JOB_STATUS_PAPEROUT = &H40 JOB_STATUS_PRINTER = &H80 JOB_STATUS_DELETED = &H100 JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 JOB_STATUS_USER_INTERVENTION = &H400 JOB_STATUS_RESTART = &H800 End Enum Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Private Type JOB_INFO_1 JobId As Long lpPrinterName As String lpMachinename As String lpUserName As String lpDocumentName As String lpDataType As String lpStatus As String Status As PrintJobStatuses Priority As Long Position As Long TotalPages As Long PagesPrinted As Long Submitted As SYSTEMTIME End Type Private Type JOB_INFO_2 JobId As Long lpPrinterName As String lpMachinename As String lpUserName As String lpDocumentName As String lpNotifyName As String lpDataType As String lpPrintProcessor As String lpParameters As String lpDriverName As String lpDevMode As Long 'Pointer to DevMode lpStatus As String lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR Status As PrintJobStatuses Priority As Long Position As Long StartTime As Long UntilTime As Long TotalPages As Long JobSize As Long Submitted As SYSTEMTIME time As Long PagesPrinted As Long End Type '\\ Included in WINNT4 and beyond Private Type JOB_INFO_3 JobId As Long NextJobId As Long Reserved As Long 'must be set to zero End Type Henry Simpson wrote: > I don't really know this outfit's architecture. They have a file > server and a terminal server, a good number of Win CE terminals at the > site plus off site terminals and three Lexmark laser printers with > NICs connected to the LAN. There is also a single workstation running > Win2k that was idle at the time as well as two or three Win2k laptops > which were doing whatever they do. I have no priveleges at this > security conscious site so do not have access to the Pinters in Win > Explorer for properites, print queues, control panel or any other > information. They have had spontaneous Terminal server reboots when > large graphics files were sent to the color laser in high resolution > modes and it has also rebooted once when it was sent a batch of 80 > Word documents in a quick loop. These spontaneous reboots have only > started since they switched to a thin client environment. The > resource crash was clearly instigated by the multiple Word instances > since clearing them allowed users to continue working for a time. > There is no doubt that printing has been an issue in recent months. > > Hen > > >> From: Drew Wutka >> Reply-To: accessd at databaseadvisors.com >> To: "'accessd at databaseadvisors.com'" >> Subject: RE: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 11:41:24 -0500 >> >> Where was the printer running from, was it on a print server. There >> is a >> known print server bug between NT 4.0 print servers and Windows 2000 >> machines. It causes a massive amount of connections, which exceeds >> NT 4.0's >> limit.....which doesn't really show up as memory or CPU resources, >> however, >> it completely blocks access to the print server (so if it is also a >> PDC or >> BDC, you just locked a lot of people out of the network) >> >> Drew >> >> -----Original Message----- >> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >> Sent: Thursday, June 26, 2003 11:24 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] OT: TS and Automation >> >> >> Yesterday some users ran some automation code that creates Word >> instances in >> >> a loop and kills them after printing but it turns out that the >> printer was >> so slow that the number or Word instances increased to the point that >> the NT >> >> Terminal Server ran out of some kinds of resources and started giving >> spurious error messages about not finding a printer, being unable to >> install >> >> a printer and then User32.dll errors and path not found errors. One >> user >> was eventually unable to open any applications except that which was >> already >> >> open. An admin cleared the excess Word instances, as many as 18 that >> outran >> >> the printer, and then the user was able to work for a while. >> Ultimately, >> afflicted users logged right out and back in again as a precaution. >> >> After that, more and more users began to have problems and >> ultimately, no >> one was able to log in to the server. Before it all completely >> failed, an >> admin took a look at resource and there was plenty of memory and low >> processor usage and all unnecessary instances of applications were >> cleared >> yet every single person started getting the user32.dll error and, after >> logging out, was unable to log back in due to a time out even though the >> Terminal Server was on a local LAN. The admin was able to see that all >> users were out and no user applications were running but he also got a >> user32.dll error from which there was no recovery. An attempt to >> restart >> from Task Manager gave the same user32.dll errors and after 45 >> minutes of >> recovery attempts, it was finally decided to interrupt the power off the >> server. >> >> Ultimately Access automation code took full responsibility for the >> fiasco >> and the Terminal Server was blameless. >> >> I'm not desperate for solutions as code can revert to a single Word >> instance >> >> - multi Document with 20 second time delay approach that worked in >> the past. >> >> I could use help with code that pauses the Access automation while it >> waits for a print job to complete. So far I've dabbled with >> >> objWord.Options.PrintBackground = False >> objDoc.PrintOut Background:=False >> >> >> What gets me is the Admin view that the Access code is responsible >> for their >> >> inability to release resources that were some how used but didn't >> show up in >> >> any resource monitors or error logging. >> >> Hen >> >> _________________________________________________________________ >> Tired of spam? Get advanced junk mail protection with MSN 8. >> http://join.msn.com/?page=features/junkmail >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From keysolns at lantic.net Thu Jun 26 14:35:05 2003 From: keysolns at lantic.net (Gary Lockett) Date: Thu, 26 Jun 2003 21:35:05 +0200 Subject: [AccessD] Microsoft Works WDB Files Message-ID: <045901c33c1a$0c60e9c0$0101a8c0@office> Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa From hsimpson88 at hotmail.com Thu Jun 26 14:52:51 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 26 Jun 2003 13:52:51 -0600 Subject: [AccessD] OT: TS and Automation Message-ID: That will take a bit of work. I'll have to figure out how to retrieve a handle to a printer and identify specific print jobs etc. I'd been looking at: http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm option #2 which tells me to poll on an interval the Word object BackgroundPrintingStatus which returns the number of print jobs in the background printing queue and that would be adequate except: 'Generally, option#1 is safer, because Word can sometimes get a bit confused if asked to background print too many documents at once." And option #1 is to use ActiveDocument.Printout Background:=False which is supposed to pause automation driver code until Word completes printing. Unfortunately, the code appears to run over this line without hesitation. Even if the jobs are enqueued, it appears as though the number of jobs alone may overwhelm the server. If either approach can be made to work reliably I will safely be able to close Word or it's documents as they are finished and not overrun the server. I suppose I'll look at the api calls if a test run while most of the staff are out this long weekend flops. Thanks. Hen >From: MartyConnelly >Reply-To: accessd at databaseadvisors.com >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: TS and Automation >Date: Thu, 26 Jun 2003 12:02:27 -0700 > >You might be able to interrogate the printer statuses via winspool.drv >depending on how hard they have locked it down. > >Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ > (ByVal hPrinter As Long, _ > ByVal JobId As Long, _ > ByVal Level As Long, _ > buffer As Long, _ > ByVal pbSize As Long, _ > pbSizeNeeded As Long) As Long > >Private Declare Function SetJob Lib "winspool.drv" Alias _ > "SetJobA" (ByVal hPrinter As Long, _ > ByVal JobId As Long, _ > ByVal Level As Long, _ > pJob As Long, _ > ByVal Command As Long) As Long > > >Public Enum PrintJobStatuses > JOB_STATUS_PAUSED = &H1 > JOB_STATUS_ERROR = &H2 > JOB_STATUS_DELETING = &H4 > JOB_STATUS_SPOOLING = &H8 > JOB_STATUS_PRINTING = &H10 > JOB_STATUS_OFFLINE = &H20 > JOB_STATUS_PAPEROUT = &H40 > JOB_STATUS_PRINTER = &H80 > JOB_STATUS_DELETED = &H100 > JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 > JOB_STATUS_USER_INTERVENTION = &H400 > JOB_STATUS_RESTART = &H800 >End Enum > >Private Type SYSTEMTIME > wYear As Integer > wMonth As Integer > wDayOfWeek As Integer > wDay As Integer > wHour As Integer > wMinute As Integer > wSecond As Integer > wMilliseconds As Integer >End Type > >Private Type JOB_INFO_1 > JobId As Long > lpPrinterName As String > lpMachinename As String > lpUserName As String > lpDocumentName As String > lpDataType As String > lpStatus As String > Status As PrintJobStatuses > Priority As Long > Position As Long > TotalPages As Long > PagesPrinted As Long > Submitted As SYSTEMTIME >End Type > >Private Type JOB_INFO_2 > JobId As Long > lpPrinterName As String > lpMachinename As String > lpUserName As String > lpDocumentName As String > lpNotifyName As String > lpDataType As String > lpPrintProcessor As String > lpParameters As String > lpDriverName As String > lpDevMode As Long 'Pointer to DevMode > lpStatus As String > lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR > Status As PrintJobStatuses > Priority As Long > Position As Long > StartTime As Long > UntilTime As Long > TotalPages As Long > JobSize As Long > Submitted As SYSTEMTIME > time As Long > PagesPrinted As Long >End Type > >'\\ Included in WINNT4 and beyond >Private Type JOB_INFO_3 > JobId As Long > NextJobId As Long > Reserved As Long 'must be set to zero >End Type > >Henry Simpson wrote: > >>I don't really know this outfit's architecture. They have a file server >>and a terminal server, a good number of Win CE terminals at the site plus >>off site terminals and three Lexmark laser printers with NICs connected to >>the LAN. There is also a single workstation running Win2k that was idle >>at the time as well as two or three Win2k laptops which were doing >>whatever they do. I have no priveleges at this security conscious site so >>do not have access to the Pinters in Win Explorer for properites, print >>queues, control panel or any other information. They have had spontaneous >>Terminal server reboots when large graphics files were sent to the color >>laser in high resolution modes and it has also rebooted once when it was >>sent a batch of 80 Word documents in a quick loop. These spontaneous >>reboots have only started since they switched to a thin client >>environment. The resource crash was clearly instigated by the multiple >>Word instances since clearing them allowed users to continue working for a >>time. There is no doubt that printing has been an issue in recent months. >> >>Hen >> >> >>>From: Drew Wutka >>>Reply-To: accessd at databaseadvisors.com >>>To: "'accessd at databaseadvisors.com'" >>>Subject: RE: [AccessD] OT: TS and Automation >>>Date: Thu, 26 Jun 2003 11:41:24 -0500 >>> >>>Where was the printer running from, was it on a print server. There is a >>>known print server bug between NT 4.0 print servers and Windows 2000 >>>machines. It causes a massive amount of connections, which exceeds NT >>>4.0's >>>limit.....which doesn't really show up as memory or CPU resources, >>>however, >>>it completely blocks access to the print server (so if it is also a PDC >>>or >>>BDC, you just locked a lot of people out of the network) >>> >>>Drew >>> >>>-----Original Message----- >>>From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>Sent: Thursday, June 26, 2003 11:24 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] OT: TS and Automation >>> >>> >>>Yesterday some users ran some automation code that creates Word instances >>>in >>> >>>a loop and kills them after printing but it turns out that the printer >>>was >>>so slow that the number or Word instances increased to the point that the >>>NT >>> >>>Terminal Server ran out of some kinds of resources and started giving >>>spurious error messages about not finding a printer, being unable to >>>install >>> >>>a printer and then User32.dll errors and path not found errors. One user >>>was eventually unable to open any applications except that which was >>>already >>> >>>open. An admin cleared the excess Word instances, as many as 18 that >>>outran >>> >>>the printer, and then the user was able to work for a while. Ultimately, >>>afflicted users logged right out and back in again as a precaution. >>> >>>After that, more and more users began to have problems and ultimately, no >>>one was able to log in to the server. Before it all completely failed, >>>an >>>admin took a look at resource and there was plenty of memory and low >>>processor usage and all unnecessary instances of applications were >>>cleared >>>yet every single person started getting the user32.dll error and, after >>>logging out, was unable to log back in due to a time out even though the >>>Terminal Server was on a local LAN. The admin was able to see that all >>>users were out and no user applications were running but he also got a >>>user32.dll error from which there was no recovery. An attempt to restart >>>from Task Manager gave the same user32.dll errors and after 45 minutes of >>>recovery attempts, it was finally decided to interrupt the power off the >>>server. >>> >>>Ultimately Access automation code took full responsibility for the fiasco >>>and the Terminal Server was blameless. >>> >>>I'm not desperate for solutions as code can revert to a single Word >>>instance >>> >>>- multi Document with 20 second time delay approach that worked in the >>>past. >>> >>> I could use help with code that pauses the Access automation while it >>>waits for a print job to complete. So far I've dabbled with >>> >>> objWord.Options.PrintBackground = False >>> objDoc.PrintOut Background:=False >>> >>> >>>What gets me is the Admin view that the Access code is responsible for >>>their >>> >>>inability to release resources that were some how used but didn't show up >>>in >>> >>>any resource monitors or error logging. >>> >>>Hen >>> >>>_________________________________________________________________ >>>Tired of spam? Get advanced junk mail protection with MSN 8. >>>http://join.msn.com/?page=features/junkmail >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >> >> >>_________________________________________________________________ >>The new MSN 8: advanced junk mail protection and 2 months FREE* >>http://join.msn.com/?page=features/junkmail >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jimdettman at earthlink.net Thu Jun 26 15:04:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 26 Jun 2003 16:04:57 -0400 Subject: [AccessD] Microsoft Works WDB Files In-Reply-To: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: Gary, Have a look at this: HOW TO: Import a Works Database into Microsoft Access 2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;197894 Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett Sent: Thursday, June 26, 2003 3:35 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Microsoft Works WDB Files Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 26 15:07:06 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 26 Jun 2003 16:07:06 -0400 Subject: [AccessD] Microsoft Works WDB Files In-Reply-To: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: Gary, BTW, that's probably no a big help as you don't have Works. I have it here and can convert to a dBase format for you if need be. You can do the rest. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett Sent: Thursday, June 26, 2003 3:35 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Microsoft Works WDB Files Does anyone know how I can convert a WDB file from Microsoft Works into Access 2000? I do not have Works myself, and have been given a number of files that my client wants importing into Access. The next step will be for me to develop and application that uses this information. Can this be done without going back to the client and asking them to save it in another format? Any help greatly appreciated. Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 26 18:45:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 16:45:47 -0700 Subject: [AccessD] Microsoft Works WDB Files References: Message-ID: <3EFB85AB.6040003@shaw.ca> Just watch the dates in MS Works, you can have things like Feb 31, 2003. There is not a lot of error checking in MS Works. Jim Dettman wrote: >Gary, > > Have a look at this: > >HOW TO: Import a Works Database into Microsoft Access 2000 >http://support.microsoft.com/default.aspx?scid=kb;en-us;197894 > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Lockett >Sent: Thursday, June 26, 2003 3:35 PM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Microsoft Works WDB Files > > >Does anyone know how I can convert a WDB file from Microsoft Works into >Access 2000? I do not have Works myself, and have been given a number of >files that my client wants importing into Access. The next step will be for >me to develop and application that uses this information. Can this be done >without going back to the client and asking them to save it in another >format? > >Any help greatly appreciated. > >Gary Lockett >Key Solutions >Port Elizabeth >South Africa > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Thu Jun 26 18:51:51 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 26 Jun 2003 16:51:51 -0700 Subject: [AccessD] OT: TS and Automation References: Message-ID: <3EFB8717.4080709@shaw.ca> Look at http://www.merrioncomputing.com/Programming/WatchPrinter.htm and Example 5 - Listing all the print jobs queued by a given user http://www.merrioncomputing.com/EventVB/Example6.html They started to write this for VB6 and switched to vb.net Henry Simpson wrote: > That will take a bit of work. I'll have to figure out how to retrieve > a handle to a printer and identify specific print jobs etc. > > I'd been looking at: > > http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm > > option #2 which tells me to poll on an interval the Word object > BackgroundPrintingStatus which returns the number of print jobs in the > background printing queue and that would be adequate except: > > 'Generally, option#1 is safer, because Word can sometimes get a bit > confused if asked to background print too many documents at once." > > And option #1 is to use ActiveDocument.Printout Background:=False > which is supposed to pause automation driver code until Word completes > printing. Unfortunately, the code appears to run over this line > without hesitation. Even if the jobs are enqueued, it appears as > though the number of jobs alone may overwhelm the server. If either > approach can be made to work reliably I will safely be able to close > Word or it's documents as they are finished and not overrun the server. > > I suppose I'll look at the api calls if a test run while most of the > staff are out this long weekend flops. Thanks. > > Hen > > > >> From: MartyConnelly >> Reply-To: accessd at databaseadvisors.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 12:02:27 -0700 >> >> You might be able to interrogate the printer statuses via >> winspool.drv depending on how hard they have locked it down. >> >> Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ >> (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> buffer As Long, _ >> ByVal pbSize As Long, _ >> pbSizeNeeded As Long) As Long >> >> Private Declare Function SetJob Lib "winspool.drv" Alias _ >> "SetJobA" (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> pJob As Long, _ >> ByVal Command As Long) As Long >> >> >> Public Enum PrintJobStatuses >> JOB_STATUS_PAUSED = &H1 >> JOB_STATUS_ERROR = &H2 >> JOB_STATUS_DELETING = &H4 >> JOB_STATUS_SPOOLING = &H8 >> JOB_STATUS_PRINTING = &H10 >> JOB_STATUS_OFFLINE = &H20 >> JOB_STATUS_PAPEROUT = &H40 >> JOB_STATUS_PRINTER = &H80 >> JOB_STATUS_DELETED = &H100 >> JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 >> JOB_STATUS_USER_INTERVENTION = &H400 >> JOB_STATUS_RESTART = &H800 >> End Enum >> >> Private Type SYSTEMTIME >> wYear As Integer >> wMonth As Integer >> wDayOfWeek As Integer >> wDay As Integer >> wHour As Integer >> wMinute As Integer >> wSecond As Integer >> wMilliseconds As Integer >> End Type >> >> Private Type JOB_INFO_1 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpDataType As String >> lpStatus As String >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> TotalPages As Long >> PagesPrinted As Long >> Submitted As SYSTEMTIME >> End Type >> >> Private Type JOB_INFO_2 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpNotifyName As String >> lpDataType As String >> lpPrintProcessor As String >> lpParameters As String >> lpDriverName As String >> lpDevMode As Long 'Pointer to DevMode >> lpStatus As String >> lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> StartTime As Long >> UntilTime As Long >> TotalPages As Long >> JobSize As Long >> Submitted As SYSTEMTIME >> time As Long >> PagesPrinted As Long >> End Type >> >> '\\ Included in WINNT4 and beyond >> Private Type JOB_INFO_3 >> JobId As Long >> NextJobId As Long >> Reserved As Long 'must be set to zero >> End Type >> >> Henry Simpson wrote: >> >>> I don't really know this outfit's architecture. They have a file >>> server and a terminal server, a good number of Win CE terminals at >>> the site plus off site terminals and three Lexmark laser printers >>> with NICs connected to the LAN. There is also a single workstation >>> running Win2k that was idle at the time as well as two or three >>> Win2k laptops which were doing whatever they do. I have no >>> priveleges at this security conscious site so do not have access to >>> the Pinters in Win Explorer for properites, print queues, control >>> panel or any other information. They have had spontaneous Terminal >>> server reboots when large graphics files were sent to the color >>> laser in high resolution modes and it has also rebooted once when it >>> was sent a batch of 80 Word documents in a quick loop. These >>> spontaneous reboots have only started since they switched to a thin >>> client environment. The resource crash was clearly instigated by >>> the multiple Word instances since clearing them allowed users to >>> continue working for a time. There is no doubt that printing has >>> been an issue in recent months. >>> >>> Hen >>> >>> >>>> From: Drew Wutka >>>> Reply-To: accessd at databaseadvisors.com >>>> To: "'accessd at databaseadvisors.com'" >>>> Subject: RE: [AccessD] OT: TS and Automation >>>> Date: Thu, 26 Jun 2003 11:41:24 -0500 >>>> >>>> Where was the printer running from, was it on a print server. >>>> There is a >>>> known print server bug between NT 4.0 print servers and Windows 2000 >>>> machines. It causes a massive amount of connections, which exceeds >>>> NT 4.0's >>>> limit.....which doesn't really show up as memory or CPU resources, >>>> however, >>>> it completely blocks access to the print server (so if it is also a >>>> PDC or >>>> BDC, you just locked a lot of people out of the network) >>>> >>>> Drew >>>> >>>> -----Original Message----- >>>> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>> Sent: Thursday, June 26, 2003 11:24 AM >>>> To: accessd at databaseadvisors.com >>>> Subject: [AccessD] OT: TS and Automation >>>> >>>> >>>> Yesterday some users ran some automation code that creates Word >>>> instances in >>>> >>>> a loop and kills them after printing but it turns out that the >>>> printer was >>>> so slow that the number or Word instances increased to the point >>>> that the NT >>>> >>>> Terminal Server ran out of some kinds of resources and started giving >>>> spurious error messages about not finding a printer, being unable >>>> to install >>>> >>>> a printer and then User32.dll errors and path not found errors. >>>> One user >>>> was eventually unable to open any applications except that which >>>> was already >>>> >>>> open. An admin cleared the excess Word instances, as many as 18 >>>> that outran >>>> >>>> the printer, and then the user was able to work for a while. >>>> Ultimately, >>>> afflicted users logged right out and back in again as a precaution. >>>> >>>> After that, more and more users began to have problems and >>>> ultimately, no >>>> one was able to log in to the server. Before it all completely >>>> failed, an >>>> admin took a look at resource and there was plenty of memory and low >>>> processor usage and all unnecessary instances of applications were >>>> cleared >>>> yet every single person started getting the user32.dll error and, >>>> after >>>> logging out, was unable to log back in due to a time out even >>>> though the >>>> Terminal Server was on a local LAN. The admin was able to see that >>>> all >>>> users were out and no user applications were running but he also got a >>>> user32.dll error from which there was no recovery. An attempt to >>>> restart >>>> from Task Manager gave the same user32.dll errors and after 45 >>>> minutes of >>>> recovery attempts, it was finally decided to interrupt the power >>>> off the >>>> server. >>>> >>>> Ultimately Access automation code took full responsibility for the >>>> fiasco >>>> and the Terminal Server was blameless. >>>> >>>> I'm not desperate for solutions as code can revert to a single Word >>>> instance >>>> >>>> - multi Document with 20 second time delay approach that worked in >>>> the past. >>>> >>>> I could use help with code that pauses the Access automation >>>> while it >>>> waits for a print job to complete. So far I've dabbled with >>>> >>>> objWord.Options.PrintBackground = False >>>> objDoc.PrintOut Background:=False >>>> >>>> >>>> What gets me is the Admin view that the Access code is responsible >>>> for their >>>> >>>> inability to release resources that were some how used but didn't >>>> show up in >>>> >>>> any resource monitors or error logging. >>>> >>>> Hen >>>> >>>> _________________________________________________________________ >>>> Tired of spam? Get advanced junk mail protection with MSN 8. >>>> http://join.msn.com/?page=features/junkmail >>>> >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> _________________________________________________________________ >>> The new MSN 8: advanced junk mail protection and 2 months FREE* >>> http://join.msn.com/?page=features/junkmail >>> >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From SDSSoftware at Optusnet.com.au Thu Jun 26 20:29:22 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 27 Jun 2003 11:29:22 +1000 Subject: [AccessD] Common dialog control Message-ID: <000c01c33c4b$89a520a0$54dd31d2@OfficePC> Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Thu Jun 26 21:03:11 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 26 Jun 2003 22:03:11 -0400 Subject: [AccessD] Common dialog control In-Reply-To: <000c01c33c4b$89a520a0$54dd31d2@OfficePC> Message-ID: <001601c33c50$479e6900$1f330cd8@hargrove.internal> Common dialog solution will work in a runtime environment. FileDialog solution will not work in a runtime environment. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Software Design & Solutions Pty Ltd. Sent: Thursday, June 26, 2003 9:29 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Thu Jun 26 21:00:25 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 27 Jun 2003 14:00:25 +1200 Subject: [AccessD] Common dialog control Message-ID: <70F3D727890C784291D8433E9C418F29038B5F@server.bondsoftware.co.nz> Common Dialog control works OK here in runtime on Access 2000. Stephen Bond Otatara, NZ -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 27 June 2003 1:29 p.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Thu Jun 26 21:48:38 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 27 Jun 2003 12:48:38 +1000 Subject: [AccessD] Common dialog control References: <70F3D727890C784291D8433E9C418F29038B5F@server.bondsoftware.co.nz> Message-ID: <003301c33c56$9c67acc0$54dd31d2@OfficePC> OK - thanks Stephen. Kath ----- Original Message ----- From: Stephen Bond To: accessd at databaseadvisors.com Sent: Friday, June 27, 2003 12:00 PM Subject: RE: [AccessD] Common dialog control Common Dialog control works OK here in runtime on Access 2000. Stephen Bond Otatara, NZ -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 27 June 2003 1:29 p.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Common dialog control Can someone just refresh my memory on this - have I got it right that if I implement a solution using the common dialog control then it won't work in an mde or in a runtime environment. True / false? Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Fri Jun 27 00:58:17 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 27 Jun 2003 07:58:17 +0200 Subject: [AccessD] OT: TS and Automation Message-ID: <104AB6116A2DD511A7580008C7097A98219954@AARDBEI> I believe you should check the word object for some posibilities if printing is done or not. You will have a hard time gooing to the spooler directly. You will have no guaranty wich printer/document you did print from that word instance. There must be some code to evaluate if word has finished printing or not. Check that that value in a loop with a doevents statement in Access. -----Oorspronkelijk bericht----- Van: MartyConnelly [mailto:martyconnelly at shaw.ca] Verzonden: vrijdag 27 juni 2003 1:52 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] OT: TS and Automation Look at http://www.merrioncomputing.com/Programming/WatchPrinter.htm and Example 5 - Listing all the print jobs queued by a given user http://www.merrioncomputing.com/EventVB/Example6.html They started to write this for VB6 and switched to vb.net Henry Simpson wrote: > That will take a bit of work. I'll have to figure out how to retrieve > a handle to a printer and identify specific print jobs etc. > > I'd been looking at: > > http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm > > option #2 which tells me to poll on an interval the Word object > BackgroundPrintingStatus which returns the number of print jobs in the > background printing queue and that would be adequate except: > > 'Generally, option#1 is safer, because Word can sometimes get a bit > confused if asked to background print too many documents at once." > > And option #1 is to use ActiveDocument.Printout Background:=False > which is supposed to pause automation driver code until Word completes > printing. Unfortunately, the code appears to run over this line > without hesitation. Even if the jobs are enqueued, it appears as > though the number of jobs alone may overwhelm the server. If either > approach can be made to work reliably I will safely be able to close > Word or it's documents as they are finished and not overrun the server. > > I suppose I'll look at the api calls if a test run while most of the > staff are out this long weekend flops. Thanks. > > Hen > > > >> From: MartyConnelly >> Reply-To: accessd at databaseadvisors.com >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] OT: TS and Automation >> Date: Thu, 26 Jun 2003 12:02:27 -0700 >> >> You might be able to interrogate the printer statuses via >> winspool.drv depending on how hard they have locked it down. >> >> Private Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" _ >> (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> buffer As Long, _ >> ByVal pbSize As Long, _ >> pbSizeNeeded As Long) As Long >> >> Private Declare Function SetJob Lib "winspool.drv" Alias _ >> "SetJobA" (ByVal hPrinter As Long, _ >> ByVal JobId As Long, _ >> ByVal Level As Long, _ >> pJob As Long, _ >> ByVal Command As Long) As Long >> >> >> Public Enum PrintJobStatuses >> JOB_STATUS_PAUSED = &H1 >> JOB_STATUS_ERROR = &H2 >> JOB_STATUS_DELETING = &H4 >> JOB_STATUS_SPOOLING = &H8 >> JOB_STATUS_PRINTING = &H10 >> JOB_STATUS_OFFLINE = &H20 >> JOB_STATUS_PAPEROUT = &H40 >> JOB_STATUS_PRINTER = &H80 >> JOB_STATUS_DELETED = &H100 >> JOB_STATUS_BLOCKED_DEVICEQUEUE = &H200 >> JOB_STATUS_USER_INTERVENTION = &H400 >> JOB_STATUS_RESTART = &H800 >> End Enum >> >> Private Type SYSTEMTIME >> wYear As Integer >> wMonth As Integer >> wDayOfWeek As Integer >> wDay As Integer >> wHour As Integer >> wMinute As Integer >> wSecond As Integer >> wMilliseconds As Integer >> End Type >> >> Private Type JOB_INFO_1 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpDataType As String >> lpStatus As String >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> TotalPages As Long >> PagesPrinted As Long >> Submitted As SYSTEMTIME >> End Type >> >> Private Type JOB_INFO_2 >> JobId As Long >> lpPrinterName As String >> lpMachinename As String >> lpUserName As String >> lpDocumentName As String >> lpNotifyName As String >> lpDataType As String >> lpPrintProcessor As String >> lpParameters As String >> lpDriverName As String >> lpDevMode As Long 'Pointer to DevMode >> lpStatus As String >> lpSecurityDescriptor As Long 'Pointer to SECURITY_DESCRIPTOR >> Status As PrintJobStatuses >> Priority As Long >> Position As Long >> StartTime As Long >> UntilTime As Long >> TotalPages As Long >> JobSize As Long >> Submitted As SYSTEMTIME >> time As Long >> PagesPrinted As Long >> End Type >> >> '\\ Included in WINNT4 and beyond >> Private Type JOB_INFO_3 >> JobId As Long >> NextJobId As Long >> Reserved As Long 'must be set to zero >> End Type >> >> Henry Simpson wrote: >> >>> I don't really know this outfit's architecture. They have a file >>> server and a terminal server, a good number of Win CE terminals at >>> the site plus off site terminals and three Lexmark laser printers >>> with NICs connected to the LAN. There is also a single workstation >>> running Win2k that was idle at the time as well as two or three >>> Win2k laptops which were doing whatever they do. I have no >>> priveleges at this security conscious site so do not have access to >>> the Pinters in Win Explorer for properites, print queues, control >>> panel or any other information. They have had spontaneous Terminal >>> server reboots when large graphics files were sent to the color >>> laser in high resolution modes and it has also rebooted once when it >>> was sent a batch of 80 Word documents in a quick loop. These >>> spontaneous reboots have only started since they switched to a thin >>> client environment. The resource crash was clearly instigated by >>> the multiple Word instances since clearing them allowed users to >>> continue working for a time. There is no doubt that printing has >>> been an issue in recent months. >>> >>> Hen >>> >>> >>>> From: Drew Wutka >>>> Reply-To: accessd at databaseadvisors.com >>>> To: "'accessd at databaseadvisors.com'" >>>> Subject: RE: [AccessD] OT: TS and Automation >>>> Date: Thu, 26 Jun 2003 11:41:24 -0500 >>>> >>>> Where was the printer running from, was it on a print server. >>>> There is a >>>> known print server bug between NT 4.0 print servers and Windows 2000 >>>> machines. It causes a massive amount of connections, which exceeds >>>> NT 4.0's >>>> limit.....which doesn't really show up as memory or CPU resources, >>>> however, >>>> it completely blocks access to the print server (so if it is also a >>>> PDC or >>>> BDC, you just locked a lot of people out of the network) >>>> >>>> Drew >>>> >>>> -----Original Message----- >>>> From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >>>> Sent: Thursday, June 26, 2003 11:24 AM >>>> To: accessd at databaseadvisors.com >>>> Subject: [AccessD] OT: TS and Automation >>>> >>>> >>>> Yesterday some users ran some automation code that creates Word >>>> instances in >>>> >>>> a loop and kills them after printing but it turns out that the >>>> printer was >>>> so slow that the number or Word instances increased to the point >>>> that the NT >>>> >>>> Terminal Server ran out of some kinds of resources and started >>>> giving spurious error messages about not finding a printer, being >>>> unable to install >>>> >>>> a printer and then User32.dll errors and path not found errors. >>>> One user >>>> was eventually unable to open any applications except that which >>>> was already >>>> >>>> open. An admin cleared the excess Word instances, as many as 18 >>>> that outran >>>> >>>> the printer, and then the user was able to work for a while. >>>> Ultimately, >>>> afflicted users logged right out and back in again as a precaution. >>>> >>>> After that, more and more users began to have problems and >>>> ultimately, no >>>> one was able to log in to the server. Before it all completely >>>> failed, an >>>> admin took a look at resource and there was plenty of memory and low >>>> processor usage and all unnecessary instances of applications were >>>> cleared >>>> yet every single person started getting the user32.dll error and, >>>> after >>>> logging out, was unable to log back in due to a time out even >>>> though the >>>> Terminal Server was on a local LAN. The admin was able to see that >>>> all >>>> users were out and no user applications were running but he also got a >>>> user32.dll error from which there was no recovery. An attempt to >>>> restart >>>> from Task Manager gave the same user32.dll errors and after 45 >>>> minutes of >>>> recovery attempts, it was finally decided to interrupt the power >>>> off the >>>> server. >>>> >>>> Ultimately Access automation code took full responsibility for the >>>> fiasco >>>> and the Terminal Server was blameless. >>>> >>>> I'm not desperate for solutions as code can revert to a single Word >>>> instance >>>> >>>> - multi Document with 20 second time delay approach that worked in >>>> the past. >>>> >>>> I could use help with code that pauses the Access automation >>>> while it >>>> waits for a print job to complete. So far I've dabbled with >>>> >>>> objWord.Options.PrintBackground = False >>>> objDoc.PrintOut Background:=False >>>> >>>> >>>> What gets me is the Admin view that the Access code is responsible >>>> for their >>>> >>>> inability to release resources that were some how used but didn't >>>> show up in >>>> >>>> any resource monitors or error logging. >>>> >>>> Hen >>>> >>>> _________________________________________________________________ >>>> Tired of spam? Get advanced junk mail protection with MSN 8. >>>> http://join.msn.com/?page=features/junkmail >>>> >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> _______________________________________________ >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> _________________________________________________________________ >>> The new MSN 8: advanced junk mail protection and 2 months FREE* >>> http://join.msn.com/?page=features/junkmail >>> >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Jun 27 01:04:23 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 27 Jun 2003 08:04:23 +0200 Subject: [AccessD] Time in milliseconds Message-ID: <104AB6116A2DD511A7580008C7097A98219955@AARDBEI> I don't know the status today on clocks in pc's but you must realize that clocks in pc's are pretty lousy. >From what I last recalled, pc clocks are only accurate to 1/3 of a second. And pc clocks do tend to run back or forward. You can minimize this by dooing a NET SET TIME in the logon scipt of a windows network, thus setting pc clocks just every logon. You can use a atomic clock program on the server with internet access. If you really need millisecond accuracy, you will need to buy you a hardware atomic clock (radio based) to put in your or all computers. Depends on how accurate it must be. Erwin -----Oorspronkelijk bericht----- Van: John Colby [mailto:jcolby at colbyconsulting.com] Verzonden: donderdag 26 juni 2003 1:05 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Time in milliseconds You pasted the code into a module instead of a class? Or you saved the class code to a name other than clsTimer. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: That looks real good. The time kind of got away from me so if I don't get a reply right away I can go with what I've got. But this would be better. I'm getting a compile error on Dim mclsTimer As clsTimer User defined type not defined. What have I left out? Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 10:13 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Below is a modification to the TestTimer to time your form opening / closing 10 times. Obviously replace the form name(s) with your own. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Dim intLoopCnt As Integer Set mclsTimer = New clsTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" mclsTimer.StartTimer For intLoopCnt = 1 To 10 DoCmd.OpenForm "frm_MoviesTab" DoCmd.Close acForm, "frm_MoviesTab" Next intLoopCnt MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" Set mclsTimer = Nothing End Function John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 25, 2003 11:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Time in milliseconds John: Will it work across forms? I'm demonstrating your Just-In-Time forms at the AUGSD tonight and since it's a single user box the difference in opening time is hard to see, even though it's a factor of 2-4. I think I need to start my timing from the Main Menu Click event that opens the form with the sub-forms in it, as some of the processing of loading the sub-form's recordsets goes on even before the called form's OnOpen event. Best, Rocky ----- Original Message ----- From: John Colby To: accessd at databaseadvisors.com Sent: Wednesday, June 25, 2003 6:47 AM Subject: RE: [AccessD] Time in milliseconds Rocky, Here is the class I use for timing things such as the opening of forms and such, with a timer test function you can place in a module to play around with the class. Dead simple to use. The nice thing about using a class is that you can have as many instances as you need timing various stuff since the variable tracking elapsed time is private to the class instance. Option Compare Database Option Explicit Dim mclsTimer As clsTimer Function TestTimer() Set mclsTimer = New clsTimer MsgBox "Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any key to continue", , "TIMER TEST 1" MsgBox mclsTimer.EndTimer & " ms total elapsed time - Hit any key to continue", , "TIMER TEST 2" mclsTimer.StartTimer MsgBox "Hit any key to continue", , "TIMER TEST 3" MsgBox mclsTimer.EndTimer() & " ms elapsed time", , "TIMER TEST3" Set mclsTimer = Nothing End Function Option Compare Database Option Explicit '.=============================================================== '.Copyright 2001 Colby Consulting. All rights reserved. '.E-mail : jcolby at colbyconsulting.com '.=============================================================== ' DO NOT DELETE THE COMMENTS ABOVE. All other comments in this module ' may be deleted from production code, but lines above must remain. '--------------------------------------------------------------------- '.Description : Implements the instantiated class for: clsTimer '. '.Written By : John W. Colby '.Date Created : 05/28/2001 ' Rev. History : ' ' Comments : '--------------------------------------------------------------------- '. ' ADDITIONAL NOTES: ' '--------------------------------------------------------------------- ' ' INSTRUCTIONS: '--------------------------------------------------------------------- '. 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO THE CLASS '*+ Class constant declaration '*- Class constants declaration '*+ Class variables declarations '*- Class variables declarations 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO 'IMPLEMENT CLASS FUNCTIONALITY Private Declare Function apiGetTime Lib "winmm.dll" _ Alias "timeGetTime" () As Long '*+ custom constants declaration '*- Custom constants declaration '*+ custom variables declarations Dim lngStartTime As Long '*- custom variables declarations 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS '*+ Private Init/Terminate Interface Private Sub Class_Initialize() StartTimer End Sub '*- Public Init/Terminate interface '*- Parent/Child links interface 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS FUNCTIONALITY '*+Class function / sub declaration Function EndTimer() As Long EndTimer = apiGetTime() - lngStartTime End Function Sub StartTimer() lngStartTime = apiGetTime() End Sub Function RawTime() As Long RawTime = apiGetTime() End Function '*-Class function / sub declaration John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, June 24, 2003 12:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Time in milliseconds Dear List: Is it possible to access/store/display the time in increments smaller than seconds. I need to time something in fractions of a second. MTIA Rocky _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alun.Garraway at otto.de Fri Jun 27 05:38:46 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 27 Jun 2003 12:38:46 +0200 Subject: [AccessD] Access Run Time? Message-ID: <73584FDFECAAD611956A0000D11F919F013008D6@ntovmail06.ov.otto.de> Hallo, the network bods are talking about installing the Access Run Time for "Normal" users, I have a few questions, about this & its implications for me. 1. does the run time have to be installed on every maschine in an NT-Network? 2. can all users open .MDBs without any problems when the run time is installed? (are there anythings that maybe won't work?) 3. are there anythings I have to watchout for when programing an mdb used in the run time envirnment? (for ex. can an error in code cause a crash?) TIA for any tips alun Alun Garraway IM-IT Sonderprojekte LBB-D1 Tel. (040) 64 61 5573 Fax (040) 64 64 5573 mailto:alun.garraway at otto.de From carbonnb at sympatico.ca Fri Jun 27 21:03:48 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:03:48 -0400 Subject: [AccessD] Ping Message-ID: <3EFCBF44.18199.2893361@localhost> Pinging -- Bryan Carbonnell - carbonnb at sympatico.ca Learn from the mistakes of others. You can't live long enough to make them all yourself. From carbonnb at sympatico.ca Fri Jun 27 21:16:48 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:16:48 -0400 Subject: [AccessD] Ping In-Reply-To: <3EFCBF44.18199.2893361@localhost> Message-ID: <3EFCC250.17766.2951935@localhost> On 27 Jun 2003 at 22:03, Bryan Carbonnell wrote: > Pinging I think we may be back. -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That to ignore the facts does not change the facts. From carbonnb at sympatico.ca Fri Jun 27 21:29:37 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:29:37 -0400 Subject: [AccessD] Ping Again Message-ID: <3EFCC551.29241.2A0D811@localhost> Ping. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. From carbonnb at sympatico.ca Fri Jun 27 21:34:27 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:34:27 -0400 Subject: [AccessD] We're back Message-ID: <3EFCC673.31805.2A543C6@localhost> It looks like we are back. If you sent an e-mails to any of the DBA lists today, you will need to resend them. Thanks for your understanding. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From carbonnb at sympatico.ca Fri Jun 27 21:29:37 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 27 Jun 2003 22:29:37 -0400 Subject: [AccessD] [dba-SQLServer]Ping Again Message-ID: <3EFCC551.29241.2A0D811@localhost> Ping. -- Bryan Carbonnell - carbonnb at sympatico.ca Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From dbcfour at triad.rr.com Fri Jun 27 22:03:58 2003 From: dbcfour at triad.rr.com (Donna Cook) Date: Fri, 27 Jun 2003 23:03:58 -0400 Subject: [AccessD] Thank you to Bryan Carbonnell In-Reply-To: <200306270601.h5R61Xg22121@databaseadvisors.com> Message-ID: <000001c33d21$f0de4720$1208a8c0@CookLT> For his help in getting the lists back up and running. Thank you again for all of your efforts on our behalf! Donna --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 From martyconnelly at shaw.ca Fri Jun 27 23:55:45 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 27 Jun 2003 21:55:45 -0700 Subject: [AccessD] Time in milliseconds References: <104AB6116A2DD511A7580008C7097A98219955@AARDBEI> Message-ID: <3EFD1FD1.4040406@shaw.ca> You can use the QueryPerformanceCounter API, and it ticks 1,193,180 times per second on some machine. You can use the frequency call to determine the specific frequency for your machine That should get you well into the microsecond range of accuarcy. See http://www.xbeat.net/vbspeed/details.htm#How%20I%20Time This site has a lot of sample code for speed testing Private Declare Function QueryPerformanceCounter Lib "kernel32" ( _ lpPerformanceCount As Currency) As Long Private Declare Function QueryPerformanceFrequency Lib "kernel32" ( _ lpFrequency As Currency) As Long Erwin Craps wrote: > > I don't know the status today on clocks in pc's but you must realize > that clocks in pc's are pretty lousy. > From what I last recalled, pc clocks are only accurate to 1/3 of a second. > And pc clocks do tend to run back or forward. > > You can minimize this by dooing a NET SET TIME in the logon scipt of a > windows network, thus setting pc clocks just every logon. > You can use a atomic clock program on the server with internet access. > > If you really need millisecond accuracy, you will need to buy you a > hardware atomic clock (radio based) to put in your or all computers. > > Depends on how accurate it must be. > > Erwin > > > -----Oorspronkelijk bericht----- > Van: John Colby [mailto:jcolby at colbyconsulting.com] > Verzonden: donderdag 26 juni 2003 1:05 > Aan: accessd at databaseadvisors.com > Onderwerp: RE: [AccessD] Time in milliseconds > > You pasted the code into a module instead of a class? Or you saved > the class code to a name other than clsTimer. > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 25, 2003 6:45 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Time in milliseconds > > John: > > That looks real good. The time kind of got away from me so if I > don't get a reply right away I can go with what I've got. But > this would be better. > > I'm getting a compile error on > > Dim mclsTimer As clsTimer > > User defined type not defined. > > What have I left out? > > Best, > > Rocky > > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > > Sent: Wednesday, June 25, 2003 10:13 AM > Subject: RE: [AccessD] Time in milliseconds > > Rocky, > > Below is a modification to the TestTimer to time your form > opening / closing 10 times. Obviously replace the form > name(s) with your own. > > Option Compare Database > Option Explicit > Dim mclsTimer As clsTimer > > Function TestTimer() > Dim intLoopCnt As Integer > Set mclsTimer = New clsTimer > For intLoopCnt = 1 To 10 > DoCmd.OpenForm "frm_MoviesTab" > DoCmd.Close acForm, "frm_MoviesTab" > Next intLoopCnt > MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any > key to continue", , "TIMER TEST 1" > mclsTimer.StartTimer > For intLoopCnt = 1 To 10 > DoCmd.OpenForm "frm_MoviesTab" > DoCmd.Close acForm, "frm_MoviesTab" > Next intLoopCnt > MsgBox mclsTimer.EndTimer & " ms elapsed time - Hit any > key to continue", , "TIMER TEST 1" > Set mclsTimer = Nothing > End Function > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Wednesday, June 25, 2003 11:37 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Time in milliseconds > > John: > > Will it work across forms? > > I'm demonstrating your Just-In-Time forms at the AUGSD > tonight and since it's a single user box the difference in > opening time is hard to see, even though it's a factor of 2-4. > > I think I need to start my timing from the Main Menu Click > event that opens the form with the sub-forms in it, as > some of the processing of loading the sub-form's > recordsets goes on even before the called form's OnOpen > event. > > Best, > > Rocky > > > > > ----- Original Message ----- > From: John Colby > To: accessd at databaseadvisors.com > > Sent: Wednesday, June 25, 2003 6:47 AM > Subject: RE: [AccessD] Time in milliseconds > > Rocky, > > Here is the class I use for timing things such as the > opening of forms and such, with a timer test function > you can place in a module to play around with the > class. Dead simple to use. > > The nice thing about using a class is that you can > have as many instances as you need timing various > stuff since the variable tracking elapsed time is > private to the class instance. > > Option Compare Database > Option Explicit > Dim mclsTimer As clsTimer > > Function TestTimer() > Set mclsTimer = New clsTimer > MsgBox "Hit any key to continue", , "TIMER TEST 1" > MsgBox mclsTimer.EndTimer & " ms elapsed time - > Hit any key to continue", , "TIMER TEST 1" > MsgBox mclsTimer.EndTimer & " ms total elapsed > time - Hit any key to continue", , "TIMER TEST 2" > mclsTimer.StartTimer > MsgBox "Hit any key to continue", , "TIMER TEST 3" > MsgBox mclsTimer.EndTimer() & " ms elapsed time", > , "TIMER TEST3" > Set mclsTimer = Nothing > End Function > > Option Compare Database > Option Explicit > '.=============================================================== > '.Copyright 2001 Colby Consulting. All rights reserved. > '.E-mail : jcolby at colbyconsulting.com > > '.=============================================================== > ' DO NOT DELETE THE COMMENTS ABOVE. All other > comments in this module > ' may be deleted from production code, but lines above > must remain. > '--------------------------------------------------------------------- > '.Description : Implements the instantiated class > for: clsTimer > '. > '.Written By : John W. Colby > '.Date Created : 05/28/2001 > ' Rev. History : > ' > ' Comments : > '--------------------------------------------------------------------- > '. > ' ADDITIONAL NOTES: > ' > '--------------------------------------------------------------------- > ' > ' INSTRUCTIONS: > '--------------------------------------------------------------------- > '. > 'THESE CONSTANTS AND VARIABLES ARE USED INTERNALLY TO > THE CLASS > '*+ Class constant declaration > '*- Class constants declaration > > '*+ Class variables declarations > '*- Class variables declarations > > 'THESE CONSTANTS AND VARIABLES ARE USED BY THE CLASS TO > 'IMPLEMENT CLASS FUNCTIONALITY > Private Declare Function apiGetTime Lib "winmm.dll" _ > Alias > "timeGetTime" () As Long > '*+ custom constants declaration > '*- Custom constants declaration > > '*+ custom variables declarations > Dim lngStartTime As Long > '*- custom variables declarations > > 'THESE FUNCTIONS / SUBS ARE USED INTERNALLY TO THE CLASS > '*+ Private Init/Terminate Interface > Private Sub Class_Initialize() > StartTimer > End Sub > '*- Public Init/Terminate interface > '*- Parent/Child links interface > 'THESE FUNCTIONS / SUBS ARE USED TO IMPLEMENT CLASS > FUNCTIONALITY > '*+Class function / sub declaration > Function EndTimer() As Long > EndTimer = apiGetTime() - lngStartTime > End Function > > Sub StartTimer() > lngStartTime = apiGetTime() > End Sub > Function RawTime() As Long > RawTime = apiGetTime() > End Function > '*-Class function / sub declaration > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Rocky Smolin - Beach Access Software > Sent: Tuesday, June 24, 2003 12:08 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Time in milliseconds > > Dear List: > > Is it possible to access/store/display the time in > increments smaller than seconds. I need to time > something in fractions of a second. > > MTIA > > Rocky > > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From Lembit.Soobik at t-online.de Sat Jun 28 02:57:35 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 09:57:35 +0200 Subject: [AccessD] Access Run Time? References: <73584FDFECAAD611956A0000D11F919F013008D6@ntovmail06.ov.otto.de> Message-ID: <0ebc01c33d4d$34f6c6f0$0300a8c0@S856> This is my test - sending the answer which did not get through and made me aware that something was wrong with the list. Alun, the runtime is installed with the application, not as separate thing when you have developed an Access Application, you convert the MDB to an MDE then you set up an installation package which will install everything you need to run the mde without an installed full Access software. to do this, you need to have the Developer edition of Access (or Office) If youo have this developer ecition, then you may sell/install as many Access Applications on machines without preinstalled Access or Office as you like.. you can run an MDB or an MDE on any machine that has full Access installed, however on machines which dont have full Access, you need to build the install package and install your application. this will not let you run just any MDB. Just the ones you install withthe runtime One thing I am presently not sure about (since it is many many years ago that I did this) is whether you need to convert to MDE or can use MDB as well with the runtime installation. During development you can test how your application behaves with runtime, I think you use /runtime in the commandline my experienc on all of this is with Access97 and prior. not using it now. I am sure there will some other listers correct me where I was wrong or add about newer versions Lembit Lembit Soobik ----- Original Message ----- From: "Garraway, Alun" To: "Access DatabaseAdvisors (E-Mail)" Sent: Friday, June 27, 2003 12:38 PM Subject: [AccessD] Access Run Time? > Hallo, > the network bods are talking about installing the Access Run Time for > "Normal" users, > I have a few questions, about this & its implications for me. > > 1. does the run time have to be installed on every maschine in an > NT-Network? > > 2. can all users open .MDBs without any problems when the run time is > installed? > (are there anythings that maybe won't work?) > > 3. are there anythings I have to watchout for when programing an mdb used in > the > run time envirnment? (for ex. can an error in code cause a crash?) > > TIA for any tips > alun > > > Alun Garraway > IM-IT Sonderprojekte LBB-D1 > Tel. (040) 64 61 5573 > Fax (040) 64 64 5573 > mailto:alun.garraway at otto.de > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lembit.Soobik at t-online.de Sat Jun 28 05:06:01 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 12:06:01 +0200 Subject: [AccessD] Thank you to Bryan Carbonnell References: <000001c33d21$f0de4720$1208a8c0@CookLT> Message-ID: <0ef601c33d5d$54fa0470$0300a8c0@S856> Yes, great job, Bryan, also great thank you for jumping right in and helping us (Bryan is also a developer in our BackEndUpgrader team) But lets not forget Donna she helped me right away to get the troubleshooting started and kept everything running when I was not available, worked long overtime to make up for the time she spent on this troubleshooting, and when I got up this morning, the list was working again Great job, all who helped thank you Lembit Lembit Soobik ----- Original Message ----- From: "Donna Cook" To: Sent: Saturday, June 28, 2003 5:03 AM Subject: [AccessD] Thank you to Bryan Carbonnell > > For his help in getting the lists back up and running. > > Thank you again for all of your efforts on our behalf! > > Donna > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Sat Jun 28 05:47:44 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 28 Jun 2003 12:47:44 +0200 Subject: [AccessD] Access Run Time? Message-ID: <104AB6116A2DD511A7580008C7097A9821995E@AARDBEI> Hi Some "fast out of the fist" tips... 1) You can install the runtime without an app. Download the limited runtime from MS. (smaller package without IE5). 2) You can run MDE and MDB. 3) Multiple things to watch out for. a) You need a user interface (menu). b) Lot of basic functionality is not available, most buttons are not present in runtime like filter, sort etc. c) you need error trapping in EVERY function/sub routine. Every error that is not covered by a error trapping results in Access terminating (crash). d) You will get reference problems. If you notice that basic funtions like date() are not working you have a broken refenrence. For example your app was build with a reference to word 10 and the client pc has word 9. solve it to reference by default to word 9. if you have word 10, it still works. e) I had problems with rowsource properties. For example if you have a listbox for which you change the rowsource (sqlstring) dynamicly from code. If you leave the properties (when saving the form) empty then your listbow will not work. A valid rowsource needs to be present on listboxes, etc.. f) watch out for controls. If you use controls like the calender control you need to install/register those to. This can be easely solved by using the package wizard in the developer kit. And a good advice. First try on one (not already contaminated) pc. I mean a pc that has no development software etc. A pc that represants the biggest part of your computerpark. Test all special stuff like word/outlook/excel connections etc. Watch out for calculated errors /date function not working. Take a look at all forms/reports where you use controls (like calendar control, gauge bars etc..). Hope this helps. Erwin -----Oorspronkelijk bericht----- Van: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Verzonden: zaterdag 28 juni 2003 9:58 Aan: accessd at databaseadvisors.com Onderwerp: Re: [AccessD] Access Run Time? This is my test - sending the answer which did not get through and made me aware that something was wrong with the list. Alun, the runtime is installed with the application, not as separate thing when you have developed an Access Application, you convert the MDB to an MDE then you set up an installation package which will install everything you need to run the mde without an installed full Access software. to do this, you need to have the Developer edition of Access (or Office) If youo have this developer ecition, then you may sell/install as many Access Applications on machines without preinstalled Access or Office as you like.. you can run an MDB or an MDE on any machine that has full Access installed, however on machines which dont have full Access, you need to build the install package and install your application. this will not let you run just any MDB. Just the ones you install withthe runtime One thing I am presently not sure about (since it is many many years ago that I did this) is whether you need to convert to MDE or can use MDB as well with the runtime installation. During development you can test how your application behaves with runtime, I think you use /runtime in the commandline my experienc on all of this is with Access97 and prior. not using it now. I am sure there will some other listers correct me where I was wrong or add about newer versions Lembit Lembit Soobik ----- Original Message ----- From: "Garraway, Alun" To: "Access DatabaseAdvisors (E-Mail)" Sent: Friday, June 27, 2003 12:38 PM Subject: [AccessD] Access Run Time? > Hallo, > the network bods are talking about installing the Access Run Time for > "Normal" users, I have a few questions, about this & its implications > for me. > > 1. does the run time have to be installed on every maschine in an > NT-Network? > > 2. can all users open .MDBs without any problems when the run time is > installed? > (are there anythings that maybe won't work?) > > 3. are there anythings I have to watchout for when programing an mdb > used in the > run time envirnment? (for ex. can an error in code cause a crash?) > > TIA for any tips > alun > > > Alun Garraway > IM-IT Sonderprojekte LBB-D1 > Tel. (040) 64 61 5573 > Fax (040) 64 64 5573 > mailto:alun.garraway at otto.de > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat Jun 28 07:02:20 2003 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 28 Jun 2003 08:02:20 -0400 Subject: [AccessD] Microsoft Works WDB Files References: <045901c33c1a$0c60e9c0$0101a8c0@office> Message-ID: <3EFD83CC.9000708@torchlake.com> Trying this post once more - came back failed mail last time with message "user unknown" - very strange Hi Gary, Since Works databases are just flat files, they can be easily saved as dBase tables or comma-delimited text files. I've played around with NotePad and Word, to see how hard editing the Works database would be. It can be done. It is time-consuming. Easiest answer I see is to ask your client to save the files as dBase files. Works does that easily. Hope this helps, Tina Gary Lockett wrote: >Does anyone know how I can convert a WDB file from Microsoft Works into >Access 2000? I do not have Works myself, and have been given a number of >files that my client wants importing into Access. The next step will be for >me to develop and application that uses this information. Can this be done >without going back to the client and asking them to save it in another >format? > >Any help greatly appreciated. > >Gary Lockett >Key Solutions >Port Elizabeth >South Africa > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Lembit.Soobik at t-online.de Sat Jun 28 07:45:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Sat, 28 Jun 2003 14:45:23 +0200 Subject: [AccessD] Microsoft Works WDB Files References: <045901c33c1a$0c60e9c0$0101a8c0@office> <3EFD83CC.9000708@torchlake.com> Message-ID: <0f3d01c33d73$2536fd40$0300a8c0@S856> Sorry, Tina, the list was down Lembit Soobik ----- Original Message ----- From: "Tina Norris Fields" To: Sent: Saturday, June 28, 2003 2:02 PM Subject: Re: [AccessD] Microsoft Works WDB Files > Trying this post once more - came back failed mail last time with > message "user unknown" - very strange > > Hi Gary, > > Since Works databases are just flat files, they can be easily saved as > dBase tables or comma-delimited text files. > > I've played around with NotePad and Word, to see how hard editing the > Works database would be. It can be done. It is time-consuming. > > Easiest answer I see is to ask your client to save the files as dBase > files. Works does that easily. > > Hope this helps, > Tina > > Gary Lockett wrote: > > >Does anyone know how I can convert a WDB file from Microsoft Works into > >Access 2000? I do not have Works myself, and have been given a number of > >files that my client wants importing into Access. The next step will be for > >me to develop and application that uses this information. Can this be done > >without going back to the client and asking them to save it in another > >format? > > > >Any help greatly appreciated. > > > >Gary Lockett > >Key Solutions > >Port Elizabeth > >South Africa > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Sat Jun 28 08:34:44 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sat, 28 Jun 2003 14:34:44 +0100 (BST) Subject: [AccessD] OT SQL In-Reply-To: <0f3d01c33d73$2536fd40$0300a8c0@S856> References: <045901c33c1a$0c60e9c0$0101a8c0@office> <3EFD83CC.9000708@torchlake.com> <0f3d01c33d73$2536fd40$0300a8c0@S856> Message-ID: <1056807284.3efd997438e57@hosea.qub.ac.uk> SELECT * FROM database.INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE Thats in SQL Server. Is there a similar statement which can return similar information using MYSQL?? Martin From jcolby at colbyconsulting.com Sat Jun 28 12:30:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:30:52 -0400 Subject: [AccessD] FW: Query SQL Message-ID: Guys, I have figured out how to get the query names from an external database using something like: SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); Which returns only stored queries where the name begins with QMM (mail merge queries in my system). I can place this sql (built up on-the-fly) into a rowsource of a combo box and voila, my user can select a query out in an external db. Now I need to get the field names from this same query to populate another combo. If the query were local to the database I could just place the query name itself into the combo row source and set the rowsource type to Field list, which is indeed what I was doing in the past. Since the query is now not local to the mail merge database (I'm turning it into a wizard) I have to figure out another way. The SQL thing above is cool because I don't have to use automation to get the query names. Does anyone know how to view the fields in a querydef using sql? I kind of figured it would be in one of the msys tables but no joy there. Eventually I will also have to actually execute the query out in the external db to get a dataset with which to do the mail merge but if I can get the sql I can also splice in the IN clause to do this without automation. John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Jun 28 12:40:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 28 Jun 2003 19:40:58 +0200 Subject: [AccessD] FW: Query SQL In-Reply-To: References: Message-ID: <1146951122.20030628194058@cactus.dk> Hi John You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate Workspace. Then you have direct access to all objects as in a frontend. /gustav > I have figured out how to get the query names from an external database > using something like: > SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE > (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); > Which returns only stored queries where the name begins with QMM (mail merge > queries in my system). I can place this sql (built up on-the-fly) into a > rowsource of a combo box and voila, my user can select a query out in an > external db. > Now I need to get the field names from this same query to populate another > combo. If the query were local to the database I could just place the query > name itself into the combo row source and set the rowsource type to Field > list, which is indeed what I was doing in the past. Since the query is now > not local to the mail merge database (I'm turning it into a wizard) I have > to figure out another way. The SQL thing above is cool because I don't have > to use automation to get the query names. Does anyone know how to view the > fields in a querydef using sql? I kind of figured it would be in one of the > msys tables but no joy there. > Eventually I will also have to actually execute the query out in the > external db to get a dataset with which to do the mail merge but if I can > get the sql I can also splice in the IN clause to do this without > automation. From jcolby at colbyconsulting.com Sat Jun 28 12:49:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:49:43 -0400 Subject: [AccessD] FW: Query SQL In-Reply-To: <1146951122.20030628194058@cactus.dk> Message-ID: Gustav, I would like to do that but the FE has a switchboard that opens when the FE opens. I need a way to open the FE without the switchboard opening. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, June 28, 2003 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Query SQL Hi John You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate Workspace. Then you have direct access to all objects as in a frontend. /gustav > I have figured out how to get the query names from an external database > using something like: > SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE > (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); > Which returns only stored queries where the name begins with QMM (mail merge > queries in my system). I can place this sql (built up on-the-fly) into a > rowsource of a combo box and voila, my user can select a query out in an > external db. > Now I need to get the field names from this same query to populate another > combo. If the query were local to the database I could just place the query > name itself into the combo row source and set the rowsource type to Field > list, which is indeed what I was doing in the past. Since the query is now > not local to the mail merge database (I'm turning it into a wizard) I have > to figure out another way. The SQL thing above is cool because I don't have > to use automation to get the query names. Does anyone know how to view the > fields in a querydef using sql? I kind of figured it would be in one of the > msys tables but no joy there. > Eventually I will also have to actually execute the query out in the > external db to get a dataset with which to do the mail merge but if I can > get the sql I can also splice in the IN clause to do this without > automation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Jun 28 12:50:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 13:50:39 -0400 Subject: [AccessD] Internet header Message-ID: Does anyone know how to get at the entire internet header information via visual basic? Is it a property of an object? I can't find it anywhere. John W. Colby www.colbyconsulting.com From gustav at cactus.dk Sat Jun 28 13:04:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 28 Jun 2003 20:04:49 +0200 Subject: [AccessD] FW: Query SQL In-Reply-To: References: Message-ID: <1248381589.20030628200449@cactus.dk> Hi John Are you sure about this? Or are you thinking of opening the other db by shell'ing it? I never use the switchboard thing but I can't imagine it will open as a standalone app just by opening it in a workspace. /gustav > I would like to do that but the FE has a switchboard that opens when the FE > opens. I need a way to open the FE without the switchboard opening. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, June 28, 2003 1:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Query SQL > Hi John > You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate > Workspace. > Then you have direct access to all objects as in a frontend. > /gustav >> I have figured out how to get the query names from an external database >> using something like: >> SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE >> (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); >> Which returns only stored queries where the name begins with QMM (mail >> merge >> queries in my system). I can place this sql (built up on-the-fly) into a >> rowsource of a combo box and voila, my user can select a query out in an >> external db. >> Now I need to get the field names from this same query to populate another >> combo. If the query were local to the database I could just place the >> query >> name itself into the combo row source and set the rowsource type to Field >> list, which is indeed what I was doing in the past. Since the query is >> now >> not local to the mail merge database (I'm turning it into a wizard) I have >> to figure out another way. The SQL thing above is cool because I don't >> have >> to use automation to get the query names. Does anyone know how to view >> the >> fields in a querydef using sql? I kind of figured it would be in one of >> the msys tables but no joy there. >> Eventually I will also have to actually execute the query out in the >> external db to get a dataset with which to do the mail merge but if I can >> get the sql I can also splice in the IN clause to do this without >> automation. From doug at murphyscreativity.com Sat Jun 28 13:14:14 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Sat, 28 Jun 2003 11:14:14 -0700 Subject: [AccessD] Internet header In-Reply-To: Message-ID: <001101c33da1$14ba2b80$8500a8c0@CX615377a> John, Check out an article titled Win32 Internet HTTP Functions in Visual Basic in the MSDN Library. My printed copy does not have the url. It discusses using the WinInet control. Sorry I don't have any specific code. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, June 28, 2003 10:51 AM To: AccessD Subject: [AccessD] Internet header Does anyone know how to get at the entire internet header information via visual basic? Is it a property of an object? I can't find it anywhere. 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 caa at highway.com.br Sat Jun 28 13:49:56 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 28 Jun 2003 15:49:56 -0300 Subject: [AccessD] Office Ownership In-Reply-To: References: Message-ID: On Mon, 23 Jun 2003 08:14:51 -0700, Charlotte Foust wrote: > According to the EULA in the USA, it's legal. I wouldn't know about > Brazil. > > Charlotte Foust > > -----Original Message----- > From: Carlos Alberto Alves [mailto:caa at highway.com.br] Sent: Sunday, June > 22, 2003 7:49 PM > To: AccessD List > Subject: [AccessD] Office Ownership > > > Dear members, > I would like to have your opinion on this subject: I own a single > license of MS Office 2000 Professional Ed and MS is going to make Office > 2003 available soon. Is it legal to buy an upgrade license and install > Office > > 2003 in a different folder (other than the current Microsoft Office > 2000) and retain both versions for daily use and Access development??? > TIA, Shame on MS Brazil - it's not possible here!!! :( -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From jcolby at colbyconsulting.com Sat Jun 28 14:19:31 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 15:19:31 -0400 Subject: [AccessD] FW: Query SQL In-Reply-To: <1248381589.20030628200449@cactus.dk> Message-ID: yep, i tried it already John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, June 28, 2003 2:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Query SQL Hi John Are you sure about this? Or are you thinking of opening the other db by shell'ing it? I never use the switchboard thing but I can't imagine it will open as a standalone app just by opening it in a workspace. /gustav > I would like to do that but the FE has a switchboard that opens when the FE > opens. I need a way to open the FE without the switchboard opening. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, June 28, 2003 1:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Query SQL > Hi John > You could temporary open 'X:\DISNEW\DISCO_FE.mdb' in a separate > Workspace. > Then you have direct access to all objects as in a frontend. > /gustav >> I have figured out how to get the query names from an external database >> using something like: >> SELECT MSysObjects.Name FROM MSysObjects IN 'X:\DISNEW\DISCO_FE.mdb' WHERE >> (((Left$([name],3)='qmm')=True) AND ((MSysObjects.Type)=5)); >> Which returns only stored queries where the name begins with QMM (mail >> merge >> queries in my system). I can place this sql (built up on-the-fly) into a >> rowsource of a combo box and voila, my user can select a query out in an >> external db. >> Now I need to get the field names from this same query to populate another >> combo. If the query were local to the database I could just place the >> query >> name itself into the combo row source and set the rowsource type to Field >> list, which is indeed what I was doing in the past. Since the query is >> now >> not local to the mail merge database (I'm turning it into a wizard) I have >> to figure out another way. The SQL thing above is cool because I don't >> have >> to use automation to get the query names. Does anyone know how to view >> the >> fields in a querydef using sql? I kind of figured it would be in one of >> the msys tables but no joy there. >> Eventually I will also have to actually execute the query out in the >> external db to get a dataset with which to do the mail merge but if I can >> get the sql I can also splice in the IN clause to do this without >> automation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 28 16:26:55 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 28 Jun 2003 17:26:55 -0400 Subject: [AccessD] AutoNumbers in historical tables Message-ID: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. From jcolby at colbyconsulting.com Sat Jun 28 16:50:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 28 Jun 2003 17:50:07 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> Message-ID: could you be a little more specific in your question? Do you mean in the destination (archive) table? In the source table? In fact I don't change either. You just have to be sure that you leave the latest record in the source table so that compact and repair doesn't reset the autonumber. In the destination it would be a good idea to change the PK autonumber to a regular long to avoid the issue of compact resetting the autonumber, though since the only data going in is the data from the source, it seems unnecessary in any case. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, June 28, 2003 5:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AutoNumbers in historical tables When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Jun 28 17:44:00 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 28 Jun 2003 18:44:00 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <2c5101c33dc6$dd1cb190$214afccc@SusanOne> I didn't mean to send that -- completely disregard it -- it's a silly question after reviewing it. I was thinking about something related and just started at the wrong spot I think. Susan H. ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Saturday, June 28, 2003 5:50 PM Subject: RE: [AccessD] AutoNumbers in historical tables > could you be a little more specific in your question? Do you mean in the > destination (archive) table? In the source table? In fact I don't change > either. You just have to be sure that you leave the latest record in the > source table so that compact and repair doesn't reset the autonumber. In > the destination it would be a good idea to change the PK autonumber to a > regular long to avoid the issue of compact resetting the autonumber, though > since the only data going in is the data from the source, it seems > unnecessary in any case. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Sun Jun 29 01:27:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 08:27:42 +0200 Subject: [AccessD] Query SQL In-Reply-To: <1248381589.20030628200449@cactus.dk> References: <1248381589.20030628200449@cactus.dk> Message-ID: <1692422513.20030629082742@cactus.dk> Hi John > .. the FE has a switchboard that opens when the FE opens. > I need a way to open the FE without the switchboard opening. What strange thing causes this switchboard to open? I don't know of other options than either to open it from an autoexec macro or setting it to open in the start options. Anyway, this works for me: Dim wks As DAO.Workspace Dim dbs As DAO.Database Dim fld As DAO.Field Set wks = DBEngine(0) Set dbs = wks.OpenDatabase("x:\path\any.mdb") Debug.Print dbs.QueryDefs.Count For Each fld In dbs.QueryDefs(0).Fields Debug.Print fld.Type, fld.Name Next dbs.Close wks.Close Set fld = Nothing Set dbs = Nothing Set wks = Nothing Neither the startup form or the autoexec macro is launched by this. /gustav From dfenton at ozemail.com.au Sun Jun 29 06:18:41 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Sun, 29 Jun 2003 21:18:41 +1000 Subject: [AccessD] Subqueries assistance please - Solved... Message-ID: <5.2.0.9.0.20030629211223.022deb70@mail.ozemail.com.au> Hello Gustav, Thanks for your advice. Another list member sent me some advice on subqueries which I will use later. The Dlookup suggestion gave me an idea and I ended up solving it by doing a DSum directly to QUERY A, since that was the purpose of combining them - it summed the results of one field from Query A. The DSum worked perfectly... TotalHolidayWeeks = DSum("Weeks", "qryMyFirstQuery", strWhere) and I used strWhere = "tblCourseHolidays.CampusID= CampusID) AND ((tblCourseHolidays.StartDate)> #StartDate#) AND ((tblCourseHolidays.EndDate)<#EndDate#)); I was then able to pass the three parameters into a function and return only the Holiday weeks. Thank you to all who considered my plight and offered solutions. Cheers David ....................................................................................... Date: Thu, 26 Jun 2003 14:59:59 +0200 From: Gustav Brock Subject: Re: [AccessD] Subqueries assistance please To: accessd at databaseadvisors.com Message-ID: <14126953477.20030626145959 at cactus.dk> Content-Type: text/plain; charset=us-ascii Hi David To put one query into another, look up the archives for "SQL in-line subquery" The easiest way to extract the value to a textbox is to use DLookup: =DLookUp("[Weeks]","[qryYourCombinedQuery]") /gustav From dfenton at ozemail.com.au Sun Jun 29 06:28:22 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Sun, 29 Jun 2003 21:28:22 +1000 Subject: [AccessD] DSUM - full solution for those interested - RE: subquery assistance Message-ID: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> An HTML attachment was scrubbed... URL: From gustav at cactus.dk Sun Jun 29 07:14:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 14:14:54 +0200 Subject: [AccessD] DSUM - full solution for those interested - RE: subquery assistance In-Reply-To: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> References: <5.2.0.9.0.20030629212120.022dcfc8@mail.ozemail.com.au> Message-ID: <12323254287.20030629141454@cactus.dk> Hi David As you have specified datStartDate and datEndDate as date/time there should really be no reason to use Format() wrapped in crosses (#) as that just leaves you with the date/time value again. If StartDate and EndDate are names of date/time fields of the table, this should do as you compare date/time values with date/time values: strCriteria = "(CampusID=" & intCampus _ & ") AND (StartDate > " datStartDate & ") " _ & "AND (EndDate < " & datEnddate & ")" /gustav Public Function TotalHolidayWeeks(intCampus As Integer, datStartDate As Date, datEnddate As Date) As Integer 'Calculates the number of weeks holiday for a campus between two given dates Dim strCriteria As String strCriteria = "(CampusID=" & intCampus _ & ") AND ((StartDate) > #" & Format(datStartDate, "dd/mmm/yyyy") & "#) " _ & "AND ((EndDate) < #" & Format(datEnddate, "dd/mmm/yyyy") & "#)" TotalHolidayWeeks = Nz(DSum("Weeks", "tblCourseHolidays", strCriteria), 0) End Function From jcolby at colbyconsulting.com Sun Jun 29 07:51:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 29 Jun 2003 08:51:30 -0400 Subject: [AccessD] Query SQL In-Reply-To: <1692422513.20030629082742@cactus.dk> Message-ID: Gustav, That works great, thanks. I was using opencurrentdatabase instead of opendatabase. You da man! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, June 29, 2003 2:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query SQL Hi John > .. the FE has a switchboard that opens when the FE opens. > I need a way to open the FE without the switchboard opening. What strange thing causes this switchboard to open? I don't know of other options than either to open it from an autoexec macro or setting it to open in the start options. Anyway, this works for me: Dim wks As DAO.Workspace Dim dbs As DAO.Database Dim fld As DAO.Field Set wks = DBEngine(0) Set dbs = wks.OpenDatabase("x:\path\any.mdb") Debug.Print dbs.QueryDefs.Count For Each fld In dbs.QueryDefs(0).Fields Debug.Print fld.Type, fld.Name Next dbs.Close wks.Close Set fld = Nothing Set dbs = Nothing Set wks = Nothing Neither the startup form or the autoexec macro is launched by this. /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 Jun 29 08:25:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Jun 2003 15:25:42 +0200 Subject: [AccessD] Query SQL In-Reply-To: References: Message-ID: <14327502256.20030629152542@cactus.dk> Hi John OK - that explains. /gustav > That works great, thanks. I was using opencurrentdatabase instead of > opendatabase. From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 08:57:07 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 14:57:07 +0100 (BST) Subject: [AccessD] Classes In-Reply-To: <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <005c01c33a8c$1ddf45f0$1b76fea9@D8TZHN0J> Message-ID: <1056895027.3efef03331a7e@hosea.qub.ac.uk> John or anyone (<: Can you define a static class? The following is a bit of C Sharp. Directory is termed a static class as it is not destroyed when the code stops. For info the full code is below. public string FileName; void Page_Load(Object sender, EventArgs e) { if (!IsPostBack) { //set directory and array Directory myDirectory; ArrayList values = new ArrayList(); //get files String [] files = Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); Martin <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> Tables From jcolby at colbyconsulting.com Sun Jun 29 09:02:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 29 Jun 2003 10:02:54 -0400 Subject: [AccessD] Classes In-Reply-To: <1056895027.3efef03331a7e@hosea.qub.ac.uk> Message-ID: Martin, I'm not the expert in this but my take is that a static class is one that you don't have to instantiate in order to use it's methods. If I had to guess, I'd say there is already an instance that the framework instantiates, and you are using it's methods. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Sunday, June 29, 2003 9:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Classes John or anyone (<: Can you define a static class? The following is a bit of C Sharp. Directory is termed a static class as it is not destroyed when the code stops. For info the full code is below. public string FileName; void Page_Load(Object sender, EventArgs e) { if (!IsPostBack) { //set directory and array Directory myDirectory; ArrayList values = new ArrayList(); //get files String [] files = Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); Martin <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> Tables _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 09:29:57 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 15:29:57 +0100 (BST) Subject: [AccessD] Classes In-Reply-To: References: Message-ID: <1056896997.3efef7e5497d4@hosea.qub.ac.uk> Thanks John That sounds resonable in this case as you dont instatiate the directory. Martin Quoting John Colby : > Martin, > > I'm not the expert in this but my take is that a static class is one > that > you don't have to instantiate in order to use it's methods. If I had > to > guess, I'd say there is already an instance that the framework > instantiates, > and you are using it's methods. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Mwp.Reid at Queens-Belfast.AC.UK > Sent: Sunday, June 29, 2003 9:57 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Classes > > > John or anyone (<: > > > Can you define a static class? The following is a bit of C Sharp. > Directory > is > termed a static class as it is not destroyed when the code stops. For > info > the > full code is below. > > public string FileName; > void Page_Load(Object sender, EventArgs e) { > if (!IsPostBack) > { > //set directory and array > Directory myDirectory; > ArrayList values = new ArrayList(); > //get files > String [] files = > Directory.GetFiles("C:\\Inetpub\\wwwroot\\","*"); > > Martin > > > <%@ Import Namespace="System.Collections" %> > <%@ Import Namespace="System.IO" %> > <%@ Page Language="C#" ContentType="text/html" > ResponseEncoding="iso-8859-1" > %> > > > Tables > content="text/html; charset=iso-8859-1"> > > > > Font- > Name="Verdana" Font-Size="10" HorizontalAlign="Left" ID="table" > runat="server" > Width="300"> runat="server"> ID="tHeader1" runat="server" Text="File > Name"> > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Sun Jun 29 14:03:42 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 29 Jun 2003 15:03:42 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <2c3501c33dbd$da56f0f0$214afccc@SusanOne> Message-ID: Susan, Depends on how much tractability you need/want. Typically in a data mart, you don't touch any of the original data including the keys, meaning that you add a new key structure outside of any existing. Also depends a lot on how your DB is structured: natural or surrogate. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, June 28, 2003 5:27 PM To: AccessD at databaseadvisors.com Subject: [AccessD] AutoNumbers in historical tables When archiving historical data do you change an AutoNumber field to a Number field? Like to hear pros and cons on the subject. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Sun Jun 29 14:39:56 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Sun, 29 Jun 2003 20:39:56 +0100 (BST) Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: References: Message-ID: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Just out of interest why would you want to? Martin Quoting Jim Dettman : > Susan, > > Depends on how much tractability you need/want. Typically in a data > mart, > you don't touch any of the original data including the keys, meaning > that > you add a new key structure outside of any existing. > > Also depends a lot on how your DB is structured: natural or > surrogate. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a > Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Sun Jun 29 16:54:42 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 29 Jun 2003 17:54:42 -0400 Subject: [AccessD] AutoNumbers in historical tables References: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Message-ID: <004901c33e89$0dcd35e0$edecffcc@SusanOne> You guys responded before seeing the ".... neveermind..." I was doing something else and I just started in the wrong spot -- once I went back I realized it was kind of a stupid question. Susan H. > Just out of interest why would you want to? > > Martin > > Quoting Jim Dettman : > > > Susan, > > > > Depends on how much tractability you need/want. Typically in a data > > mart, > > you don't touch any of the original data including the keys, meaning > > that > > you add a new key structure outside of any existing. > > > > Also depends a lot on how your DB is structured: natural or > > surrogate. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Saturday, June 28, 2003 5:27 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > When archiving historical data do you change an AutoNumber field to a > > Number > > field? Like to hear pros and cons on the subject. > > > > Susan H. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From paul.hartland at fsmail.net Mon Jun 30 03:19:11 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 8:19:11 +0000 Subject: [AccessD] SQL Server 7.0 (Stored Procedure Help) Message-ID: <20030630081911.BLRV25735.fep08-svc.ttys.com@localhost> To all, I have two tables on a SQL Server(7.0), one is called tblSingleAvailability and the other tblAvailabilityAll. What I need to do is append records from tblSingleAvailability into tblAvailabilityAll where they do not already exist, e.g. see below : tblSingleAvailability Payroll AvailCode JobDate Type 99999 A 01/01/02 2 99999 N 04/02/02 0 tblAvailabilityAll Payroll AvailCode JobDate Type 99999 A 01/01/02 0 99999 A 01/01/02 1 99999 A 01/01/02 2 99999 N 04/02/02 1 99999 N 04/02/02 2 So I just need to append the record 99999, N, 04/02/02, 0 into tblAvailabilityAll because it does not already exist. So I have the following SQL Stored Procedure, can anyeon see where I am going wrong as it times out whilst trying to run this. CREATE PROCEDURE [genesis_insert_tblAvailabilityAll] AS INSERT INTO tblAvailabilityAll (PayrollNo, JobDate, AvailabilityCode, Type) SELECT PayrollNo, JobDate, AvailabilityCode, Type FROM tblSingleAvailability WHERE NOT EXISTS(SELECT PayrollNo, JobDate, AvailabilityCode,Type FROM tblAvailabilityAll WHERE (tblSingleAvailability.PayrollNo = tblAvailabilityAll.PayrollNo AND tblSingleAvailability.JobDate = tblAvailabilityAll.JobDate AND tblSingleAvailability.Type = tblAvailabilityAll.Type)) Any help appreciated thanks...... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 30 03:19:11 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 8:19:11 +0000 Subject: [AccessD] [dba-SQLServer]SQL Server 7.0 (Stored Procedure Help) Message-ID: <20030630081911.BLRV25735.fep08-svc.ttys.com@localhost> To all, I have two tables on a SQL Server(7.0), one is called tblSingleAvailability and the other tblAvailabilityAll. What I need to do is append records from tblSingleAvailability into tblAvailabilityAll where they do not already exist, e.g. see below : tblSingleAvailability Payroll AvailCode JobDate Type 99999 A 01/01/02 2 99999 N 04/02/02 0 tblAvailabilityAll Payroll AvailCode JobDate Type 99999 A 01/01/02 0 99999 A 01/01/02 1 99999 A 01/01/02 2 99999 N 04/02/02 1 99999 N 04/02/02 2 So I just need to append the record 99999, N, 04/02/02, 0 into tblAvailabilityAll because it does not already exist. So I have the following SQL Stored Procedure, can anyeon see where I am going wrong as it times out whilst trying to run this. CREATE PROCEDURE [genesis_insert_tblAvailabilityAll] AS INSERT INTO tblAvailabilityAll (PayrollNo, JobDate, AvailabilityCode, Type) SELECT PayrollNo, JobDate, AvailabilityCode, Type FROM tblSingleAvailability WHERE NOT EXISTS(SELECT PayrollNo, JobDate, AvailabilityCode,Type FROM tblAvailabilityAll WHERE (tblSingleAvailability.PayrollNo = tblAvailabilityAll.PayrollNo AND tblSingleAvailability.JobDate = tblAvailabilityAll.JobDate AND tblSingleAvailability.Type = tblAvailabilityAll.Type)) Any help appreciated thanks...... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From paul.hartland at fsmail.net Mon Jun 30 04:27:35 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 9:27:35 +0000 Subject: [AccessD] Sent Wrong Info Regarding Stored Procedure help URGENT. Message-ID: <20030630092735.JKIT5167.fep04-svc.ttys.com@localhost> To all, I have two tables tblAvailabilityAll and tblAvailabilityCodes, in tblAvailabilityAll I have a payroll number, availability code (A, N, S or H) and a jobdate, in tblAvailabilityCodes I have an availability code and a corresponding number i.e Code Number A 1 N 2 S 3 H 4 I have a VB6 form with an employees details on, and when a finish date is entered I need to convert the availability code in tblAvailabilityAll to the corresponding number in tblAvailabilityCodes. I have the following stored procedure (this is the one thats timing out, not the on in the previous email). CREATE PROCEDURE [genesis_update_AvailabilityCode] ( @Payroll_1 [nvarchar] (25), @MyDate_2 [datetime] ) AS UPDATE [Genesis].[dbo].[tblAvailabilityAll] SET AvailabilityCode = tblAvailabilityCodes.CancelledAvailabilityCode FROM tblAvailabilityAll INNER JOIN tblAvailabilityCodes ON AvailabilityCode = tblAvailabilityCodes.LiveAvailabilityCode WHERE (tblAvailabilityAll.PayrollNo = @Payroll_1 AND tblAvailabilityAll.JobDate >= @MyDate_2) can anyone see where the stored procedure may be going wrong......I could really do with some urgent help on this... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From paul.hartland at fsmail.net Mon Jun 30 04:27:35 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 30 Jun 2003 9:27:35 +0000 Subject: [AccessD] [dba-SQLServer] Sent Wrong Info Regarding Stored Procedure help URGENT. Message-ID: <20030630092735.JKIT5167.fep04-svc.ttys.com@localhost> To all, I have two tables tblAvailabilityAll and tblAvailabilityCodes, in tblAvailabilityAll I have a payroll number, availability code (A, N, S or H) and a jobdate, in tblAvailabilityCodes I have an availability code and a corresponding number i.e Code Number A 1 N 2 S 3 H 4 I have a VB6 form with an employees details on, and when a finish date is entered I need to convert the availability code in tblAvailabilityAll to the corresponding number in tblAvailabilityCodes. I have the following stored procedure (this is the one thats timing out, not the on in the previous email). CREATE PROCEDURE [genesis_update_AvailabilityCode] ( @Payroll_1 [nvarchar] (25), @MyDate_2 [datetime] ) AS UPDATE [Genesis].[dbo].[tblAvailabilityAll] SET AvailabilityCode = tblAvailabilityCodes.CancelledAvailabilityCode FROM tblAvailabilityAll INNER JOIN tblAvailabilityCodes ON AvailabilityCode = tblAvailabilityCodes.LiveAvailabilityCode WHERE (tblAvailabilityAll.PayrollNo = @Payroll_1 AND tblAvailabilityAll.JobDate >= @MyDate_2) can anyone see where the stored procedure may be going wrong......I could really do with some urgent help on this... Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 30 08:20:50 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 30 Jun 2003 09:20:50 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: <1056915596.3eff408ce9c2d@hosea.qub.ac.uk> Message-ID: Martin, The reasons are varied, but in general, your trying to take a snapshot of the way the data existed. This includes not only the entities themselves, but the relationships as well. From a very purist point of view, that means not modifying the data in any way. For example; capturing an image of a hard disk for a criminal investigation. You must make a copy that is bit for bit identical to the original. The process of copying cannot have the potential to introduce errors or it will get tossed in court. Doesn't matter if the process did or didn't introduce errors, just that the possibility exists or not. IP tunneling is another example where the original packet of data cannot be touched, so it gets encapsulated. It's a very general concept that is applied in many situations. Then there are all the reasons why most relational systems today have gravitated towards the use of surrogate keys; isolation from the data, performance, decreased storage requirements, etc. These get to be critical when talking about large data marts/warehouses in the Tera/Peta byte range. Isolation from the data is an important one as the data mart may span a considerable time period. Some things that might happen: 1. Production DB keys might possibly be reused through normal operations. 2. Production DB may re-use keys even though it is not supposed to. 3. An entities attributes may change through time, but it's key may not. 4. Key formats in a production system may change. 5. Acquisition of another company may yield a situation where key sequences conflict or keys are of a different type. Some of these things are only valid if the existing system uses natural or surrogate keys. Some apply to both. As I said the reasons are varied. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Sunday, June 29, 2003 3:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AutoNumbers in historical tables Just out of interest why would you want to? Martin Quoting Jim Dettman : > Susan, > > Depends on how much tractability you need/want. Typically in a data > mart, > you don't touch any of the original data including the keys, meaning > that > you add a new key structure outside of any existing. > > Also depends a lot on how your DB is structured: natural or > surrogate. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Saturday, June 28, 2003 5:27 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] AutoNumbers in historical tables > > > When archiving historical data do you change an AutoNumber field to a > Number > field? Like to hear pros and cons on the subject. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 30 08:59:06 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 09:59:06 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <005101c33f0f$cd438740$1f4afccc@SusanOne> You present an interesting situation. Supposing you were required to preserve the Autonumber -- how would you go about appending records as you archive -- you couldn't I'm guessing -- would you archive to new tables each time? What a mess. In addition, if you were trying to archive records from similar but different databases and you had conflicting AutoNumbers, what would you do? In the latter case, I'd say you could simply add a new AutoNumber to the historical table and work from that value instead of the original, but still, sounds like it could lead to a lot of confusion and maybe problems. I hadn't really considered either possibility. Susan H. > Martin, > > The reasons are varied, but in general, your trying to take a snapshot of > the way the data existed. This includes not only the entities themselves, > but the relationships as well. From a very purist point of view, that means > not modifying the data in any way. For example; capturing an image of a > hard disk for a criminal investigation. You must make a copy that is bit > for bit identical to the original. The process of copying cannot have the > potential to introduce errors or it will get tossed in court. Doesn't > matter if the process did or didn't introduce errors, just that the > possibility exists or not. IP tunneling is another example where the > original packet of data cannot be touched, so it gets encapsulated. It's a > very general concept that is applied in many situations. > > Then there are all the reasons why most relational systems today have > gravitated towards the use of surrogate keys; isolation from the data, > performance, decreased storage requirements, etc. These get to be critical > when talking about large data marts/warehouses in the Tera/Peta byte range. > > Isolation from the data is an important one as the data mart may span a > considerable time period. Some things that might happen: > > 1. Production DB keys might possibly be reused through normal operations. > 2. Production DB may re-use keys even though it is not supposed to. > 3. An entities attributes may change through time, but it's key may not. > 4. Key formats in a production system may change. > 5. Acquisition of another company may yield a situation where key sequences > conflict or keys are of a different type. > > > Some of these things are only valid if the existing system uses natural or > surrogate keys. Some apply to both. As I said the reasons are varied. > > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Mwp.Reid at Queens-Belfast.AC.UK > Sent: Sunday, June 29, 2003 3:40 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AutoNumbers in historical tables > > > Just out of interest why would you want to? > > Martin > > Quoting Jim Dettman : > > > Susan, > > > > Depends on how much tractability you need/want. Typically in a data > > mart, > > you don't touch any of the original data including the keys, meaning > > that > > you add a new key structure outside of any existing. > > > > Also depends a lot on how your DB is structured: natural or > > surrogate. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Saturday, June 28, 2003 5:27 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > When archiving historical data do you change an AutoNumber field to a > > Number > > field? Like to hear pros and cons on the subject. > > > > Susan H. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwp.reid at qub.ac.uk Mon Jun 30 08:44:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 30 Jun 2003 14:44:19 +0100 Subject: [AccessD] SQL Question References: <4120036224151334940@earthlink.net> <00fc01c33a65$d463e410$9111758f@aine> <4742053900.20030624192507@cactus.dk> Message-ID: <00a001c33f0d$b4dc3140$9111758f@aine> Test message. No email from this morning Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, June 24, 2003 6:25 PM Subject: Re: [AccessD] SQL Question > Hi Martin > > > Have two tables > > > Table A Contains staff data, Name etc > > Table B contains contact data > > > Results of join as expected > > > Staff Member A Telephone Number 1 > > Staff Member A Telephone Number 2 > > Staff Member A Telephone Number 3 > > > And so on > > > What I need to do is to flatten this out and create a single table > > > Staff Member A Phone Number 1 Phone Number 2 Phone Number 3 etc > > Staff Member B Phone Number 1 Phone Number 2 > > > We dont knwo how many numbers will exist for each member of staff but the Max will be 5 and I must end up with a single table containing the data. > > > Need this to work in Access and SQL Server 2000 > > For Access you'll have to write a function which for each Staff record > loops through the Contact records. > Here's an example of the essential part (taken from a report, thus > you'll have to modify it for writing/updating a table but you'll sure > get the picture). The ID is lngID: > > > > strSQL = vbNullString > strSQL = strSQL + "SELECT Phone " > strSQL = strSQL + "FROM tblContacts " > strSQL = strSQL + "WHERE (ID = " & lngID & ") " > strSQL = strSQL + "ORDER BY Phone;" > Set rst = dbs.OpenRecordset(strSQL) > > If rst.RecordCount = 0 Then > ' Should not happen. > Else > ' Count records. > lngRecords = rst.RecordCount > rst.MoveFirst > If lngRecords = 1 Then > strPhone = "Telephone number: " > Else > strPhone = "Telephone numbers: " > End If > For lngLoop = 1 To lngRecords > ' Build line with phone numbers. > strPhone = strPhone & rst!Phone > If lngLoop = lngRecords Then > strPhone = strPhone & "." > Else > strPhone = strPhone & ", " > End If > rst.MoveNext > Next lngLoop > End If > > rst.Close > Set rst = Nothing > Set dbs = Nothing > > strPhoneNumbers = strPhone > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.hale at fleetpride.com Mon Jun 30 09:04:19 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 09:04:19 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BE66@corp-es00> Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 30 09:34:47 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 08:34:47 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: You can set an autonumber field to any valid numeric value that doesn't pre-exist regardless of what the next number would otherwise be. Multiple conflicting numbers would have to be preserved in separate tables or it wouldn't be an accurate history. If you wanted to have a master reconcilliation, that would no longer be historical and there would be no point in keeping a unque index on the autonumber field. Hen >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 09:59:06 -0400 > >You present an interesting situation. Supposing you were required to >preserve the Autonumber -- how would you go about appending records as you >archive -- you couldn't I'm guessing -- would you archive to new tables >each >time? What a mess. In addition, if you were trying to archive records from >similar but different databases and you had conflicting AutoNumbers, what >would you do? In the latter case, I'd say you could simply add a new >AutoNumber to the historical table and work from that value instead of the >original, but still, sounds like it could lead to a lot of confusion and >maybe problems. I hadn't really considered either possibility. > >Susan H. > > > > Martin, > > > > The reasons are varied, but in general, your trying to take a snapshot >of > > the way the data existed. This includes not only the entities >themselves, > > but the relationships as well. From a very purist point of view, that >means > > not modifying the data in any way. For example; capturing an image of a > > hard disk for a criminal investigation. You must make a copy that is >bit > > for bit identical to the original. The process of copying cannot have >the > > potential to introduce errors or it will get tossed in court. Doesn't > > matter if the process did or didn't introduce errors, just that the > > possibility exists or not. IP tunneling is another example where the > > original packet of data cannot be touched, so it gets encapsulated. >It's >a > > very general concept that is applied in many situations. > > > > Then there are all the reasons why most relational systems today have > > gravitated towards the use of surrogate keys; isolation from the data, > > performance, decreased storage requirements, etc. These get to be >critical > > when talking about large data marts/warehouses in the Tera/Peta byte >range. > > > > Isolation from the data is an important one as the data mart may span >a > > considerable time period. Some things that might happen: > > > > 1. Production DB keys might possibly be reused through normal >operations. > > 2. Production DB may re-use keys even though it is not supposed to. > > 3. An entities attributes may change through time, but it's key may not. > > 4. Key formats in a production system may change. > > 5. Acquisition of another company may yield a situation where key >sequences > > conflict or keys are of a different type. > > > > > > Some of these things are only valid if the existing system uses >natural >or > > surrogate keys. Some apply to both. As I said the reasons are varied. > > > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Mwp.Reid at Queens-Belfast.AC.UK > > Sent: Sunday, June 29, 2003 3:40 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AutoNumbers in historical tables > > > > > > Just out of interest why would you want to? > > > > Martin > > > > Quoting Jim Dettman : > > > > > Susan, > > > > > > Depends on how much tractability you need/want. Typically in a data > > > mart, > > > you don't touch any of the original data including the keys, meaning > > > that > > > you add a new key structure outside of any existing. > > > > > > Also depends a lot on how your DB is structured: natural or > > > surrogate. > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > Sent: Saturday, June 28, 2003 5:27 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > > > > When archiving historical data do you change an AutoNumber field to a > > > Number > > > field? Like to hear pros and cons on the subject. > > > > > > Susan H. > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From harkins at iglou.com Mon Jun 30 09:46:47 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 10:46:47 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00a701c33f16$70274cc0$1f4afccc@SusanOne> > You can set an autonumber field to any valid numeric value that doesn't > pre-exist regardless of what the next number would otherwise be. Multiple > conflicting numbers would have to be preserved in separate tables or it > wouldn't be an accurate history. If you wanted to have a master > reconcilliation, that would no longer be historical and there would be no > point in keeping a unque index on the autonumber field. ==========But how would you interact with those different tables -- I mean -- if you had 3 historical tables and they all had a primary key value of 342, how would your application know which was the right record? Susan H. From jcolby at colbyconsulting.com Mon Jun 30 09:54:13 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 10:54:13 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: Message-ID: Remember though that the autonumber will continue from the last autonumber copied into the table, so if you do a restore you MUST go get the last number, add 1 to it, and insert a fake record with that number, then delete that fake record back out. At least that is how I handle it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Monday, June 30, 2003 10:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AutoNumbers in historical tables You can set an autonumber field to any valid numeric value that doesn't pre-exist regardless of what the next number would otherwise be. Multiple conflicting numbers would have to be preserved in separate tables or it wouldn't be an accurate history. If you wanted to have a master reconcilliation, that would no longer be historical and there would be no point in keeping a unque index on the autonumber field. Hen >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 09:59:06 -0400 > >You present an interesting situation. Supposing you were required to >preserve the Autonumber -- how would you go about appending records as you >archive -- you couldn't I'm guessing -- would you archive to new tables >each >time? What a mess. In addition, if you were trying to archive records from >similar but different databases and you had conflicting AutoNumbers, what >would you do? In the latter case, I'd say you could simply add a new >AutoNumber to the historical table and work from that value instead of the >original, but still, sounds like it could lead to a lot of confusion and >maybe problems. I hadn't really considered either possibility. > >Susan H. > > > > Martin, > > > > The reasons are varied, but in general, your trying to take a snapshot >of > > the way the data existed. This includes not only the entities >themselves, > > but the relationships as well. From a very purist point of view, that >means > > not modifying the data in any way. For example; capturing an image of a > > hard disk for a criminal investigation. You must make a copy that is >bit > > for bit identical to the original. The process of copying cannot have >the > > potential to introduce errors or it will get tossed in court. Doesn't > > matter if the process did or didn't introduce errors, just that the > > possibility exists or not. IP tunneling is another example where the > > original packet of data cannot be touched, so it gets encapsulated. >It's >a > > very general concept that is applied in many situations. > > > > Then there are all the reasons why most relational systems today have > > gravitated towards the use of surrogate keys; isolation from the data, > > performance, decreased storage requirements, etc. These get to be >critical > > when talking about large data marts/warehouses in the Tera/Peta byte >range. > > > > Isolation from the data is an important one as the data mart may span >a > > considerable time period. Some things that might happen: > > > > 1. Production DB keys might possibly be reused through normal >operations. > > 2. Production DB may re-use keys even though it is not supposed to. > > 3. An entities attributes may change through time, but it's key may not. > > 4. Key formats in a production system may change. > > 5. Acquisition of another company may yield a situation where key >sequences > > conflict or keys are of a different type. > > > > > > Some of these things are only valid if the existing system uses >natural >or > > surrogate keys. Some apply to both. As I said the reasons are varied. > > > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Mwp.Reid at Queens-Belfast.AC.UK > > Sent: Sunday, June 29, 2003 3:40 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] AutoNumbers in historical tables > > > > > > Just out of interest why would you want to? > > > > Martin > > > > Quoting Jim Dettman : > > > > > Susan, > > > > > > Depends on how much tractability you need/want. Typically in a data > > > mart, > > > you don't touch any of the original data including the keys, meaning > > > that > > > you add a new key structure outside of any existing. > > > > > > Also depends a lot on how your DB is structured: natural or > > > surrogate. > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > > Harkins > > > Sent: Saturday, June 28, 2003 5:27 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] AutoNumbers in historical tables > > > > > > > > > When archiving historical data do you change an AutoNumber field to a > > > Number > > > field? Like to hear pros and cons on the subject. > > > > > > Susan H. > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Jun 30 10:10:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 30 Jun 2003 11:10:12 -0400 Subject: [AccessD] How do I determine which form called? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173EFB5@TTNEXCHSRV1.hshhp.com> One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jim.hale at fleetpride.com Mon Jun 30 11:13:25 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 11:13:25 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BEF1@corp-es00> Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 30 11:31:51 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 12:31:51 -0400 Subject: [AccessD] How do I determine which form called? In-Reply-To: <869379ABF177D4118D3100508B5EF8730676BEF1@corp-es00> Message-ID: RE: [AccessD] How do I determine which form called?You can't pass in the pointer to the calling form? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, June 30, 2003 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How do I determine which form called? Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Mon Jun 30 11:37:53 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 10:37:53 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: If a master table had records one thru 10 and records 3, 8 and 10 were deleted and it were necessary to duplicate the data for archive purposes and after those deletions it were necessary to record the state that the next autonumber would be 11 at that point in time, insert records 1 - 2, 4 through 7 and 9. You'd then have to add and delete a dummy record to the actual table to determine what the next autonumber would be thereby altering the table and then add and delete AN 11 in the archive so that both the master and archive table are identical at the time of the backup, with the next record for both to be AN 12. If it were possible to determine the next autonumber prior to compacting the database there would be no need to do the insert to determine its value. Purists might do the insert, compact and then insert one below in order to preserve the exact status of the table so both original and archive would yeild 11 at the next insert. The main point I was making was that I understood Susan to imply that one can not set the value of an autonumber field to any arbitrary valid value and that is not accurate. Any attempt to merge multiple tables that have differing field values for identical autonumber records can not be an accurate depiction of the state of all the data. It is not possible to retain identical table structure and reconcile duplicate autonumber records that have one or more other fields that do not match. I don't get the point about a fake record with restore. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 10:54:13 -0400 > >Remember though that the autonumber will continue from the last autonumber >copied into the table, so if you do a restore you MUST go get the last >number, add 1 to it, and insert a fake record with that number, then delete >that fake record back out. At least that is how I handle it. > >John W. Colby >www.colbyconsulting.com > _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Mon Jun 30 11:57:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 12:57:30 -0400 Subject: [AccessD] weird query def Message-ID: I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com From Lembit.Soobik at t-online.de Mon Jun 30 12:00:53 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 30 Jun 2003 19:00:53 +0200 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00fb01c33f29$2b0f7c30$0300a8c0@S856> and what is the problem with making the autonumber fields in the archive db long integers and then simply copy? Lembit Lembit Soobik ----- Original Message ----- From: "Henry Simpson" To: Sent: Monday, June 30, 2003 6:37 PM Subject: RE: [AccessD] AutoNumbers in historical tables > If a master table had records one thru 10 and records 3, 8 and 10 were > deleted and it were necessary to duplicate the data for archive purposes and > after those deletions it were necessary to record the state that the next > autonumber would be 11 at that point in time, insert records 1 - 2, 4 > through 7 and 9. You'd then have to add and delete a dummy record to the > actual table to determine what the next autonumber would be thereby altering > the table and then add and delete AN 11 in the archive so that both the > master and archive table are identical at the time of the backup, with the > next record for both to be AN 12. If it were possible to determine the next > autonumber prior to compacting the database there would be no need to do the > insert to determine its value. Purists might do the insert, compact and > then insert one below in order to preserve the exact status of the table so > both original and archive would yeild 11 at the next insert. > > The main point I was making was that I understood Susan to imply that one > can not set the value of an autonumber field to any arbitrary valid value > and that is not accurate. Any attempt to merge multiple tables that have > differing field values for identical autonumber records can not be an > accurate depiction of the state of all the data. It is not possible to > retain identical table structure and reconcile duplicate autonumber records > that have one or more other fields that do not match. > > I don't get the point about a fake record with restore. > > Hen > > >From: "John Colby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] AutoNumbers in historical tables > >Date: Mon, 30 Jun 2003 10:54:13 -0400 > > > >Remember though that the autonumber will continue from the last autonumber > >copied into the table, so if you do a restore you MUST go get the last > >number, add 1 to it, and insert a fake record with that number, then delete > >that fake record back out. At least that is how I handle it. > > > >John W. Colby > >www.colbyconsulting.com > > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeffrey.demulling at usbank.com Mon Jun 30 11:58:33 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 30 Jun 2003 11:58:33 -0500 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: I am getting the above message in an A97 FE connecting to a SQL Server BE. I do not get the error message when using A2K FE (both version of app have the same code.) This I found the record that is causing the problem along with the field. Once I remove the field from my pass-through query in A97 the results are returned. If I leave the problem field in the query I get the message above. The data in the field is: 12/2/02-TR rejected review needs documents and completed Master Initial Account Review Checklist. E-mail sent to Mike Herberger to notify him. BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. Sent IR checklist to Barbara. 1/8/03 MH The field on the BE is a nvarchar (255). Any ideas or helpful suggestions would be nice. TIA -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Mon Jun 30 12:08:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 30 Jun 2003 13:08:31 -0400 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF403897A06@xlivmbx12.aig.com> Well I count 258 characters in the data, so the error message is totally on the mark (odd for Access). I suspect that SQL server is passing back all 258 ASCII characters, which is why A97 chokes. But A2K is Unicode character savvy, so I think it can handle 510 ASCII characters, or 255 Unicode ones. Lambert > -----Original Message----- > From: jeffrey.demulling at usbank.com [SMTP:jeffrey.demulling at usbank.com] > Sent: Monday, June 30, 2003 12:59 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Error Message: The field is to small to accept the > amount of data you tried to add. Try inserting or pasting less data > > > I am getting the above message in an A97 FE connecting to a SQL Server BE. > I do not get the error message when using A2K FE (both version of app have > the same code.) > > > This I found the record that is causing the problem along with the field. > Once I remove the field from my pass-through query in A97 the results are > returned. If I leave the problem field in the query I get the message > above. > > > The data in the field is: > > > > 12/2/02-TR rejected review needs documents and completed Master Initial > Account Review Checklist. E-mail sent to Mike Herberger to notify him. > BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. > Sent > IR checklist to Barbara. 1/8/03 MH > > > The field on the BE is a nvarchar (255). Any ideas or helpful suggestions > would be nice. > > TIA > -Jeff > << File: ATT8947467.txt >> From cfoust at infostatsystems.com Mon Jun 30 12:13:23 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Jun 2003 10:13:23 -0700 Subject: [AccessD] How do I determine which form called? Message-ID: I make CalledFrom a property of my forms. Then I can pass the calling form's name in the OpenArgs string and let the called form populate its own property. When I close the called form, it checks its CalledFrom property and goes back to that. In 2002 you can do this with Reports as well. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Monday, June 30, 2003 6:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Jun 30 12:16:42 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jun 2003 19:16:42 +0200 Subject: [AccessD] weird query def In-Reply-To: References: Message-ID: <6943986879.20030630191642@cactus.dk> Hi John Have you tried to recreate that query by copy/paste the SQL only into a new query? /gustav > I compacted / repaired both the wizard as well as the FE that actually holds > the query in question. Two other queries that I am performing this > operation on work perfectly. One apparently has no fields. From scapistrant at symphonyinfo.com Mon Jun 30 12:20:27 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Mon, 30 Jun 2003 12:20:27 -0500 Subject: [AccessD] weird query def In-Reply-To: Message-ID: Does your query have "output all fields" property set to Yes? The QBD view for these queries could show no fields, yet you'd still get results. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 30, 2003 11:58 AM To: AccessD Subject: [AccessD] weird query def I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.hale at fleetpride.com Mon Jun 30 13:04:24 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Mon, 30 Jun 2003 13:04:24 -0500 Subject: [AccessD] How do I determine which form called? Message-ID: <869379ABF177D4118D3100508B5EF8730676BF35@corp-es00> I am passing it by setting the callingform property (Set lb.Callingform = Me ). I guess my question boils down to are there niftier ways to pass the pointer? Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, June 30, 2003 11:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? You can't pass in the pointer to the calling form? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, June 30, 2003 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How do I determine which form called? Thank you for your suggestion. I think I need to explain a bit further. I have a form "frmSelect" that utilizes a special class "DblListbox". Since the two are almost always associated I have have code in the "init" method to default to frmSelect as follows: If fm Is Nothing Then Set Me.Callingform = Forms!frmselect where the callingform property passes the form object (I have not included the error checking code): Public Property Set Callingform(frm As Form) Set fm = frm end property In the open property of frmselect I have: Set lb = New DblListbox Set lb.Callingform = Me lb.Init strRecordname All this works fine. However it occurs to me that if dbllistbox were smart enough to determine which form called it I could eliminate the callingform property. That is why I was wondering if there exists some way to determine and pass automatically to the dbllistbox class the form object which called it. Thanks, Jim Hale -----Original Message----- From: Jim DeMarco [ mailto:Jdemarco at hshhp.org ] Sent: Monday, June 30, 2003 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How do I determine which form called? One way is to pass it using the docmd.openform's OpenArgs parameter. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Hale, Jim [ mailto:jim.hale at fleetpride.com ] Sent: Monday, June 30, 2003 10:04 AM To: 'Access DatabaseAdvisors (E-Mail)' Subject: [AccessD] How do I determine which form called? Does anyone have a function that will allow a class to determine which form called it? TIA Jim Hale **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Jun 30 13:11:32 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:11:32 -0400 Subject: [AccessD] weird query def In-Reply-To: <6943986879.20030630191642@cactus.dk> Message-ID: Just tried that, same problem. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 30, 2003 1:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] weird query def Hi John Have you tried to recreate that query by copy/paste the SQL only into a new query? /gustav > I compacted / repaired both the wizard as well as the FE that actually holds > the query in question. Two other queries that I am performing this > operation on work perfectly. One apparently has no fields. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 30 13:11:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:11:55 -0400 Subject: [AccessD] weird query def In-Reply-To: Message-ID: Checked the properties for one that works and this one that doesn't and they are identical. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Capistrant Sent: Monday, June 30, 2003 1:20 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] weird query def Does your query have "output all fields" property set to Yes? The QBD view for these queries could show no fields, yet you'd still get results. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, June 30, 2003 11:58 AM To: AccessD Subject: [AccessD] weird query def I have a weird one. I am opening a query def and reading all of the field names out into a comma delimited string to use as a row source for a combo. All that stuff works. One of the queries in the db I am trying to work on says it has NO fields. If I execute the query I get data. If I look at the querydef itself, I can see the name of the query, the SQL property, etc. But ask it for the .Fields.Count and it comes back 0. Very unsettling since I need to use this method for displaying field names to the user to select to match against document book marks in a mail merge wizard. I compacted / repaired both the wizard as well as the FE that actually holds the query in question. Two other queries that I am performing this operation on work perfectly. One apparently has no fields. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Jun 30 13:13:26 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 14:13:26 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <005c01c33f33$a1995b50$ace6ffcc@SusanOne> > > The main point I was making was that I understood Susan to imply that one > can not set the value of an autonumber field to any arbitrary valid value > and that is not accurate. ============== I don't remember what I said, but I'm sure that's not what I meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking about appending records that already have an AutoNumber... Susan H. From hsimpson88 at hotmail.com Mon Jun 30 13:21:44 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 12:21:44 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: I was addressing the manner in which autonumbers work and the issues and consequences that arise as there appear to be some misapprehensions being published as list lore. I would be content to simply take a full copy of a BE database in most cases. I could imagine that there might be a situation where some malicious employee deletes the last thousand records of a table but can't compact to reset the autonumber because a wise admin stayed logged in 100% of the time when users have access. In such a situation, the next autonumber might be a useful clue indicating how many records may have been lost. I am aware that if you only mark records as deleted and can restrict the user to application interface only access to the data and use a change logging methodology that this is less of an issue. I personally use a mark for deletion flag plus launch an automation admin session that merely locks a single record in a one record table when a first user logs in plus log 100% of all form edits with a date/time/user/tableName/record PK/changed field value in a log file in the before update and before insert events. The log is the basis of a custom field level reconciliation replication system and it works nicely for data security/integrity concerns. In that log, an autonumber is merely a long. Hen >From: Lembit.Soobik at t-online.de (Lembit Soobik) >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 19:00:53 +0200 > >and what is the problem with making the autonumber fields in the archive db >long >integers and then simply copy? >Lembit > >Lembit Soobik > >----- Original Message ----- >From: "Henry Simpson" >To: >Sent: Monday, June 30, 2003 6:37 PM >Subject: RE: [AccessD] AutoNumbers in historical tables > > > > If a master table had records one thru 10 and records 3, 8 and 10 were > > deleted and it were necessary to duplicate the data for archive purposes >and > > after those deletions it were necessary to record the state that the >next > > autonumber would be 11 at that point in time, insert records 1 - 2, 4 > > through 7 and 9. You'd then have to add and delete a dummy record to >the > > actual table to determine what the next autonumber would be thereby >altering > > the table and then add and delete AN 11 in the archive so that both the > > master and archive table are identical at the time of the backup, with >the > > next record for both to be AN 12. If it were possible to determine the >next > > autonumber prior to compacting the database there would be no need to do >the > > insert to determine its value. Purists might do the insert, compact and > > then insert one below in order to preserve the exact status of the table >so > > both original and archive would yeild 11 at the next insert. > > > > The main point I was making was that I understood Susan to imply that >one > > can not set the value of an autonumber field to any arbitrary valid >value > > and that is not accurate. Any attempt to merge multiple tables that >have > > differing field values for identical autonumber records can not be an > > accurate depiction of the state of all the data. It is not possible to > > retain identical table structure and reconcile duplicate autonumber >records > > that have one or more other fields that do not match. > > > > I don't get the point about a fake record with restore. > > > > Hen > > > > >From: "John Colby" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "Access Developers discussion and problem > > >solving" > > >Subject: RE: [AccessD] AutoNumbers in historical tables > > >Date: Mon, 30 Jun 2003 10:54:13 -0400 > > > > > >Remember though that the autonumber will continue from the last >autonumber > > >copied into the table, so if you do a restore you MUST go get the last > > >number, add 1 to it, and insert a fake record with that number, then >delete > > >that fake record back out. At least that is how I handle it. > > > > > >John W. Colby > > >www.colbyconsulting.com > > > > > > > _________________________________________________________________ > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From gustav at cactus.dk Mon Jun 30 13:27:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jun 2003 20:27:58 +0200 Subject: [AccessD] weird query def In-Reply-To: References: Message-ID: <11148262968.20030630202758@cactus.dk> Hi John Soo ... how does that SQL look like? And if it is a crosstab it wouldn't know the fields until it runs. /gustav > Just tried that, same problem. >> Have you tried to recreate that query by copy/paste the SQL only into >> a new query? From jcolby at colbyconsulting.com Mon Jun 30 13:59:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 14:59:30 -0400 Subject: [AccessD] weird query def In-Reply-To: <11148262968.20030630202758@cactus.dk> Message-ID: Nope, not a crosstab. However I went in and deleted all the fields except those from one table and all of a sudden it had a fields collection - or fields in that collection anyway. I think something in there is causing a problem. I'll troubleshoot (paste the fields back in one by one) and find which field is causing the problem and let you folks know what I find. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Monday, June 30, 2003 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] weird query def Hi John Soo ... how does that SQL look like? And if it is a crosstab it wouldn't know the fields until it runs. /gustav > Just tried that, same problem. >> Have you tried to recreate that query by copy/paste the SQL only into >> a new query? _______________________________________________ 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 Mon Jun 30 14:01:45 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Mon, 30 Jun 2003 14:01:45 -0500 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon From MarkBoyd at McBeeAssociates.com Mon Jun 30 14:09:16 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 30 Jun 2003 15:09:16 -0400 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: Alan - If you only want to print the data that is displayed, why not take a screen print of the table's design view? Mark -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday, June 30, 2003 3:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Jun 30 14:10:38 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 30 Jun 2003 14:10:38 -0500 Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure Message-ID: Alan, I use a screen print program, PrintKey 2000 (approximately US$20), for such. If that is too high a price, you can use the PrtScn key and copy it into a paint program for manipulating. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday 2003 Jun 30 14:02 To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon From jarus at amerinet-gpo.com Mon Jun 30 14:13:39 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 30 Jun 2003 14:13:39 -0500 Subject: [AccessD] Wrap a Field in "" Message-ID: I want to take the information in Field2 and create another field with it wrapped in quotations marks. For example, if the data in Field2 is 12345, I want my new field to display "12345" I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" Any thoughts? Thanks for your help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarus at amerinet-gpo.com Mon Jun 30 14:16:31 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 30 Jun 2003 14:16:31 -0500 Subject: [AccessD] Wrap a Field in "" Message-ID: Nevermind - right after I clicked Send, it occurred to me to concatenate what I needed. Got it - thanks anyway. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> jarus at amerinet-gpo.com 06/30/03 02:13PM >>> I want to take the information in Field2 and create another field with it wrapped in quotations marks. For example, if the data in Field2 is 12345, I want my new field to display "12345" I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" Any thoughts? Thanks for your help. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alan.lawhon at us.army.mil Mon Jun 30 14:24:58 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Mon, 30 Jun 2003 14:24:58 -0500 Subject: [AccessD] Never Mind ... (Was: Simpleton Question ...) Message-ID: Charles, Mark: I figured out how to get the screen capture into a Word file. Thanks for your tips and info. Alan C. Lawhon -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Monday, June 30, 2003 2:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simpleton Question: How Do You Print Out a Table's File Structure This is embarrassing, but "Oh, what the hell ..." When opening an Access 2000 table in "Design View," (in order to view the table's file structure), basic information describing the table's data attributes is displayed in the upper pane of the window under three columns: Field Name Data Type (and ...) Description I want to print out this information (exactly as it appears in the Design View window) to hardcopy. Can somebody (anybody) tell me how to do this? No, I DO NOT want to print out the info with that function under "System Documenting" or whatever it is ... from the Access drop down menu. I want to print out just the info that appears under the three columns described above. I apologize for posting such a simpleton question. TIA Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bob at renaissancesiding.com Mon Jun 30 14:30:26 2003 From: bob at renaissancesiding.com (Bob Gajewski) Date: Mon, 30 Jun 2003 15:30:26 -0400 Subject: [AccessD] Wrap a Field in "" Message-ID: <01C33F1C.88B9FBB0.bob@renaissancesiding.com> Terri Since you didn't show your code, I'm not sure how you are trying to accomplish this. But, the following should work: NewField = ' " ' & [Field2] & ' " ' If you want literal double quotes, enclose them in single quotes and vice versa. Alternatively, you can just leave the original data stored without the quotes in Field2 and just concatenate the quotations marks on your forms and reports for display/print purposes; the code would be virtually the same. Regards, Bob Gajewski On Monday, June 30, 2003 15:14 PM, Terri Jarus [SMTP:jarus at amerinet-gpo.com] wrote: > I want to take the information in Field2 and create another field with it wrapped in quotations marks. > > For example, if the data in Field2 is 12345, I want my new field to display "12345" > > I am doing this in a query, but just don't know how to get the quotations properly. I keep getting something like "[Field2]" > > Any thoughts? > > Thanks for your help. > > Terri Jarus > Director, Contract Support Services > jarus at amerinet-gpo.com > 314-542-1902 > > > --------------------------------------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individuals or entities to whom they > are addressed. If you have received this email in error please return > it to the sender, and erase any copies thereof. > Copyright 2003 AmeriNet 1nc. << File: ATT00028.htm >> << File: ATT00029.txt >> From hsimpson88 at hotmail.com Mon Jun 30 15:57:08 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 30 Jun 2003 14:57:08 -0600 Subject: [AccessD] AutoNumbers in historical tables Message-ID: I was responding to the statement: ...Supposing you were required to preserve the Autonumber -- how would you go about appending records as you archive -- you couldn't I'm guessing... And now you say: ...I wasn't talking about forcing a new AutoNumber -- I was talking about appending records that already have an AutoNumber... The implication in both cases is: you can't set a record's autonumber to an arbitrary value. That is not true. What you do is force the AN of the resulting archive record to the value in the originating table in the append. There is no need to add and delete blank records to force AN values which is the only interpretation I can place on what John said: ... if you do a restore you MUST go get the last number, add 1 to it, and insert a fake record with that number, then delete that fake record back out... John's suggestion could work for the situation where you were archiving additions to the end of a table and one or more consecutive records ending with the last were deleted but the approach reinforces the implication that one can't simply set the value as required. Good thing this issue is moot but a casual surveyor of the archive may pick up some misconceptions or may be led to believe that list members don't understand autonumbers. If you have a table tblArk with 10 records and a FirstName field and an Autonumber field named PK and you need to write a record that has an existing AN of 45: Dim db as Database Set db = CurrentDb db.Execute("Insert Into tblArk(PK, FirstName) Values(45, 'Joe')") MsgBox db.RecordsAffected If you add and delete a thousand records, you can still run the code above and you will have 1 record added provided that the number 45 isn't already taken and notwithstanding that the next automatic number would be over 1000. In any case where the AN 45 is not already used, the example code above will insert a record and set its autonumber value. If you have a record with an existing autonumber that needs to be changed, you can insert the field values into a new record and set the desired autonumber for the duplicate and then delete the old record. While you cannot directly edit an existing AN, you can readily achieve the result. There is no need to get into the question of why one would want to change or set an autonumber. I was merely attempting to prevent repetition of a too often repeated misconception. Hen > > > > The main point I was making was that I understood Susan to imply that >one > > can not set the value of an autonumber field to any arbitrary valid >value > > and that is not accurate. > >============== I don't remember what I said, but I'm sure that's not what I >meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking >about appending records that already have an AutoNumber... > >Susan H. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jeffrey.demulling at usbank.com Mon Jun 30 16:35:13 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Mon, 30 Jun 2003 16:35:13 -0500 Subject: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Message-ID: I understand what you are saying. Now the question becomes, how can I determine how many ASCII characters are being returned? When I try using LEN(<>) in A2K it returns 255. I have not tried it using the Query Analyzer in SQL Server yet. "Heenan, Lambert" Sent by: accessd-bounces at databaseadvisors.com 06/30/2003 12:08 PM Please respond to "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" cc: Subject: RE: [AccessD] Error Message: The field is to small to accept the amount of data you tried to add. Try inserting or pasting less data Well I count 258 characters in the data, so the error message is totally on the mark (odd for Access). I suspect that SQL server is passing back all 258 ASCII characters, which is why A97 chokes. But A2K is Unicode character savvy, so I think it can handle 510 ASCII characters, or 255 Unicode ones. Lambert > -----Original Message----- > From: jeffrey.demulling at usbank.com [SMTP:jeffrey.demulling at usbank.com] > Sent: Monday, June 30, 2003 12:59 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Error Message: The field is to small to accept the > amount of data you tried to add. Try inserting or pasting less data > > > I am getting the above message in an A97 FE connecting to a SQL Server BE. > I do not get the error message when using A2K FE (both version of app have > the same code.) > > > This I found the record that is causing the problem along with the field. > Once I remove the field from my pass-through query in A97 the results are > returned. If I leave the problem field in the query I get the message > above. > > > The data in the field is: > > > > 12/2/02-TR rejected review needs documents and completed Master Initial > Account Review Checklist. E-mail sent to Mike Herberger to notify him. > BJQ. 12/19/02-AM review done date removed due to TR rejection. BJQ. > Sent > IR checklist to Barbara. 1/8/03 MH > > > The field on the BE is a nvarchar (255). Any ideas or helpful suggestions > would be nice. > > TIA > -Jeff > << File: ATT8947467.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Jun 30 16:43:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 30 Jun 2003 17:43:05 -0400 Subject: [AccessD] AutoNumbers in historical tables References: Message-ID: <00ab01c33f50$97fc6520$b9e6ffcc@SusanOne> What about missing AutoNumber values in the records you're appending? What I'm saying is, you're not really appending the existing AutoNumber value, you're just allowing the historical table's AN to fill in that value. So, even though you can reset the AN seed value, how would you accommodate the "existing" values, whatever they are, as you're appending the remaining records? Susan H. > I was responding to the statement: > > ...Supposing you were required to preserve the Autonumber -- how would > you go about appending records as you archive -- you couldn't I'm > guessing... > > And now you say: > > ...I wasn't talking about forcing a new AutoNumber -- I was talking > about appending records that already have an AutoNumber... > > The implication in both cases is: you can't set a record's autonumber to an > arbitrary value. That is not true. What you do is force the AN of the > resulting archive record to the value in the originating table in the > append. There is no need to add and delete blank records to force AN values > which is the only interpretation I can place on what John said: > > ... if you do a restore you MUST go get the last number, add 1 to it, > and insert a fake record with that number, then delete that fake record back > out... > > John's suggestion could work for the situation where you were archiving > additions to the end of a table and one or more consecutive records ending > with the last were deleted but the approach reinforces the implication that > one can't simply set the value as required. > > Good thing this issue is moot but a casual surveyor of the archive may pick > up some misconceptions or may be led to believe that list members don't > understand autonumbers. > > If you have a table tblArk with 10 records and a FirstName field and an > Autonumber field named PK and you need to write a record that has an > existing AN of 45: > > Dim db as Database > Set db = CurrentDb > db.Execute("Insert Into tblArk(PK, FirstName) Values(45, 'Joe')") > MsgBox db.RecordsAffected > > If you add and delete a thousand records, you can still run the code above > and you will have 1 record added provided that the number 45 isn't already > taken and notwithstanding that the next automatic number would be over 1000. > In any case where the AN 45 is not already used, the example code above > will insert a record and set its autonumber value. If you have a record > with an existing autonumber that needs to be changed, you can insert the > field values into a new record and set the desired autonumber for the > duplicate and then delete the old record. While you cannot directly edit an > existing AN, you can readily achieve the result. > > There is no need to get into the question of why one would want to change or > set an autonumber. I was merely attempting to prevent repetition of a too > often repeated misconception. > > Hen > > > > > > > > The main point I was making was that I understood Susan to imply that > >one > > > can not set the value of an autonumber field to any arbitrary valid > >value > > > and that is not accurate. > > > >============== I don't remember what I said, but I'm sure that's not what I > >meant. :) I wasn't talking about forcing a new AutoNumber -- I was talking > >about appending records that already have an AutoNumber... > > > >Susan H. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Jun 30 19:14:30 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 30 Jun 2003 20:14:30 -0400 Subject: [AccessD] AutoNumbers in historical tables In-Reply-To: Message-ID: <00bf01c33f65$bdadda00$8e01a8c0@Rock> If I follow this thread correctly, I detect a confusion between OLTP and OLAP systems. In a sense, the difference lies in whether you can insert rows under normal (i.e. interactive) circumstances. In the latter, the answer is No. Rows are inserted only programmatically. Therefore there is not only no need for autonumbers, but they intrude upon the design. IMO there should be no occurrences of autonumber in an OLAP database. On the other hand, if you're talking about backup/restore systems rather than archives, you have to preserve the autonumbers, but it's no problem because you're snapshotting the entire database, not its individual rows. At current prices, virtually any company can afford a CD burner, and few Access DBs are > 650MB, so it's a dollar a day to burn CD backups. My $.02, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Henry Simpson Sent: June 30, 2003 12:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AutoNumbers in historical tables If a master table had records one thru 10 and records 3, 8 and 10 were deleted and it were necessary to duplicate the data for archive purposes and after those deletions it were necessary to record the state that the next autonumber would be 11 at that point in time, insert records 1 - 2, 4 through 7 and 9. You'd then have to add and delete a dummy record to the actual table to determine what the next autonumber would be thereby altering the table and then add and delete AN 11 in the archive so that both the master and archive table are identical at the time of the backup, with the next record for both to be AN 12. If it were possible to determine the next autonumber prior to compacting the database there would be no need to do the insert to determine its value. Purists might do the insert, compact and then insert one below in order to preserve the exact status of the table so both original and archive would yeild 11 at the next insert. The main point I was making was that I understood Susan to imply that one can not set the value of an autonumber field to any arbitrary valid value and that is not accurate. Any attempt to merge multiple tables that have differing field values for identical autonumber records can not be an accurate depiction of the state of all the data. It is not possible to retain identical table structure and reconcile duplicate autonumber records that have one or more other fields that do not match. I don't get the point about a fake record with restore. Hen >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] AutoNumbers in historical tables >Date: Mon, 30 Jun 2003 10:54:13 -0400 > >Remember though that the autonumber will continue from the last >autonumber copied into the table, so if you do a restore you MUST go >get the last number, add 1 to it, and insert a fake record with that >number, then delete that fake record back out. At least that is how I >handle it. > >John W. Colby >www.colbyconsulting.com > _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Jun 30 20:51:04 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 30 Jun 2003 21:51:04 -0400 Subject: [AccessD] A79 - A2k conversion problem Message-ID: I have a strange one. I have a database that is in A97. One specific table can be opened in A97, but once converted to A2K, the table can't be opened. Converted to AXP, Access page faults if you try to open the table. I've done all of the typical, repair compact etc. No help. I suspect a memo data problem - it seems I remember stuff like this with memos back in A97. Any suggestions? John W. Colby www.colbyconsulting.com From stephen at bondsoftware.co.nz Mon Jun 30 22:02:10 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 01 Jul 2003 15:02:10 +1200 Subject: [AccessD] Invoking one Access app from another Message-ID: <70F3D727890C784291D8433E9C418F298EE6@server.bondsoftware.co.nz> I have two Access apps that have some shared tables. I have looked at completely incorporating #2 into #1, but the combined front end would be unwieldy and user-unfriendly if I did that, and the BE would be bigger than I want it to manageably be. So, I want to be able to have a command button on the master menu of FE#1 which would invoke FE#2. I'm sure this is simple - could someone start me off please. TIA Stephen Bond From martyconnelly at shaw.ca Mon Jun 30 22:04:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 30 Jun 2003 20:04:39 -0700 Subject: [AccessD] A79 - A2k conversion problem References: Message-ID: <3F00FA47.2020809@shaw.ca> Did you try a link or a single import.. Maybe that will throw a light on it. John Colby wrote: >I have a strange one. I have a database that is in A97. One specific table >can be opened in A97, but once converted to A2K, the table can't be opened. >Converted to AXP, Access page faults if you try to open the table. I've >done all of the typical, repair compact etc. No help. I suspect a memo >data problem - it seems I remember stuff like this with memos back in A97. >Any suggestions? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From stephen at bondsoftware.co.nz Mon Jun 30 22:54:26 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 01 Jul 2003 15:54:26 +1200 Subject: [AccessD] Invoking one Access app from another Message-ID: <70F3D727890C784291D8433E9C418F298EE7@server.bondsoftware.co.nz> Think I've got it solved (it's still daytime in the Antipodes ). This code attached to a command button does the trick ... Now I should probably put in some error checking (If Dir$(filename)="" ....) etc Dim strAppName As String, strWorkgroupFilename As String Dim CommandLine As String, strDBFullname As String Dim strDBDir strAppName = SysCmd(acSysCmdAccessDir) & "MSACCESS.EXE" strWorkgroupFilename = SysCmd(acSysCmdGetWorkgroupFile) strDBDir = GetDBDir() ' an internal function which returns the dir of the present FE MDB strDBFullname = strDBDir & "FE2prog.MDB" CommandLine = SymbolDoubleQuote & _ strAppName & SymbolDoubleQuote & _ " /wrkgrp " & SymbolDoubleQuote & _ strWorkgroupFilename & SymbolDoubleQuote & _ " " & SymbolDoubleQuote & strDBFullname & _ SymbolDoubleQuote If CurrentUser() = "stephen" Then Debug.Print CommandLine Call Shell(CommandLine, vbMaximizedFocus) Cheers SB -----Original Message----- From: Stephen Bond Sent: Tuesday, 1 July 2003 3:02 p.m. To: accessd at databaseadvisors.com Subject: [AccessD] Invoking one Access app from another I have two Access apps that have some shared tables. I have looked at completely incorporating #2 into #1, but the combined front end would be unwieldy and user-unfriendly if I did that, and the BE would be bigger than I want it to manageably be. So, I want to be able to have a command button on the master menu of FE#1 which would invoke FE#2. I'm sure this is simple - could someone start me off please. TIA Stephen Bond _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com